A Slack chatbot
- Clone the repo
pip install -r requirements.txt
- Create a bot user if you don't have one yet, and copy the API Token
- Copy
config.py.sample
toconfig.py
and paste in the token you got in step 4 python slask.py
- Invite Slask 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: