@serkov741

Что означает ошибка diskord.py?

[DSCRD Daemon] Server marked as STARTING
[DSCRD Daemon] Checking size of server data directory...
[DSCRD Daemon] Disk Usage: 25M / 512M
[DSCRD Daemon] Ensuring correct ownership of files.
[DSCRD Daemon] Running server preflight.
[DSCRD Daemon] Starting server container.
nohup: appending output to nohup.out
[DSCRD Daemon] Server marked as ON
[DSCRD Daemon] Server marked as STARTING
WARNING: You are using pip version 20.3.1; however, version 21.0.1 is available.
[DSCRD Daemon] Server marked as ON
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
:/home/container$ python3 bot.py
Traceback (most recent call last):
File "bot.py", line 76, in <module>
bot.run('NzY3OFA2OTkwMTMwnDg1OTE4.X43R-w.JSKcGgDaOAJ0gJDaIz1mOkrrqGg')
File "/home/container/.local/lib/python3.7/site-packages/discord/client.py", line 723, in run
return future.result()
File "/home/container/.local/lib/python3.7/site-packages/discord/client.py", line 702, in runner
await self.start(*args, **kwargs)
File "/home/container/.local/lib/python3.7/site-packages/discord/client.py", line 666, in start
await self.connect(reconnect=reconnect)
File "/home/container/.local/lib/python3.7/site-packages/discord/client.py", line 601, 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.
[DSCRD Daemon] Server marked as OFF
[DSCRD Daemon] ---------- Detected server process in a crashed state! ----------
[DSCRD Daemon] Exit Code: 1
[DSCRD Daemon] Out of Memory: false
[DSCRD Daemon] Error Response:
[DSCRD Daemon] Aborting automatic reboot due to crash within the last 60 seconds.

Токен изменил)
607ee50867887819765742.png
  • Вопрос задан
  • 4078 просмотров
Решения вопроса 1
Vindicar
@Vindicar
RTFM!
Переведи ошибку с английского.
Ты указываешь intent на выполнение какого-то действия.
При этом в настройках приложения-бота в самом дискорде (на странице разработчика, где токен берешь) у тебя этот интент не запрошен.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы