export class MessageMentions<InGuild extends boolean = boolean>Keeps track of mentions in a Message.
readonlychannels : Collection<Snowflake, Channel>
Any channels that were mentioned Order as they appear first in the message content
staticChannelsPattern : typeof FormattingPatterns.Channel
A regular expression that matches channel mentions like <#222079895583457280>. The id group property is present on the exec result of this expression.
readonlyclient : Client
crosspostedChannels : Collection<Snowflake, CrosspostedChannel>
A collection of crossposted channels Order as received from the API, not as they appear in the message content
everyone : boolean
Whether @everyone or @here were mentioned
staticEveryonePattern : RegExp
A regular expression that matches @everyone and @here. The mention group property is present on the exec result of this expression.
readonlymembers : If<InGuild, Collection<Snowflake, GuildMember>>
Any members that were mentioned (only in Guilds) Order as received from the API, not as they appear in the message content
readonlyparsedUsers : Collection<Snowflake, User>
Any user mentions that were included in the message content Order as they appear first in the message content
roles : Collection<Snowflake, Role>
Any roles that were mentioned Order as received from the API, not as they appear in the message content
staticRolesPattern : typeof FormattingPatterns.Role
A regular expression that matches role mentions like <@&297577916114403338>. The id group property is present on the exec result of this expression.
users : Collection<Snowflake, User>
Any users that were mentioned Order as received from the API, not as they appear in the message content
staticUsersPattern : typeof FormattingPatterns.User
A regular expression that matches user mentions like <@81440962496172032>. The id group property is present on the exec result of this expression.
has(data: UserResolvable | RoleResolvable | ChannelResolvableoptions?: MessageMentionsHasOptions) : boolean
Checks if a user, guild member, thread member, role, or channel is mentioned. Takes into account user mentions, role mentions, channel mentions, replied user mention, and @everyone/@here mentions.