Add service aliases to command list for completion

Includes known aliases for AdminServ (/as), BotServ (/bs), ChanServ
(/cs), HelpServ (/hs), HostServ (/hs; /ho on some IRCds), MemoServ
(/ms), NickServ (/ns), OperServ (/os), and RootServ (/rs).

Not all IRCds will have all of these services available, but it's not
trivial to filter out the ones that don't exist on a particular network.
This commit is contained in:
dgw 2017-10-11 19:50:06 -05:00
parent 69ef6831b9
commit 59ad0ba863
1 changed files with 9 additions and 0 deletions

View File

@ -20,19 +20,24 @@ const colorCodeMap = [
]; ];
const commands = [ const commands = [
"/as",
"/away", "/away",
"/back", "/back",
"/ban", "/ban",
"/banlist", "/banlist",
"/bs",
"/close", "/close",
"/collapse", "/collapse",
"/connect", "/connect",
"/cs",
"/ctcp", "/ctcp",
"/cycle", "/cycle",
"/deop", "/deop",
"/devoice", "/devoice",
"/disconnect", "/disconnect",
"/expand", "/expand",
"/ho",
"/hs",
"/invite", "/invite",
"/join", "/join",
"/kick", "/kick",
@ -40,15 +45,19 @@ const commands = [
"/list", "/list",
"/me", "/me",
"/mode", "/mode",
"/ms",
"/msg", "/msg",
"/nick", "/nick",
"/notice", "/notice",
"/ns",
"/op", "/op",
"/os",
"/part", "/part",
"/query", "/query",
"/quit", "/quit",
"/raw", "/raw",
"/rejoin", "/rejoin",
"/rs",
"/say", "/say",
"/send", "/send",
"/server", "/server",