> I would write my OWN bot, that responded to TWSS with a quotation from a notable woman.
I'd write a bot that would answer with a TWSS-trigger and watch the IRC channel going up in flames :]
I'd write a bot that would answer with a TWSS-trigger and watch the IRC channel going up in flames :]
def contains_twsrs_response_quote(chat_line):
return bool(re.search(r'~ [\w ]+$', chat_line))
Edit: This presumes the responses you're trying to detect match the form "Quote goes here ~ Author of Quote" seen in her quotes.txt.