From ea12d362df31fb0f2c9f9dc51b72062b89387d5b Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Fri, 12 Jul 2024 15:55:16 -0400 Subject: [PATCH] fix(aurora): final pylint fixes --- aurora/models/moderation_types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/models/moderation_types.py b/aurora/models/moderation_types.py index e1a261d..8b50df4 100644 --- a/aurora/models/moderation_types.py +++ b/aurora/models/moderation_types.py @@ -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