Forum > General >

uhh theres no python so idk where to post

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Posted

import random, string

amount = int(input('Amount of nitro codes to generate: '))
value = 1
while value <= amount:
    code = "https://discord.gift/" + ('').join(random.choices(string.ascii_letters + string.digits, k=16))
    f = open('Codes.txt', "a+")
    f.write(f'{code}\n')
    f.close()
    print(f'[GENERATED] {code}')
    value += 1



nitro B)
  • 0

Moon

Moon

vip

Posts: 6182

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

What is this

  • 0

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Replied

@59853try it in repl or something

 

  • 0

Moon

Moon

vip

Posts: 6182

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@thisnamenotgone

What is this

  • 0

Unidentified

nobody do wut i do

Posts: 320

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

@Moon I am assuming that this is an Discord Nitro Gen because of the 'discord.gift/'. 

  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

Moon

Moon

vip

Posts: 6182

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@Unidentified

There's probably a 1/1000 chance of getting a real working nitro code but its cool

  • 0

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Replied

@Moon    https://repl.it/join/onbmtmqm-iloveyoualot

this is one that checks B)

  • 0

Unidentified

nobody do wut i do

Posts: 320

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

timegoesbyfast covered this already. Also i made a little modification to your script, it checks forever until it finds an code that works and i added some function to let you know that an working code has been generated (lmao just run it)

 

import requests
import random, string
import os
import winsound

value = "ok"

while value == "ok":
    code = "https://discord.gift/" + ('').join(random.choices(string.ascii_letters + string.digits, k=16))
    url = f"https://discordapp.com/api/v6/entitlements/gift-codes{code}?with_application=false&with_subscription_plan=true"
    response = requests.get(url) # Get the responce from the url
    f = open('Codes.txt', "a+")
    f.write(f'{code}\n')
    f.close()
    print(f'[GENERATED] {code}')
    if response.status_code == 404:
        print(f"Dude we finna found a working code {code}")
        frequency = 2500  # Set Frequency To 2500 Hertz
        duration = 999999  # Set Duration To 1000 ms == 1 second
        winsound.Beep(frequency, duration)
        winsound.Beep(frequency, duration)
        winsound.Beep(frequency, duration)
        winsound.Beep(frequency, duration)
        exit()
  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Replied

@65942coolio thx

  • 0

Added

@65942coolio thx

  • 0

Unidentified

nobody do wut i do

Posts: 320

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

@thisnamenotgone Np now run it on your computer with headphones

  • 0

Added

@thisnamenotgone Np now run it on your computer with headphones

  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Replied

  • 0

Stadia

Bananaduck

vip

Posts: 243

Threads: 30

Joined: Feb, 2021

Reputation: 20

Replied

Pretty cool

  • 0

Thanks to Monkey_D_Luffy for the rep I will always remember you:)

NEW VIDEO ON MY CHANNEL:https://youtu.be/U2KzKW2k3gw

thisnamenotgone

funtimes is daddy

Posts: 377

Threads: 26

Joined: Jan, 2021

Reputation: 3

Replied

@Stadia why do you lag

  • 0

Next >>>

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )