diff options
Diffstat (limited to 'scripts/changelog.js')
-rw-r--r-- | scripts/changelog.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js index 412e6e0c..4e0936df 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -1,3 +1,13 @@ +/* + Changelogs are baked inside the discord.com web client. + To change them, we simply need to update the changelog in a specific file of the client. + For v134842, thats 9c4b2d313c6e1c864e89.js, but it'll be different for every version. + To find which file the changelog is stored in your client, simply grep for the changelog text given by the client, + and update the `CHANGELOG_SCRIPT` variable to use that instead. + + This grabs the new changelog from `fosscord-server/assets/changelog.txt` +*/ + const fetch = require("node-fetch"); const fs = require("fs/promises"); const path = require("path"); |