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
status
command. - Created
rule
command.- Created
rules
config field.
- Created
- 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
- 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 tomodpackAuth
in config.
Internal changes:
- Simplified ConfigManager typings.
- Started logging uncaught exceptions and unhandled rejections.
- Created
main
,staff
, andyoutube
properties ofGuildManager
. - Created
command
property of Args. - Created
update:migrate
npm script. - Created
error
npm 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
avatar
command. - Created tasks.
- Renamed
teamOwner
command toposition
, allow for more roles. - Created
snippets source
subcommand. - Created
suggestion search
subcommand. - Created
duplicate
andinvalid
suggestion statuses.
Changes:
- Switched
information
andapproved
suggestion asset colors. - Began allowing
zh-s
andzh-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
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.
- Created
- Started allowing DM suggestions.
- Started allowing suggestion extensions.
- Created
user
command. - Started allowing special arguments (
me
,you
,someone
) incheck
,notes
, anduser
commands.
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:
=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).
=case
s now show icons depending on the case type.=case
s 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
andConfig
) 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 newtimed_punishments
.