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

View File

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