mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Never trust Slime
This commit is contained in:
parent
7db2ba556d
commit
b77afeed34
@ -303,7 +303,7 @@ def init_events(bot, cli_flags):
|
|||||||
await ctx.send(msg, delete_after=error.retry_after)
|
await ctx.send(msg, delete_after=error.retry_after)
|
||||||
elif isinstance(error, commands.MaxConcurrencyReached):
|
elif isinstance(error, commands.MaxConcurrencyReached):
|
||||||
if error.per is commands.BucketType.default:
|
if error.per is commands.BucketType.default:
|
||||||
if error.per > 1:
|
if error.number > 1:
|
||||||
msg = _(
|
msg = _(
|
||||||
"Too many people using this command."
|
"Too many people using this command."
|
||||||
" It can only be used {number} times concurrently."
|
" 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."
|
" It can only be used {number} time concurrently."
|
||||||
).format(number=error.number)
|
).format(number=error.number)
|
||||||
else:
|
else:
|
||||||
if error.per > 1:
|
if error.number > 1:
|
||||||
msg = _(
|
msg = _(
|
||||||
"Too many people using this command."
|
"Too many people using this command."
|
||||||
" It can only be used {number} times per {type} concurrently."
|
" It can only be used {number} times per {type} concurrently."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user