diff --git a/.env.example b/.env.example index cf0d9e8..0cbf3b5 100644 --- a/.env.example +++ b/.env.example @@ -11,8 +11,6 @@ TOKEN= MONGO=mongodb://localhost:27017/esmBot # Put snowflake ID of bot owner here OWNER= -# Put amount of needed shards here -SHARDS=1 ########### # Optional diff --git a/utils/client.js b/utils/client.js index a9fa945..08a4280 100644 --- a/utils/client.js +++ b/utils/client.js @@ -16,7 +16,7 @@ const client = new Client(process.env.TOKEN, { TYPING_START: true, USER_UPDATE: true }, - maxShards: process.env.SHARDS, + maxShards: "auto", opusOnly: true }); module.exports = client;