Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v.2.6 #433

Merged
merged 23 commits into from
Apr 13, 2022
Merged

Release v.2.6 #433

merged 23 commits into from
Apr 13, 2022

Conversation

Zabuzard
Copy link
Member

@Zabuzard Zabuzard commented Apr 13, 2022

Overview

In this release, we polish some of our commands, fix some bugs and add the scam blocker feature.

Highlights in this release are:

  • scam detection
  • changes on /tag-manage are logged
  • colorblind support for help system

Changelist

Commands

  • added the scam blocker system which detects, deletes and handles scam
  • added quarantine and /unquarantine for manual handling of scammers
  • /tag-manage changes are now logged in a channel
  • /top-helpers now supports selection of a month

Platform

  • udpated JDA-4 to JDA-5
  • added DiscordClientAction, utility to work with magic Discord commands
  • the audit log system will now skip actions agains the bot to keep the channel clearer
  • the suggestion system wont crash anymore when a user who blocked the bot sends a message

Misc

  • the help systems was adjusted to support colorblind users better
  • removed some code duplication that was flagged by Sonar
  • added some missing Javadoc that was flagged by Sonar

Zabuzard and others added 23 commits February 28, 2022 11:06
* Skipping audit logs against bot message deletions
* Bugfix with broken RestAction pipeline
This adds the DiscordClientAction class, this class allows the user to generate URL's that link to items in the Discord app (a channel, settings screen, and more). Examples can be found in the class's Javadoc
* added quarantine/unquarantine commands, temp and rejoin
* Added ModAuditLogWriter as utility to write to the mod-audit-log channel
* Made the TagSystem use the writer to log any changes on the tags, for example if a tag got edited
* Adjusted unit tests of TagSystem to also test new writer logic

Co-authored-by: Tais993 <49957334+Tais993@users.noreply.github.com>
…sages (#412)

* catching and silently ignoring when an user blocked the bot and the bot cant react to their messages
* logging all other unknown issues
it basically moves getName(), onButtonClick() and onSelectionMenu() from SlashCommand one level higher - so that also non-slash-commands can use it
* collection instead of list
* newlines between some lines for readability
* removed nameToSlashCommand as extra map
* also added junit parametrized test dependency
* removed a useless gradle dep that was duplicated
@Zabuzard Zabuzard requested review from a team as code owners April 13, 2022 17:08
@sonarcloud
Copy link

sonarcloud bot commented Apr 13, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

0.0% 0.0% Coverage
1.0% 1.0% Duplication

@Zabuzard Zabuzard self-assigned this Apr 13, 2022
@Zabuzard Zabuzard added the release Marks official releases and talks about them, i.e. merges from develop to master label Apr 13, 2022
@Zabuzard Zabuzard added this to the Improvement phase 1 milestone Apr 13, 2022
@Zabuzard Zabuzard merged commit d14a7bc into master Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Marks official releases and talks about them, i.e. merges from develop to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants