14 lines
395 B
C#
14 lines
395 B
C#
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using Discord.Commands;
|
|
using NadekoBot.Services.Impl;
|
|
namespace NadekoBot.Common.Attributes
|
|
{
|
|
public class Aliases : AliasAttribute
|
|
{
|
|
public Aliases([CallerMemberName] string memberName = "") : base(Localization.LoadCommand(memberName.ToLowerInvariant()).Cmd.Split(' ').Skip(1).ToArray())
|
|
{
|
|
}
|
|
}
|
|
}
|