VERY BASIC implementation

This commit is contained in:
2023-05-29 19:31:17 +10:00
parent 0c32e30488
commit 41235c87ed
4 changed files with 38 additions and 0 deletions

23
Gamepicker.py Normal file
View File

@@ -0,0 +1,23 @@
import discord
import random
# Temporary List
games = ["Left 4 Dead 2",
"Aragami",
"Astroneer",
"Factorio",
"Borderlands",
"Stardew Valley",
"Viscera Cleanup Detail",
"SCP"]
def pick_game():
randomIndex = random.randrange(0, len(games))
coinFlip = random.randrange(0, 2)
if coinFlip:
return "Valorant"
else:
return games[randomIndex]