Releases: Killaship/survivbot
Version 2.0.0
This bot is now deprecated. It's been entirely rewritten by DamienVesper, you can now find it at https://github.com/DamienVesper/SurvivReloadedBot. The following are release notes from his bot.
- Switched to using slash commands instead of prefixed messages.
- Added Music feature. Try it out with /play.
- Refactored the display of a lot of commands.
- Renamed a few commands ($serverstatus -> /status, $getxp -> /profile, $getleaderboard -> /leaderboard).
- Added a leveling system. XP now can get you levels. Levels are the primary comparison on the leaderboard.
- Added a profile command (/profile). Use it to view your levels.
- If you want beta tester role, you don't need to ask now. Type /betatester in bot-commands .
Version 1.5.1
This version fixes a bug, where by running the $serverstatus command, the bot would crash.
Full Changelog: v1.5.0...v1.5.1
Version 1.5.0
This version adds a new feature so that it logs edited and deleted messages in the #mod-logs channel on the Surviv Reloaded Discord server.
It also fixes a bug with $getxp where trying to find the XP of another user shows your own XP.
Full Changelog: v1.4.2...v1.5.0
Version 1.4.2
This version contains some refactored code and a new XP format, helpfully contributed by Gerseneck. Hopefully this should decrease seemingly random leaderboard collapses, as well as be, in general, a less-dumb idea compared to my system. By the way, $initleaderboard is obsolete, so that was removed.
Nothing's functionally different about the bot, but it should break less and be better.
As usual, here's your auto-generated changelog:
What's Changed
- XP Fix by @Gerseneck in #1
New Contributors
- @Gerseneck made their first contribution in #1
Full Changelog: v1.4.1...v1.4.2
Version 1.4.1
This release is a pretty urgent bug fix sort of release. $awardxp and several other "owners-only" commands could be run by anyone, including a command that can reset the leaderboard, or expose a basic Linux shell.
Some things added/fixed include the following:
- Added a failsafe so you can't initialize the leaderboard twice at the same time. (e.g., running $initleaderboard while $initleaderboard is still running)
- Added an optional argument to $initleaderboard so that you can choose whether the command dumps timestamps and IDs and everything, as it's running. Recommended to keep the dump option off, since it goes much faster when it's off.
- I updated the URLs in the help/explanation embeds
- I fixed the bug allowing anyone to run owner-specific commands like $shell or $awardxp.
- I turned $serverstatus into an embed so that parts of the command output aren't interrupted by other commands or messages.
- I un-hardcoded the user IDs of the bot owners, to more easily facilitate setting up alts or adding other people.
Full Changelog: v1.4.0...v1.4.1
Version 1.4.0
This version stabilizes the XP system. When people join the server, they're automatically added to the XP database, so you no longer need to reinitialize the database, which wipes data and takes a long time. The bot also now reads the token from a file, to make developing easier and more secure.
Changes:
- Added $awardxp command, owners-only
- Updated XP system so as to allow new people to be added automatically
- Reads bot token from file
- Updated help text
- Changed XP message delay to what it was meant to be
- Added a proper error message to owners-only commands
- Made it so that you can get the XP of any specific person by including their user ID or pinging them in the command
- Got the top 6 XP counts instead of 5 because the bot says a lot of stuff
- Made $serverstatus check all 3 game servers, include a disclaimer about it being somewhat broken
Full Changelog: v1.3.1...v1.4.0
Version 1.3.1
This version is a quick bug fix. The URL for the game's original server that ran on https://taskjourney.org:449 now return an HTTP 301 code, which leads the bot to think the server is down since it didn't return 200 OK, when in reality, the servers are up, but at a new address.
This version fixes the URL the bot is checking when it checks the server status.
Full Changelog: v1.3.0...v1.3.1
Version 1.3.0
This version adds a basic XP functionality to the server. When you send a message, you'll get a random, small amount of XP, limited to once every 5 minutes. Therefore, the more you talk, the more XP you have!
The 5 people with the most XP will be shown in the $getleaderboard command!
$getxp shows how much XP the sender of the command has.
$getleaderboard lists the 5 people with the most XP in the server.
$initleaderboard fully resets the XP counts, and also adds to the databases for any new people in the server.
Changes:
- Added $getxp command
- Added $getleaderboard command
- Implemented XP system, which other things can and will be soon built on
- Updated help text
- Added $initleaderboard command
Full Changelog: v1.2.1...v1.3.0
Version 1.2.1, Quick bug fix
I forgot to remove the list of HTTP codes from main.py, this should fix it.
Full Changelog: v1.2.0...v1.2.1
Version 1.2.0
This version introduces several things:
- The
$links
command, which lists several links related to the Surviv Reloaded project, like the test server, or the subreddit. - Edit to the error code for the server being unresponsive.
- Move the god-awful list of HTTP codes and corresponding phrases to a different file, as well as moving the TIMEOUT constant to there.
- Include a bash script to automatically restart the bot if it quits for some reason.
- In the README, include a "bill of materials" (Brain, PC, etc.) needed to run the bot, as well as a disclaimer for why my code sucks, and, finally, that the GitLab repo for Surviv Reloaded is now deprecated in favor of GitHub.
(Hopefully) upcoming features:
- Some more entertaining things, as in, possibly small minigames
- More advanced bot help menu
- Hopefully bot will be migrated to slash commands at some point
- XP levelling, with plans to host leaderboard on my website
- More utilities and commands
Full Changelog: v1.1.0...v1.2.0