Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- max_slot = 17
- sample_length = 9
- intro_msg = client.send_message(saved_message.channel,"Time to play GoldenSlots!")
- all_goldenslots = []
- goldenslots_emotes = random.sample(config.emotes, sample_length)
- reel_1 = goldenslots_emotes
- reel_2 = goldenslots_emotes
- reel_3 = goldenslots_emotes
- print goldenslots_emotes
- print "---------------------------\r\n"
- for slot in range(max_slot-sample_length):
- temp_emotes = []
- for random_emote in range(3):
- r_emote = random.choice(goldenslots_emotes)
- #print r_emote
- temp_emotes.append(r_emote)
- #print "---------------\r\n"
- print temp_emotes[0]
- reel_1.append(temp_emotes[0])
- print temp_emotes[1]
- reel_2.append(temp_emotes[1])
- print temp_emotes[2]
- reel_3.append(temp_emotes[2])
- print "----------------------------\r\n"
- print reel_1
- print "\r\n"
- print reel_2
- print "\r\n"
- print reel_3
- print "-----------------\r\n"
- random.shuffle(reel_1)
- random.shuffle(reel_2)
- random.shuffle(reel_3)
- print reel_1
- print "\r\n"
- print reel_2
- print "\r\n"
- print reel_3
- for i in range(max_slot):
- all_goldenslots.append(reel_1[i] + " | " + reel_2[i] + " | " + reel_3[i])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement