diff --git a/.gitignore b/.gitignore index 3efbd1ab..887bf779 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,4 @@ $RECYCLE.BIN/ *.lnk .idea/ discordtoken.txt +db.json \ No newline at end of file diff --git a/overwatch.py b/overwatch.py new file mode 100644 index 00000000..e23bcad2 --- /dev/null +++ b/overwatch.py @@ -0,0 +1,12 @@ +import asyncio +import aiohttp +import json + +# Get player database from the db.json file +db = json.load("db.json") + +# List overwatch players +players = list() +for player in db: + if player["overwatch"] is not None: + players.append(player["overwatch"]) \ No newline at end of file