From 1aca9ae7b2458d698986b535fed63cc4fe43d3e4 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Thu, 25 Jul 2024 21:05:30 +0100 Subject: Correct docstring for ViewWithUserAndRoleCheck --- pydis_core/utils/interactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3