mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 01:08:26 -04:00
19 lines
507 B
C#
19 lines
507 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using Discord.Commands;
|
|
using NadekoBot.Core.Services.Impl;
|
|
namespace NadekoBot.Common.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public sealed class AliasesAttribute : AliasAttribute
|
|
{
|
|
public AliasesAttribute([CallerMemberName] string memberName = "")
|
|
: base(CommandNameLoadHelper.GetAliasesFor(memberName))
|
|
{
|
|
}
|
|
}
|
|
}
|