fix(moderation): guild.id instead of guild
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
This commit is contained in:
parent
461f52a1d1
commit
418cff9de6
1 changed files with 1 additions and 1 deletions
|
@ -1753,7 +1753,7 @@ class Moderation(commands.Cog):
|
|||
resolved_reason = 'NULL'
|
||||
changes = []
|
||||
|
||||
await Moderation.mysql_log(self.cog_instance, self.ctx.guild, 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.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue