Add link to /help to highlight command

This commit is contained in:
Nikolay Kochulin 2019-11-16 21:40:38 +00:00
parent 715ea7528f
commit 846f17f59a

View File

@ -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 ? "]" : ""))) + " <i>" + getLocalizedCMDDesc(c, loc) + "</i>";
build += "<a href=\"http://example.com\">" + Prefix + names[names.Count - 1] + "</a> " + string.Join(" ", c.Arguments.Select(x => (!x.Required ? "[" : "") + x.Name + (!x.Required ? "]" : ""))) + " <i>" + getLocalizedCMDDesc(c, loc) + "</i>";
pieces.Add(build);
}
return string.Join("\n", pieces);