1
0
Fork 0
forked from External/ergo

refactor /HELP for services

1. DRY "banner" descriptions of each services
2. `/HELP NICKSERV` now refers the user to `/NICKSERV HELP`, etc.
3. Fix double translation of `textGenerator` output
This commit is contained in:
Shivaram Lingamneni 2019-07-02 12:36:32 -04:00
parent 7761323f01
commit 1c583d775c
6 changed files with 35 additions and 61 deletions

View file

@ -11,13 +11,7 @@ import (
)
const hostservHelp = `HostServ lets you manage your vhost (i.e., the string displayed
in place of your client's hostname/IP).
To see in-depth help for a specific HostServ command, try:
$b/HS HELP <command>$b
Here are the commands you can use:
%s`
in place of your client's hostname/IP).`
var (
errVHostBadCharacters = errors.New("Vhost contains prohibited characters")