Method WithCustomAttributes
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithCustomAttributes(params Attribute[])
Adds multiple custom attributes to this command. This can be used to indicate various custom information about a command.
public CommandBuilder WithCustomAttributes(params Attribute[] attributes)
Parameters
attributes
Attribute[]Attributes to add.
Returns
- CommandBuilder
This builder.