added lol_queue
authorGeorgios Atheridis <atheridis@tutamail.com>
Tue, 10 May 2022 04:43:19 +0000 (04:43 +0000)
committerGeorgios Atheridis <atheridis@tutamail.com>
Tue, 10 May 2022 04:43:19 +0000 (04:43 +0000)
skgyorugo/commands/queue.py

index f0f87fb6c74229c29579c2dc73ec06e8df440c41..01422e618c37cfae39cd854401a02da53b8dc26a 100644 (file)
@@ -40,7 +40,7 @@ def main(bot: Bot, message: Message):
 
     c.execute(
         """
-        SELECT twitch_id WHERE available = 1 ORDER BY position ASC;
+        SELECT twitch_id FROM lol_queue WHERE available = 1 ORDER BY position ASC;
         """
     )
     fetched = c.fetchall()