def how_much(self):
n = int(self.lineEdit_2.text())
value = 1
f = open('code.txt', "a+")
while value <= n:
code = "https://discord.gift/" + ('').join(random.choices(string.ascii_letters + string.digits, k=16))
f.write(f'{code}\n')
value += 1
f.close()