diff options
author | 2024-03-18 13:05:02 +0100 | |
---|---|---|
committer | 2024-03-18 13:05:46 +0100 | |
commit | dfda554e7a10445044e928313a1bc1fb7f6ccec3 (patch) | |
tree | 1c564b6fb685e4b60b50191d2b3315f2d8778325 | |
parent | expose a way for registering the command error manager (diff) |
reflect changes in changelog
-rw-r--r-- | docs/changelog.rst | 1 | ||||
-rw-r--r-- | pydis_core/utils/__init__.py | 6 |
2 files changed, 7 insertions, 0 deletions
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<https://github.com/scoder/lupa/issues/245>`. 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, |