fix: remove unused variable asker in cmd_q (ruff F841)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2880,7 +2880,6 @@ async def cmd_q(client: AsyncClient, room_id: str, sender: str, args: str):
|
|||||||
remaining = g["questions_left"]
|
remaining = g["questions_left"]
|
||||||
|
|
||||||
answer = await _answer_20q(g["thing"], g["category"], question)
|
answer = await _answer_20q(g["thing"], g["category"], question)
|
||||||
asker = sender.split(":")[0].lstrip("@")
|
|
||||||
|
|
||||||
suffix = f" ({remaining} question{'s' if remaining != 1 else ''} left)"
|
suffix = f" ({remaining} question{'s' if remaining != 1 else ''} left)"
|
||||||
if remaining == 0:
|
if remaining == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user