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