From 7bbc4d3a6d98cb97305b1ef55db92ff14476dd70 Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Sat, 2 Jan 2021 07:59:04 -0500 Subject: [PATCH] feat(defs): reduce false positives --- NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs | 1 + NoSoliciting.Tests/DefinitionsTests/PartyFinder.RMT.cs | 1 + NoSoliciting/definitions.yaml | 5 +---- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs b/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs index ad7a392..4ecccb9 100644 --- a/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs +++ b/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs @@ -46,6 +46,7 @@ namespace NoSoliciting.Tests.DefinitionsTests.Global { new TestMessage("LF new LGBT friends to chill with in Eorzea! Join up, let's chat, and hang out. I have discord as well :)"), new TestMessage("(Bored)Lovely Au Ra woman [Famfrit] available to be RP girlfriend/wife for long term or short term. Send tell if in need."), new TestMessage("7/8 mC looking for Tank/Heal 4.4 Discord required//pm Hiro#0000 or here Tues/Fri 8:30-10:30 pm EST Sat 8:30-11:30 pm EST"), + new TestMessage("Lonely bun looking for friends and more! Join and chat while I decorate my sad, empty house? :D"), }); [Theory] diff --git a/NoSoliciting.Tests/DefinitionsTests/PartyFinder.RMT.cs b/NoSoliciting.Tests/DefinitionsTests/PartyFinder.RMT.cs index a2f7956..db67f13 100644 --- a/NoSoliciting.Tests/DefinitionsTests/PartyFinder.RMT.cs +++ b/NoSoliciting.Tests/DefinitionsTests/PartyFinder.RMT.cs @@ -33,6 +33,7 @@ namespace NoSoliciting.Tests.DefinitionsTests.PartyFinder { "Selling Phanta mats, let me know what you want and I can deliver it to you. 2k for 300k. Join the party don't /tell please", "#1 NA WHOLESALER! NEO SET-660K! i490 SET-1.5M(w/DISCOUNT OPTIONS)! BUYING PHANTAS ANY AMOUNT 3K! JOIN PARTY!!!", "1/2 chest Lootmaster for sam weap. If weap drops then coffer is rolled on. KB uptime. Ilya. If you just want a page or to help.", + "Selling ufiti mount for 1.1 mil\nits cheaper then the MB ", }); [Theory] diff --git a/NoSoliciting/definitions.yaml b/NoSoliciting/definitions.yaml index cd20944..b2c6945 100644 --- a/NoSoliciting/definitions.yaml +++ b/NoSoliciting/definitions.yaml @@ -48,7 +48,7 @@ # slower but more flexible, and they are specified by using a regex # key, as can be seen below. -version: 52 +version: 53 # This is the URL the plugin will POST reports to. report_url: https://nosol.annaclemens.io/report @@ -129,7 +129,6 @@ party_finder: - content - ucob - regex: '\bex\b' - - regex: '\bmount\b' - regex: e[1-9][0-2]? global: @@ -261,8 +260,6 @@ global: - friendly - buff - event - - house - - mansion - level - raid - hunt