feat: dashboard

This commit is contained in:
eric
2026-02-26 14:45:57 +01:00
parent 94ad2896cc
commit 3756830ec2
43 changed files with 7043 additions and 2060 deletions

View File

@@ -5,13 +5,16 @@
import type {
CacheType,
ChatInputCommandInteraction,
SlashCommandBuilder,
SlashCommandOptionsOnlyBuilder,
} from "discord.js";
export interface CommandData {
name: string;
toJSON: () => unknown;
}
export interface Command {
/** The command definition for Discord */
data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder;
data: CommandData;
/** Execute the command */
execute: (interaction: ChatInputCommandInteraction<CacheType>) => Promise<void>;