Table of Contents

Constructor OptionAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

OptionAttribute(string, string, bool)

Initializes a new instance of the OptionAttribute class.

public OptionAttribute(string name, string description, bool autocomplete = false)

Parameters

name string

The name.

description string

The description.

autocomplete bool

If true, autocomplete.