removed the commands bit since will try and do some other stuff before commands and got these (had this multiple times before and still have no clue how to fix it)
PS C:\Users\a\Desktop\The Pikachu Crew\The Pikachu Crew Bot> & C:/Users/a/AppData/Local/Programs/Python/Python312/python.exe "c:/Users/a/Desktop/The Pikachu Crew/The Pikachu Crew Bot/main_code/script.py"
2024-06-23 17:57:08 INFO discord.client logging in using static token
Traceback (most recent call last):
File "c:\Users\a\Desktop\The Pikachu Crew\The Pikachu Crew Bot\main_code\script.py", line 19, in <module>
client.run(TOKEN)
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 869, in run
asyncio.run(runner())
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 858, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 786, in start
await self.login(token)
File "C:\Users\a\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 617, in login
raise TypeError(f'expected token to be a str, received {token.__class__.__name__} instead')
TypeError: expected token to be a str, received NoneType instead
its smth to do with .env but god knows why or how