Method FromApplicationCommandOption
- Namespace
- DisCatSharp.ApplicationCommands.Entities
- Assembly
- DisCatSharp.ApplicationCommands.dll
FromApplicationCommandOption(DiscordApplicationCommandOption)
Converts a DiscordApplicationCommandOption to a OptionTranslator.
public static OptionTranslator FromApplicationCommandOption(DiscordApplicationCommandOption option)
Parameters
option
DiscordApplicationCommandOptionThe option to convert.