Releases: J-umpy/Setsuna
Versions 1.1 - SQLite Port BETA
Changelog (from previous version)
- Deleted configreload command as data is now stored in a database
- Now compatible with multiple servers (in need of concurrency testing)
- Users with the manage_channels permission can request a list of filtered words
- Fixed a bug which caused the kick command to display false errors
- Changed the max size of banned words/phrases to 256 characters (was 99)
- Changed the max number of banned words/phrases to 10 (was 9)
- Very slightly reduced CPU/RAM usage of the ban/kick/clear commands
- Added additional clarifications about character limits to the ban/kick commands
- Fixed bugs in several commands which resulted in improper invocation in certain edge cases
- Changed all instances of the word "mute" (when referring to text) to "timeout" to comply with modern inclusivity standards
- Fixed a bug which caused the timeout command to fail to send a confirmation message
- Added the ability to specify a timeout role on the fly if one is not set prior to invoking the timeout command
- When a word contains a banned word, the full content of the message is sent in spoilers in a specified log channel
- Overhauled the Log settings help command
- Added kick logging
- Added channel blocklist
- Added a catch for errors invoked by unreadable channels
- Changed all references to "blacklist" to "blocklist" to comply with modern inclusivity standards
- Removed the ability for the bot owner to send messages as the bot without the manage messages permission
- Removed all references to the pineappleboard because the code is now outdated (it will return in the future)
- Removed the notification that a message was deleted and not cached, because it created more issues than the feature is worth
- Removed the rolecolour command as you can now use hex colours on Discord for Android
Changelog (file structure)
- The majority of variables are now stored in an SQLite database (setsuna.db)
- Single Server and Multi-Server Setsuna were merged into one branch, now called main (should be the final branch name change)
Changelog (from the previous SQLite branch)
- Fixed a bug which caused the database to try to create tables every time a cog was loaded
- Fixed several formatting issues with table creation
- Deleted all database references to the Pineappleboard as it is not implemented on this branch
- Merged cfg.py and sdb.py into this branch's tools.py to match this branch's styling
- Quintupled the size of the cache
Version 1.0
Changelog:
- Complete rewrite of most code (backwards incompatible with old versions)
- Significant performance improvements
- Dedicated error-handler (allows for the removal of many try/except statements, which eases CPU and memory burden)
- Fixed a few bugs related to the poll, mute, and help commands
- Added comments throughout the code to explain different functions
- Added mute command
- Added avatar command
- Added multiple prefix support
- Pineappleboard and welcome are commented out currently and their variables are removed from the .json, however they should theoretically work if uncommented and the appropriate variables are added to config.json
- Removed the Bot Owner settings because a new system was added for keeping track of the bot owner
Thanks to @EvieePy for their open-source error handler and @Neeko-iko for showing me how to use the OS module
Beta 3.0
None of the old files are compatible with this release
- Ported to SQL
- Added server-specific settings
- Fixed an issue with the kick command
- Added support for roles with multiple words to the membercount command
- Fixed an issue with the Mini Bonus in the counting game
- Removed config reload command
- Removed banlist and actionlist commands (they're still available on Single-Server Setsuna)
- Significantly optimized the log settings command
- Significantly decreased RAM usage
Huge thanks to Neeko for help with debugging this release
Beta 2.4.0
- Added inspire command
- Added another bonus minigame
- Fixed an issue with the fun module
- Fixed an issue with the help command which caused none of the commands to show up
Thanks once again to Neeko for developing this update with little help from me. He's really helped to ensure Setsuna continues to get updates while she's being ported to SQLite
Beta 2.3.0
- Added rolecolor command
- Fixed issues with the readme
Thank you to Neeko for developing the rolecolor command <3
Beta 2.2.0
License
- Changed from GPL to a proprietary license, please read it if you wish to use Setsuna
Administration
- Fixed an error in the ban and kick commands
- Fixed an issue where the clear command would not log correctly
Utility
- Disabled the ability for people without manage_messages to send polls in other channels
- Increased the pineappleboard's message history collection to 10
Settings
- Bot no longer reloads cogs when settings are changed
Fun
- Added the Fun module
- Added counting game
- Added the ability to blacklist channels for counting
- Added say command
- Added help command for count and say
Beta 2.1: Polling
Help
- Optimized help command's memory usage
- Fixed an issue where help would not work for commands without aliases
- Improved speed of the help command
- Future-proofed help command by paginating the commandlist
- Added poll command help message
Utility
- Added poll command
- Optimized the showemote command
- Added support for gifs emotes in the showemote command
- Significantly increased the speed of banlist
- Fixed an issue where the invite command would send raw data instead of a URL on servers with vanity invites
- Fixed an issue where the pineappleboard would not post messages without attachments
- Added a check to ensure that the console isn't spammed when a non-bot sends a message in the pineappleboard channel
2.0.3 Hotifx
- Fixed an issue where the showemoji's check would always fail when using an emote from a server the bot is not in
- Fixed an issue where the pineappleboard couldn't be disabled
- Fixed an issue where an error message would display even when actions were successfully performed
- Fixed an issue where no new messages could be added to the pineappleboard
Beta 2.0.2: Massive Bug Fix/Optimization Update
Beta 2.0 overhauled a lot of the codebase, and this update brings most of the rest of it up to the latest Setsuna Standards both visually and performance-wise. This update also overhauls the pineappleboard
Global Changes
- Changed most embeds to the color pink
- Added embeds to most messages the bot sends
Utility
- Modified the way the pineappleboard handles embeds to allow for the 5 most recent messages to always display a correct "highest pineapples" count
- Removed the delay between a message meeting the threshold and being sent to the board
- Added support for non-image attachments with the pineappleboard
- Gave the pineappleboard the ability to search for messages outside of the cache
- 100% of messages can be pineapple'd!!
- Improved CPU, memory, and API request usage of pineappleboard
- Optimized CPU and memory usage for the membercount command
- Added 'viewemoji' and 'viewemote' aliases for the showemote command
- Fixed potential point of error for the showemote command
Administration
- Modified the confirmation embed to match the new embed standard
- Fixed memory issue with ban and kick commands
- Fixed character limit issue with ban and kick commands
- Further reduced CPU and Memory usage of ban and kick commands (beyond what's listed above)
- Fixed an issue where the clear/purge command would delete 1 fewer message than the argument specified when no member was present
- Fixed an issue where the clear/purge command permissions check would always pass
- Added the name of the user who's messages were cleared with the clear command to the log
- Fixed an issue where the clear command would still log which messages were cleared when 'log' was toggled to False
- Reduced the maximum number of messages that can be cleared at once to 99 when a member is specified
Settings
- Renamed owner command 'botowner' to avoid confusion
- Added confirmation messages to all settings commands
- Made all settings errors and confirmations embeds
- Optimized wordfilter settings cpu usage
- Added the ability to remove words from the filter
- Added the ability to list filtered words
- Added a maximum of 10 words for the word filter
- Added a maximum character count for each filtered word (100)
- Optimized CPU and memory usage for Settings commands
Help
- Modified the help message of showemote
Beta 2.0.1
- Fixed an issue where the pineappleboard help command wouldn't be displayed correctly when no argument was present
- Fixed an issue with formatting for cmddes.json which resulted in 2 descriptions not being displayed
- Fixed an issue where custom welcome commands didn't work when {MENTION} was used in them
- Fixed embed formatting for the pineappleboard