mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 09:06:09 +03:00
Add link to /help to highlight command
This commit is contained in:
parent
715ea7528f
commit
846f17f59a
@ -67,7 +67,7 @@ namespace JetKarmaBot
|
|||||||
{
|
{
|
||||||
build = build + Prefix + names[i] + "\n";
|
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);
|
pieces.Add(build);
|
||||||
}
|
}
|
||||||
return string.Join("\n", pieces);
|
return string.Join("\n", pieces);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user