mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Added nonce support to 'sendMessage'
This commit is contained in:
@@ -80,6 +80,7 @@ var Client = (function (_EventEmitter) {
|
||||
this.options.shardId = options.shardId || 0;
|
||||
this.options.shardCount = options.shardCount || 0;
|
||||
this.options.disableEveryone = options.disableEveryone || false;
|
||||
this.options.bot = options.bot === undefined || options.bot === true ? true : false;
|
||||
|
||||
if (typeof options.shardCount === "number" && typeof options.shardId === "number" && options.shardCount > 0) {
|
||||
this.options.shard = [options.shardId, options.shardCount];
|
||||
|
||||
Reference in New Issue
Block a user