From 7160ae2f685c9013de1c05362261ca51e46521da Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Wed, 21 Dec 2022 16:04:55 +1100 Subject: Fix logo patch and update changelog generator --- scripts/changelog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/changelog.js') diff --git a/scripts/changelog.js b/scripts/changelog.js index 4e0936df..e3468b29 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -16,7 +16,7 @@ const CACHE_PATH = path.join(__dirname, "..", "assets", "cache"); const CHANGELOG_PATH = path.join(__dirname, "..", "assets", "changelog.txt"); const BASE_URL = "https://discord.com"; -const CHANGELOG_SCRIPT = "9c4b2d313c6e1c864e89.js"; +const CHANGELOG_SCRIPT = "4ec0b5948572d31df88b.js"; (async () => { const res = await fetch(`${BASE_URL}/assets/${CHANGELOG_SCRIPT}`); @@ -28,7 +28,7 @@ const CHANGELOG_SCRIPT = "9c4b2d313c6e1c864e89.js"; .replaceAll("\n", "\\n") .replaceAll("\'", "\\'"); - const index = text.indexOf("e.exports='---changelog---") + 11; + const index = text.indexOf("t.exports='---changelog---") + 11; const endIndex = text.indexOf("'\n", index); // hmm await fs.writeFile( -- cgit 1.5.1