Table of Contents

Class OptionTranslator

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

Represents a option translator.

public sealed class OptionTranslator
Inheritance
OptionTranslator
Inherited Members

Properties

Choices

Gets the choice translators, if applicable.

Description

Gets the option description.

DescriptionTranslations
DescriptionTranslationsDictionary

Gets the option description translations.

Name

Gets the option name.

NameTranslations
NameTranslationsDictionary

Gets the option name translations.

Type

Gets the option type

Methods

FromApplicationCommandOption(DiscordApplicationCommandOption)

Converts a DiscordApplicationCommandOption to a OptionTranslator.