aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-04-20 23:19:20 +0100
committerGravatar Chris Lovering <[email protected]>2022-04-20 23:22:28 +0100
commitaa43f9d53cf9ff1b7f11563c5fd44d6d600a6f33 (patch)
tree7ac7e742f65424cc692817f9c2d6112dc16d15d2 /botcore
parentMerge pull request #64 from python-discord/bump-d.py (diff)
Add unqualify to the utils namespace
This is for bots that want to use the unqualify function for their own extension cogs
Diffstat (limited to 'botcore')
-rw-r--r--botcore/utils/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/botcore/utils/__init__.py b/botcore/utils/__init__.py
index 7e6ea788..fa389743 100644
--- a/botcore/utils/__init__.py
+++ b/botcore/utils/__init__.py
@@ -1,6 +1,7 @@
"""Useful utilities and tools for Discord bot development."""
from botcore.utils import _monkey_patches, caching, channel, logging, members, regex, scheduling
+from botcore.utils._extensions import unqualify
def apply_monkey_patches() -> None:
@@ -27,6 +28,7 @@ __all__ = [
members,
regex,
scheduling,
+ unqualify,
]
__all__ = list(map(lambda module: module.__name__, __all__))