Based on the limbo slack client here: https://github.com/llimllib/limbo
A Slack chatbot
- Clone the repo
- Create a bot user if you don't have one yet, and copy the API Token
- export SLACK_TOKEN="your-api-token"
- run
invoke 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 packages * invoke install.dev
to install raven in development mode * invoke serve.dev
to actually serve the bot. You could also run python bin/raven
to run the bot as well.
- Invite Raven into any channels you want it in, or just message it in #general. Try typing
!gif dubstep cat
to test it out
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] * calc * [echo] * [flip] * gif * google * help * image * map * stockticker * stock * [tell] * [urban] * weather * wiki * youtube
- [@thewhowhatwhere](https://github.com/thewhowhatwhere)
- [@SkiftCreative](https://github.com/SkiftCreative)
- [@fsalum](https://github.com/fsalum)
- [@rodvodka](https://github.com/rodvodka)
- [@mattfora](https://github.com/mattfora)
- [@dguido](https://github.com/dguido)
- [@JoeGermuska](https://github.com/JoeGermuska)
- [@MathyV](https://github.com/MathyV)
- [@stopspazzing](https://github.com/stopspazzing)
- [@noise](https://github.com/noise)