Table of Contents

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 string

The name of this option, which will be presented to the user.

value string

The value of this option.

DiscordAutoCompleteChoice(string, int)

Creates a new instance of DiscordAutoCompleteChoice.

public DiscordAutoCompleteChoice(string name, int value)

Parameters

name string

The name of this option, which will be presented to the user.

value int

The value of this option.

DiscordAutoCompleteChoice(string, long)

Creates a new instance of DiscordAutoCompleteChoice.

public DiscordAutoCompleteChoice(string name, long value)

Parameters

name string

The name of this option, which will be presented to the user.

value long

The value of this option.

DiscordAutoCompleteChoice(string, double)

Creates a new instance of DiscordAutoCompleteChoice.

public DiscordAutoCompleteChoice(string name, double value)

Parameters

name string

The name of this option, which will be presented to the user.

value double

The value of this option.

DiscordAutoCompleteChoice(string, float)

Creates a new instance of DiscordAutoCompleteChoice.

public DiscordAutoCompleteChoice(string name, float value)

Parameters

name string

The name of this option, which will be presented to the user.

value float

The value of this option.