WIP: Refactor Aurora (3.0.0) #29
1 changed files with 1 additions and 3 deletions
|
@ -207,7 +207,6 @@ class AddRole(Type):
|
|||
moderation_type=cls(),
|
||||
response=response,
|
||||
duration=parsed_time,
|
||||
role=role,
|
||||
)
|
||||
await target.send(embed=embed, file=get_icon(ctx.bot))
|
||||
except HTTPException:
|
||||
|
@ -343,7 +342,6 @@ class RemoveRole(Type):
|
|||
moderation_type="removerole",
|
||||
response=response,
|
||||
duration=parsed_time,
|
||||
role=role,
|
||||
)
|
||||
await target.send(embed=embed, file=get_icon(ctx.bot))
|
||||
except HTTPException:
|
||||
|
@ -788,7 +786,7 @@ class Tempban(Ban):
|
|||
return None
|
||||
|
||||
@classmethod
|
||||
async def handler(cls, ctx: commands.Context, target: Member | User, silent: bool, duration: str, reason: str = None, delete_messages: app_commands.Choice | None = None) -> 'Ban': # pylint: disabled=arguments-renamed
|
||||
async def handler(cls, ctx: commands.Context, target: Member | User, silent: bool, duration: str, reason: str = None, delete_messages: app_commands.Choice | None = None) -> 'Ban': # pylint: disable=arguments-renamed
|
||||
"""Ban a user."""
|
||||
bot = ctx.bot
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue