diff options
-rw-r--r-- | src/listeners/guild/guildCreate.ts | 2 | ||||
-rw-r--r-- | src/listeners/guild/guildDelete.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/guild/guildCreate.ts b/src/listeners/guild/guildCreate.ts index 418df3a..b8c6d89 100644 --- a/src/listeners/guild/guildCreate.ts +++ b/src/listeners/guild/guildCreate.ts @@ -14,7 +14,7 @@ export default class GuildCreateListener extends BushListener { const g = await Guild.findByPk(guild.id); if (!g) void Guild.create({ id: guild.id }); - const channel = await util.getConfigChannel('log'); + const channel = await util.getConfigChannel('servers'); if (!channel) return; return await channel.send({ embeds: [ diff --git a/src/listeners/guild/guildDelete.ts b/src/listeners/guild/guildDelete.ts index f036a8d..c9070df 100644 --- a/src/listeners/guild/guildDelete.ts +++ b/src/listeners/guild/guildDelete.ts @@ -12,7 +12,7 @@ export default class GuildDeleteListener extends BushListener { public override async exec(...[guild]: BushClientEvents['guildDelete']) { void client.console.info('guildDelete', `Left <<${guild.name}>> with <<${guild.memberCount?.toLocaleString()}>> members.`); - const channel = await util.getConfigChannel('log'); + const channel = await util.getConfigChannel('servers'); if (!channel) return; return await channel.send({ embeds: [ |