15 lines
375 B
C#
15 lines
375 B
C#
using System.Runtime.CompilerServices;
|
|
using Discord.Commands;
|
|
using NadekoBot.Services.Impl;
|
|
|
|
namespace NadekoBot.Common.Attributes
|
|
{
|
|
public class NadekoCommand : CommandAttribute
|
|
{
|
|
public NadekoCommand([CallerMemberName] string memberName="") : base(Localization.LoadCommand(memberName.ToLowerInvariant()).Cmd.Split(' ')[0])
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|