Method WithCustomAttribute
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithCustomAttribute(Attribute)
Adds a custom attribute to this command. This can be used to indicate various custom information about a command.
public CommandBuilder WithCustomAttribute(Attribute attribute)
Parameters
attribute
AttributeAttribute to add.
Returns
- CommandBuilder
This builder.