Creating modmail channel with more permissions for Enso

pull/8/head
sgoudham 4 years ago
parent f6672fd048
commit c1f1a32d65

@ -432,7 +432,8 @@ class Modmail(Cog):
# Setting up the channel permissions for the new channel that will be created # Setting up the channel permissions for the new channel that will be created
overwrites = { overwrites = {
guild.default_role: discord.PermissionOverwrite(read_messages=False), guild.default_role: discord.PermissionOverwrite(read_messages=False),
guild.me: discord.PermissionOverwrite(read_messages=True), guild.me: discord.PermissionOverwrite(embed_links=True, read_messages=True, manage_messages=True,
manage_channels=True, read_message_history=True),
member: discord.PermissionOverwrite(read_messages=True, send_messages=True) member: discord.PermissionOverwrite(read_messages=True, send_messages=True)
} }

Loading…
Cancel
Save