mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: docs update Closes #3054
This commit is contained in:
@@ -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[]
|
||||
|
||||
@@ -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}
|
||||
*/
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user