This commit is contained in:
DjDeveloperr 2021-04-25 16:00:06 +05:30
parent 45bfbff3a3
commit a7c442d340
1 changed files with 3 additions and 1 deletions

View File

@ -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