SubCommand
Signature
export declare class SubCommand extends BaseCommandProperties
Methods
toJSON(): { options: APIApplicationCommandBasicOption[]; 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"];};abstract run(context: CommandContext): any;