Constructor RequirePrefixesAttribute
- Namespace
- DSharpPlus.CommandsNext.Attributes
- Assembly
- DSharpPlus.CommandsNext.dll
RequirePrefixesAttribute(params string[])
Defines that usage of this command is only allowed with specific prefixes.
public RequirePrefixesAttribute(params string[] prefixes)
Parameters
prefixes
string[]Prefixes with which the execution of this command is allowed.