36 lines
721 B
Python
36 lines
721 B
Python
import discord
|
|
import random
|
|
|
|
# Temporary List
|
|
# games = ["Left 4 Dead 2",
|
|
# "Aragami",
|
|
# "Astroneer",
|
|
# "Factorio",
|
|
# "Borderlands",
|
|
# "Stardew Valley",
|
|
# "Viscera Cleanup Detail",
|
|
# "SCP",
|
|
# "Satisfactory",
|
|
# "Backrooms (Alternate Ending)",
|
|
# "Ghost Recon Wildlands"
|
|
# ]
|
|
|
|
games = ["Plate Up",
|
|
"Terraria",
|
|
"Ghost Recon"]
|
|
|
|
def add_game(game: str):
|
|
games.append(game)
|
|
|
|
def pick_game():
|
|
|
|
randomIndex = random.randrange(0, len(games))
|
|
coinFlip = random.randrange(0, 2)
|
|
if coinFlip:
|
|
|
|
return f"Valorant ({games[randomIndex]})"
|
|
else:
|
|
|
|
return games[randomIndex]
|
|
|