Skip to main content

Class PriorityAttribute

Sets priority of commands.

Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PriorityAttribute : Attribute, _Attribute

Properties​

Priority​

Gets the priority which has been set for the command.

View Source​
Declaration
public int Priority { get; }

Implements​

  • System.Runtime.InteropServices._Attribute