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
commit7160ae2f685c9013de1c05362261ca51e46521da (patch)
treecaeb291bea229b73a1e8d32d9d70a9cc64d88aef /scripts/changelog.js
parentUpdate client script js hashes (diff)
downloadserver-7160ae2f685c9013de1c05362261ca51e46521da.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(