diff options
author | 2021-03-11 18:01:22 +0000 | |
---|---|---|
committer | 2021-03-11 18:01:22 +0000 | |
commit | 6c1b715bae96980309af3b38a5ff6cad6ce49f95 (patch) | |
tree | 9b71cc50176771aca2803d4e07db99e6b4aee3ec | |
parent | Use a more specific filename for avatar modifiying commands (diff) |
Update docstring to refer to groups rather than commands
Co-authored-by: Shivansh-007 <[email protected]>
-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.") |