Added initial commands project
This commit is contained in:
14
src/Discord.Net.Commands/Attributes/GroupAttribute.cs
Normal file
14
src/Discord.Net.Commands/Attributes/GroupAttribute.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Discord.Commands
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class GroupAttribute : Attribute
|
||||
{
|
||||
public string Name { get; }
|
||||
public GroupAttribute(string name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user