make bonk ignorecase

This commit is contained in:
Anthony Sottile 2020-07-13 11:54:37 -07:00
parent 9619893ed7
commit 6c299e6bc9
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -282,7 +282,7 @@ def cmd_still(match: Match[str]) -> Response:
return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!') return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')
@handle_message('!bonk') @handle_message('!bonk', flags=re.IGNORECASE)
def cmd_bonk(match: Match[str]) -> Response: def cmd_bonk(match: Match[str]) -> Response:
return MessageResponse( return MessageResponse(
match, match,