x
This commit is contained in:
parent
45bfbff3a3
commit
a7c442d340
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ import { encodeText, decodeText } from '../utils/encoding.ts'
|
||||||
import { SlashCommandsManager } from './slashCommand.ts'
|
import { SlashCommandsManager } from './slashCommand.ts'
|
||||||
import { MessageComponentInteraction } from '../structures/messageComponents.ts'
|
import { MessageComponentInteraction } from '../structures/messageComponents.ts'
|
||||||
|
|
||||||
export type SlashCommandHandlerCallback = (interaction: Interaction) => unknown
|
export type SlashCommandHandlerCallback = (
|
||||||
|
interaction: SlashCommandInteraction
|
||||||
|
) => unknown
|
||||||
export interface SlashCommandHandler {
|
export interface SlashCommandHandler {
|
||||||
name: string
|
name: string
|
||||||
guild?: string
|
guild?: string
|
||||||
|
|
Loading…
Reference in a new issue