Skip to content

Releases: BuildTheEarth/main-bot

v3.3.1

07 Feb 06:15
d68efa4
Compare
Choose a tag to compare

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

15 Mar 16:22
bea928c
Compare
Choose a tag to compare

Features:

  • Created status command.
  • Created rule command.
    • Created rules config field.
  • Added more info to the help command.
  • Allowed editing images of cases.
  • Allowed muting and unmuting users not in the server.
  • Created banner command 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 team command.
    • Created buildTeamInvites config field.
  • Created advance role.

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 catte command.
  • Renamed modpack field to modpackAuth in config.

Internal changes:

  • Simplified ConfigManager typings.
  • Started logging uncaught exceptions and unhandled rejections.
  • Created main, staff, and youtube properties of GuildManager.
  • Created command property of Args.
  • Created update:migrate npm script.
  • Created error npm script.
  • Created flattenMarkdown() util.
  • Created quote() util.
  • Changed displayUserEmbed() of ActionLog into notifyMember().
  • Renamed hasStaffPermission() of GuildMember to hasRole().

v1.5.0

17 Jan 07:24
53b316e
Compare
Choose a tag to compare

Features:

  • Began automatically setting vanity invite when level 3 boosting is reached.
  • Created avatar command.
  • Created tasks.
  • Renamed teamOwner command to position, allow for more roles.
  • Created snippets source subcommand.
  • Created suggestion search subcommand.
  • Created duplicate and invalid suggestion statuses.

Changes:

  • Switched information and approved suggestion asset colors.
  • Began allowing zh-s and zh-t languages for snippets.
  • Started supporting/mirroring Pippen's YouTube group roles.

Bug fixes:

  • Various bug fixes to user command.
  • Fixed suggestion number calculation after sub-suggestions were made.
  • Began supporting sub-suggestion management.

v1.4.0

19 Dec 04:30
a00d806
Compare
Choose a tag to compare

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 notes command.
    • Started displaying notes in check command.
  • Started allowing DM suggestions.
  • Started allowing suggestion extensions.
  • Created user command.
  • Started allowing special arguments (me, you, someone) in check, notes, and user commands.

Bug fixes:

  • Gave moderation permissions to managers.

v1.3.0

17 Dec 22:07
43521af
Compare
Choose a tag to compare
  • Created demote subcommand under teamOwner command.

v1.2.0

17 Dec 21:57
d2976c7
Compare
Choose a tag to compare
  • Created teamOwner command.
  • Created emojis (emojis.upvote & emojis.downvote) fields in config, started using them in suggest command.

v1.1.2

17 Dec 18:57
4a52e00
Compare
Choose a tag to compare
  • Also delete user's message when erroring in #suggestions.

v1.1.1

17 Dec 18:26
b0f3b09
Compare
Choose a tag to compare
  • Started deleting erroring commands (and error message themselves) in #suggestions.

v1.1.0

17 Dec 18:10
1932596
Compare
Choose a tag to compare
  • Created language command.

Initial release

17 Dec 03:55
8cdfcaf
Compare
Choose a tag to compare

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:

  • =kick and =warn now show errors when a reason was not provided (instead of silently failing).
  • =case delete now 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.
  • =check now 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).
  • =slowmode is 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 Server and Config) are gone.
  • The Members table, which stored every member that had ever joined the server—used for storing punishments—is also gone. It was replaced by the new timed_punishments.