Shiny, Shiny new version!
Haha another update! In the last 24-ish days we have managed to get 175 commits, and also we've had 31 changed source files with 11,779 additions and 8,044 deletions! Sounds like a lot of changes, innit ;)
This release has truly been a maintenance release, with loads of bug fixes, and code quality improvements. We also managed to sneak up a few features while bug hunting!
New stuff
New admin commands: pg!emsudo swap
and pg!sudo swap
PRs #271 and #295 by @Mega-JC
New admin commands to swap the contents and embeds of two messages. Also, many emsudo commands were renamed to fit better with the group command syntax. Some commands even got new keyword arguments to control pings!
New admin command: pg!react
PR #293 by @bydariogamer
New admin command pg!react
, this command helps admins to make the bot send reactions on messages!
New admin command: pg!info server
PR #299 by @SSS-Says-Snek
A new admin command, pg!info server
was added to get some info about servers.
New admin command: pg!emsudo sum
PR #300 by @Mega-JC
New admin command to sum up emsudo embeds.
New admin command: pg!feature
PR #345 by @ankith26
New admin command, to add a per-channel control on some of the bot features. Yes, the dad jokes feature of the bot has been restricted to only a few channels on the server.
Improved Stuff
Emsudo updates
PRs #256, #258 and #261 by @Mega-JC
The commands pg!emsudo edit
and pg!emsudo remove
command have been revamped and work much better now! The pg!emsudo get
command also got some improvements and API load on these emsudo functions were decreased, thanks to the loading bar updates and optimizations.
Revamped pg!vibecheck
and emotion updates
PR #259, #277 and #287 by @SSS-Says-Snek
Now the bot is gonna show effects of being confused! That's right, don't enter wrong commands and confuse our bot. Also, the pg!vibecheck
command has been revamped and improved, now showing a pie chart of emotions, and the overall emotion system got more balance changes!
Better docs for commands
PR #270, #274 and #275 by @Mega-JC
We are revamping our docs! While this is still a work in progress thing, Mega-JC has already done some great progress with the docs. As part of the new doc system, we will be more accurately describing the functions, the kind of arguments the function takes, and return stuff, so that users find the commands easier to understand and use!
Tuple input support
PR #297 by @ankith26
The bot just got support for tuple argument input! Yes, that means that you can enter tuples as arguments for bot commands. Some commands that make use of this new feature are pg!poll
and pg!resources
pg!poll
unique votes
PR #341 by @SSS-Says-Snek
The pg!poll
command now supports unique votes, where people can vote only one option at a time. This can be controlled via a unique
keyword arg, which is true by default
Admin commands improvements
PR #264, #284 and #298 by @Mega-JC
The admin commands got some more juicy improvements, and also some bugs were fixed in the pg!archive
command. The pg!info
command was moved to another file. Also, the pg!sudo get
command just got a new pop
arg!
Bot shell output redirect to discord console channel
Commit b040b0b by @ankith26 and @zoldalma999
The bot's shell output is now redirected to a discord channel, so that bot maintainers can more easily keep track of any bugs in the bot and make sure things are running well.
Dad jokes improvements
PR #304 by @bydariogamer
Dad jokes were improved, and more motivational shakespearean quotes were added! Those tend to be pretty deep and motivating indeed!
Bug fixes, code cleanups, polish stuff
Code refactor and improvements
PR #272 by @ankith26
The codebase was refactored into separate files for ease of access. The commands were split up into their own folder, and also into separate files. Also, in subsequent commits, more typehints and such were added improve the codebase, and also, typecheckers like PyLance
complain much lesser than before!
Entries discussion cross posting fixes
PR #301 by @Belvix
The cross posted messages in the entries discussion channel are now edited and deleted when the original message is edited and deleted.
DB bugfixes
PR #342 by @ankith26
The DB previously had a bug where there was a chance of data corruption, and now this bug has been fixed thanks to a DB lock
Admin commands bug fixes
PR #278, #279 and #285 by @Mega-JC
The bugs in create_as_dict()
function and embed timestamp handling were fixed
Better docs for group commands
PR #268 by @ankith26
Now the pg!doc
command correctly displays doc for all sub commands in a group command
Poll unique arg fixes and other misc fixes
PRs #302, #303 and #349 by @ankith26
Fixed reminders and group commands bug, write db
got file support, eval
command was restricted to a few roles, the bugs in the unique
arg of the poll command were fixed, and also, the parser got discord.PartialMessage
support, along with other misc changes in these PRs
Minor grammar fixes
PR #257 by @coolstuff123 and PR #350 by @Belvix
Minor grammar changes lol. Might seem like small changes, but each contribution counts!
Hehe, those are all the important changes of this version listed out, there were more tiny fixes and improvements, but the notes would get too long if I started listing those. For more detailed info, you can always check it out here.
That concludes the notes! As all releases, even this one would not have been possible without our contributors who contributed in this release.
@Mega-JC @SSS-Says-Snek @zoldalma999 @ankith26 @bydariogamer @Belvix @coolstuff123
That's all for now, keep your peepers ready for the upcoming versions! Until then, take care, and enjoy!
Source code(tar.gz)
Source code(zip)