Answers for "set_permissions in channels in discord.py"

0

set permissions role discord.py

server = ctx.message.server
perms = discord.Permissions(send_messages=False, read_messages=True)
await client.create_role(server, name='NoSend', permissions=perms)
Posted by: Guest on September-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language