From c8a564897d0ff2d564a1718acacde33ba29f0a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=86MB=C3=98?= Date: Fri, 10 Feb 2023 18:51:11 -0800 Subject: [PATCH] Use correct type in parameter --- src/events/interactionCreate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/interactionCreate.ts b/src/events/interactionCreate.ts index 4914b58..3f512d9 100644 --- a/src/events/interactionCreate.ts +++ b/src/events/interactionCreate.ts @@ -1,7 +1,7 @@ import Discord from 'discord.js'; import TClient from '../client'; export default { - async run(client:TClient, interaction:Discord.ChatInputCommandInteraction){ + async run(client:TClient, interaction:Discord.BaseInteraction){ if (!interaction.inGuild() || !interaction.inCachedGuild()) return; if (interaction.isChatInputCommand()){ const commandFile = client.commands.get(interaction.commandName);