From 29aef18de8170d70181f0920e552b8d596fa7ed8 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 10 Aug 2017 01:17:12 +0200 Subject: [PATCH] updated docs for .toString() so it now uses send instead sendMessage in example (#1761) --- src/structures/ReactionEmoji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ReactionEmoji.js b/src/structures/ReactionEmoji.js index c8e67b570..f550544c6 100644 --- a/src/structures/ReactionEmoji.js +++ b/src/structures/ReactionEmoji.js @@ -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() {