Bobbit (Next-Generation)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
modules
.gitignore
LICENSE
README.md
bobbit.py

README.md

Bobbit

bobbit is a simple and modular IRC bot written in Python. The current version uses Tornado as its core networking and event processing backend.

The previous ad-hoc version can be found at https://bitbucket.org/pbui/bobbit/.

Requirements

Configuration

Bobbit requires a configuration YAML file to run, which should be in the directory specified by config-dir (default: ~/.config/bobbit). An example config file looks like this:

nick:       "bobbit"
password:   <password>
owner:      <owner>
host:       <irc server>
port:       6667
channels:
    - <channel>

The following modules also require configuration files (in config-dir):

  • lookup: requires lookup.yaml. Here's an example:
    cool kids:
    - I wish that I could be like the cool kids \\ 'Cause all the cool kids, they seem to fit in
    
  • weather: requires weather.yaml. Here's an example:
    appid:      <api-key>
    default:    <zipcode>
    

Execution

Just run bobbit.py. Optionally, you can specify config-dir.