Creates a new Mentions instance.
The message associated with the mentions.
An array of user IDs mentioned in the message.
ReadonlyclientThe client instance.
ReadonlymessageThe message associated with the mentions.
Retrieves the server members mentioned in the message.
A map of user IDs to ServerMember instances, or null if the message is not in a server.
Checks if a specific user is mentioned in the message.
The user to check.
true if the user is mentioned, otherwise false.
Represents the mentions in a message, including users and server members.