You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
-
- namespace Discord.Commands
- {
- /// <summary> Sets priority of commands </summary>
- [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
- public class PriorityAttribute : Attribute
- {
- /// <summary> The priority which has been set for the command </summary>
- public int Priority { get; }
-
- /// <summary> Creates a new <see cref="PriorityAttribute"/> with the given priority. </summary>
- public PriorityAttribute(int priority)
- {
- Priority = priority;
- }
- }
- }
|