diff --git a/src/commands.ts b/src/commands.ts index 717676c..5ec6705 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -22,8 +22,13 @@ import { isModule } from './utils/misc'; export interface Command { name?: string; + builder?: SlashCommandOptionsOnlyBuilder; requiresAdmin?: boolean; ownerOnly?: boolean; + + guild_keys?: Record; + user_keys?: Record; + execute?: (interaction: ChatInputCommandInteraction) => Promise; autocomplete?: (interaction: AutocompleteInteraction) => Promise; messageListener?: (msg: Message) => Promise; @@ -31,7 +36,6 @@ export interface Command { prevState: VoiceState, newState: VoiceState ) => Promise; - builder?: SlashCommandOptionsOnlyBuilder; } export interface CommandCategoryInfo {