From 6e2a3205fd7d72d60e98c752d715bbcb36db7016 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 28 Sep 2019 16:47:16 -0700 Subject: [PATCH 1/3] =?UTF-8?q?=D0=BC=D1=8B=20=D0=B1=D1=83=D0=B4=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=B7=D0=B0=D1=89=D0=B8=D1=89=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BD=D0=B0=D1=88=D1=83=20=D1=80=D0=BE=D0=B4=D0=B8=D0=BD=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot.py b/bot.py index e32b413..cd5c831 100644 --- a/bot.py +++ b/bot.py @@ -144,6 +144,11 @@ def cmd_discord(match: Match[str]) -> Response: ) +@handle_message('!homeland') +def cmd_russians(match: Match[str]) -> Response: + return MessageResponse(match, 'WE WILL PROTECT OUR HOMELAND!') + + @handle_message('!emoji') def cmd_emoji(match: Match[str]) -> Response: return MessageResponse(match, 'anthon63DumpsterFire anthon63Pythonk') From 4d37e9e5f4f0b219ff2ae91d08674622a8b64412 Mon Sep 17 00:00:00 2001 From: yoavcaspi Date: Fri, 4 Oct 2019 21:48:08 +0300 Subject: [PATCH 2/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4edae8..af0cdf7 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ anthonywritescode: PING hello anthonywritescodebot: PONG hello ``` -### `!discord' +### `!discord` Show the discord url From f698ae9ecda05656cb7a1e18c44f7a9a12cc7591 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 12 Oct 2019 14:06:44 -0700 Subject: [PATCH 3/3] 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()