fix(moderation): fixed broken mysql query
This commit is contained in:
parent
0422b15985
commit
209ca2998d
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class Moderation(commands.Cog):
|
|||
insert_query = f"""
|
||||
INSERT INTO `moderation_{guild.id}`
|
||||
(moderation_id, timestamp, moderation_type, target_id, moderator_id, role_id, duration, end_timestamp, reason, resolved, resolved_by, resolve_reason, expired, changes, metadata)
|
||||
VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)
|
||||
VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)
|
||||
"""
|
||||
insert_values = (0, 0, "NULL", 0, 0, 0, "NULL", 0, "NULL", 0, "NULL", "NULL", 0, json.dumps([]), json.dumps({}))
|
||||
cursor.execute(insert_query, insert_values)
|
||||
|
|
Loading…
Reference in a new issue