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 1add97b commit f7f579aCopy full SHA for f7f579a
src/minecraft/MinecraftManager.js
@@ -58,8 +58,12 @@ class MinecraftManager extends CommunicationBridge {
58
}
59
60
if (config.discord.other.filterMessages) {
61
- message = filter.clean(message);
62
- username = filter.clean(username);
+ try {
+ message = filter.clean(message);
63
+ username = filter.clean(username);
64
+ } catch (error) {
65
+ // Do nothing
66
+ }
67
68
69
message = replaceVariables(config.minecraft.bot.messageFormat, { username, message });
0 commit comments