We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d8681 commit a1af405Copy full SHA for a1af405
src/main/java/net/javadiscord/javabot/systems/help/HelpListener.java
@@ -106,6 +106,9 @@ public void onMessageReceived(@NotNull MessageReceivedEvent event) {
106
107
private void replyCloseSuggestionIfPatternMatches(Message msg) {
108
String content = msg.getContentRaw().toLowerCase();
109
+ if (content.contains("```")) {
110
+ return;
111
+ }
112
if(msg.getChannel().asThreadChannel().getOwnerIdLong() == msg.getAuthor().getIdLong()) {
113
for (String[] detector : closeSuggestionDetectors) {
114
if (doesMatchDetector(content, detector)) {
0 commit comments