You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\project\outsource\midjourney-api-master\task_bot.py", line 13, in
bot.run(BOT_TOKEN)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 860, in run
asyncio.run(runner())
File "C:\install\anaconda3\envs\python-310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\install\anaconda3\envs\python-310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 778, in start
await self.connect(reconnect=reconnect)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 704, in connect
raise PrivilegedIntentsRequired(exc.shard_id) from None
discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead.
问题简述
启动task_bot 监听报错了
复现方式
Traceback (most recent call last):
File "C:\project\outsource\midjourney-api-master\task_bot.py", line 13, in
bot.run(BOT_TOKEN)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 860, in run
asyncio.run(runner())
File "C:\install\anaconda3\envs\python-310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\install\anaconda3\envs\python-310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 778, in start
await self.connect(reconnect=reconnect)
File "C:\Users\18224\AppData\Roaming\Python\Python310\site-packages\discord\client.py", line 704, in connect
raise PrivilegedIntentsRequired(exc.shard_id) from None
discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead.
环境信息
python --version
)额外信息
No response
一点点的自我检查
The text was updated successfully, but these errors were encountered: