Browse Source

Fix documentation with reference in GroupChannel.permissions_for

pull/4131/head
SuzuZusu 4 years ago
committed by GitHub
parent
commit
491b426205
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/channel.py

4
discord/channel.py

@ -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.

Loading…
Cancel
Save