Skip to content

MessageMentions

MessageMentions ⇐ Base

Represents a message mention object.

Kind: global class
Extends: Base

new MessageMentions([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data for the message mention object.
guildIdstringThe ID of the guild the mention is in.
clientClientThe client instance.

messageMentions.guild ⇒

Get the guild object associated with this guildId.

Kind: instance property of MessageMentions
Returns: The guild object.