16 lines
341 B
C#
16 lines
341 B
C#
using System;
|
|
|
|
namespace Discord.Commands
|
|
{
|
|
// Override public name of command/module
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
|
|
public class NameAttribute : Attribute
|
|
{
|
|
public string Text { get; }
|
|
public NameAttribute(string text)
|
|
{
|
|
Text = text;
|
|
}
|
|
}
|
|
}
|