feat: add admin command with stats subcommand and integrate dsxjs dependency
This commit is contained in:
parent
9583267f64
commit
7089d8ad28
7 changed files with 90 additions and 7 deletions
9
cmd/example.ts
Normal file
9
cmd/example.ts
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue