fix(moderation): fixed tuple in history command
All checks were successful
Pylint / Pylint (push) Successful in 1m13s

This commit is contained in:
Seaswimmer 2023-10-06 22:56:47 -04:00
parent 1e59f0cada
commit 40d2b01de5
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -469,7 +469,7 @@ class Moderation(commands.Cog):
query = """SELECT *
FROM moderation_%s
ORDER BY moderation_id DESC;"""
cursor.execute(query, (interaction.guild.id))
cursor.execute(query, (interaction.guild.id,))
results = cursor.fetchall()
result_dict_list = []
for result in results: