diff --git a/src/commands/command_soon.py b/src/commands/command_soon.py index 9aa33df..7f5410e 100644 --- a/src/commands/command_soon.py +++ b/src/commands/command_soon.py @@ -4,7 +4,7 @@ def soon_command(message, bot): chat_id = message.chat.id #Get chat id try: # Get data from API - url = "https://api.plenusbot.xyz/epic_games?country=IT" # URL API + url = "https://minty.apexie.dev/v1/epicfreegames" # URL API response = requests.get(url).json() #API in JSON #Take data from API (Future Game 1) @@ -46,4 +46,4 @@ def soon_command(message, bot): img_3 = bot.send_photo(message.chat.id, image_futuregames3) # Send image third future games send_message = bot.send_message(chat_id, title_description_3, parse_mode="HTML") # Send all except IndexError: - print("No third game") \ No newline at end of file + print("No third game")