fix(aurora): fixed a bug in removerole
This commit is contained in:
parent
123cd188dc
commit
fb92cdc08c
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue