From f698ae9ecda05656cb7a1e18c44f7a9a12cc7591 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 12 Oct 2019 14:06:44 -0700 Subject: [PATCH] Add !github command --- bot.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bot.py b/bot.py index cd5c831..5b73744 100644 --- a/bot.py +++ b/bot.py @@ -172,6 +172,15 @@ def keyboard(match: Match[str]) -> Response: ) +@handle_message('!github') +def github(match: Match[str]) -> Response: + return MessageResponse( + match, + "anthony's github is https://github.com/asottile -- stream github is " + "https://github.com/anthonywritescode", + ) + + @handle_message('!still') def cmd_still(match: Match[str]) -> Response: _, _, msg = match.groups()