From 34dde13b71b46a5e0831a9ef84fc9ff7a2eae035 Mon Sep 17 00:00:00 2001 From: kuletxcore Date: Tue, 24 Dec 2019 08:53:09 +0800 Subject: [PATCH] Newspost fix! Battle Royale and Creative now use an array called "motds". --- News.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/News.py b/News.py index 66167d5..c3fd674 100644 --- a/News.py +++ b/News.py @@ -38,7 +38,7 @@ def GetCreativeNews(): except: print("Sorry something went wrong while reading the config file...") return - FortniteGame = requests.get("https://fortnitecontent-website-prod07.ol.epicgames.com/content/api/pages/fortnite-game",headers={'Accept-Language' : Language.lower()}).json()["creativenews"]["news"]["messages"] + FortniteGame = requests.get("https://fortnitecontent-website-prod07.ol.epicgames.com/content/api/pages/fortnite-game",headers={'Accept-Language' : Language.lower()}).json()["creativenews"]["news"]["motds"] AvoidScam = "https://cdn2.unrealengine.com/Fortnite/fortnite-game/battleroyalenews/v42/BR04_MOTD_Shield-1024x512-75eacc957ecc88e76693143b6256ba06159efb76.jpg" @@ -58,7 +58,7 @@ def GetBattleRoyaleNews(): except: print("Sorry something went wrong while reading the config file...") return - FortniteGame = requests.get("https://fortnitecontent-website-prod07.ol.epicgames.com/content/api/pages/fortnite-game",headers={'Accept-Language' : Language.lower()}).json()["battleroyalenews"]["news"]["messages"] + FortniteGame = requests.get("https://fortnitecontent-website-prod07.ol.epicgames.com/content/api/pages/fortnite-game",headers={'Accept-Language' : Language.lower()}).json()["battleroyalenews"]["news"]["motds"] AvoidScam = "https://cdn2.unrealengine.com/Fortnite/fortnite-game/battleroyalenews/v42/BR04_MOTD_Shield-1024x512-75eacc957ecc88e76693143b6256ba06159efb76.jpg"