mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
feat!: Sharding implemented across the bot
This commit is contained in:
1 parent
b160cbf564
commit
9c15c636d9
29 files changed
+270
-142
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user