From 59ad0ba8634482ca699c4b2b4b81b485c9143167 Mon Sep 17 00:00:00 2001 From: dgw Date: Wed, 11 Oct 2017 19:50:06 -0500 Subject: [PATCH] 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. --- client/js/constants.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/js/constants.js b/client/js/constants.js index 3f408d0a..40de0cc9 100644 --- a/client/js/constants.js +++ b/client/js/constants.js @@ -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",