Constructor#
new Guild() → {Guild}#
- Source
Returns:
- Type:
- Guild
Example
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
- Source
id :string#
the id of the guild
Type:
- string
- Source
locale :string#
Guild's preferred locale
Type:
- string
- Source