Command
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(): { options: APIApplicationCommandOption[]; 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"];};