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