feat!: Sharding implemented across the bot

This commit is contained in:
Marius Begby committed 2023-07-21 14:17:04 +02:00
1 parent b160cbf564
commit 9c15c636d9
29 files changed
+270 -142

No files matched your search

+10
View File
@@ -9,6 +9,16 @@ module.exports.botOptions = {
serverInviteUrl: 'Unknown'
};
// Sharding options for the bot.
// See https://old.discordjs.dev/#/docs/discord.js/main/typedef/ShardingManagerOptions for valid options.
// Do not change if you don't know what you are doing.
module.exports.shardingOptions = {
totalShards: 'auto',
shardList: 'auto',
mode: 'process',
respawn: true
};
// Logging options for the bot, can set logging level to file and console separately.
module.exports.loggerOptions = {
minimumLogLevel: 'debug',