Skip to content

Commit

Permalink
Bump version, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Sep 30, 2022
1 parent 57828f1 commit 5c937a7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/source/changelogs/v0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion toolbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .roles import *
from .strings import *

__version__ = "0.1.2"
__version__ = "0.1.3"

# MIT License
#
Expand Down
1 change: 1 addition & 0 deletions toolbox/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c937a7

Please sign in to comment.