Added windows specifics

This commit is contained in:
Ano-sys
2025-04-16 16:07:14 +02:00
parent 4d1cd507f8
commit 58ef6c8428
+11 -1
View File
@@ -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)}')
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")