Table of Contents

Class CommandParameterBuilder

Namespace
Discord.Interactions.Builders
Assembly
Discord.Net.Interactions.dll

Represents a builder for creating CommandParameterInfo.

public sealed class CommandParameterBuilder : ParameterBuilder<CommandParameterInfo, CommandParameterBuilder>, IParameterBuilder
Inheritance
CommandParameterBuilder
Implements
Inherited Members

Constructors

CommandParameterBuilder(ICommandBuilder, string, Type)

Initializes a new CommandParameterInfo.

public CommandParameterBuilder(ICommandBuilder command, string name, Type type)

Parameters

command ICommandBuilder

Parent command of this parameter.

name string

Name of this command.

type Type

Type of this parameter.

Properties

Instance

protected override CommandParameterBuilder Instance { get; }

Property Value

CommandParameterBuilder