Table of Contents

Class PriorityAttribute

Namespace
Discord.Commands
Assembly
Discord.Net.Commands.dll

Sets priority of commands.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PriorityAttribute : Attribute
Inheritance
PriorityAttribute
Inherited Members

Constructors

PriorityAttribute(int)

Initializes a new PriorityAttribute attribute with the given priority.

public PriorityAttribute(int priority)

Parameters

priority int

Properties

Priority

Gets the priority which has been set for the command.

public int Priority { get; }

Property Value

int