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
ICommandBuilderParent command of this parameter.
name
stringName of this command.
type
TypeType of this parameter.
Properties
Instance
protected override CommandParameterBuilder Instance { get; }