fix(aurora): final pylint fixes
This commit is contained in:
parent
8d03022453
commit
ea12d362df
1 changed files with 2 additions and 2 deletions
|
@ -808,7 +808,7 @@ class Tempban(Ban):
|
|||
except ValueError:
|
||||
await ctx.send(content=error("Please provide a valid duration!"), ephemeral=True)
|
||||
|
||||
response_message = await ctx.send(f"{target.mention} has been {cls.verb} for {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}")
|
||||
response_message = await ctx.send(content=f"{target.mention} has been {cls.verb} for {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}")
|
||||
|
||||
if silent is False:
|
||||
try:
|
||||
|
@ -1055,7 +1055,7 @@ class Slowmode(Type):
|
|||
duration=parsed_time,
|
||||
reason=None
|
||||
)
|
||||
await ctx.send(f"{ctx.author.mention} has {cls.verb} {target.mention} to {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}")
|
||||
await ctx.send(content=f"{ctx.author.mention} has {cls.verb} {target.mention} to {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}")
|
||||
await log(ctx, moderation.id)
|
||||
return cls
|
||||
|
||||
|
|
Loading…
Reference in a new issue