Add !github command

This commit is contained in:
Anthony Sottile 2019-10-12 14:06:44 -07:00
parent c4884d79da
commit f698ae9ecd
1 changed files with 9 additions and 0 deletions

9
bot.py
View File

@ -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') @handle_message('!still')
def cmd_still(match: Match[str]) -> Response: def cmd_still(match: Match[str]) -> Response:
_, _, msg = match.groups() _, _, msg = match.groups()