From 9619893ed736cefaf16a8050b1691df0470a3d29 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 10 Jul 2020 13:22:32 -0700 Subject: [PATCH] add !bonk command --- bot.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bot.py b/bot.py index e86d0d5..a05a076 100644 --- a/bot.py +++ b/bot.py @@ -282,6 +282,15 @@ def cmd_still(match: Match[str]) -> Response: return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!') +@handle_message('!bonk') +def cmd_bonk(match: Match[str]) -> Response: + return MessageResponse( + match, + 'Makayla_Fox: ' + 'https://i.fluffy.cc/DM4QqzjR7wCpkGPwTl6zr907X50XgtBL.png', + ) + + async def ensure_table_exists(db: aiosqlite.Connection) -> None: await db.execute( 'CREATE TABLE IF NOT EXISTS today ('