From 2c056b64186c76434a41cf8728791f55be8aa546 Mon Sep 17 00:00:00 2001 From: Hackzzila Date: Sat, 27 Aug 2016 16:01:51 -0500 Subject: [PATCH] Added nonce support to sendMessage (#553) --- src/structures/interface/TextBasedChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/interface/TextBasedChannel.js b/src/structures/interface/TextBasedChannel.js index a330440ac..099bc9012 100644 --- a/src/structures/interface/TextBasedChannel.js +++ b/src/structures/interface/TextBasedChannel.js @@ -42,7 +42,7 @@ class TextBasedChannel { * .catch(console.log); */ sendMessage(content, options = {}) { - return this.client.rest.methods.sendMessage(this, content, options.tts); + return this.client.rest.methods.sendMessage(this, content, options.tts, options.nonce); } /** * Send a text-to-speech message to this channel