Skip to content

Releases: Vauff/Maunz-Discord

r57

16 Nov 13:50
Compare
Choose a tag to compare
  • Switched to a new URL scheme for server connections, freeing up my primary domain
  • Added support for Counter-Strike 2 map images
  • Added a message to /players on Counter-Strike 2 servers explaining they do not support player queries yet

To make an r56 database compatible with this release in a self-hosted environment, run the following in MongoDB:
db.servers.updateMany({}, {$set: {appId: "0"}}, false)

r56

26 Aug 15:53
Compare
Choose a tag to compare
r56
  • Added new stats to /about
  • Bot activity now also shows tracked server count
  • Rewrote the server tracking scheduler, for better load balancing
  • Relicensed the bot as AGPLv3, please review new license if updating forks beyond this point
  • Updated bot description in /about & pom.xml
  • Fixed Maven build
  • GitHub CI now automatically builds & releases artifacts for the bot
  • Removed some old workarounds for now fixed Discord4J issues
  • Bot shutdowns from /stop will now be queued until it's safe to shutdown (server tracking loop/threads finished)
  • Added a real user agent for the bot, now used for most HTTP requests
  • Updated the default fake user agent
  • Minor adjustments to various HTTP request functions
  • Fixed /benchmark erroring on latest generation Intel CPU's (12th-13th gen)
  • Updated the CPU/GPU icons used for /benchmark
  • Several minor code optimizations/corrections
  • Migrated /steam to use the official Steam API

r55

04 Jun 18:14
Compare
Choose a tag to compare
r55
  • Fixed the 0 player count workaround for host_info_show 1 CS:GO servers not working
  • Made some early server tracking initialization code safer
  • Added a redirect workaround with my domain due to Discord breaking steam://connect links
  • Fixed /steam erroring
  • Fixed some cached GameServer objects breaking & reporting bad player data by caching addresses instead
  • Fixed message logging inconsistency by doing it all in bot code rather than using event listeners
  • Fixed /help erroring in DM's
  • Fixed some cases of /reddit reporting an API error with bad input
  • Added command mentions in various areas where command names were being referred to
  • Fixed /reddit still trying to run when API credentials were not configured in the bot
  • Fixed /minecraft by moving to Mojang API after the old API shut down

r54

24 Mar 14:57
Compare
Choose a tag to compare
r54
  • Optimized server tracking SourceServer construction due to an unavoidable bottleneck in InetAddress.getByName
  • Replaced server tracking guild lookups with a cache updated on guild create/delete
  • Removed /services redirect
  • Reorganized a bunch of code
  • Map image timer will now only update/clear local data when the API response changes
  • Added caching for average map image colours in server tracking
  • Added workaround for a Discord4J v3.2.4 bug with default intents
  • Fixed map image lookup cache for app id's not present on vauff.com

r53

18 Jan 05:35
Compare
Choose a tag to compare
r53
  • Added memory usage display to /about
  • Finished /help migration to slash command, with cleaned up code & now featuring clickable autocomplete
  • Servers can now be tracked while player retrieval is failing
  • Renamed services to servers in the bot frontend, despite backend data structures, this naming will make more sense to users
  • Fixed /changelog not connecting to the GitHub API properly
  • /reddit now uses the official Reddit API and provides much more information
  • Empty CS:GO servers are now double checked as a workaround for "host_info_show 1" servers giving bad player count info for a short period during map change
  • Player count from the steam-condenser library is now read in a more correct way
  • Fixed server tracking sometimes failing when a map image URL can't be found

r52

01 Jan 00:58
Compare
Choose a tag to compare
r52
  • Fixed possible exception when sending map notifications, could result in getting duplicate notifications
  • Optimized server tracking database writes
  • Fixed player retrieval erroring on some servers and breaking tracking, in particular this has likely resolved a lot of GoldSrc tracking issues
  • Added internal tracking of server app ids (what game the server is running)
  • The GameTracker map image fall back now works for games other than CS:GO
  • Fixed the GameTracker map image fall back not always working due to case sensitivity
  • The primary map image backend now separates map images based on game
  • The primary map image backend now uses a custom fuzzy search that allows uploading of version-independent map images

To make an r51 database compatible with this release in a self-hosted environment, run the following in MongoDB:
db.servers.updateMany({}, {$set: {appId: 0}}, false)

r51

05 Sep 19:47
Compare
Choose a tag to compare
r51
  • Removed command cooldowns since slash commands already have built-in rate limiting
  • Removed check for bot user executing a slash command as it isn't even possible
  • Pressing command buttons will now keep editing the same message for a smoother user experience
  • Fixed command reply sources showing as "Original message was deleted" after pressing a button
  • Fixed pressing buttons erroring in channels where Maunz was missing other permissions
  • Fixed some core command/button code not having its errors handled and causing infinite "Maunz is thinking" on error
  • Moved command/button exception handling to a shared method
  • Added editReply Util methods so components and embeds will always be reset without needing long lines of code, necessary now due to the always editing same message change
  • Reduced number of Util msg method declarations as they are rarely used now with legacy commands gone
  • Added a check for missing permissions in the provided /services add tracking channel
  • Limited dynamic button labels to 80 characters (Discord limit) to fix errors in cases such as server selection with long server names

r50

02 Sep 09:43
Compare
Choose a tag to compare
r50
  • Removed the framework for legacy commands
  • Removed lots of various legacy command specific code from the bot
  • Ported players to a slash command
  • Ported map to a slash command
  • Ported changelog to a slash command
  • Ported notify to a slash command
  • The help command has been temporarily removed until porting work is finished
  • Switched /changelog to use the official GitHub API rather than parsing HTML
  • /minecraft now uses only a single website for providing skin images
  • Fixed /steam erroring
  • Cleaned up a bunch of code in the shared buildPage function, allowing for easier readability and faster feature development
  • Added support for button elements to buildPage
  • Added page count directly into the buildPage pagination buttons, looks much cleaner now
  • Fixed arrow emoji positioning in buildPage pagination buttons
  • Bolded the entire title for buildPage messages
  • Switched to a single function for all server tracking map thumbnail generation
  • Added logging for button presses
  • Modified the message logger to only log messages the bot can see since losing message content access

r49

26 Aug 04:49
Compare
Choose a tag to compare
r49
  • Changed internal slash command message logic to "edit" replies rather than create followup messages, this enables better compatibility with buttons
  • Added support for buttons in slash commands
  • /services list now uses buttons for pagination
  • Ported about to a slash command
  • Ported invite/discord to a slash command
  • Added a one-time prompt to educate users on slash commands when they run a legacy command

r48

27 Jun 12:36
Compare
Choose a tag to compare
r48
  • Removed the self-restart due to the real cause of the hang being found
  • Added a temporary fix to the old server tracking scheduler to prevent it from overloading the bot and causing various critical issues