forked from cswimr/SeaCogs
misc(moderation): changed formatting of mysql_log method call in import galacticbot
This commit is contained in:
parent
30ea17cfb6
commit
44aaf4b320
1 changed files with 16 additions and 1 deletions
|
@ -1788,7 +1788,22 @@ class Moderation(commands.Cog):
|
||||||
resolved_reason = 'NULL'
|
resolved_reason = 'NULL'
|
||||||
changes = []
|
changes = []
|
||||||
|
|
||||||
await Moderation.mysql_log(self.cog_instance, self.ctx.guild.id, case['executor'], case['type'], case['target'], 0, duration, case['reason'], timestamp=timestamp, resolved=resolved, resolved_by=resolved_by, resolved_reason=resolved_reason, changes=changes, database=database)
|
await Moderation.mysql_log(
|
||||||
|
self.cog_instance,
|
||||||
|
self.ctx.guild.id,
|
||||||
|
case['executor'],
|
||||||
|
case['type'],
|
||||||
|
case['target'],
|
||||||
|
0,
|
||||||
|
duration,
|
||||||
|
case['reason'],
|
||||||
|
timestamp=timestamp,
|
||||||
|
resolved=resolved,
|
||||||
|
resolved_by=resolved_by,
|
||||||
|
resolved_reason=resolved_reason,
|
||||||
|
changes=changes,
|
||||||
|
database=database
|
||||||
|
)
|
||||||
|
|
||||||
await interaction.edit_original_response(content="Import complete.")
|
await interaction.edit_original_response(content="Import complete.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue