fix(aurora): fixed another sql syntax error

This commit is contained in:
Seaswimmer 2024-06-05 01:38:27 -04:00
parent e9a64e5a39
commit 9622e037c9
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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: