From ed9af2ee3a3d9b378164894374f8bfa55ed99042 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 18 Sep 2021 08:04:16 -0700 Subject: [PATCH] Remove unused code --- src/discord/InteractionManager.ts | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/discord/InteractionManager.ts b/src/discord/InteractionManager.ts index 3dc0b63..89e70de 100644 --- a/src/discord/InteractionManager.ts +++ b/src/discord/InteractionManager.ts @@ -113,30 +113,4 @@ export default class InteractionManager { } } -} - - -export class AInteractionManager { - async onCommand(command: string, args: any, message: Message) { - if(command.toLowerCase() !== 'interaction') return; - - if(!message.guildId) return; - if(message.member === null) return; - if(message.guild === null) return; - - // TODO: Add dev check - - if(args.length === 0) - return await sendReply(message, { - embeds: [makeInfoEmbed ({ - - user: message.author - })] - }); - else { - if(args[0].toLowerCase() === "reloadall") { - - } - } - } } \ No newline at end of file