Table of Contents

Class CommandBuilder

Namespace
DSharpPlus.Commands.Trees
Assembly
DSharpPlus.Commands.dll
public class CommandBuilder
Inheritance
CommandBuilder

Properties

Attributes
Description
GuildIds
Method
Name
Parameters
Parent
Subcommands
Target

Methods

Build()
From(Delegate)

Creates a new CommandBuilder from the specified method.

From(Delegate, params ulong[])

Creates a new CommandBuilder from the specified method.

From(MethodInfo, object?)

Creates a new CommandBuilder from the specified method.

From(MethodInfo, object?, params ulong[])

Creates a new CommandBuilder from the specified method.

From(Type)

Creates a new group CommandBuilder from the specified type.

From(Type, params ulong[])

Creates a new group CommandBuilder from the specified type.

From<T>()

Creates a new group CommandBuilder from the specified type.

From<T>(params ulong[])

Creates a new group CommandBuilder from the specified type.

WithAttributes(IEnumerable<Attribute>)
WithDelegate(Delegate?)
WithDelegate(MethodInfo?, object?)
WithDescription(string?)
WithGuildIds(IEnumerable<ulong>)
WithName(string)
WithParameters(IEnumerable<CommandParameterBuilder>)
WithParent(Command?)
WithSubcommands(IEnumerable<CommandBuilder>)