mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +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);
|
await client.user.setPresence(presenceStatusOptions);
|
||||||
|
|
||||||
if (loadTestOptions.enabled) {
|
if (loadTestOptions.enabled) {
|
||||||
|
logger.info(`[Shard ${client.shard.ids[0]}] STARTING LOAD TEST.`);
|
||||||
await startLoadTest(client);
|
await startLoadTest(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
const channel = await client.channels.cache.get(systemOptions.systemMessageChannelId);
|
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
|
// Check if the channel exists in curent shard and send a message
|
||||||
if (channel) {
|
if (channel) {
|
||||||
logger.info(
|
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({
|
channel.send({
|
||||||
embeds: [
|
embeds: [
|
||||||
|
|||||||
Reference in new issue
Block a user