mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
feat: Updated logging for guildCreate and guildDelete for sharding
This commit is contained in:
1 parent
8f1d253dc9
commit
b160cbf564
2 files changed
+4
-2
No files matched your search
@@ -6,6 +6,6 @@ module.exports = {
|
||||
isDebug: false,
|
||||
once: false,
|
||||
execute: async (guild) => {
|
||||
logger.info(`Added to guild '${guild.name}' with ${guild.memberCount} members.`);
|
||||
logger.info(`Shard ${guild.shardId}> Added to guild '${guild.name}' with ${guild.memberCount} members.`);
|
||||
}
|
||||
};
|
||||
@@ -6,6 +6,8 @@ module.exports = {
|
||||
isDebug: false,
|
||||
once: false,
|
||||
execute: async (guild) => {
|
||||
logger.info(`Removed from guild '${guild.name}' with ${guild.memberCount} members.`);
|
||||
logger.info(
|
||||
`Shard ${guild.shardId}> Removed from guild '${guild.name}' with ${guild.memberCount} members.`
|
||||
);
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user