This commit is contained in:
parent
9900c7ea98
commit
60a1f7e500
1 changed files with 3 additions and 3 deletions
|
@ -458,9 +458,9 @@ class Moderation(commands.Cog):
|
|||
cursor.execute(query, (interaction.guild.id, target.id))
|
||||
elif moderator:
|
||||
query = """SELECT *
|
||||
FROM moderation_%s
|
||||
WHERE moderator_id = %s
|
||||
ORDER BY moderation_id DESC;"""
|
||||
FROM moderation_%s
|
||||
WHERE moderator_id = %s
|
||||
ORDER BY moderation_id DESC;"""
|
||||
cursor.execute(query, (interaction.guild.id, moderator.id))
|
||||
results = cursor.fetchall()
|
||||
result_dict_list = []
|
||||
|
|
Loading…
Reference in a new issue