updated docs for <ReactionEmoji>.toString() so it now uses send instead sendMessage in example (#1761)

This commit is contained in:
Raphael
2017-08-10 01:17:12 +02:00
committed by Crawl
parent 2478092d44
commit 29aef18de8

View File

@@ -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() {