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/moulberry-bush/capePerms.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/moulberry-bush/capePerms.ts') diff --git a/src/commands/moulberry-bush/capePerms.ts b/src/commands/moulberry-bush/capePerms.ts index 1592175..3e4563a 100644 --- a/src/commands/moulberry-bush/capePerms.ts +++ b/src/commands/moulberry-bush/capePerms.ts @@ -2,7 +2,7 @@ import { Message, MessageEmbed } from 'discord.js'; import got from 'got'; import { SlashCommandOption } from '../../lib/extensions/BushClientUtil'; import { BushCommand } from '../../lib/extensions/BushCommand'; -import { BushInteractionMessage } from '../../lib/extensions/BushInteractionMessage'; +import { BushSlashMessage } from '../../lib/extensions/BushInteractionMessage'; interface Capeperms { success: boolean; @@ -109,7 +109,7 @@ export default class CapePermissionsCommand extends BushCommand { await message.reply(await this.getResponse(user)); } - public async execSlash(message: BushInteractionMessage, { user }: { user: SlashCommandOption }): Promise { + public async execSlash(message: BushSlashMessage, { user }: { user: SlashCommandOption }): Promise { await message.reply(await this.getResponse(user.value)); } } -- cgit