From cfae674cb404d20cf36c1d3d951990fa2d530ace Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 13 Jan 2026 18:37:06 -0300 Subject: [PATCH] feat: implement guild_keys and user_keys --- src/commands.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {