Talkbackbot
IRC bot that responds to selected phrases with a quotation from a notable woman (defaults to answering "that's what she said" jokes)
Install / Use
/learn @jessamynsmith/TalkbackbotREADME
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
Usage
Activate virtualenv
workon talkbackbot
Copy settings.py.EXAMPLE to settings.py and edit as desired
cp settings.py.EXAMPLE settings.py
vim settings.py
Note: QUOTES_FILE should have one quotation per line. QUOTES_URL must point to a JSON API that provides data in the following format:
{"results": [{"author": "Corazon Aquino", "text": "The media's power is frail."}]}
Run the bot
twistd twsrs
Stop the bot
kill `cat twistd.pid`
Development
Fork the project on github and git clone your fork, e.g.:
git clone https://github.com/<username>/talkbackbot.git
Create a virtualenv and install dependencies:
mkvirtualenv talkbackbot
pip install -r requirements/development.txt
Run tests and view coverage:
coverage run -m nose
coverage report
Check code style:
flake8
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
