Added option to .env to specify number of shards

This commit is contained in:
TheEssem 2020-03-31 10:01:33 -05:00
parent ead0ab8546
commit 7c7dc779c8
2 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,7 @@ const client = new Client(process.env.TOKEN, {
TYPING_START: true,
USER_UPDATE: true
},
maxShards: "auto",
maxShards: process.env.SHARDS,
opusOnly: true
});
module.exports = client;