From 6eb42974bdd4da4f9a6d77c8fde4c19f9f0a351b Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 21 Jun 2021 15:33:36 -0400 Subject: fix(db): made it work now --- src/commands/moderation/kick.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/moderation/kick.ts') diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts index b97fe91..d00ae55 100644 --- a/src/commands/moderation/kick.ts +++ b/src/commands/moderation/kick.ts @@ -1,6 +1,6 @@ import { CommandInteraction, GuildMember, Message } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; -import { BushInteractionMessage } from '../../lib/extensions/BushInteractionMessage'; +import { BushSlashMessage } from '../../lib/extensions/BushInteractionMessage'; import { Guild, Modlog, ModlogType } from '../../lib/models'; export default class KickCommand extends BushCommand { @@ -100,7 +100,7 @@ export default class KickCommand extends BushCommand { } } - async execSlash(message: BushInteractionMessage, { user, reason }: { user: GuildMember; reason?: string }): Promise { + async execSlash(message: BushSlashMessage, { user, reason }: { user: GuildMember; reason?: string }): Promise { for await (const response of this.genResponses(message.interaction, user, reason)) { await message.interaction.reply(response); } -- cgit