aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuzuZusu <[email protected]>2021-02-17 04:16:38 -0500
committerGitHub <[email protected]>2021-02-17 04:16:38 -0500
commit491b4262054b9fde45f302fc51dbfff469d26b7e (patch)
tree13976b60496e7aa8c126e01949b14c5a60d5d49d
parent[commands] Add support for rgb function in ColourConverter (diff)
downloaddiscord.py-491b4262054b9fde45f302fc51dbfff469d26b7e.tar.xz
discord.py-491b4262054b9fde45f302fc51dbfff469d26b7e.zip
Fix documentation with reference in GroupChannel.permissions_for
-rw-r--r--discord/channel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 9ab5d226..db4b566d 100644
--- a/discord/channel.py
+++ b/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.