mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
updated docs for <ReactionEmoji>.toString() so it now uses send instead sendMessage in example (#1761)
This commit is contained in:
@@ -38,7 +38,7 @@ class ReactionEmoji {
|
||||
* Creates the text required to form a graphical emoji on Discord.
|
||||
* @example
|
||||
* // Send the emoji used in a reaction to the channel the reaction is part of
|
||||
* reaction.message.channel.sendMessage(`The emoji used is ${reaction.emoji}`);
|
||||
* reaction.message.channel.send(`The emoji used is ${reaction.emoji}`);
|
||||
* @returns {string}
|
||||
*/
|
||||
toString() {
|
||||
|
||||
Reference in New Issue
Block a user