aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-04-20 23:24:41 +0100
committerGravatar GitHub <[email protected]>2022-04-20 23:24:41 +0100
commit7d4784edae5e70322545e9523a945ed7a849d5bb (patch)
tree7ac7e742f65424cc692817f9c2d6112dc16d15d2
parentMerge pull request #64 from python-discord/bump-d.py (diff)
parentAdd unqualify to the utils namespace (diff)
Merge pull request #65 from python-discord/Add-unqualify-to-the-util-namespacev6.1.0
Add unqualify to the utils namespace
-rw-r--r--CHANGELOG.md3
-rw-r--r--botcore/utils/__init__.py2
-rw-r--r--pyproject.toml2
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4b21e62..ed66f70b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## 6.1.0 20th April 2022
+- Feature: Add `unqualify` to the `botcore.utils` namespace for use in bots that manipulate extensions
+
## 6.0.0 19th April 2022
- Breaking: Bump discord.py to [987235d5649e7c2b1a927637bab6547244ecb2cf](https://github.com/Rapptz/discord.py/tree/987235d5649e7c2b1a927637bab6547244ecb2cf)
- This reverts a change to help command behaviour that broke our custom pagination
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__))
diff --git a/pyproject.toml b/pyproject.toml
index 55671b76..4eb7415e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bot-core"
-version = "6.0.0"
+version = "6.1.0"
description = "Bot-Core provides the core functionality and utilities for the bots of the Python Discord community."
authors = ["Python Discord <[email protected]>"]
license = "MIT"