fix(aurora): more pylint fixes
This commit is contained in:
parent
63e6f4b552
commit
8d03022453
1 changed files with 1 additions and 3 deletions
|
@ -207,7 +207,6 @@ class AddRole(Type):
|
||||||
moderation_type=cls(),
|
moderation_type=cls(),
|
||||||
response=response,
|
response=response,
|
||||||
duration=parsed_time,
|
duration=parsed_time,
|
||||||
role=role,
|
|
||||||
)
|
)
|
||||||
await target.send(embed=embed, file=get_icon(ctx.bot))
|
await target.send(embed=embed, file=get_icon(ctx.bot))
|
||||||
except HTTPException:
|
except HTTPException:
|
||||||
|
@ -343,7 +342,6 @@ class RemoveRole(Type):
|
||||||
moderation_type="removerole",
|
moderation_type="removerole",
|
||||||
response=response,
|
response=response,
|
||||||
duration=parsed_time,
|
duration=parsed_time,
|
||||||
role=role,
|
|
||||||
)
|
)
|
||||||
await target.send(embed=embed, file=get_icon(ctx.bot))
|
await target.send(embed=embed, file=get_icon(ctx.bot))
|
||||||
except HTTPException:
|
except HTTPException:
|
||||||
|
@ -788,7 +786,7 @@ class Tempban(Ban):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@classmethod
|
@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."""
|
"""Ban a user."""
|
||||||
bot = ctx.bot
|
bot = ctx.bot
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue