From fb92cdc08ca34d49e357eb071cdbc06630d02caa Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 14 Aug 2024 00:04:25 -0400 Subject: [PATCH] fix(aurora): fixed a bug in removerole --- aurora/aurora.py | 2 +- aurora/models/moderation_types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index dfc0a33..fab3e2e 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -46,7 +46,7 @@ class Aurora(commands.Cog): This cog stores all of its data in an SQLite database.""" __author__ = ["Seaswimmer"] - __version__ = "3.0.0-indev9" + __version__ = "3.0.0-indev10" __documentation__ = "https://seacogs.coastalcommits.com/aurora/" async def red_delete_data_for_user(self, *, requester, user_id: int): diff --git a/aurora/models/moderation_types.py b/aurora/models/moderation_types.py index 446de08..afc14d0 100644 --- a/aurora/models/moderation_types.py +++ b/aurora/models/moderation_types.py @@ -376,7 +376,7 @@ class RemoveRole(Type): guild=ctx.guild, moderator=ctx.author, reason=reason, - moderation_type="removerole", + moderation_type=cls(), response=response, duration=parsed_time, )