fix: docs update Closes #3054

This commit is contained in:
Skillz
2023-08-20 11:16:17 -05:00
parent 63156f3f49
commit db8c464081
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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[]
+1 -1
View File
@@ -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}
*/
+1 -1
View File
@@ -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 */