Fix documentation with reference in GroupChannel.permissions_for

This commit is contained in:
SuzuZusu 2021-02-17 04:16:38 -05:00 committed by GitHub
parent a0404807d5
commit 491b426205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1248,8 +1248,8 @@ class GroupChannel(discord.abc.Messageable, Hashable):
This returns all the Text related permissions set to ``True`` except:
- send_tts_messages: You cannot send TTS messages in a DM.
- manage_messages: You cannot delete others messages in a DM.
- :attr:`~Permissions.send_tts_messages`: You cannot send TTS messages in a DM.
- :attr:`~Permissions.manage_messages`: You cannot delete others messages in a DM.
This also checks the kick_members permission if the user is the owner.