Methods of scraping update data have become progressively more difficult, and it's no longer worth it to find every possible solution when much better options exist now.
The #news webhook on the Mojira Discord server has both relevant links and a small message footprint, which should work for most cases.
Various minecraft site APIs from the feedback site, issue tracker and launcher assets are used to track new updates being released and to get article links of those versions.
- Node.js 18+ https://nodejs.org
- pnpm (
corepack enable
+corepack prepare pnpm@latest --activate
)
-
Copy the
.env.example
file, rename it to.env
and fill out all values. -
Deploy the bot commands to your application
node deploy-commands.js
- Install all necessary dependencies and start the bot
pnpm install
node .
If anyone offers to rewrite this in TypeScript, no, just no.