Browse Source

Fix DM channel permissions not having read_messages

pull/7023/head
Rapptz 4 years ago
parent
commit
27556ea0a2
  1. 2
      discord/channel.py

2
discord/channel.py

@ -1519,6 +1519,7 @@ class DMChannel(discord.abc.Messageable, Hashable):
"""
base = Permissions.text()
base.read_messages = True
base.send_tts_messages = False
base.manage_messages = False
return base
@ -1661,6 +1662,7 @@ class GroupChannel(discord.abc.Messageable, Hashable):
"""
base = Permissions.text()
base.read_messages = True
base.send_tts_messages = False
base.manage_messages = False
base.mention_everyone = True

Loading…
Cancel
Save