| Commit message (Collapse) | Author | Lines |
|
The directory contains modules, which are extensions. It only indirectly
contains cogs through the extensions. Therefore, a technically more
accurate name is "extensions", or "exts" when abbreviated. Furthermore,
"exts" is consistent with SeasonalBot.
|
|
Since `pkgutil.walk_packages` imports packages it comes across, it's
best to avoid potential side effects from imports.
|
|
It's convenient for users to type less to specify the exception they
want. Only require a qualified name if an unqualified name is ambiguous
(i.e. two modules in different subpackages have identical names).
|
|
|
|
|
|
|
|
Discover extensions recursively and ignore any modules/packages whose
names start with an underscore.
|
|
|
|
Bunch of modules still rely on importing the cog directly from the
moderation package.
|
|
This naming scheme will make them easy to distinguish from extensions.
|
|
The cog tests structure should mirror the structure of the cogs folder.
Fix some import/patch paths which broke due to the restructure.
|
|
|
|
See issue #1101
|