mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Added nonce support to sendMessage (#553)
This commit is contained in:
parent
4d6c604322
commit
2c056b6418
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue