Discord Auto Join Server
Posted: 25 Aug 2025, 00:33
Wenn ich den Code ausführe, erhalte ich Statuscode 400 und ich bin mir nicht sicher, wie ich ihn beheben soll, damit er 200.
Code: Select all
#base url
url = "https://discord.com/api/v10/invites/{}"
headers = {
"Authorization":"mydiscordtoken"
}
r = requests.post(url.format("N5sCvu4C"), headers=headers, json={})
print(r.status_code) #prints 200 if all went well