2017-07-17 19:42:36 +00:00
|
|
|
|
using System.Linq;
|
2016-09-03 22:23:29 +00:00
|
|
|
|
using System.Runtime.CompilerServices;
|
2017-07-17 19:42:36 +00:00
|
|
|
|
using Discord.Commands;
|
|
|
|
|
using NadekoBot.Services.Impl;
|
|
|
|
|
namespace NadekoBot.Common.Attributes
|
2016-09-03 22:23:29 +00:00
|
|
|
|
{
|
2016-10-05 03:09:44 +00:00
|
|
|
|
public class Aliases : AliasAttribute
|
2016-09-03 22:23:29 +00:00
|
|
|
|
{
|
2017-09-17 05:28:48 +00:00
|
|
|
|
public Aliases([CallerMemberName] string memberName = "") : base(Localization.LoadCommand(memberName.ToLowerInvariant()).Cmd.Split(' ').Skip(1).ToArray())
|
2016-09-03 22:23:29 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|