Reverted change to sharding

This commit is contained in:
TheEssem 2020-04-03 09:25:36 -05:00
parent 75051d03c3
commit 430df53a5e
2 changed files with 1 additions and 3 deletions

View file

@ -11,8 +11,6 @@ TOKEN=
MONGO=mongodb://localhost:27017/esmBot MONGO=mongodb://localhost:27017/esmBot
# Put snowflake ID of bot owner here # Put snowflake ID of bot owner here
OWNER= OWNER=
# Put amount of needed shards here
SHARDS=1
########### ###########
# Optional # Optional

View file

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