From ee38b1e76a4d34fda20c0f368c449053d22a026c Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 26 Apr 2026 20:07:24 -0400 Subject: [PATCH] fix: remove unused variable asker in cmd_q (ruff F841) Co-Authored-By: Claude Sonnet 4.6 --- matrixbot/commands.py | 1 - 1 file changed, 1 deletion(-) diff --git a/matrixbot/commands.py b/matrixbot/commands.py index 14fd5e3..9d94d59 100644 --- a/matrixbot/commands.py +++ b/matrixbot/commands.py @@ -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: