djsbotbase-test
Version:
Discord.js tabanlı komut ve etkinlik sistemlerine sahip bir bot temeli
17 lines (16 loc) • 628 B
TypeScript
import type { SlashCommandBuilderData, SlashCommandBuilders, SlashCommandData, SlashCommandRunner } from "./commandTypes";
export declare class SlashCommand {
private readonly data;
constructor(data: SlashCommandData);
private validateConstructorData;
private validateSlashCommandData;
private validateBooleanOptions;
private validateCooldown;
private validateRunner;
convertCommandData(): SlashCommandBuilders;
get slashCommandData(): SlashCommandBuilderData;
get developerOnly(): boolean;
get maintenance(): boolean;
get cooldown(): number;
get run(): SlashCommandRunner;
}