R_Milligan3

Dice

Sep 19th, 2021
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. 1 144 diceA=[1,2,3,4,5,6]$
  2. 2 145 diceB=[1,2,3,4,5,6]$
  3. 3 +$
  4. 4 if message.content=='roll':$$
  5. 5 148 A=await message.channel.send(random.choice(diceA))$$
  6. 6 149 B=await message.channel.send(random.choice(diceB))$$
  7. 7 150 if (A==message.content==6 and B==message.content==1):$$
  8. 8 151 await message.channel.send('Lucky Seven You Win')$$
  9. 9 152 elif (A==message.content==5 and B==message.content==2):$$
  10. 10 153 await message.channel.send('Lucky Seven You Win')$$
  11. 11 154 elif (A==message.content==4 and B==message.content==3):$$
  12. 12 155 await message.channel.send('Lucky Seven You Win')$$
  13. 13 156 elif (A==message.content==3 and B==message.content==4):$$
  14. 14 157 await message.channel.send('Lucky Seven You Win')$$
  15. 15 158 elif (A==message.content==2 and B==message.content==5):$$
  16. 16 159 await message.channel.send('Lucky Seven You Win')$$
  17. 17 160 elif (A==message.content==1 and B==message.content==6):$$
  18. 18 161 await message.channel.send('Lucky Seven You Win')$$
  19. 19 162 else:await message.channel.send('Try Again')$$
  20. ~
  21. ~
  22. ~
  23. ~
  24. ~
  25. ~
  26. ~
  27. ~
  28. ~
  29. A.py [+] 4,6 All
  30.  
  31.  
Advertisement
Add Comment
Please, Sign In to add comment