diff --git a/src/functions.ts b/src/functions.ts index d4c6419..8a83e81 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -8,7 +8,7 @@ import commands from "./command/commands.js"; export type TCommand = { data: SlashCommandBuilder; - execute: (interaction: ChatInputCommandInteraction) => void; + execute: (interaction: ChatInputCommandInteraction) => Promise; }; export function getCommands(): Collection { const commandColection = new Collection();