botpython/bot.py is not running. Start -
Check Load
Logs: Clear Logs - Full Logs
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/http.py", line 758, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/cypreis.helioho.st/botpython/bot.py", line 1301, in
bot.run(os.getenv("DISCORD_TOKEN"))
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/client.py", line 869, in run
asyncio.run(runner())
File "/usr/local/python3.12/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/python3.12/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/client.py", line 858, in runner
await self.start(token, reconnect=reconnect)
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/client.py", line 786, in start
await self.login(token)
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/client.py", line 620, in login
data = await self.http.static_login(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python3.12/lib/python3.12/site-packages/discord/http.py", line 820, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.