fix(aurora): fixed a bug in removerole
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s

This commit is contained in:
Seaswimmer 2024-08-14 00:04:25 -04:00
parent 123cd188dc
commit fb92cdc08c
Signed by: cswimr
GPG key ID: 3813315477F26F82
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ class Aurora(commands.Cog):
This cog stores all of its data in an SQLite database.""" This cog stores all of its data in an SQLite database."""
__author__ = ["Seaswimmer"] __author__ = ["Seaswimmer"]
__version__ = "3.0.0-indev9" __version__ = "3.0.0-indev10"
__documentation__ = "https://seacogs.coastalcommits.com/aurora/" __documentation__ = "https://seacogs.coastalcommits.com/aurora/"
async def red_delete_data_for_user(self, *, requester, user_id: int): async def red_delete_data_for_user(self, *, requester, user_id: int):

View file

@ -376,7 +376,7 @@ class RemoveRole(Type):
guild=ctx.guild, guild=ctx.guild,
moderator=ctx.author, moderator=ctx.author,
reason=reason, reason=reason,
moderation_type="removerole", moderation_type=cls(),
response=response, response=response,
duration=parsed_time, duration=parsed_time,
) )