.h cmdName should now work correctly for all commands

This commit is contained in:
Kwoth
2022-01-02 17:16:15 +01:00
parent 4e60ea4241
commit df3e60b61f
2 changed files with 6 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ internal sealed class NadekoModuleAttribute : GroupAttribute
internal sealed class NadekoDescriptionAttribute : SummaryAttribute
{
public NadekoDescriptionAttribute([CallerMemberName] string name = "")
: base(name)
: base(name.ToLowerInvariant())
{
}
}
@@ -24,7 +24,7 @@ internal sealed class NadekoDescriptionAttribute : SummaryAttribute
internal sealed class NadekoUsageAttribute : RemarksAttribute
{
public NadekoUsageAttribute([CallerMemberName] string name = "")
: base(name)
: base(name.ToLowerInvariant())
{
}
}