Hey guys, I made a not finished discord bot, and I don’t see how it isn’t coming online. If someone would explain why and maybe give a solution, I would be very greatful. The link is below. Thanks!
Also, I know it has a lot of unused code and useless things. If any of these are part of the problem please let me know. I used the input things to keep it going continuously, but it might work without them if configured right. (I’m a noob haha)
It does not work in pycharm, and the error message is at the bottom.
edit: no error messages, but when i run the bot, it does not appear online nor respond to commands on discord
will try on pycharm later
yet another edit: nvm, it does have an error message
File "/home/runner/The-Dookis-Supreme-/venv/lib/python3.8/site-packages/discord/client.py", line 577, 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
then a while down it comes up with this error:
^CException ignored in: <module 'threading' from '/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/threading.py", line 1388, in _shutdown
lock.acquire()