mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
feat: Added options for load testing to automatically play music in specified channels
This commit is contained in:
1 parent
771429b595
commit
8e04d59a6a
5 files changed
+50
-3
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ const manager = new ShardingManager('./src/bot.js', {
|
||||
|
||||
const readyShards = new Set();
|
||||
manager.on('shardCreate', (shard) => {
|
||||
logger.debug(`[Shard ${shard.id}] Launched shard with id ${shard.id}.`);
|
||||
logger.info(`[Shard ${shard.id}] Launched shard with id ${shard.id}.`);
|
||||
|
||||
// When all shards are ready, emit event 'allShardsReady' to all shards
|
||||
shard.on(ShardEvents.Ready, () => {
|
||||
|
||||
Reference in new issue
Block a user