Table of Contents

Class ChoiceTranslator

Namespace
DisCatSharp.ApplicationCommands.Entities
Assembly
DisCatSharp.ApplicationCommands.dll

Represents a choice translator.

public sealed class ChoiceTranslator
Inheritance
ChoiceTranslator
Inherited Members

Properties

Name

Gets the choice name.

NameTranslations
NameTranslationsDictionary

Gets the choice name translations.

Methods

FromApplicationCommandChoice(DiscordApplicationCommandOptionChoice)

Converts a DiscordApplicationCommandOptionChoice to a ChoiceTranslator.