Removed some unused classes, minor cleanup. Added rider anotations to stop some annoying code suggestions

This commit is contained in:
Kwoth
2021-12-25 02:53:00 +01:00
parent 26ee6ce4d3
commit 77bbc5ef7a
10 changed files with 10 additions and 111 deletions

View File

@@ -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)
{
}
}

View File

@@ -1,8 +0,0 @@
namespace Discord.Commands;
public class LeftoverAttribute : RemainderAttribute
{
public LeftoverAttribute()
{
}
}

View File

@@ -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)
{
}
}