From 1df6004a321bdf9665e9d7aed894ae87ada45325 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> 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);