Skip to main content
Version: Next

CommandTranslation

CommandTranslation

Represents a command translation, including its metadata and translations.

Signature
interface CommandTranslation {
[COMMAND_METADATA_KEY]: CommandTranslationMetadata;
translations: Record<string, any>;
}

[COMMAND_METADATA_KEY]

The metadata for the command translation.

translations

property
Record<string, any>

The translations for the command, keyed by locale.