Overview
It's been a while, but it's finally time for the 1.2.0
release of RTByte!
There's a couple of new features for you to play around with in this release, and it also marks the switch over to our new logo, made by @ArtsyDiego! Along with this change, we've also revamped our website to use Vue (@vuejs)! This will make it possible for us to start work on the server dashboard, which will effectively eliminate the need to use commands for server settings.
We've introduced a Twitch notification feature, letting servers subscribe to notifications for when a Twitch channel goes live (pinging @everyone
, changing to an @role
in the future). Please refer to the -twitchnotifs
command in your servers to set this up 💯.
We also improved the way message attachments function for our features that include message embeds. These will now include any potential video files, if applicable. Should a message have more than one image embed, or if a video embed is too big to attach, the bot will also inform you of it.
Other than that, this is a bugfix-heavy release, and that trend will likely continue as we've received an open-source license for Sentry (@getsentry), which lets us more easily monitor, track, and diagnose any errors the bot may run into.
For those of you who are interested in the technical side, keep reading below.
Changes
- Fixed a bug where the
star top
command was returning "none found" (75c1ac2, e72835b). - Fixed some inconsistencies in the
guildCreate
andinviteCreate
events (b5bca3f, fe21aca). - Reverted a previous change to the
roles
command, that let users type parts of the name instead of the whole thing. This caused the bot to not properly look for the roles (022e300, fb86c19, b56ad57). - Added a new twitch notification feature, that lets servers set up notifications for Twitch channels going live, along with a management command for it (08c6721, cf3b272, 61b62d8, 194d410, c6ebe75, 706724e, c8444e5, 4ce5775, dd71223).
- Fixed a bug where various features would introduce duplicate entries or corrupted database entries (a43d0e0, 40d59d3).
- Updated the default sort (no args given) for the
modhistory
command to display all cases for a guild, instead of all cases for the member sending the command (1bfdca8). - Fixed a bug where the
modhistory
command would fail if the bot couldn't fetch the user for some reason (cf2a921). - Fixed a bug where the
messageUpdate
event would fail if the bot didn't have permission to view the audit log, despite that not being a requirement (fb1bdf6). - Added missing settings (prefix, language) to the
settings
command (5f58ffa). - Switching over from hosting some images used in the bot to more appropriate sources (07f193e).
- Added error logging to the global log. This feature will likely be deprecated in the future, as we've switched over to a new error monitoring method (keep reading) (4a8b7e3).
- Fixed a bug where the guild boost event would try to send even if there wasn't a log channel configured (086b040).
- Fixed a bug where the moderation action log would try to send even if there wasn't a log channel configured (c8fee95).
- Added some checks to the
channelDelete
androleDelete
events to check if the channel or role is configured to be anything in the server settings, and removes the setting if so (7d15c4b). - Fixed a bug where the category field would display on
channelCreate
andchannelDelete
events even if the channel wasn't in a category (2cc2282). - Added some further checks to a bunch of features to make sure the channel they're trying to send to is available before trying to send the message (e45dfd3, 7a31f5c, 6ba11b5, 09a83f2).
- Removed the
klasa-member-gateway
dependency as it was deprecated and changed the way a couple of features work to make up for this (4e8d356, e4120bf, 508dfe5, cd056aa). - Added better message attachment checks to all relevant features, with support for video and multiple image attachments (5caa9d6, 1e2e155, fd95e0f, a51629b).
- Fixed a bug where if a message had gotten on the starboard, but then had its stars removed, it couldn't be starred again (72d972e).
- Removed the
call
command, as Discord introduced native video and screenshare calls in servers (b1776ee). - Upgraded to the latest version of Discord.js and Klasa v0.5.0 (2cc77fb, 8ea0a86, 9e77e65, 2590774, c3c90f4, eedff4f, 4be881e, bc48802, 11c6058).
- Added a nice looking partner- or verified badge to the
serverinfo
command for servers with partner- or verified status (1f4dca6, 37f3ff8, 1aee254). - Fixed a bug where the user notification setting wasn't being properly updated using the
moderation
command (3873f7a). - Fixed a bug where the
unban
command would generate duplicate unban logs, and thesoftban
command would generate an unnecessary unban log (ffb6ad4). - Fixed a bug where embeds would break if the message content was too long, causing the command or function to not execute properly (2d25539).
- Fixed a bug where various management commands would keep executing code despite not being supposed to, leading to unintended setting changes (b841338, 73fdda7).
- Introduced error logging through Sentry, allowing us to better track and diagnose bugs (db4608f, 9253b36, 2ebe826, 706ddc3, 4acc395).
- Locked the
klasa-dashboard-hooks
dependency to a specific commit, as releases after it aren't working properly (4acc395). - Fixed a bug where the
messageUpdate
event would break if a message didn't have content before the edit (i.e. just a picture, for example), but had some content added (9dd0207). - Fixed a bug where the
logs
command wasn't parsing the user input correctly (d40ead8). - Fixed a bug where the bot would error out if it couldn't send a message to a user upon a moderation action (59aa852).
- Added extra guild initialization checks to ensure no duplication is happening (01ee305).
- Lang updates & linting (b5bca3f, 022e300, fb86c19, 08c6721, cf3b272, 61b62d8, cf2a921, 5f58ffa, 9dfd9e0, 4ce5775, 4a8b7e3, 7d15c4b, e45dfd3, 7a31f5c, 6ba11b5, 6290b91, fe21aca, 5caa9d6, daa6e1a, 3b7b961, b1776ee, a4e4394, d71d8ea, 5521f85, 6817daa, 8a37322).