diff options
Diffstat (limited to 'tests/bot/exts/test_cogs.py')
-rw-r--r-- | tests/bot/exts/test_cogs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bot/exts/test_cogs.py b/tests/bot/exts/test_cogs.py index 775c40722..f8e120262 100644 --- a/tests/bot/exts/test_cogs.py +++ b/tests/bot/exts/test_cogs.py @@ -54,6 +54,7 @@ class CommandNameTests(unittest.TestCase): """Return a list of all qualified names, including aliases, for the `command`.""" names = [f"{command.full_parent_name} {alias}".strip() for alias in command.aliases] names.append(command.qualified_name) + names += getattr(command, "root_aliases", []) return names |