Discord-SelfBot icon indicating copy to clipboard operation
Discord-SelfBot copied to clipboard

error when starting the bat

Open kzshiii opened this issue 10 months ago • 1 comments

C:\Users\Eleve\Downloads\Discord-SelfBot-main>python main.py Traceback (most recent call last): File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\http.py", line 300, in static_login data = await self.request(Route('GET', '/users/@me')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\http.py", line 254, in request raise HTTPException(r, 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 "C:\Users\Eleve\Downloads\Discord-SelfBot-main\main.py", line 995, in bot.run(token) File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 723, in run return future.result() ^^^^^^^^^^^^^^^ File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 702, in runner await self.start(*args, **kwargs) File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 665, in start await self.login(*args, bot=bot) File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 511, in login await self.http.static_login(token.strip(), bot=bot) File "C:\Users\Eleve\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\http.py", line 304, in static_login raise LoginFailure('Improper token has been passed.') from exc discord.errors.LoginFailure: Improper token has been passed.

C:\Users\Eleve\Downloads\Discord-SelfBot-main>

kzshiii avatar Apr 01 '25 21:04 kzshiii

Invalid token 😭

Linhbhi avatar Apr 05 '25 12:04 Linhbhi

yep its because of wrong token now you should close the issue

Balram-1 avatar Jun 08 '25 18:06 Balram-1

The issue comes from using an incorrect token. I’ll close this issue, hoping that you’ve managed to get it working with a valid token.

AstraaDev avatar Jun 18 '25 07:06 AstraaDev