diff options
author | 2021-03-11 18:01:27 +0000 | |
---|---|---|
committer | 2021-03-11 18:01:27 +0000 | |
commit | d55b92bb12b56f0a98dfcce0ef15565275b07666 (patch) | |
tree | 59358ca6dde0b8bebf113fefc8fb95e2d90634dd | |
parent | Defer errors in pride image to error handler (diff) | |
parent | Update docstring to refer to groups rather than commands (diff) |
Merge branches 'Enforce-image-processing-concurrency' and 'Enforce-image-processing-concurrency' of github.com:python-discord/sir-lancebot into Enforce-image-processing-concurrency
-rw-r--r-- | bot/group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/group.py b/bot/group.py index 77092adf..a7bc59b7 100644 --- a/bot/group.py +++ b/bot/group.py @@ -6,7 +6,7 @@ class Group(commands.Group): A `discord.ext.commands.Group` subclass which supports root aliases. A `root_aliases` keyword argument is added, which is a sequence of alias names that will act as - top-level commands rather than being aliases of the command's group. It's stored as an attribute + top-level groups rather than being aliases of the command's group. It's stored as an attribute also named `root_aliases`. """ @@ -15,4 +15,4 @@ class Group(commands.Group): self.root_aliases = kwargs.get("root_aliases", []) if not isinstance(self.root_aliases, (list, tuple)): - raise TypeError("Root aliases of a command must be a list or a tuple of strings.") + raise TypeError("Root aliases of a group must be a list or a tuple of strings.") |