aboutsummaryrefslogtreecommitdiffstats
path: root/docs/changelog.rst
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-09-02 13:20:24 +0100
committerGravatar Chris Lovering <[email protected]>2024-01-30 19:17:47 +0000
commit7d306e630db06bea036ae0e8d9c7800a6d4ccff6 (patch)
treef9fbfaf3a845244a2b58bfb860757cd4fc432cfb /docs/changelog.rst
parentadhere to google docstrings style (diff)
Add the a user_has_access helper function to interactions module.
This returns whether the given user is in the allowed_users list, or has a role from allowed_roles.
Diffstat (limited to 'docs/changelog.rst')
-rw-r--r--docs/changelog.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 40232572..c9b10010 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -4,6 +4,8 @@
Changelog
=========
+- :feature:`194` Add the :obj:`pydis_core.utils.interactions.user_has_access` helper function, that returns whether the given user is in the allowed_users list, or has a role from allowed_roles.
+
- :release:`10.6.0 <30th January 2024>`
- :feature:`189` Add :obj:`pydis_core.utils.pagination.LinePaginator` which allows users to paginate over content using Embeds, with emoji reactions facilitating navigation.
- :feature:`189` Add :obj:`pydis_core.utils.messages.reaction_check`, a predicate that dictates whether a user has the right to add a specific set of reactions based on certain criteria.