feat: add admin command with stats subcommand and integrate dsxjs dependency

This commit is contained in:
grngxd 2025-08-03 22:13:02 +01:00
parent 9583267f64
commit 7089d8ad28
7 changed files with 90 additions and 7 deletions

9
cmd/example.ts Normal file
View file

@ -0,0 +1,9 @@
import { CacheType, CommandInteraction, Events, Interaction, SlashCommandBuilder } from "discord.js";
export const data = new SlashCommandBuilder()
export const execute = async (interaction: CommandInteraction): Promise<void> => {}
export const on: {
[event in Events]?: (interaction: Interaction<CacheType>) => Promise<void>;
} = {}
export default [data, execute, on] as const;