diff --git a/docs/source/changelogs/v0.rst b/docs/source/changelogs/v0.rst index b0df5ed..f386ec2 100644 --- a/docs/source/changelogs/v0.rst +++ b/docs/source/changelogs/v0.rst @@ -4,6 +4,21 @@ Versions 0.1+ Changelog These are all the changelogs for releases of hikari-toolbox (from 0.1+). +Version 0.1.3 +============= + +- Divided the library up into seperate files. +- Fixed a bug where `can_moderate` and `calculate_permissions` were missing from `__all__`. + +---- + +Version 0.1.2 +============= + +- Added `as_command_choices`. +- Fixed incorrect calculation of overrides in `calculate_permissions`. + + ---- Version 0.1.0 diff --git a/toolbox/__init__.py b/toolbox/__init__.py index 9c0fbf0..10cfd3f 100644 --- a/toolbox/__init__.py +++ b/toolbox/__init__.py @@ -5,7 +5,7 @@ from .roles import * from .strings import * -__version__ = "0.1.2" +__version__ = "0.1.3" # MIT License # diff --git a/toolbox/roles.py b/toolbox/roles.py index 5a9ab0f..deb04f4 100644 --- a/toolbox/roles.py +++ b/toolbox/roles.py @@ -22,6 +22,7 @@ def sort_roles(roles: t.Sequence[hikari.Role], ascending: bool = False) -> t.Seq """ return sorted(roles, key=lambda r: r.position, reverse=not ascending) + # MIT License # # Copyright (c) 2022-present HyperGH