I've forked this repo and added support for the command function in this form:
command "start" do
user <- getFrom
-- and so on
I was originally going to just submit a PR, but I thought it may not be needed since the working implementation is identical to the implementation for hears. That is, the above code is functionally identical to the following:
hears "/start" do
user <- getFrom
-- and so on
In short I'm not totally convinced that this library really needs the command function, since it doesn't really add anything new, so I'm posting this issue mostly to find out.
I've forked this repo and added support for the
commandfunction in this form:I was originally going to just submit a PR, but I thought it may not be needed since the working implementation is identical to the implementation for
hears. That is, the above code is functionally identical to the following:In short I'm not totally convinced that this library really needs the
commandfunction, since it doesn't really add anything new, so I'm posting this issue mostly to find out.