Constructor DiscordAutoCompleteChoice
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DiscordAutoCompleteChoice(string, string)
Creates a new instance of DiscordAutoCompleteChoice.
public DiscordAutoCompleteChoice(string name, string value)
Parameters
name
stringThe name of this option, which will be presented to the user.
value
stringThe value of this option.
DiscordAutoCompleteChoice(string, int)
Creates a new instance of DiscordAutoCompleteChoice.
public DiscordAutoCompleteChoice(string name, int value)
Parameters
name
stringThe name of this option, which will be presented to the user.
value
intThe value of this option.
DiscordAutoCompleteChoice(string, long)
Creates a new instance of DiscordAutoCompleteChoice.
public DiscordAutoCompleteChoice(string name, long value)
Parameters
name
stringThe name of this option, which will be presented to the user.
value
longThe value of this option.
DiscordAutoCompleteChoice(string, double)
Creates a new instance of DiscordAutoCompleteChoice.
public DiscordAutoCompleteChoice(string name, double value)
Parameters
name
stringThe name of this option, which will be presented to the user.
value
doubleThe value of this option.
DiscordAutoCompleteChoice(string, float)
Creates a new instance of DiscordAutoCompleteChoice.
public DiscordAutoCompleteChoice(string name, float value)
Parameters
name
stringThe name of this option, which will be presented to the user.
value
floatThe value of this option.