From b8f303f019de6a036f340dfa9e183f3aa4747c48 Mon Sep 17 00:00:00 2001 From: Michael Oliveira <34169552+Flame442@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:23:43 -0500 Subject: [PATCH] Apply suggestions from code review --- redbot/cogs/warnings/warnings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/cogs/warnings/warnings.py b/redbot/cogs/warnings/warnings.py index 5fa8f046685..9c43398ad6b 100644 --- a/redbot/cogs/warnings/warnings.py +++ b/redbot/cogs/warnings/warnings.py @@ -411,7 +411,7 @@ async def warn( self.bot, guild, ctx.message.created_at, - "ban", + "hackban", user, ctx.author, reason, @@ -427,7 +427,7 @@ async def warn( else: confirm.message = await ctx.send(_("No action taken.")) - ctx.tick() + await ctx.tick() return if member == ctx.author: