From dfda554e7a10445044e928313a1bc1fb7f6ccec3 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 18 Mar 2024 13:05:02 +0100 Subject: reflect changes in changelog --- docs/changelog.rst | 1 + pydis_core/utils/__init__.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 43088f33..69b220a8 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,7 @@ Changelog ========= +- :feature:`205` Add :obj:`pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler` and :obj:`pydis_core.utils.error_handling.commands.manager.CommandErrorManager` to implement and register command error handlers independantly. - :breaking:`208` Split ``fakeredis`` optional dependency from the ``async-rediscache`` extra. You can now install with ``[fakeredis]`` to just install fakeredis (with lua support), ``[async-rediscache]`` to install just ``async-rediscache``, or use either ``[all]`` or ``[async-rediscache,fakeredis]`` to install both. This allows users who do no rely on fakeredis to install in 3.12 environments. - :support:`208` Add support for Python 3.12. Be aware, at time of writing, our usage of fakeredis does not currently support 3.12. This is due to :literal-url:`this lupa issue`. Lupa is required by async-rediscache for lua script support within fakeredis. As such, fakeredis can not be installed in a Python 3.12 environment. - :breaking:`208` Drop support for Python 3.10 diff --git a/pydis_core/utils/__init__.py b/pydis_core/utils/__init__.py index 72531787..6d2945b4 100644 --- a/pydis_core/utils/__init__.py +++ b/pydis_core/utils/__init__.py @@ -1,5 +1,8 @@ """Useful utilities and tools for Discord bot development.""" +import pydis_core.utils.error_handling.commands as command_error_handling_module +import pydis_core.utils.error_handling.commands.abc as error_handling_abstractions +import pydis_core.utils.error_handling.commands.manager as command_error_manager from pydis_core.utils import ( _monkey_patches, caching, @@ -44,6 +47,9 @@ __all__ = [ channel, checks, commands, + command_error_handling_module, + error_handling_abstractions, + command_error_manager, cooldown, error_handling, function, -- cgit v1.2.3