From 9622e037c9ff1bf77f1b7dfc3c3b4eb4078da0ce Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 5 Jun 2024 01:38:27 -0400 Subject: [PATCH] fix(aurora): fixed another sql syntax error --- aurora/aurora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index d2db152..df25b1f 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -1587,7 +1587,7 @@ class Aurora(commands.Cog): continue addrole_num = 0 - removerole_query = f"SELECT * FROM moderation_{guild.id} WHERE end_timestamp IS NOT NULL 0 AND end_timestamp <= ? AND moderation_type = 'REMOVEROLE' AND expired = 0" + removerole_query = f"SELECT * FROM moderation_{guild.id} WHERE end_timestamp IS NOT NULL AND end_timestamp <= ? AND moderation_type = 'REMOVEROLE' AND expired = 0" removeroles = await Moderation.execute(bot=self.bot, guild_id=guild.id, query=removerole_query, parameters=(time.time(),)) for moderation in removeroles: