Command
Base class for chat input commands.
Signature
export declare class Command extends BaseCommandProperties
4Methods
1Properties
type: ApplicationCommandType;groups?: Parameters<typeof Groups>[0];groupsAliases?: Record<string, string>;__tGroups?: Record<string, { name: string | undefined; description: string | undefined; defaultDescription: string;}>;Methods
toJSON(): { name: BaseCommand['name']; type: BaseCommand['type']; nsfw: BaseCommand['nsfw']; description: BaseCommand['description']; name_localizations: BaseCommand['name_localizations']; description_localizations: BaseCommand['description_localizations']; guild_id: BaseCommand['guildId']; default_member_permissions: string; contexts: BaseCommand['contexts']; integration_types: BaseCommand['integrationTypes']; options: APIApplicationCommandOption[];};