Const
Formats content into a quote.
The content to format.
The formatted content.
Formats content into bold text.
The content to format.
The formatted content.
Formats a channel link.
The ID of the channel.
Optional
guildId: stringThe ID of the guild. Defaults to '@me'.
The formatted channel link.
Formats a channel mention.
The ID of the channel to mention.
The formatted channel mention.
Formats a code block.
The content of the code block.
The language of the code block. Defaults to 'txt'.
The formatted code block.
Formats an emoji.
The ID of the emoji.
Whether the emoji is animated. Defaults to false.
The formatted emoji.
Forms a oauth2 invite link for the bot.
The ID of the application.
Options for forming the invite link.
Oauth2 scopes to be used.
Whether or not guild select must be disabled in oauth2 interface.
Permissions to be granted to the application.
Formats a header.
The content of the header.
The level of the header. Defaults to 1.
The formatted header.
Formats content into a hyperlink.
The content to format.
The URL to hyperlink to.
The formatted content.
Formats content into inline code.
The content to format.
The formatted content.
Formats content into italic text.
The content to format.
The formatted content.
Formats a list.
The items of the list.
Whether the list is ordered. Defaults to false.
The formatted list.
Formats a message link.
The ID of the guild.
The ID of the channel.
The ID of the message.
The formatted message link.
Formats content into a quote.
The content to format.
The formatted content.
Formats a role mention.
The ID of the role to mention.
The formatted role mention.
Formats content into a spoiler.
The content to format.
The formatted content.
Formats content into strikethrough text.
The content to format.
The formatted content.
Formats the given timestamp into discord unix timestamp format.
The timestamp to format.
The style of the timestamp. Defaults to 't'.
The formatted timestamp.
Formats content into underlined text.
The content to format.
The formatted content.
Formats a user mention.
The ID of the user to mention.
The formatted user mention.
Represents a formatter utility for formatting content.