Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

IRC bot that responds to selected phrases with a quotation from a notable woman (defaults to answering "that's what she said" jokes)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 talkback
Octocat-spinner-32 tests
Octocat-spinner-32 twisted
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rst
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 settings.py.EXAMPLE
README.rst

TalkBackBot

Are you tired of "That's what she said" jokes? Then this bot is for you! It will join a specified channel and respond to the configured trigger phrases with what she really said, i.e. a quotation from a notable woman. It will also respond to any direct message with a quotation.

Many quotes taken from this excellent resource: http://womenshistory.about.com/library/qu/blqulist.htm

Setup

I highly recommend both virtualenv and virtualenvwrapper to manage the environments for your different python projects.

# Create a virtualenv
mkvirtualenv talkbackbot

# Install requirements
workon talkbackbot
pip install -r requirements.txt

Usage

# Activate your virtualenv
workon talkbackbot

# Copy settings.py.EXAMPLE to settings.py and edit to suit yourself
cp settings.py.EXAMPLE settings.py
vim settings.py

# Run the bot
twistd twsrs

# Stop the bot
kill `cat twistd.pid`

# Run unit tests
nosetests
Something went wrong with that request. Please try again.