Closed xbelanch closed 2 years ago
Hard to really say what's going wrong here, I would guess something is causing the server to fail to start which means the container just keeps retrying. We'll need some logs or some more info to tell what's going wrong
If you run the container in interactive mode or maybe try something with the docker logs
command that may provide some information
seems it was a mistake of mine?
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.
Traceback (most recent call last):
File "/home/zomboi/zomboi.py", line 81, in <module>
zomboi.run(os.getenv("DISCORD_TOKEN"))
File "/home/zomboi/.local/lib/python3.10/site-packages/discord/client.py", line 723, in run
return future.result()
File "/home/zomboi/.local/lib/python3.10/site-packages/discord/client.py", line 702, in runner
await self.start(*args, **kwargs)
File "/home/zomboi/.local/lib/python3.10/site-packages/discord/client.py", line 666, in start
await self.connect(reconnect=reconnect)
File "/home/zomboi/.local/lib/python3.10/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.
It's telling you how to fix it in the error: enable SERVER MEMBER INTENT
in your application/bot section
Is there any way to fix this?
d68d7855a731 zomboi-zomboi "python zomboi.py" 17 minutes ago Restarting (1) 54 seconds ago zomboi-zomboi-1
Trying to access to container I received this: