标签: python bots discord edit roles
我正试图让我的机器人通过所有角色并更改其权限,以使它们无法嵌入或发送图像。我可以做的很好,就可以担任所有角色
for role in message.guild.roles:
但是如何使用edit()函数将这些权限设置为false?
在此问题上很难遵循API [https://discordpy.readthedocs.io/en/latest/api.html#discord.Permissions]
凹凸