misc(moderation): formatting
All checks were successful
Pylint / Pylint (push) Successful in 1m13s

This commit is contained in:
Seaswimmer 2023-10-06 13:52:49 -04:00
parent 9900c7ea98
commit 60a1f7e500
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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 = []