Skip to content

Commit

Permalink
Fix excludedCommands config
Browse files Browse the repository at this point in the history
  • Loading branch information
Xujiayao committed Nov 16, 2024
1 parent 7d7ce8c commit 93c8537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/xujiayao/discord_mc_chat/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static class Generic {

public boolean shutdownImmediately = false;

public List<String> excludedCommands = List.of("/msg", "/tell", "/tellraw", "/w");
public List<String> excludedCommands = List.of("\\/msg ([^@].*)", "\\/tell ([^@].*)", "\\/tellraw ([^@].*)", "\\/w ([^@].*)", "\\/teammsg (.*)", "\\/tm (.*)");

public List<String> adminsIds = new ArrayList<>();
}
Expand Down

0 comments on commit 93c8537

Please sign in to comment.