|
|
@ -562,9 +562,7 @@ class Guild(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, 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(administrator=True),
|
|
|
|
manage_channels=True, read_message_history=True,
|
|
|
|
|
|
|
|
send_messages=True, attach_files=True),
|
|
|
|
|
|
|
|
member: discord.PermissionOverwrite(read_messages=True, send_messages=True)
|
|
|
|
member: discord.PermissionOverwrite(read_messages=True, send_messages=True)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|