Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\gateway.py", line 134, in run
if self._last_recv + self.heartbeat_timeout < time.perf_counter():
TypeError: unsupported operand type(s) for +: 'float' and 'str'
discord.errors.LoginFailure: Improper token has been passed. ; discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
While intents are not a big problem, the entire self-bot has somehow stopped working, returning the above errors.
It returns these errors for all the tokens I tried.
I even tried using Selfcord (discord.py-self) and still the same problems.
PR's welcome.
What happens now?
Well the project will be put on hold until I or someone else can resolve this issue.
I'm running into this error:
C:\Users\Administrator\Discondelete>main.py
Traceback (most recent call last):
File "C:\Users\Administrator\Discondelete\main.py", line 1, in
import discord
ModuleNotFoundError: No module named 'discord'