-
Notifications
You must be signed in to change notification settings - Fork 340
Added command aliases and leaveall command #114
Conversation
Thanks @pokemonmegaman! Looks like a very clean implementation to me. One question: is there a convention for listing and removing aliases we can add as well? |
It might not be a bad idea just to implement a |
@pokemonmegaman both those ideas sound good to me. I hunted around a bit and couldn't find any great conventions for removing an alias in IRC clients. 👍 |
for listing commands, we should have a way of adding messages that only show up locally, because we don't want to send our list of aliases to the rest of the server (that would be annoying). that being said, we really should externalize all the commands into another file, and it would be nice if we could add in descriptions for each one of the commands so we can more easily create |
@pokemonmegaman just merged a commit from @bcomnes refactoring commands a bit, can you rebase please? 😁 |
Yep, that can certainly be done. |
Alright, should be good now. |
Added command aliases and leaveall command
@pokemonmegaman 👍 |
yeaaah! looks great :) 👍 |
Added two new commands:
/leaveall
(which also can be called with/wcall
or/partall
) which leaves all channels except friends, and/alias
to resolve #107 .Command aliases work by using
/alias <name of alias> <command to execute>
and are called by/<name of alias>
. Aliases are stored locally using leveldb.