A bot to interface with Slack. It's still like crazy rough!
Setup's probably the jenkiest part of this whole operation still!
- Clone this repo locally.
- Create a file
config.py
at the root of SlackBot. It should define the localsdefault_channel
as the default channel to communicate with, andtoken
as the bot token of the Slack team you want to interface with.
token = "MyToken"
default_channel = "#general"
python bot.py
Optional: for tab completion in OSX run [sudo] pip install readline
.
This section could use a full writeup someday. An extremely basic example can be found in modules/friendly.py