Added nonce support to sendMessage (#553)

This commit is contained in:
Hackzzila
2016-08-27 16:01:51 -05:00
committed by Amish Shah
parent 4d6c604322
commit 2c056b6418

View File

@@ -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