aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/guild
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-05-16 22:03:18 -0400
committerTymanWasTaken <tyman@tyman.tech>2021-05-16 22:03:18 -0400
commit759e93bec4e9e2eb86db7434007345c24b0a0252 (patch)
tree193c47e5dfc6bcce0f4923ea0d2f8f7ce2e5894a /src/listeners/guild
parent284e1d1d693486f6c50cdb8b38f01cdf74eb63d2 (diff)
downloadtanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.gz
tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.bz2
tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.zip
fix logging for slash command syncing v2, delete BotMessage and BotGuild because useless, add prefix slash command
Diffstat (limited to 'src/listeners/guild')
-rw-r--r--src/listeners/guild/syncunban.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/listeners/guild/syncunban.ts b/src/listeners/guild/syncunban.ts
index 63267bd..14f8820 100644
--- a/src/listeners/guild/syncunban.ts
+++ b/src/listeners/guild/syncunban.ts
@@ -1,5 +1,4 @@
-import { User } from 'discord.js';
-import { BotGuild } from '../../lib/extensions/BotGuild';
+import { User, Guild } from 'discord.js';
import { BotListener } from '../../lib/extensions/BotListener';
import { Ban } from '../../lib/models';
@@ -11,7 +10,7 @@ export default class CommandBlockedListener extends BotListener {
});
}
- public async exec(guild: BotGuild, user: User): Promise<void> {
+ public async exec(guild: Guild, user: User): Promise<void> {
const bans = await Ban.findAll({
where: {
user: user.id,