dbot
dbot copied to clipboard
Command aliases
commands['~commandone'].aliases = [ '~bertrand' ]
Issue here is with commands which use regex, since the command name itself is part of the regexen. Though I don't think they have to be? Perhaps we can remove those
dbot.api.command.createAlias('~setprop', ['warn'])
I want to do ~warn user --> ~setprop user warn
Probably need an anon function passed to createAlias to map the data?
This may end up conflicting with quotes. Will have to be careful about that.
@reality Defer to 0.5?
ok