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

Error analyzer improvements #192

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Konicai
Copy link
Member

@Konicai Konicai commented Oct 29, 2021

  • Error analyzer is now less case insensitive. The case of the issue string registered in the bot and in the given text shouldn't matter anymore.
  • Add/modify some tags
  • Add information about issue responses to the tags readme

@@ -108,7 +108,7 @@ public void onMessageReceived(MessageReceivedEvent event) {
groups[i] = groups[i] == null ? "" : groups[i]; // Replace nulls with empty strings
}

url = String.format(logUrlPatterns.get(regex), groups);
url = String.format(logUrlPatterns.get(regex), groups); // Casting this to Object breaks something, don't do it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should disable the inspector warning along with this comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Casting to Object[] should be sufficient right?

@Chew Chew added the enhancement New feature or request label Nov 8, 2021
@Chew Chew added java Pull requests that update Java code tag PRs relating to tags labels Feb 18, 2022
# Conflicts:
#	src/main/java/org/geysermc/discordbot/listeners/ErrorAnalyzer.java
#	src/main/resources/tags/info/javaversion.tag
@Konicai Konicai marked this pull request as draft June 11, 2022 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code tag PRs relating to tags
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants