Discord-S.C.U.M
Discord-S.C.U.M copied to clipboard
How does bot.checkToken work?
I was trying to check if my account's token is valid. But when i call bot.checkToken, it returned "(True, False)" as a tuple. What does "True" and "False" mean here? I thought it'll only return 1 value (True if the token is valid and False if not)
arandomnewaccount: that's what an old version of that function did. The latest version returns a requests.Response object. More info here: https://github.com/Merubokkusu/Discord-S.C.U.M/blob/master/docs/using/General.md#checktoken
reinstall discum - the pypi should be updated to the latest version
https://github.com/Merubokkusu/Discord-S.C.U.M/blob/a814f9500429ebd6b31c93cbae3c330bd8f1f89a/discum/discum.py#L119 I mean its still like this in the repo...
Edit: also upgraded to newest version it still gives a Tuple
Well, my discum version is 1.4.1. I'm sure it's the newest version
As Vinyzu said, you can easily just check the source code to find out. In this case, the first boolean in the tuple indicates if the token is valid. The second boolean indicates if the token is locked.
Okay another question. What will happen if your token is "locked"? I don't really understand what's "locked" in this situatation
And what will happen if your token is valid but it's also "locked"