diff --git a/bubbles/commands/check_ping.py b/bubbles/commands/check_ping.py index 7701bf6..978225d 100644 --- a/bubbles/commands/check_ping.py +++ b/bubbles/commands/check_ping.py @@ -7,9 +7,7 @@ def check_ping(payload: Payload) -> None: """!check_ping [user] - Manually trigger a transcription check ping.""" tokens = payload.cleaned_text.split() - - user_raw = tokens.get(1) - user_filter = parse_user(user_raw) if user_raw is not None else None + user_filter = parse_user(tokens[1]) if len(tokens) > 1 else None transcription_check_ping(payload.get_channel(), user_filter=user_filter, start_now=True)