From 696fe0d0e48a6d9f40f0ad97c37d2e4df12fc6d3 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 11 Feb 2020 00:54:48 +0100 Subject: [PATCH] try to squeeze !hint feedback on one line --- MultiServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiServer.py b/MultiServer.py index c87befa0..a8f6709d 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -336,8 +336,8 @@ async def process_client_cmd(ctx : Context, client : Client, cmd, args): points_available = ctx.location_check_points * len(ctx.location_checks[client.team, client.slot]) - ctx.hint_cost*ctx.hints_used[client.team, client.slot] itemname = args[6:] if not itemname: - notify_client(client, "Use !hint {itemname}. For example !hint Lamp. " - f"A hint costs {ctx.hint_cost} points.\n" + notify_client(client, "Use !hint {itemname}, for example !hint Lamp. " + f"A hint costs {ctx.hint_cost} points. " f"You have {points_available} points.") elif itemname in Items.item_table: if ctx.hint_cost: can_pay = points_available // ctx.hint_cost >= 1