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