This commit is contained in:
Anthony Sottile 2019-12-08 20:30:55 -08:00
parent 9749796a95
commit 371ff0d89a
1 changed files with 5 additions and 0 deletions

5
bot.py
View File

@ -335,6 +335,11 @@ def msg_gnu_please(match: Match[str]) -> Response:
return MessageResponse(match, f"Um please, it's GNU+{esc(word)}!") return MessageResponse(match, f"Um please, it's GNU+{esc(word)}!")
@handle_message(r'.*\bth[oi]nk(?:ing)?\b', flags=re.IGNORECASE)
def msg_think(match: Match[str]) -> Response:
return MessageResponse(match, 'anthon63Pythonk ' * 5)
# TODO: !tags, only allowed by stream admin / mods???? # TODO: !tags, only allowed by stream admin / mods????
def dt_str() -> str: def dt_str() -> str: