diff --git a/packages/bot/src/transformers/message.ts b/packages/bot/src/transformers/message.ts index f54b2b63e..a2f1fb1cf 100644 --- a/packages/bot/src/transformers/message.ts +++ b/packages/bot/src/transformers/message.ts @@ -206,7 +206,7 @@ export interface Message extends MessageBase { member?: Member /** Users specifically mentioned in the message Note: The user objects in the mentions array will only have the partial member field present in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels. */ mentions?: User[] - /** Channels specifically mentioned in this message Note: Not all channel mentions in a message will appear in mention_channels. Only textual channels that are visible to everyone in a lurkable guild will ever be included. Only crossposted messages (via Channel Following) currently include mention_channels at all. If no mentions in the message meet these requirements, this field will not be sent. */ + /** Channels specifically mentioned in this message Note: Not all channel mentions in a message will appear in mention_channels. Only textual channels that are visible to everyone in a discoverable guild will ever be included. Only crossposted messages (via Channel Following) currently include mention_channels at all. If no mentions in the message meet these requirements, this field will not be sent. */ mentionedChannelIds?: bigint[] /** Roles specifically mentioned in this message */ mentionedRoleIds?: bigint[] diff --git a/packages/rest/src/types.ts b/packages/rest/src/types.ts index b66cb484a..f45ec6fee 100644 --- a/packages/rest/src/types.ts +++ b/packages/rest/src/types.ts @@ -1639,7 +1639,7 @@ export interface RestManager { * @returns An instance of {@link GuildPreview}. * * @remarks - * If the bot user is not in the guild, the guild must be lurkable. + * If the bot user is not in the guild, the guild must be discoverable. * * @see {@link https://discord.com/developers/docs/resources/guild#get-guild-preview} */ diff --git a/packages/types/src/discord.ts b/packages/types/src/discord.ts index 3aa2d6ee8..e0fa49e9a 100644 --- a/packages/types/src/discord.ts +++ b/packages/types/src/discord.ts @@ -982,7 +982,7 @@ export interface DiscordMessage { mention_roles?: string[] /** * Channels specifically mentioned in this message - * Note: Not all channel mentions in a message will appear in `mention_channels`. Only textual channels that are visible to everyone in a lurkable guild will ever be included. Only crossposted messages (via Channel Following) currently include `mention_channels` at all. If no mentions in the message meet these requirements, this field will not be sent. + * Note: Not all channel mentions in a message will appear in `mention_channels`. Only textual channels that are visible to everyone in a discoverable guild will ever be included. Only crossposted messages (via Channel Following) currently include `mention_channels` at all. If no mentions in the message meet these requirements, this field will not be sent. */ mention_channels?: DiscordChannelMention[] /** Any attached files */