a slack bot written in python.
316
Based on the limbo slack client here: https://github.com/llimllib/limbo
Slack <https://slack.com/>__ chatbotCreate a bot user <https://my.slack.com/services/new/bot>__ if you
don't have one yet, and copy the API Tokeninvoke install.dev && invoke serve.dev to start the bot. That's it!The above command actually does a few things, in this order
invoke install.pip (called by the below command) to install the required packagesinvoke install.dev to install raven in development modeinvoke serve.dev to actually serve the bot. You could also run python bin/raven to
run the bot as well.!gif dubstep cat to test it out.. figure:: http://i.imgur.com/xhmD6QO.png :alt: kitten mittens
kitten mittens
It's super easy to add your own commands! Just create a python file in
the plugins directory with an on_message function that returns a
string.
You can use the !help command to print out all available commands
and a brief help message about them. !help <plugin> will return just
the help for a particular plugin.
These are the current default plugins:
[banner] <https://github.com/thewhowhatwhere/raven/wiki/Calc-Plugin>__ *
calc <https://github.com/thewhowhatwhere/raven/wiki/Calc-Plugin>__ *
[echo] <https://github.com/thewhowhatwhere/raven/wiki/Echo-Plugin>__ *
[flip] <https://github.com/thewhowhatwhere/raven/wiki/Flip-Plugin>__ *
gif <https://github.com/thewhowhatwhere/raven/wiki/Gif-Plugin>__ *
google <https://github.com/thewhowhatwhere/raven/wiki/Google-Plugin>__ *
help <https://github.com/thewhowhatwhere/raven/wiki/Help-Plugin>__ *
image <https://github.com/thewhowhatwhere/raven/wiki/Image-Plugin>__ *
map <https://github.com/thewhowhatwhere/raven/wiki/Map-Plugin>__ *
stockticker <https://github.com/thewhowhatwhere/raven/wiki/Stock-Plugin>__ *
stock <https://github.com/thewhowhatwhere/raven/wiki/Stock-Photo-Plugin>__ *
[tell] <https://github.com/thewhowhatwhere/raven/wiki/Tell-Plugin>__ *
[urban] <https://github.com/thewhowhatwhere/raven/wiki/Urban-Plugin>__ *
weather <https://github.com/thewhowhatwhere/raven/wiki/Weather-Plugin>__ *
wiki <https://github.com/thewhowhatwhere/raven/wiki/Wiki-Plugin>__ *
youtube <https://github.com/thewhowhatwhere/raven/wiki/Youtube-Plugin>__
Content type
Image
Digest
Size
295.9 MB
Last updated
over 10 years ago
docker pull skiftcreative/raven