WIP: Moderation type registry #26

Closed
cswimr wants to merge 146 commits from aurora-3rd-party into main
Showing only changes of commit c35580c576 - Show all commits

View file

@ -97,15 +97,15 @@ class ImportAuroraView(ui.View):
duration = None duration = None
Moderation.log( Moderation.log(
interaction.client, bot=interaction.client,
self.ctx.guild.id, guild_id=self.ctx.guild.id,
case["moderator_id"], moderator_id=case["moderator_id"],
case["moderation_type"], moderation_type=case["moderation_type"],
case["target_type"], target_type=case["target_type"],
case["target_id"], target_id=case["target_id"],
case["role_id"], role_id=case["role_id"],
duration, duration=duration,
case["reason"], reason=case["reason"],
timestamp=case["timestamp"], timestamp=case["timestamp"],
resolved=case["resolved"], resolved=case["resolved"],
resolved_by=case["resolved_by"], resolved_by=case["resolved_by"],