Skip to content

5.0.0

Latest

Choose a tag to compare

@Androz2091 Androz2091 released this 15 Mar 06:09
· 4 commits to master since this release

Rewritten

  • Entire codebase rewritten from JavaScript to TypeScript. (ee6eca7)
  • All 96 commands migrated to slash commands using discord-sync-commands. (ee6eca7)
  • Prefix-based command router (message event) replaced with interactionCreate event. (ee6eca7)
  • Prototype monkey-patching (helpers/extenders.js) replaced with standalone typed utility functions. (ee6eca7)
  • moment replaced with dayjs. (ee6eca7)
  • config.js replaced with .env file encrypted via dotenvx. (ee6eca7)

Added

  • New Dockerfile for containerized deployments. (ee6eca7)
  • New .env.example reference config file. (ee6eca7)
  • TypeScript strict mode with ESM modules. (ee6eca7)
  • yarn dev command for hot-reload development via tsx. (ee6eca7)

Updated

  • discord.js v13 (GitHub master) → v14.18. (ee6eca7)
  • mongoose ^5.9 → ^8.12. (ee6eca7)
  • discord-player ^4.1 → ^6.7. (ee6eca7)
  • discord-giveaways ^4.4 → ^6.0. (ee6eca7)
  • i18next ^20.2 → ^24.2. (ee6eca7)
  • canvas ^2.6 → ^3.1. (ee6eca7)
  • express ^4.17 → ^4.21. (ee6eca7)
  • @sentry/node 6.3 → ^9.0. (ee6eca7)
  • i18next-node-fs-backend replaced with i18next-fs-backend. (ee6eca7)
  • dblapi.js replaced with @top-gg/sdk. (ee6eca7)
  • @k3rn31p4nic/google-translate-api replaced with @vitalets/google-translate-api. (ee6eca7)
  • btoa removed — using native Buffer.from().toString("base64"). (ee6eca7)

Removed

  • 16 image commands (approved, batslap, beautiful, brazzers, burn, challenger, dictator, fire, jail, mission, rip, scary, tobecontinued, triggered, wanted, wasted) — Amethyste API is down. (ee6eca7)
  • 4 image commands (bed, trash, phcomment, youtube-comment) — canvacord dependency removed. (ee6eca7)
  • 2 fun commands (joke, fml) — Blague.xyz API is down. (ee6eca7)
  • 2 general commands (fortnite, fortniteshop) — Fortnite tracker APIs are down. (ee6eca7)
  • 1 admin command (setfortniteshop) — Fortnite shop feature removed. (ee6eca7)
  • fortniteShop.js daily cron job removed. (ee6eca7)
  • messageUpdate event removed (was re-emitting edits as commands). (ee6eca7)
  • amethyste-api, blague.xyz, fortnite, discord-canvas, canvacord dependencies removed. (ee6eca7)
  • config.sample.js removed — replaced by .env.example. (ee6eca7)
  • All original .js source files removed — replaced by TypeScript in src/. (ee6eca7)