Skip to content

Commit 59c3daf

Browse files
authored
(Added scam message) (#1286)
config changes have been applied to the bot already, no need to take care during deployment
1 parent c391084 commit 59c3daf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

application/config.json.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"freenitro",
4848
"^earn$",
4949
"^earning",
50-
".exe$"
50+
".exe$",
51+
"mrbeast"
5152
],
5253
"hostWhitelist": [
5354
"discord.com",

application/src/test/java/org/togetherjava/tjbot/features/moderation/scam/ScamDetectorTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setUp() {
3737
when(scamConfig.getSuspiciousKeywords()).thenReturn(Set.of("nitro", "boob", "sexy", "sexi",
3838
"esex", "steam", "gift", "onlyfans", "bitcoin", "btc", "promo", "trader", "trading",
3939
"whatsapp", "crypto", "^claim", "teen", "adobe", "hack", "steamcommunity",
40-
"freenitro", "^earn$", "^earning", ".exe$"));
40+
"freenitro", "^earn$", "^earning", ".exe$", "mrbeast"));
4141
when(scamConfig.getHostWhitelist()).thenReturn(Set.of("discord.com", "discord.media",
4242
"discordapp.com", "discordapp.net", "discordstatus.com", "thehackernews.com",
4343
"gradle.org", "help.gradle.org", "youtube.com", "www.youtube.com"));
@@ -400,7 +400,8 @@ B2CWorkflow Builder (React Flow)
400400
Ready to unlock your earning potential in the digital market? you can start earning $100,000 and even more
401401
as a beginner from the digital market, DM me for expert guidance or contact me directly on telegram and start building your financial future.
402402
Telegram username @JohnSmith123""",
403-
"Grab it before it's deleted (available for Windows and macOS): https://www.reddit.com/r/TVBaFreeHub/comments/12345t/ninaatradercrackedfullpowertradingfreefor123/");
403+
"Grab it before it's deleted (available for Windows and macOS): https://www.reddit.com/r/TVBaFreeHub/comments/12345t/ninaatradercrackedfullpowertradingfreefor123/",
404+
"Bro, claim 0.1 BTC now! Use promo code \"mrbeast\" at expmcoins.com screen @everyone");
404405
}
405406

406407
private static List<String> provideRealFalsePositiveMessages() {

0 commit comments

Comments
 (0)