From c2a96905ac58c0dddf07a74da48e9110292685f3 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 5 May 2020 13:01:06 -0700 Subject: [PATCH] this is why we can't have nice things, AndrewLaneX --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 1687bc2..1de6c6a 100644 --- a/bot.py +++ b/bot.py @@ -229,6 +229,8 @@ for _cmd, _msg in _TEXT_COMMANDS: @handle_message('!still') def cmd_still(match: Match[str]) -> Response: _, _, rest = match['msg'].partition(' ') + if rest.startswith('/disconnect'): + rest = f' {rest}' year = datetime.date.today().year lol = random.choice(['LOL', 'LOLW', 'LMAO', 'NUUU']) return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')