repl.it
@1Ethan/

GiveawayEntrySystem

Python

GiveawayEntrySystem - enter usernames onto the list and be given a random username, useful for giveaways.

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import time
import random
import sys
# --------------------
secure_random = random.SystemRandom()
usernames = ["PaulFGrantham!","Zaxaromy!","MinecraftPro420!","Marcoo!","ChargeZz!","Charlie!","Eug"]
randomusernames = random.choice(usernames)
time.sleep(0.1)
typing = "Welcome to Ethan's 'GiveawayEntrySystem V0.2'.\n"
for char in typing:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()
time.sleep(2)
typing1 = "Names have to be added manually onto the list called 'usernames' to ensure the function 'SystemRandom' works.\n"
for char in typing1:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()

typing2 = "Click enter to be given the winner of your giveaway."
for char in typing2:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()

time.sleep(0.3)
print("---------------")
time.sleep(0.9)
throwaway = input()
time.sleep(1)
print("---------------")
time.sleep(0.3)
typing3 = "And the winner is.......\n"
for char in typing3:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()

time.sleep(0.3)
print("...............")
time.sleep(0.3)
print("...............")
time.sleep(0.3)
print("...............")
time.sleep(1)
typing4 = randomusernames,"\n"
for char in typing4:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()
time.sleep(0.3)
typing5 = "Congratulations, DM Ethxn#0001 on Discord to claim your prize!\n"
for char in typing5:
    time.sleep(0.05)
    sys.stdout.write(char)
    sys.stdout.flush()
print()

##
Fetching token
?