diff --git a/redbot/cogs/warnings/warnings.py b/redbot/cogs/warnings/warnings.py index c990d4af7..ea1f488af 100644 --- a/redbot/cogs/warnings/warnings.py +++ b/redbot/cogs/warnings/warnings.py @@ -395,6 +395,8 @@ class Warnings(commands.Cog): if (reason_type := registered_reasons.get(reason.lower())) is None: msg = _("That is not a registered reason!") if custom_allowed: + if points <= 0: + return await ctx.send(_("You cannot apply 0 or less points.")) reason_type = {"description": reason, "points": points} else: # logic taken from `[p]permissions canrun`