VERY BASIC implementation
This commit is contained in:
23
Gamepicker.py
Normal file
23
Gamepicker.py
Normal 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]
|
||||
Reference in New Issue
Block a user