Traceback (most recent call last):
File "D:/new/a.py", line 22, in <module>
client.run(TOKEN)
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 718, in run
return future.result()
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 697, in runner
await self.start(*args, **kwargs)
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 661, in start
await self.connect(reconnect=reconnect)
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 596, 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.
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000228B8101820>
Traceback (most recent call last):
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
self.close()
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon
self._check_closed()
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000228B8101820>
Traceback (most recent call last):
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon
File "C:\Users\yarik\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
RuntimeError: Event loop is closed