mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43: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.
|
* Creates the text required to form a graphical emoji on Discord.
|
||||||
* @example
|
* @example
|
||||||
* // Send the emoji used in a reaction to the channel the reaction is part of
|
* // 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}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
toString() {
|
toString() {
|
||||||
|
|||||||
Reference in New Issue
Block a user