Class CommandOverloadBuilder
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
Represents an interface to build a command overload.
public sealed class CommandOverloadBuilder
- Inheritance
-
CommandOverloadBuilder
Constructors
- CommandOverloadBuilder(Delegate)
Creates a new command overload builder from specified delegate.
- CommandOverloadBuilder(MethodInfo)
Creates a new command overload builder from specified method.
Properties
- Arguments
Gets the collection of arguments this overload takes.
- Callable
Gets the overload's callable delegate.
- Priority
Gets this overload's priority when picking a suitable one for execution.
Methods
- WithPriority(int)
Sets the priority for this command overload.