Added module name under the
command help when using .h \ q
This commit is contained in:
parent
cbd2de284f
commit
e9365b7753
@ -48,6 +48,7 @@ namespace NadekoBot.Services.Help
|
|||||||
return new EmbedBuilder()
|
return new EmbedBuilder()
|
||||||
.AddField(fb => fb.WithName(str).WithValue($"{com.RealSummary(prefix)} {GetCommandRequirements(com, guild)}").WithIsInline(true))
|
.AddField(fb => fb.WithName(str).WithValue($"{com.RealSummary(prefix)} {GetCommandRequirements(com, guild)}").WithIsInline(true))
|
||||||
.AddField(fb => fb.WithName(GetText("usage", guild)).WithValue(com.RealRemarks(prefix)).WithIsInline(false))
|
.AddField(fb => fb.WithName(GetText("usage", guild)).WithValue(com.RealRemarks(prefix)).WithIsInline(false))
|
||||||
|
.WithFooter(efb => efb.WithText(GetText("module", guild, com.Module.GetTopLevelModule().Name)))
|
||||||
.WithColor(NadekoBot.OkColor);
|
.WithColor(NadekoBot.OkColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -303,6 +303,7 @@
|
|||||||
"help_server_permission": "Requires {0} server permission.",
|
"help_server_permission": "Requires {0} server permission.",
|
||||||
"help_table_of_contents": "Table of contents",
|
"help_table_of_contents": "Table of contents",
|
||||||
"help_usage": "Usage",
|
"help_usage": "Usage",
|
||||||
|
"help_module": "Module: {0}",
|
||||||
"nsfw_autohentai_started": "Autohentai started. Reposting every {0}s with one of the following tags:\n{1}",
|
"nsfw_autohentai_started": "Autohentai started. Reposting every {0}s with one of the following tags:\n{1}",
|
||||||
"nsfw_tag": "Tag",
|
"nsfw_tag": "Tag",
|
||||||
"gambling_animal_race": "Animal race",
|
"gambling_animal_race": "Animal race",
|
||||||
|
Loading…
Reference in New Issue
Block a user