Fixed help command descriptions

This commit is contained in:
Kwoth 2016-08-19 11:03:41 +02:00
parent 5f4af88627
commit ac7147f5c1

View File

@ -6,7 +6,7 @@ namespace NadekoBot.Attributes
{ {
public class LocalizedDescriptionAttribute : DescriptionAttribute public class LocalizedDescriptionAttribute : DescriptionAttribute
{ {
public LocalizedDescriptionAttribute([CallerMemberName] string memberName="") : base(Localization.LoadCommandString(memberName.ToLowerInvariant()+"_description")) public LocalizedDescriptionAttribute([CallerMemberName] string memberName="") : base(Localization.LoadCommandString(memberName.ToLowerInvariant()+"_desc"))
{ {
} }