fix(defs): catch more bad stuff
This commit is contained in:
parent
15d718376a
commit
37ddbc751b
@ -6,13 +6,14 @@ namespace NoSoliciting.Tests.DefinitionsTests.Chat {
|
|||||||
this.Def = fixture.defs.Chat["rmt"];
|
this.Def = fixture.defs.Chat["rmt"];
|
||||||
}
|
}
|
||||||
|
|
||||||
public static object[][] DataPositives => DefUtils.DataFromMessages(new TestMessage[] {
|
public static object[][] DataPositives => DefUtils.DataFromMessages(new[] {
|
||||||
new TestMessage(ChatType.Shout, "FF14Mog.com selling cheap Mog Station Redeem Code,Dirndl's Attire $8.99, Chocobo Carriage $14.39 ,Use 5Off Code:FF5"),
|
new TestMessage(ChatType.Shout, "FF14Mog.com selling cheap Mog Station Redeem Code,Dirndl's Attire $8.99, Chocobo Carriage $14.39 ,Use 5Off Code:FF5"),
|
||||||
new TestMessage(ChatType.Say, "----[4KGOLD.COM]----[Best Buy Gil Store]----[Cheapest Price]-----[4KGOLD.COM]---[Ultrafast Deliveryin 10 Mins]--[6OFF Code;LOVE]---359qe"),
|
new TestMessage(ChatType.Say, "----[4KGOLD.COM]----[Best Buy Gil Store]----[Cheapest Price]-----[4KGOLD.COM]---[Ultrafast Deliveryin 10 Mins]--[6OFF Code;LOVE]---359qe"),
|
||||||
new TestMessage(ChatType.Shout, "【 PVP◇NK.℃ O M 、◇ = BA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-ssrum"),
|
new TestMessage(ChatType.Shout, "【 PVP◇NK.℃ O M 、◇ = BA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-ssrum"),
|
||||||
new TestMessage(ChatType.Shout, "【 PV■NK.℃ O M 、■ = PBA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-cfjyf"),
|
new TestMessage(ChatType.Shout, "【 PV■NK.℃ O M 、■ = PBA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-cfjyf"),
|
||||||
new TestMessage(ChatType.Shout, "www.ff14mog.com贩売非常に安い レベルブースト1280円 チョコボキャリッジ 1612円 ディアンドル 1008円 割引コード:JPMOG"),
|
new TestMessage(ChatType.Shout, "www.ff14mog.com贩売非常に安い レベルブースト1280円 チョコボキャリッジ 1612円 ディアンドル 1008円 割引コード:JPMOG"),
|
||||||
new TestMessage(ChatType.Shout, "【 PV■NK.℃ O M 、■ = PBA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-unpcp"),
|
new TestMessage(ChatType.Shout, "【 PV■NK.℃ O M 、■ = PBA 】,5分納品!ジル&480-500HQセット&希望の園エデン (野蛮)全部強奪!安い&安全保障【コード:714、5%OFF】!!!-unpcp"),
|
||||||
|
new TestMessage(ChatType.Say, "5GOLD.COM--Buy FFXIV Gil Cheapest,100% Handwork Guaranteed,24/7 online service[5% OFF Code;GOLD].12456"),
|
||||||
});
|
});
|
||||||
|
|
||||||
//public static object[][] DataNegatives => DefUtils.DataFromMessages(new TestMessage[] {
|
//public static object[][] DataNegatives => DefUtils.DataFromMessages(new TestMessage[] {
|
||||||
|
@ -21,6 +21,7 @@ namespace NoSoliciting.Tests.DefinitionsTests.Global {
|
|||||||
new TestMessage(ChatType.Shout, "We have a beautiful mansion in the Mist with all comforts, a fleet farming for us and +20% battle exp buff on Saturdays! Send me a /tell if you want more info or a invite!"),
|
new TestMessage(ChatType.Shout, "We have a beautiful mansion in the Mist with all comforts, a fleet farming for us and +20% battle exp buff on Saturdays! Send me a /tell if you want more info or a invite!"),
|
||||||
new TestMessage(ChatType.Shout, "Nothing is a small and cozy FC looking for members! If emptiness is endless, then everything rests in nothingness. DM me to join on our endless journey!"),
|
new TestMessage(ChatType.Shout, "Nothing is a small and cozy FC looking for members! If emptiness is endless, then everything rests in nothingness. DM me to join on our endless journey!"),
|
||||||
new TestMessage(ChatType.Shout, "Tired of wandering through the game a lonely weeb? Want Senpai to notice you?! Fat Chocobo FC is now recruiting! Top Ranked FC on Exodus & Worldwide, 6 yrs+ running strong!"),
|
new TestMessage(ChatType.Shout, "Tired of wandering through the game a lonely weeb? Want Senpai to notice you?! Fat Chocobo FC is now recruiting! Top Ranked FC on Exodus & Worldwide, 6 yrs+ running strong!"),
|
||||||
|
new TestMessage(ChatType.Shout, "Ashes Of Aesir <<Aesir>> FC is recruiting! we are a friendly bunch in search of expanding our wings with friendly and active members."),
|
||||||
new TestMessage(ChatType.TellIncoming, "<<>> Eclipsehey what about joining a fc full of people? Low & High end Casual FC (24/7buffs). Accept, Decline or PM me♡."),
|
new TestMessage(ChatType.TellIncoming, "<<>> Eclipsehey what about joining a fc full of people? Low & High end Casual FC (24/7buffs). Accept, Decline or PM me♡."),
|
||||||
new TestMessage(ChatType.TellIncoming, "<<>>Eclipse would like you to join a - Low & High end Casual FC (24/7buffs). Accept, Decline or PM me♡."),
|
new TestMessage(ChatType.TellIncoming, "<<>>Eclipse would like you to join a - Low & High end Casual FC (24/7buffs). Accept, Decline or PM me♡."),
|
||||||
new TestMessage(ChatType.TellIncoming, "Hello!;-) I've just send u an invite to join Artemis Moonlight. Join us if u like! We are a friendly and helpful FC, willing to help all level players and for fun teamplay. Kupo!"),
|
new TestMessage(ChatType.TellIncoming, "Hello!;-) I've just send u an invite to join Artemis Moonlight. Join us if u like! We are a friendly and helpful FC, willing to help all level players and for fun teamplay. Kupo!"),
|
||||||
|
@ -19,6 +19,7 @@ namespace NoSoliciting.Tests.DefinitionsTests.PartyFinder {
|
|||||||
"「」 Guaranteed results! World #1 raiders! ≪ ❶ Savage 一 ❷ Ultimates 一 ❸ Mounts ≫ Discord → ashlar#6021",
|
"「」 Guaranteed results! World #1 raiders! ≪ ❶ Savage 一 ❷ Ultimates 一 ❸ Mounts ≫ Discord → ashlar#6021",
|
||||||
"Primal/Omega/E4S mounts Gil only at https://rollraider.carrd.co/ or https://discord.gg/FfS5QnW",
|
"Primal/Omega/E4S mounts Gil only at https://rollraider.carrd.co/ or https://discord.gg/FfS5QnW",
|
||||||
"「 TEA•UWU•UCOB = $ 」→ Jealous#5404",
|
"「 TEA•UWU•UCOB = $ 」→ Jealous#5404",
|
||||||
|
"☀5.4 Pre-orders☀Savage☀Trials☀Ultimates☀BLU 「DISCORD」⇒ Meliora#2500",
|
||||||
});
|
});
|
||||||
|
|
||||||
public static object[][] DataNegatives => DefUtils.DataFromStrings(new string[] {
|
public static object[][] DataNegatives => DefUtils.DataFromStrings(new string[] {
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
# slower but more flexible, and they are specified by using a regex
|
# slower but more flexible, and they are specified by using a regex
|
||||||
# key, as can be seen below.
|
# key, as can be seen below.
|
||||||
|
|
||||||
version: 45
|
version: 46
|
||||||
|
|
||||||
# This is the URL the plugin will POST reports to.
|
# This is the URL the plugin will POST reports to.
|
||||||
report_url: https://nosol.annaclemens.io/report
|
report_url: https://nosol.annaclemens.io/report
|
||||||
@ -113,6 +113,7 @@ party_finder:
|
|||||||
- cheap
|
- cheap
|
||||||
- gil only
|
- gil only
|
||||||
- minmax # name of a RMT group because they thought to stop saying "sell" lul
|
- minmax # name of a RMT group because they thought to stop saying "sell" lul
|
||||||
|
- regex: 'pre.?order'
|
||||||
- regex: '\boffer'
|
- regex: '\boffer'
|
||||||
# content
|
# content
|
||||||
- - eden
|
- - eden
|
||||||
@ -280,6 +281,7 @@ global:
|
|||||||
- looking for people
|
- looking for people
|
||||||
- lonely
|
- lonely
|
||||||
- level
|
- level
|
||||||
|
- active member
|
||||||
- regex: '\bold\b'
|
- regex: '\bold\b'
|
||||||
- regex: '\bvets?\b'
|
- regex: '\bvets?\b'
|
||||||
# has common keywords 2
|
# has common keywords 2
|
||||||
|
Loading…
Reference in New Issue
Block a user