fixed bug
authorGeorgios Atheridis <atheridis@tutamail.com>
Thu, 12 May 2022 07:55:39 +0000 (07:55 +0000)
committerGeorgios Atheridis <atheridis@tutamail.com>
Thu, 12 May 2022 07:55:39 +0000 (07:55 +0000)
skgyorugo/commands/available.py
skgyorugo/commands/forceavailable.py

index 8eaa8c87963846c7b94e7175f9208c16d5cae71d..a5216c42b7a93f7edfc407221691027932dc1fc4 100644 (file)
@@ -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,
         ),
index 092e095dc1436dce8bb9fda597624b5ef21e32da..25f6c0659a9f19363ff0153c7aca74bc72196cf5 100644 (file)
@@ -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,
         ),