Add !explain command

This commit is contained in:
Anthony Sottile 2020-04-04 10:51:28 -07:00
parent 5617e3f6c9
commit bed864a459
1 changed files with 8 additions and 0 deletions

8
bot.py
View File

@ -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(