Initial split of the modules
This commit is contained in:
13
NadekoBot.Core/Common/Attributes/Aliases.cs
Normal file
13
NadekoBot.Core/Common/Attributes/Aliases.cs
Normal file
@ -0,0 +1,13 @@
|
||||
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())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user