mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Removed some unused classes, minor cleanup. Added rider anotations to stop some annoying code suggestions
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class DescriptionAttribute : SummaryAttribute
|
||||
{
|
||||
// Localization.LoadCommand(memberName.ToLowerInvariant()).Desc
|
||||
public DescriptionAttribute(string text = "") : base(text)
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,8 +0,0 @@
|
||||
namespace Discord.Commands;
|
||||
|
||||
public class LeftoverAttribute : RemainderAttribute
|
||||
{
|
||||
public LeftoverAttribute()
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class UsageAttribute : RemarksAttribute
|
||||
{
|
||||
// public static string GetUsage(string memberName)
|
||||
// {
|
||||
// var usage = Localization.LoadCommand(memberName.ToLowerInvariant()).Usage;
|
||||
// return JsonConvert.SerializeObject(usage);
|
||||
// }
|
||||
public UsageAttribute(string text = "") : base(text)
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user