Skip to content

Commit 1aca9ae

Browse files
committed
Correct docstring for ViewWithUserAndRoleCheck
1 parent e5023a0 commit 1aca9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_core/utils/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def _handle_modify_message(message: Message, action: Literal["edit", "dele
4949

5050
class ViewWithUserAndRoleCheck(ui.View):
5151
"""
52-
A view that allows the original invoker and moderators to interact with it.
52+
A view that allows only allows the specified users, or users with the specified roles, to interact with it.
5353
5454
Args:
5555
allowed_users: A sequence of user's ids who are allowed to interact with the view.

0 commit comments

Comments
 (0)