From 39afcde598348a0147432605b80ded6b15d85ab1 Mon Sep 17 00:00:00 2001 From: Ascensionn <87586499+Ascensionn@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:57:09 -0500 Subject: [PATCH] Update redbot/cogs/warnings/warnings.py Co-authored-by: Michael Oliveira <34169552+Flame442@users.noreply.github.com> --- 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 0efdfe2295d..7150cf73e1d 100644 --- a/redbot/cogs/warnings/warnings.py +++ b/redbot/cogs/warnings/warnings.py @@ -410,9 +410,9 @@ async def warn( await confirm.message.add_reaction("\N{WHITE HEAVY CHECK MARK}") except discord.Forbidden: - await ctx.send("I don't have permission to ban this user.") + await ctx.send(_("I don't have permission to ban this user.")) except discord.HTTPException: - await ctx.send("An error occurred while trying to ban the user.") + await ctx.send(_("An error occurred while trying to ban the user.")) return if member == ctx.author: