messageBuilder.parseRoles();
// All roles will be mentionable.
example
messageBuilder.parseRoles('339959033937264641', '339947394726625300')
// Only those two roles will be mentioned even if you mention other roles in your message.
Parameters
Rest...ids: string[]
role ids you want to mention
Returns this
parseUsers
parseUsers(...ids: string[]): this
Allows User mentions to ping
example
messageBuilder.parseUsers();
// All users will be mentionable.
example
messageBuilder.parseUsers('167383252271628289', '242043489611808769')
// Only those two users will be mentioned even if you mention other users in your message.
Parameters
Rest...ids: string[]
user ids you want to mention
Returns this
setContent
setContent(content?: string | null): this
Sets content of this message
Parameters
Optional content: string | null
The content to set
Returns this
setEmbed
setEmbed(embed?: APIEmbedData | null): this
setEmbed(embed?: undefined | ((embed: Embed) => Embed)): this