AstraaDev / Discord-Token-Grabber

Simple token grabber developped in python.
https://discord.gg/Ay5dPRdF
180 stars 473 forks source link

Script won't run. #17

Closed Matte2322 closed 2 years ago

Matte2322 commented 2 years ago

I don't know if it just me, but this part of the code "if os.name != 'nt': exit()", doesn't execute the entire script. I was using it for testing purposes by the way. Do you know why you've added that to your code? I'm curious to know why. Let me know if you have an answer and take your time.

gabe-1971 commented 2 years ago

For me, the issue is at line 43 " for line in [x.strip() for x in open(f"{path}\{file_name}", errors="ignore").readlines() if x.strip()]:" This gives me a syntax error. Anyone know why?

iconiczz commented 2 years ago

I don't know if it just me, but this part of the code "if os.name != 'nt': exit()", doesn't execute the entire script. I was using it for testing purposes by the way. Do you know why you've added that to your code? I'm curious to know why. Let me know if you have an answer and take your time.

it might be because you aren't on windows?

Matte2322 commented 2 years ago

I don't know if it just me, but this part of the code "if os.name != 'nt': exit()", doesn't execute the entire script. I was using it for testing purposes by the way. Do you know why you've added that to your code? I'm curious to know why. Let me know if you have an answer and take your time.

it might be because you aren't on windows?

Correct, I use Arch Linux btw as my daily driver.