aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-07-25 21:05:30 +0100
committerGravatar Chris Lovering <[email protected]>2024-07-25 21:05:30 +0100
commit1aca9ae7b2458d698986b535fed63cc4fe43d3e4 (patch)
tree627f928cc98d032c7687681c7bc4e13a3a4b33e5
parentBump sphinx-autodoc-typehints from 2.2.1 to 2.2.3 (#255) (diff)
Correct docstring for ViewWithUserAndRoleCheck
-rw-r--r--pydis_core/utils/interactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/interactions.py b/pydis_core/utils/interactions.py
index 27456f4d..b3c1eee9 100644
--- a/pydis_core/utils/interactions.py
+++ b/pydis_core/utils/interactions.py
@@ -49,7 +49,7 @@ async def _handle_modify_message(message: Message, action: Literal["edit", "dele
class ViewWithUserAndRoleCheck(ui.View):
"""
- A view that allows the original invoker and moderators to interact with it.
+ A view that allows only allows the specified users, or users with the specified roles, to interact with it.
Args:
allowed_users: A sequence of user's ids who are allowed to interact with the view.