I tried to make a token joiner on discord with the requests library but not from any error but the tokens do not enter even if they are valid Someone can help me thanks
I tried to make a token joiner on discord with the requests library but not from any error but the tokens do not enter even if they are valid Someone can help me thanks
On invalid tokens, Discord's API returns a 401 Unauthorized error. So that should be one sign to spot if a token has expired or is no longer valid due to other circumstances.
You should just be able to use a POST request to the URL https://discord.com/api/v9/invites/{invite}. Then the response from this request would be data about the server or a 401 Unauthorized error.