summary refs log tree commit diff
path: root/scripts/changelog.js
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-21 16:04:55 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-21 16:09:39 +1100
commit22f0e56a5ed68830dfc5960bec7e16f48ec1b8cd (patch)
treec8549a3f9dbb06323a9963db15695be9ee4c3b46 /scripts/changelog.js
parentUpdate client script js hashes (diff)
downloadserver-22f0e56a5ed68830dfc5960bec7e16f48ec1b8cd.tar.xz
Fix logo patch and update changelog generator
Diffstat (limited to 'scripts/changelog.js')
-rw-r--r--scripts/changelog.js4
1 files changed, 2 insertions, 2 deletions
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(