Creating modmail channel with more permissions for Enso

pull/8/head
sgoudham 4 years ago
parent bdfe859724
commit 7cde09f9e3

@ -433,7 +433,8 @@ class Modmail(Cog):
overwrites = { overwrites = {
guild.default_role: discord.PermissionOverwrite(read_messages=False, send_messages=False), guild.default_role: discord.PermissionOverwrite(read_messages=False, send_messages=False),
guild.me: discord.PermissionOverwrite(embed_links=True, read_messages=True, manage_messages=True, guild.me: discord.PermissionOverwrite(embed_links=True, read_messages=True, manage_messages=True,
manage_channels=True, read_message_history=True), manage_channels=True, read_message_history=True,
send_messages=True),
member: discord.PermissionOverwrite(read_messages=True, send_messages=True) member: discord.PermissionOverwrite(read_messages=True, send_messages=True)
} }

Loading…
Cancel
Save