From bed864a45900644829e92a6b5f3fa6026b02d948 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 4 Apr 2020 10:51:28 -0700 Subject: [PATCH] Add !explain command --- bot.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bot.py b/bot.py index 8f7dabd..4c3d8d0 100644 --- a/bot.py +++ b/bot.py @@ -161,6 +161,14 @@ def cmd_emoji(match: Match[str]) -> Response: return MessageResponse(match, 'anthon63DumpsterFire anthon63Pythonk') +@handle_message('!explain') +def cmd_explain(match: Match[str]) -> Response: + return MessageResponse( + match, + 'https://www.youtube.com/playlist?list=PLWBKAf81pmOaP9naRiNAqug6EBnkPakvY', # noqa: E501 + ) + + @handle_message('!keyboard2') def keyboard2(match: Match[str]) -> Response: return MessageResponse(