mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
chore: update logging for client ready
This commit is contained in:
1 parent
dfea74080e
commit
bdaf998e31
1 file changed
+3
-1
@@ -18,15 +18,17 @@ module.exports = {
|
||||
await client.user.setPresence(presenceStatusOptions);
|
||||
|
||||
if (loadTestOptions.enabled) {
|
||||
logger.info(`[Shard ${client.shard.ids[0]}] STARTING LOAD TEST.`);
|
||||
await startLoadTest(client);
|
||||
}
|
||||
|
||||
const channel = await client.channels.cache.get(systemOptions.systemMessageChannelId);
|
||||
logger.info(`[Shard ${client.shard.ids[0]}] ALL SHARDS READY`);
|
||||
|
||||
// Check if the channel exists in curent shard and send a message
|
||||
if (channel) {
|
||||
logger.info(
|
||||
`[Shard ${client.shard.ids[0]}] ALL SHARDS READY, sending system message to channel id ${channel.id}.`
|
||||
`[Shard ${client.shard.ids[0]}] Sending system message for 'allShardsReady' to channel id ${channel.id}.`
|
||||
);
|
||||
channel.send({
|
||||
embeds: [
|
||||
|
||||
Reference in new issue
Block a user