From 846f17f59a08b239455738758b9c1fae328ecc00 Mon Sep 17 00:00:00 2001 From: Nikolay Kochulin Date: Sat, 16 Nov 2019 21:40:38 +0000 Subject: [PATCH] Add link to /help to highlight command --- JetKarmaBot/VerbCommandRouter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JetKarmaBot/VerbCommandRouter.cs b/JetKarmaBot/VerbCommandRouter.cs index 425991f..8bfe55c 100644 --- a/JetKarmaBot/VerbCommandRouter.cs +++ b/JetKarmaBot/VerbCommandRouter.cs @@ -67,7 +67,7 @@ namespace JetKarmaBot { build = build + Prefix + names[i] + "\n"; } - build += Prefix + names[names.Count - 1] + " " + string.Join(" ", c.Arguments.Select(x => (!x.Required ? "[" : "") + x.Name + (!x.Required ? "]" : ""))) + " " + getLocalizedCMDDesc(c, loc) + ""; + build += "" + Prefix + names[names.Count - 1] + " " + string.Join(" ", c.Arguments.Select(x => (!x.Required ? "[" : "") + x.Name + (!x.Required ? "]" : ""))) + " " + getLocalizedCMDDesc(c, loc) + ""; pieces.Add(build); } return string.Join("\n", pieces);