timlo / SlackBot

A bot to interface with Slack. It's still like crazy rough!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SlackBot

A bot to interface with Slack. It's still like crazy rough!

Setup

Setup's probably the jenkiest part of this whole operation still!

  1. Clone this repo locally.
  2. Create a file config.py at the root of SlackBot. It should define the locals default_channel as the default channel to communicate with, and token as the bot token of the Slack team you want to interface with.
token = "MyToken"
default_channel = "#general"
  1. Create the directory data in that root as well.
  2. python bot.py

Optional: for tab completion in OSX run [sudo] pip install readline.

Creating Modules

This section could use a full writeup someday. An extremely basic example can be found in modules/friendly.py

About

A bot to interface with Slack. It's still like crazy rough!


Languages

Language:Python 100.0%