fix(aurora): fixed another sql syntax error
This commit is contained in:
parent
e9a64e5a39
commit
9622e037c9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue