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

@ -41,13 +41,7 @@ const (
nsTimeoutNotice = `This nickname is reserved. Please login within %v (using $b/msg NickServ IDENTIFY <password>$b or SASL), or switch to a different nickname.`
)
const nickservHelp = `NickServ lets you register and login to an account.
To see in-depth help for a specific NickServ command, try:
$b/NS HELP <command>$b
Here are the commands you can use:
%s`
const nickservHelp = `NickServ lets you register and log into an account.`
var (
nickservCommands = map[string]*serviceCommand{