this is why we can't have nice things, AndrewLaneX
This commit is contained in:
parent
793049411a
commit
c2a96905ac
2
bot.py
2
bot.py
|
|
@ -229,6 +229,8 @@ for _cmd, _msg in _TEXT_COMMANDS:
|
||||||
@handle_message('!still')
|
@handle_message('!still')
|
||||||
def cmd_still(match: Match[str]) -> Response:
|
def cmd_still(match: Match[str]) -> Response:
|
||||||
_, _, rest = match['msg'].partition(' ')
|
_, _, rest = match['msg'].partition(' ')
|
||||||
|
if rest.startswith('/disconnect'):
|
||||||
|
rest = f' {rest}'
|
||||||
year = datetime.date.today().year
|
year = datetime.date.today().year
|
||||||
lol = random.choice(['LOL', 'LOLW', 'LMAO', 'NUUU'])
|
lol = random.choice(['LOL', 'LOLW', 'LMAO', 'NUUU'])
|
||||||
return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')
|
return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue