aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-01-21 03:34:18 -0500
committerRapptz <[email protected]>2020-01-21 03:34:18 -0500
commit08c90668cd81780b2a3254d0dff3a5f6da26ceae (patch)
tree847ab873d7cdcc26db670ce746fcfdb3d9e676c2
parent[commands] Refactor BucketType to not repeat in other places in code (diff)
downloaddiscord.py-08c90668cd81780b2a3254d0dff3a5f6da26ceae.tar.xz
discord.py-08c90668cd81780b2a3254d0dff3a5f6da26ceae.zip
[commands] Be more clear in the default error for MaxConcurrencyReached
-rw-r--r--discord/ext/commands/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py
index 0d5e0d0f..fe81e6af 100644
--- a/discord/ext/commands/errors.py
+++ b/discord/ext/commands/errors.py
@@ -261,7 +261,7 @@ class MaxConcurrencyReached(CommandError):
suffix = 'per %s' % name if per.name != 'default' else 'globally'
plural = '%s times %s' if number > 1 else '%s time %s'
fmt = plural % (number, suffix)
- super().__init__('Too many people using this command. It can only be used {}.'.format(fmt))
+ super().__init__('Too many people using this command. It can only be used {} concurrently.'.format(fmt))
class MissingRole(CheckFailure):
"""Exception raised when the command invoker lacks a role to run a command.