From a7c442d340165afa8e2c5a2917289d73b5b9517a Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Sun, 25 Apr 2021 16:00:06 +0530 Subject: [PATCH] x --- src/interactions/slashClient.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/interactions/slashClient.ts b/src/interactions/slashClient.ts index 3c95c45..5f5473d 100644 --- a/src/interactions/slashClient.ts +++ b/src/interactions/slashClient.ts @@ -19,7 +19,9 @@ import { encodeText, decodeText } from '../utils/encoding.ts' import { SlashCommandsManager } from './slashCommand.ts' import { MessageComponentInteraction } from '../structures/messageComponents.ts' -export type SlashCommandHandlerCallback = (interaction: Interaction) => unknown +export type SlashCommandHandlerCallback = ( + interaction: SlashCommandInteraction +) => unknown export interface SlashCommandHandler { name: string guild?: string