Created
January 25, 2018 18:04
-
-
Save ewxn/accab9a2ae5c45f80530676579a0f702 to your computer and use it in GitHub Desktop.
Change your Discord Discriminator : Python : Discord Canary and Discord Nitro Required
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('Note: You must have Discord Nitro and Discord Canary for this too work, if you do not have Discord Canary then you can download it below: ') | |
print('https://discordapp.com/api/download/canary?platform=win') | |
try: | |
import requests | |
except Exception: | |
print('You do not have requests installed!') | |
print('Do: "pip install requests" to install it! ') | |
try: | |
url = "https://canary.discordapp.com/api/v7/users/@me" | |
payload = "{\"discriminator\": \"0001\",\"password\": \"PASSWORD_HERE\"}" #change 0001 to what ever discrim you like or keept it and change the password. | |
headers = { | |
'content-type': "application/json", | |
'authorization': "TOKEN HERE" #add token | |
} | |
response = requests.request("PATCH", url, data=payload, headers=headers) | |
print(response.text) | |
except Exception as err: | |
print('There was an error changing your discriminator: {}'.format(err)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment