Can target classes now.
This commit is contained in:
@@ -3,7 +3,7 @@ using System;
|
|||||||
namespace Discord.Commands
|
namespace Discord.Commands
|
||||||
{
|
{
|
||||||
/// <summary> Provides aliases for a command. </summary>
|
/// <summary> Provides aliases for a command. </summary>
|
||||||
[AttributeUsage(AttributeTargets.Method)]
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
||||||
public class AliasAttribute : Attribute
|
public class AliasAttribute : Attribute
|
||||||
{
|
{
|
||||||
/// <summary> The aliases which have been defined for the command. </summary>
|
/// <summary> The aliases which have been defined for the command. </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user