Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

A simple, clean, easy-to-modify Slack chatbot

License

Notifications You must be signed in to change notification settings

Politecnico-Open-unix-Labs/slask

 
 

Repository files navigation

Slask

A Slack chatbot

Installation

  1. Clone the repo
  2. pip install -r requirements.txt
  3. Create a bot user if you don't have one yet, and copy the API Token
  4. Copy config.py.sample to config.py and paste in the token you got in step 4
  5. python slask.py
  6. Invite Slask into any channels you want it in, or just message it in #general. Try typing !gif dubstep cat to test it out

kitten mittens

Commands

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:

calc


emoji


flip


gif


google (or search)


help


image


map


stock


stockphoto


weather


wiki


youtube


Contributors

About

A simple, clean, easy-to-modify Slack chatbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%