feat: implement guild_keys and user_keys
This commit is contained in:
+5
-1
@@ -22,8 +22,13 @@ import { isModule } from './utils/misc';
|
||||
|
||||
export interface Command {
|
||||
name?: string;
|
||||
builder?: SlashCommandOptionsOnlyBuilder;
|
||||
requiresAdmin?: boolean;
|
||||
ownerOnly?: boolean;
|
||||
|
||||
guild_keys?: Record<string, unknown>;
|
||||
user_keys?: Record<string, unknown>;
|
||||
|
||||
execute?: (interaction: ChatInputCommandInteraction) => Promise<void>;
|
||||
autocomplete?: (interaction: AutocompleteInteraction) => Promise<void>;
|
||||
messageListener?: (msg: Message) => Promise<void>;
|
||||
@@ -31,7 +36,6 @@ export interface Command {
|
||||
prevState: VoiceState,
|
||||
newState: VoiceState
|
||||
) => Promise<void>;
|
||||
builder?: SlashCommandOptionsOnlyBuilder;
|
||||
}
|
||||
|
||||
export interface CommandCategoryInfo {
|
||||
|
||||
Reference in New Issue
Block a user