2017-07-17 19:42:36 +00:00
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
using Discord.Commands;
|
|
|
|
|
using NadekoBot.Services.Impl;
|
2016-10-05 03:09:44 +00:00
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Common.Attributes
|
2016-10-05 03:09:44 +00:00
|
|
|
|
{
|
|
|
|
|
public class NadekoCommand : CommandAttribute
|
|
|
|
|
{
|
2017-09-17 23:41:43 +00:00
|
|
|
|
public NadekoCommand([CallerMemberName] string memberName="") : base(Localization.LoadCommand(memberName.ToLowerInvariant()).Cmd.Split(' ')[0])
|
2016-10-05 03:09:44 +00:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|