[+] Whitespace change!

This commit is contained in:
abhiram 2021-04-12 16:26:06 +05:30
parent ffab5e3c12
commit 4c67553bdd

View File

@ -417,7 +417,7 @@ public class Discord extends FreedomService
while (DISCORD_MENTION_MATCHER.find()) while (DISCORD_MENTION_MATCHER.find())
{ {
String mention = DISCORD_MENTION_MATCHER.group(1); 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()) if (enabled && !chat_channel_id.isEmpty())
@ -451,7 +451,7 @@ public class Discord extends FreedomService
while (DISCORD_MENTION_MATCHER.find()) while (DISCORD_MENTION_MATCHER.find())
{ {
String mention = DISCORD_MENTION_MATCHER.group(1); 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()) if (enabled && !chat_channel_id.isEmpty())