Skip to main content
Version: Next

CommandTranslationMetadata

CommandTranslationMetadata

Represents the metadata for command translations.

Signature
interface CommandTranslationMetadata {
name?: string;
description?: string;
options?: (
| Record<'name' | 'description', string>
| Record<string, Record<'name' | 'description', string>>
)[];
}

name

property
string

The name of the command.

description

property
string

The description of the command.

options

property
( | Record<'name' | 'description', string> | Record<string, Record<'name' | 'description', string>> )[]

The options for the command.