From: Georgios Atheridis Date: Thu, 12 May 2022 07:55:39 +0000 (+0000) Subject: fixed bug X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=66fa456f6970d0112f2a16828a31131ff6523080;p=ihaspeks%2Faptbot-ihaspeks.git fixed bug --- diff --git a/skgyorugo/commands/available.py b/skgyorugo/commands/available.py index 8eaa8c8..a5216c4 100644 --- a/skgyorugo/commands/available.py +++ b/skgyorugo/commands/available.py @@ -102,7 +102,8 @@ def main(bot: Bot, message: Message): ) ) ); - """ + """, + (twitch_id,), ) c.execute( @@ -174,6 +175,7 @@ def main(bot: Bot, message: Message): AND available = 0; """, ( + twitch_id, int(time.time()), twitch_id, ), diff --git a/skgyorugo/commands/forceavailable.py b/skgyorugo/commands/forceavailable.py index 092e095..25f6c06 100644 --- a/skgyorugo/commands/forceavailable.py +++ b/skgyorugo/commands/forceavailable.py @@ -105,7 +105,8 @@ def main(bot: Bot, message: Message): ) ) ); - """ + """, + (twitch_id,), ) c.execute( @@ -177,6 +178,7 @@ def main(bot: Bot, message: Message): AND available = 0; """, ( + twitch_id, int(time.time()), twitch_id, ),