我试图在一个不和谐的渠道向每个人发送一个私人信息,如果他们有一个特定的角色。from discord.ext import commandsasync def message_role(ctx, role: discord.Role, *, message):
for member in ctx.message.server.m
当我打开Pycharm,创建并运行一个不和谐的机器人时,我得到了这个错误: File "C:/Users/sghan/PycharmProjects/discordbot/milkbot.py", line 36, in <module> File "C:\ProgramData\Anaconda3\lib\si