From b77afeed3421a6592a5a1504aea59bc1181ce122 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 28 Oct 2020 12:17:37 +0100 Subject: [PATCH] Never trust Slime --- redbot/core/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/events.py b/redbot/core/events.py index 6002de140..9e4bc9e0f 100644 --- a/redbot/core/events.py +++ b/redbot/core/events.py @@ -303,7 +303,7 @@ def init_events(bot, cli_flags): await ctx.send(msg, delete_after=error.retry_after) elif isinstance(error, commands.MaxConcurrencyReached): if error.per is commands.BucketType.default: - if error.per > 1: + if error.number > 1: msg = _( "Too many people using this command." " It can only be used {number} times concurrently." @@ -314,7 +314,7 @@ def init_events(bot, cli_flags): " It can only be used {number} time concurrently." ).format(number=error.number) else: - if error.per > 1: + if error.number > 1: msg = _( "Too many people using this command." " It can only be used {number} times per {type} concurrently."