Skip to content

Commit 3244b99

Browse files
authored
Apply suggestions from code review
1 parent b1f915f commit 3244b99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

discord/member.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ async def edit(
675675
+------------------------------+--------------------------------------+
676676
| voice_channel | :attr:`Permissions.move_members` |
677677
+------------------------------+--------------------------------------+
678-
| communication_disabled_until | :attr:`Permissions.kick_members` |
678+
| communication_disabled_until | :attr:`Permissions.manage_members` |
679679
+------------------------------+--------------------------------------+
680680
681681
All parameters are optional.
@@ -779,7 +779,7 @@ async def timeout(self, until: Optional[datetime.datetime], reason: str = None)
779779
780780
Timeouts a member from the guild for the set duration.
781781
782-
You must have the :attr:`~Permissions.kick_members` permission to
782+
You must have the :attr:`~Permissions.manage_members` permission to
783783
timeout a member.
784784
785785
Parameters
@@ -803,7 +803,7 @@ async def remove_timeout(self, reason: str = None) -> None:
803803
804804
Removes the timeout from a member.
805805
806-
You must have the :attr:`~Permissions.kick_members` permission to
806+
You must have the :attr:`~Permissions.manage_members` permission to
807807
remove the timeout.
808808
809809
This is equivalent to calling :meth:`~.timeout` and passing ``None`` to :param:`~.timeout.until`.

0 commit comments

Comments
 (0)