using System; namespace Discord.Commands { /// /// Sets priority of commands. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class PriorityAttribute : Attribute { /// /// Gets the priority which has been set for the command. /// public int Priority { get; } /// /// Initializes a new attribute with the given priority. /// public PriorityAttribute(int priority) { Priority = priority; } } }