From 4c67553bddad22287f459c29371cd3bad6f32385 Mon Sep 17 00:00:00 2001 From: abhiram Date: Mon, 12 Apr 2021 16:26:06 +0530 Subject: [PATCH] [+] Whitespace change! --- .../java/me/totalfreedom/totalfreedommod/discord/Discord.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java b/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java index 7cb4c078..e656868a 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java @@ -417,7 +417,7 @@ public class Discord extends FreedomService while (DISCORD_MENTION_MATCHER.find()) { String mention = DISCORD_MENTION_MATCHER.group(1); - message = message.replace(mention, mention.replace('@',' ')); + message = message.replace(mention, mention.replace('@','')); } if (enabled && !chat_channel_id.isEmpty()) @@ -451,7 +451,7 @@ public class Discord extends FreedomService while (DISCORD_MENTION_MATCHER.find()) { String mention = DISCORD_MENTION_MATCHER.group(1); - message = message.replace(mention, mention.replace('@',' ')); + message = message.replace(mention, mention.replace('@','')); } if (enabled && !chat_channel_id.isEmpty())