Interface ApplicationCommandOptionsChoice<T>

Type Parameters

Hierarchy

  • ApplicationCommandOptionsChoice

Properties

name: string
nameLocalizations?: Partial<Record<Locale, string>>
value: T extends STRING
    ? string
    : T extends INTEGER | NUMBER
        ? number
        : unknown