Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b79be2df41 |
4
src/type.d.ts
vendored
4
src/type.d.ts
vendored
@@ -1,3 +1,3 @@
|
||||
import { ButtonInteraction, ChatInputCommandInteraction } from "discord.js";
|
||||
import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandOptionsOnlyBuilder } from "discord.js";
|
||||
|
||||
export type CommandDefinition = { data: SlashCommandBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};
|
||||
export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};
|
||||
Reference in New Issue
Block a user