diff options
author | 2022-04-02 20:11:34 +0100 | |
---|---|---|
committer | 2022-04-02 20:11:34 +0100 | |
commit | 765284a5e436f7786619a5ba4c312d75df5e9dee (patch) | |
tree | f4748800698892fc9940c217b5507011ec614d27 /botcore/utils | |
parent | Merge pull request #39 from python-discord/revert-disnake (diff) | |
parent | Use imperative mood in docstrings (diff) |
Merge pull request #42 from python-discord/bump-d.py-and-add-BotBase
Bump d.py and add bot base
Diffstat (limited to 'botcore/utils')
-rw-r--r-- | botcore/utils/__init__.py | 3 | ||||
-rw-r--r-- | botcore/utils/_extensions.py (renamed from botcore/utils/extensions.py) | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/botcore/utils/__init__.py b/botcore/utils/__init__.py index fe906075..7e6ea788 100644 --- a/botcore/utils/__init__.py +++ b/botcore/utils/__init__.py @@ -1,6 +1,6 @@ """Useful utilities and tools for Discord bot development.""" -from botcore.utils import _monkey_patches, caching, channel, extensions, logging, members, regex, scheduling +from botcore.utils import _monkey_patches, caching, channel, logging, members, regex, scheduling def apply_monkey_patches() -> None: @@ -23,7 +23,6 @@ __all__ = [ apply_monkey_patches, caching, channel, - extensions, logging, members, regex, diff --git a/botcore/utils/extensions.py b/botcore/utils/_extensions.py index 841120c9..d90a25dd 100644 --- a/botcore/utils/extensions.py +++ b/botcore/utils/_extensions.py @@ -22,7 +22,7 @@ def unqualify(name: str) -> str: def walk_extensions(module: types.ModuleType) -> frozenset[str]: """ - Yield extension names from the given module. + Return all extension names from the given module. Args: module (types.ModuleType): The module to look for extensions in. |