Home>

I made a bot for my discord on the replica and now this error has come out

Traceback (most recent call last):
  File "main.py", line 281, in <module>    bot.run(os.environ['token'])
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 723, in run
    return future.result()
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 702, in runner
    await self.start(*args, **kwargs)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 666, in start
    await self.connect(reconnect=reconnect)
  File "/opt/virtualenvs/python3/lib/python3.8/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.

replicate itself finds errors

here is the code: https://replit.com/@jsmodel/ai-discord-py-bot

edit the question and post the code

Came Up2022-01-14 15:11:22

I'm just new and I don't know how to ask questions and so on

FakeNewBoy2022-01-14 15:12:58