Change URL for events/notification_game.py
This commit is contained in:
parent
da08250dbc
commit
f1bf4a5d9a
|
@ -6,7 +6,7 @@ def notification_game1(collection_game, collection_id, bot):
|
|||
try:
|
||||
print("Try to send first game")
|
||||
|
||||
url = "https://minty.apexie.eu/v1/epicfreegames"
|
||||
url = "https://minty.apexie.dev/v1/epicfreegames"
|
||||
response = requests.get(url).json()
|
||||
|
||||
#All information for first game
|
||||
|
@ -78,4 +78,4 @@ def notification_game3(collection_game, collection_id, bot,):
|
|||
sendata2 = collection_game.update_one({'_id':ObjectId(array_game3)}, {"$set": send_game3}, upsert=False)
|
||||
except:
|
||||
print("An error occurred")
|
||||
recheck_game(collection_game=collection_game, collection_id=collection_id, bot=bot)
|
||||
recheck_game(collection_game=collection_game, collection_id=collection_id, bot=bot)
|
||||
|
|
Loading…
Reference in New Issue