Skip to main content

Class AliasAttribute

Marks the aliases for a command.

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

Properties​

Aliases​

Gets the aliases which have been defined for the command.

View Source​
Declaration
public string[] Aliases { get; }

Implements​

  • System.Runtime.InteropServices._Attribute