discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Bot' object has no attribute 'send_message'
我有个问题我真的不明白。这是我的密码:
async def sad(ctx):
await client.send_message(ctx.message.author, 'sad')```
AttributeError: 'Bot' object has no attribute 'send_message'
你知道吗不和谐.py最近迁移到重写:https://discordpy.readthedocs.io/en/latest/
More here
相关问题 更多 >
编程相关推荐