Releases: badBlackShark/shrkbot
Releases · badBlackShark/shrkbot
Crystal rewrite
It's been quite a while, but finally it is here: The Crystal rewrite for shrkbot.
Some features got dropped, namely roulette, charts, the TODO system, and the @everyone
to @here
replacement. Roulette will be making a return in a future release, but the other stuff might not.
Everything else has been ported to the new version. All of them got a bunch of polish and some extras here and there. The biggest improvements are on the back end though. Everything should now be much cleaner and more manageable. This means that future expansions are easier and hopefully going to happen more often.
Thank you for sticking with shrkbot <3
Mutes, Reminders, fixes and improvements!
Major Features
- Muting through commands for a certain amount of time is now supported.
- Prohibiting links is now supported. Prohibited links will be removed, and whoever posted them will be muted.
- You can now set reminders through the bot.
- You can now create a TODO list for yourself for the bot.
- You can now play russian roulette through the bot.
Fixes
- Fixed that
.roles
couldn't be called. - Fixed that the reactions on the prompt when someone used
@everyone
weren't clickable. - Fixed that sometimes the bot wouldn't do anything if a reaction on the role assignment message was clicked.
- The log message when someone tries to assign themselves a role, but is still on cooldown, is now being sent.
Improvements
- Moved all confirm dialogs into a method in the Reactions module.
- The database setup changed for all new modules, and now makes way more sense. Old modules still need to be ported over though.
- The database now actually supports all types.
- GameChart now has a max length for labels, as the charting library can't handle labels of arbitrary length.
- Output formatting improved in various places.
Other notable changes
- Since almost all commands rely on a server object, the bot no longer accepts commands in PMs.
- There's now an eval command for arbitrary code execution. It is however only usable by the bot owner.
Plans for v1.3.2
- Adding a roulette leaderboard.
- Custom commands at runtime.
- Standard features, such as pruning a channel.
- Major backend improvements will have to wait for v1.4
I hope every continues to enjoy shrkbot!
- Shark
Massive rewrite with a few new features
What changed?
- Complete overhaul of the storage system.
- Moved from YAML files to a MySQL database
- Complete overhaul of the role assignment system
- Now supports up to 26 different roles (used to be 11)
- Role assignment now has a 1 hour cooldown
- addToSelfAssign and removeFromSelfAssign now take multiple roles
- The message with the role assignments isn't reposted every time the bot loses connection
to discord now. - Roles in the message are now sorted alphabetically
- fixed breaking bug
- If you deleted a role that was self-assignable, it was impossible to ever remove it
- removeFromSelfAssign only allows you to remove assignable roles that exist.
- If you deleted a role that was self-assignable, it was impossible to ever remove it
- Charts
- You can now let the bot generate charts showing the distribution of roles or games currently
being played on the server
- You can now let the bot generate charts showing the distribution of roles or games currently
- Logging
- Logging system is now much better
- Reactions
- Most of the bot's reactions should now be much faster
- Default channels
- All channels the bot needs now have a default channel.
- Dynamic prefixes
- Allows setting prefixes per server! The only command with a set prefix is
.prefix
- Allows setting prefixes per server! The only command with a set prefix is
- Better help command
- Now only shows you the commands you can actually use
- Code climate
- While the code is nowhere near perfect, a lot of redundancy has been removed.
- This will allow for faster feature development in the future.
- Bot rename
- Since this is less and less a bot for a specific server, but rather my presonal bot, I decided to rename it to be more in line with the rest of my stuff. Some things may not be renamed yet, but they will be in the very near future.