Guild#

Create a formatted Guild Object

Constructor#

new Guild() → {Guild}#

Returns:
Type: 
Guild
Example
CODE
const guild = interaction.guild; // returns the guild object
const guildId = interaction.guild.id; // returns the guild id

Members#

botPermissions :string#

Bitwise set of permissions the app or bot has within the channel the interaction was sent from

Type:
  • string

id :string#

the id of the guild

Type:
  • string

locale :string#

Guild's preferred locale

Type:
  • string