mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
[+] Allman style formating
This commit is contained in:
parent
f7556a4861
commit
ffab5e3c12
@ -414,7 +414,8 @@ public class Discord extends FreedomService
|
|||||||
|
|
||||||
Matcher DISCORD_MENTION_MATCHER = this.DISCORD_MENTION_PATTERN.matcher(message);
|
Matcher DISCORD_MENTION_MATCHER = this.DISCORD_MENTION_PATTERN.matcher(message);
|
||||||
|
|
||||||
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('@',' '));
|
||||||
}
|
}
|
||||||
@ -447,7 +448,8 @@ public class Discord extends FreedomService
|
|||||||
|
|
||||||
Matcher DISCORD_MENTION_MATCHER = this.DISCORD_MENTION_PATTERN.matcher(message);
|
Matcher DISCORD_MENTION_MATCHER = this.DISCORD_MENTION_PATTERN.matcher(message);
|
||||||
|
|
||||||
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('@',' '));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user