Change URL for events/check_game.py
This commit is contained in:
parent
f1bf4a5d9a
commit
63d2352b46
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue