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 diff --git a/bot.py b/bot.py index 85cbf00..b32a93a 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') @@ -167,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()