Adds ICS
This commit is contained in:
parent
441715675c
commit
a79898b2e9
48 changed files with 2062 additions and 1503 deletions
|
|
@ -1,16 +1,16 @@
|
|||
import {ChatInputCommandInteraction, Interaction, SlashCommandBuilder} from "discord.js";
|
||||
|
||||
export interface Command {
|
||||
definition(): SlashCommandBuilder;
|
||||
definition(): SlashCommandBuilder;
|
||||
}
|
||||
|
||||
export interface ChatInteractionCommand {
|
||||
execute(interaction: ChatInputCommandInteraction): Promise<void>;
|
||||
execute(interaction: ChatInputCommandInteraction): Promise<void>;
|
||||
}
|
||||
|
||||
export interface AutocompleteCommand {
|
||||
handleAutocomplete(interaction: Interaction): Promise<void>;
|
||||
handleAutocomplete(interaction: Interaction): Promise<void>;
|
||||
}
|
||||
|
||||
export type CommandUnion =
|
||||
Command | Partial<ChatInteractionCommand> | Partial<AutocompleteCommand>;
|
||||
export type CommandUnion =
|
||||
Command | Partial<ChatInteractionCommand> | Partial<AutocompleteCommand>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue