token must be of type str, got NoneType instead /discord.py

Traceback (most recent call last):

File "C:/Users/me/PycharmProject/everything/sfm.py", line 80, in <module> bot.run(token) File "C:\Users\me\PycharmProject\everything\new folder\lib\site-packages\disnake\client.py", line 944, in run return future.result() File "C:\Users\me\PycharmProject\everything\new folder\lib\site-packages\disnake\client.py", line 923, in runner await self.start(args, *kwargs) File "C:\Users\me\PycharmProject\everything\new folder\lib\site-packages\disnake\client.py", line 887, in start await self.connect(reconnect=reconnect) File "C:\Users\me\PycharmProject\everything\new folder\lib\site-packages\disnake\client.py", line 828, in connect raise PrivilegedIntentsRequired(exc.shardid) from None disnake.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 0x000002A89537C550> Traceback (most recent call last): File "C:\Users\me\AppData\Local\Programs\Python\Python38\lib\asyncio\proactorevents.py", line 116, in __del_ self.close() File "C:\Users\me\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\me\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon self._check_closed() File "C:\Users\me\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

Process finished with exit code 1

/r/Discord_Bots Thread Parent