Table of Contents

Class CommandBuilder

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

Properties

Attributes
Description
FullName
GuildIds
Method
Name
Parameters
Parent
Subcommands
Target

Methods

AggregateCustomAttributes(MethodInfo)
Build(Command?)
Flatten()

Traverses this command tree, returning this command builder and all subcommands recursively.

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.

ToString()

Returns a string that represents the current object.

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