From 371ff0d89a872a764d2d1653d0c220ccbeac07ab Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 8 Dec 2019 20:30:55 -0800 Subject: [PATCH] :thinking: --- bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot.py b/bot.py index f079c08..43a5435 100644 --- a/bot.py +++ b/bot.py @@ -335,6 +335,11 @@ def msg_gnu_please(match: Match[str]) -> Response: 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???? def dt_str() -> str: