From 2a3eed78c7066a1e632adb45a546d896a8418d48 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Sat, 21 Jan 2023 13:12:34 +0000 Subject: [PATCH] Fixed quadra and penta commands --- ihaspeks/commands/penta.py | 4 ++-- ihaspeks/commands/quadra.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ihaspeks/commands/penta.py b/ihaspeks/commands/penta.py index 13be4e9..f97b0ed 100644 --- a/ihaspeks/commands/penta.py +++ b/ihaspeks/commands/penta.py @@ -46,7 +46,7 @@ def check_queue(bot: Bot, message: Message, table: str): val = val - 1 c.execute( f""" - UPDATE varvalues SET val = ? WHERE id = 'cannon'; + UPDATE varvalues SET val = ? WHERE id = 'penta'; """, (val,), ) @@ -66,7 +66,7 @@ def check_queue(bot: Bot, message: Message, table: str): val = val + 1 c.execute( f""" - UPDATE varvalues SET val = ? WHERE id = 'cannon'; + UPDATE varvalues SET val = ? WHERE id = 'penta'; """, (val,), ) diff --git a/ihaspeks/commands/quadra.py b/ihaspeks/commands/quadra.py index 4f473c9..d1f84e9 100644 --- a/ihaspeks/commands/quadra.py +++ b/ihaspeks/commands/quadra.py @@ -46,7 +46,7 @@ def check_queue(bot: Bot, message: Message, table: str): val = val - 1 c.execute( f""" - UPDATE varvalues SET val = ? WHERE id = 'cannon'; + UPDATE varvalues SET val = ? WHERE id = 'quadra'; """, (val,), ) @@ -66,7 +66,7 @@ def check_queue(bot: Bot, message: Message, table: str): val = val + 1 c.execute( f""" - UPDATE varvalues SET val = ? WHERE id = 'cannon'; + UPDATE varvalues SET val = ? WHERE id = 'quadra'; """, (val,), ) -- 2.30.2