in on_member_join File "C:\Users\pauls\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\client.py", line 312, in _run_event File "C:/Users/pauls/OneDrive
我的python脚本以以下几行结尾:future: <Task finished coro=<time_check() done,defined at rewards.py:18> exception=AttributeError("'Bot' object has no attribute 'send_message'")>' object has no attribute
\Python39\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke File "c:\Users\cyberx\Desktop\Paid projects\Discordbot\bot.py", line 25, inDesktop\Paid projects\
它说这是一个属性错误,并且"Client“类没有属性"send_message”。\Python36-32\lib\site-packages\discord\client.py", line 251, in _run_event await discord.Client().send_message(message.channel, dex.format(author))