Skip to content

v1.2.0

Choose a tag to compare

@relentiousdragon relentiousdragon released this 26 Dec 16:41
· 348 commits to main since this release

This release brings a utility conversion system, expanded search tools, server statistics, logging improvements, and numerous other improvements and fixes.


Changes:

commands.md

Localization

  • Added missing localizations across multiple commands
  • Added and updated source locales
  • Added an additional note for translators in common.json

New Commands

  • Added /convert – Universal conversion tool
    • length – Convert length / distance
    • temperature – Convert temperature
    • mass – Convert mass / weight
    • data – Convert data / file size
    • currency – Convert currencies
    • time – Convert time between timezones
    • unix – Convert dates to and from Unix timestamps
    • area – Convert area
    • volume – Convert volume
    • power – Convert power & energy
    • speed – Convert speed
  • Added /search wikipedia
  • Added /search stackoverflow
  • Added /serverstats – View and manage server statistics
    • enable – Enable server stats tracking (Admin only)
    • disable – Disable server stats tracking (Admin only)
    • overview – View server stats overview with message graph
    • activity – View peak hours and activity patterns
    • voice – View voice channel activity leaderboard
    • invites – View invite tracking leaderboard
  • Added /botprofile with profiles:
    • Default
    • Crimson
    • Azure
    • Azure (Glow)

Moderation & Logging

  • Modified moderation logs
  • Added invite tracking (when server statistics are enabled)
  • Modified invite created and invite deleted logs
  • Fixed duplicate logs when both CANARY and main bots are present (only CANARY sends logs)
  • /warn config updates are now logged (type: moderation)
  • Improved logger system:
    • Deprecated setContext and clearContext in favor of runWithContext
    • Migrated to pino
    • Implemented AsyncLocalStorage to isolate log context per request
    • Other logging improvements

Server Statistics

  • Added full server statistic tracking
  • Server data is automatically deleted after 30 days of the bot leaving a guild
  • Increased shard metric update interval from 30 seconds to 60 seconds
  • Modified serverstats command behavior and internals

Command Improvements

  • Modified /wolframalpha
  • Modified /user
    • Added server avatar and banner support
    • Added serverstats user activity display when used in a server
    • Other improvements
  • Modified /server
    • Fixed incorrect bot count
    • Other improvements
  • Modified /language
  • Improved /help
    • Updated command ID in events.json
    • Faster updates when switching categories

Utilities & Internals

  • Added new utility functions to functions.js:
    • parseAbbr
    • truncate
    • decodeHtmlEntities
    • filterString
    • abbr (modified)
  • Modified interaction event handling
  • Modified GitHub sync (github.js, index.js)
  • Modified events/interaction.js
  • Modified shardManager
  • Added fallback API to /minecraft skin
  • Bot now syncs version number in settings.json from package.json at startup
  • Added bot welcome message when the bot is added to a guild

Bug Fixes

  • Fixed soft lock issue in /connect4
  • Fixed analytics-related edge cases
  • Various stability fixes and performance improvements
  • Other bug fixes and improvements

🧩 Contributing & Issues
Bugs and feature requests should be submitted via GitHub Issues.