mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
updated docs for <ReactionEmoji>.toString() so it now uses send instead sendMessage in example (#1761)
This commit is contained in:
parent
54ff8ce596
commit
25dd3bc29e
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue