Added windows specifics
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import json
|
||||
import sys
|
||||
|
||||
import requests
|
||||
import re
|
||||
import random
|
||||
@@ -6,6 +8,8 @@ import random
|
||||
import aiohttp
|
||||
import asyncio
|
||||
|
||||
import os
|
||||
|
||||
|
||||
class Champion:
|
||||
Name: str
|
||||
@@ -71,7 +75,13 @@ def get_player_list() -> [Champion]:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Generator started, gathering Champions!")
|
||||
print("This can take some time!")
|
||||
|
||||
champions: [Champion] = get_player_list()
|
||||
champ: Champion = random.choice(champions)
|
||||
|
||||
print(f'You will play:\n\tChampion: {champ.Name}\n\tRole: {random.choice(champ.Role)}\n\tLane: {random.choice(Lanes)}')
|
||||
|
||||
if(os.name == "nt"):
|
||||
os.system("pause")
|
||||
Reference in New Issue
Block a user