Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Flame442 authored Dec 8, 2024
1 parent 31a54cf commit b8f303f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redbot/cogs/warnings/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ async def warn(
self.bot,
guild,
ctx.message.created_at,
"ban",
"hackban",
user,
ctx.author,
reason,
Expand All @@ -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:
Expand Down

0 comments on commit b8f303f

Please sign in to comment.