Releases: BuildTheEarth/main-bot
Releases · BuildTheEarth/main-bot
v3.3.1
v3.3.1 brings moderation placeholders and a few bug patches
We apologize for the lack of updated releases. Due to this gap, an overview of all changes from the last release is not available.
Full Changelog: v1.6.0...v3.3.1
v1.6.0
Features:
- Created
statuscommand. - Created
rulecommand.- Created
rulesconfig field.
- Created
- Added more info to the
helpcommand. - Allowed editing images of cases.
- Allowed muting and unmuting users not in the server.
- Created
bannercommand and periodic banner cycling. - Added snippet aliases.
- Began updating punishment notifications in users' DMs.
- Began inlining suggestion status targets (like "forwarded to someone") in status text.
- Created
teamcommand.- Created
buildTeamInvitesconfig field.
- Created
- Created
advancerole.
Bug fixes:
- Began disallowing empty bodies in
suggestion edit. - Began catching all uncaught errors when running commands.
- Made bans take precedence over mutes when checking a user.
- Anonymized suggestion authors in logs.
Changes:
- Deleted
cattecommand. - Renamed
modpackfield tomodpackAuthin config.
Internal changes:
- Simplified ConfigManager typings.
- Started logging uncaught exceptions and unhandled rejections.
- Created
main,staff, andyoutubeproperties ofGuildManager. - Created
commandproperty of Args. - Created
update:migratenpm script. - Created
errornpm script. - Created
flattenMarkdown()util. - Created
quote()util. - Changed
displayUserEmbed()of ActionLog intonotifyMember(). - Renamed
hasStaffPermission()of GuildMember tohasRole().
v1.5.0
Features:
- Began automatically setting vanity invite when level 3 boosting is reached.
- Created
avatarcommand. - Created tasks.
- Renamed
teamOwnercommand toposition, allow for more roles. - Created
snippets sourcesubcommand. - Created
suggestion searchsubcommand. - Created
duplicateandinvalidsuggestion statuses.
Changes:
- Switched
informationandapprovedsuggestion asset colors. - Began allowing
zh-sandzh-tlanguages for snippets. - Started supporting/mirroring Pippen's YouTube group roles.
Bug fixes:
- Various bug fixes to
usercommand. - Fixed suggestion number calculation after sub-suggestions were made.
- Began supporting sub-suggestion management.
v1.4.0
Internal changes:
- Started fetching members when necessary, instead of relying on cache.
- Started actually consuming the first argument in
Args#consumeChannel().
Features:
- Moderation notes:
- Created
notescommand. - Started displaying notes in
checkcommand.
- Created
- Started allowing DM suggestions.
- Started allowing suggestion extensions.
- Created
usercommand. - Started allowing special arguments (
me,you,someone) incheck,notes, andusercommands.
Bug fixes:
- Gave moderation permissions to managers.
v1.3.0
v1.2.0
v1.1.2
v1.1.1
v1.1.0
Initial release
This is the initial release for the rewrite of our main bot, which means all changes are not actually changes, but rather recreations. Here are some of them:
General changes:
- Entire rewrite of the old bot.
- The interface has been reworked to be more user friendly, which includes more customized and descriptive success/error messages and more lenient argument parsing.
- Suggestions now also work in the main server.
Moderation changes:
=kickand=warnnow show errors when a reason was not provided (instead of silently failing).=case deletenow requires a reason.- Cases older than 3 months are now marked with an emoji (📜) in
=check. - You can now provide images (as links or as attachments) to the punishment commands and they will be shown directly in
=case. - You can now ban people that are not in the server.
=checknow shows if the user is currently muted or banned.- You can no longer punish staff members (except muting and warning yourself).
=cases now show icons depending on the case type.=cases now store and show the date at which they were created.- Mutes and bans now show when they're going to end (in
=case). - Cases are no longer fully deleted, which means you can still see them if you have their IDs or by using
=check <user> deleted. They also show extra information about the deletion (deleter, reason, and timestamp). =slowmodeis now stricter with its allowed input.- Moderation logs are now more consistent.
Development changes:
- The bot now uses TypeScript (instead of JavaScript).
- It now uses a more object-oriented approach to everything. No more WET code!
- All of the old, inefficient, and irrelevant code is gone. This includes the files which only consisted of commented out code, repeating code for every unit of time in punishment commands, variable names such as
theMsage, and so on. No more 500-line-long files! - The bot now uses TypeORM for object-relational mapping. No more raw SQL queries!
- Irrelevant tables (such as the empty
ServerandConfig) are gone. - The
Memberstable, which stored every member that had ever joined the server—used for storing punishments—is also gone. It was replaced by the newtimed_punishments.