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())