diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-13 21:43:35 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-13 21:43:35 -0500 |
commit | 323f604f45778f4620d5de7558d828349811aca7 (patch) | |
tree | fb4eea9c73a4090c0bc2e981e5808915816c3266 /src/listeners | |
parent | 9cc951ea2d0c245a6bd6c02941697d3d80b46aa7 (diff) | |
download | tanzanite-323f604f45778f4620d5de7558d828349811aca7.tar.gz tanzanite-323f604f45778f4620d5de7558d828349811aca7.tar.bz2 tanzanite-323f604f45778f4620d5de7558d828349811aca7.zip |
fix server logging
Diffstat (limited to 'src/listeners')
-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: [ |