| Commit message (Collapse) | Author | Lines |
|
|
|
discord.py yields duplicate Command objects for each alias a command
has, so the duplicates need to be removed on our end.
|
|
* Rename `walk_extensions` to `walk_modules` because some extensions
don't consist of a single module
|
|
Have to check the modules are equal to prevent yielding imported cogs.
|
|
|
|
This will help reduce nesting in the actual test.
|
|
|
|
|
|
|
|
For tests, ideally creating instances of cogs should be avoided to avoid
extra code execution. This function was copied over from discord.py
because their function is not a static method, though it still works as
one. It was probably just a design decision on their part to not make it
static.
|