toowake

Code Error

May 24th, 2023
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.95 KB | None | 0 0
  1. PS C:\Users\Toowake\OneDrive\Desktop\❗Top Secret Project❗> py -3 index.py
  2. 2023-05-24 19:03:53 INFO     discord.client logging in using static token
  3. Traceback (most recent call last):
  4.   File "C:\Users\Toowake\OneDrive\Desktop\❗Top Secret Project❗\index.py", line 22, in <module>
  5.     client.run('My Bot Token lol')
  6.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 860, in run
  7.     asyncio.run(runner())
  8.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
  9.     return runner.run(main)
  10.            ^^^^^^^^^^^^^^^^
  11.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
  12.     return self._loop.run_until_complete(task)
  13.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
  15.     return future.result()
  16.            ^^^^^^^^^^^^^^^
  17.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 849, in runner
  18.     await self.start(token, reconnect=reconnect)
  19.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 778, in start
  20.     await self.connect(reconnect=reconnect)
  21.   File "C:\Users\Toowake\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 704, in connect
  22.     raise PrivilegedIntentsRequired(exc.shard_id) from None
  23. 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.
  24. PS C:\Users\Toowake\OneDrive\Desktop\❗Top Secret Project❗>
Advertisement
Add Comment
Please, Sign In to add comment