fix: remove unused variable asker in cmd_q (ruff F841)
Lint / Shell (shellcheck) (push) Successful in 8s
Lint / JS (eslint) (push) Successful in 7s
Lint / Python (ruff) (push) Successful in 4s
Lint / Secret scan (gitleaks) (push) Has been cancelled
Lint / Python deps (pip-audit) (push) Has been cancelled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 20:07:24 -04:00
parent a7a3891d1c
commit ee38b1e76a
-1
View File
@@ -2880,7 +2880,6 @@ async def cmd_q(client: AsyncClient, room_id: str, sender: str, args: str):
remaining = g["questions_left"]
answer = await _answer_20q(g["thing"], g["category"], question)
asker = sender.split(":")[0].lstrip("@")
suffix = f" ({remaining} question{'s' if remaining != 1 else ''} left)"
if remaining == 0: