totallymike / ircnode

Extensible IRC bot written with node.js
https://github.com/totallymike/ircnode/wiki
MIT License
4 stars 2 forks source link

!learn commands #7

Closed totallymike closed 12 years ago

totallymike commented 12 years ago

I'd like to have a !learn command. You type !learn or something and pass it some parameters and it remembers the command.

sigv commented 12 years ago

I believe the syntax should be !learn "INPUT" "RESPONSE". Quotation marks would be required to put multiple words in a phrase.

sigv commented 12 years ago

This implementation has been pushed to the learn_command branch.

sigv commented 12 years ago

As suggested by the project leader (totallymike), this is being moved down to plugin level. A pull request for this has been opened in the plugins repository (#4).

I'm leaving this issue open until the pull request gets merged into master on the plugins repository.

sigv commented 12 years ago

Closing this issue as the plugin was already merged into master.