Change URL for events/check_game.py

This commit is contained in:
Stefano Assenzo 2023-03-05 19:25:43 +01:00 committed by GitHub
parent f1bf4a5d9a
commit 63d2352b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ def recheck_game(collection_game, collection_id, bot):
def a(collection_game, collection_id, bot):
try:
#Connect to API
url = "https://minty.apexie.eu/v1/epicfreegames" #URL API
url = "https://minty.apexie.dev/v1/epicfreegames" #URL API
response = requests.get(url).json() #API in JSON
# Title of current games
@ -55,4 +55,4 @@ def a(collection_game, collection_id, bot):
recheck_game(collection_game, collection_id, bot)
except:
print("An error occurred")
recheck_game(collection_game, collection_id, bot)
recheck_game(collection_game, collection_id, bot)