From c02e57451f32bd38e8a08337d9edc4e3a091d318 Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 16 Jan 2021 13:14:40 -0500 Subject: [PATCH] fix(defs): fix false positive --- NoSoliciting.Tests/DefinitionsTests/DefinitionTest.cs | 2 ++ NoSoliciting/definitions.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NoSoliciting.Tests/DefinitionsTests/DefinitionTest.cs b/NoSoliciting.Tests/DefinitionsTests/DefinitionTest.cs index e10ecbf..104964d 100644 --- a/NoSoliciting.Tests/DefinitionsTests/DefinitionTest.cs +++ b/NoSoliciting.Tests/DefinitionsTests/DefinitionTest.cs @@ -24,6 +24,8 @@ namespace NoSoliciting.Tests.DefinitionsTests { new TestMessage(ChatType.Yell, "Wedding starting at 3:00pm est, pst for an invite. You will get pets. pst"), new TestMessage(ChatType.Shout, "LOCAL ShB Train! Spend your nuts & seals. Let’s go kill things and be savages. This hunt is brought to you by ★VIII - The Double Infinity Free Company! ♥∞"), new TestMessage(ChatType.Shout, "☆☆Shadowbringers Hunt Train • A Rank☆☆ Starting at 《Instance》 → Lakeland ( 27.6 , 15.3 )"), + + new TestMessage(ChatType.LootNotice, "A bonus of 11,850 gil has been awarded for being an adventurer in need."), }); [Theory] diff --git a/NoSoliciting/definitions.yaml b/NoSoliciting/definitions.yaml index 908ac49..c68606f 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: 60 +version: 61 # This is the URL the plugin will POST reports to. report_url: https://nosol.annaclemens.io/report @@ -147,7 +147,7 @@ global: likelihood_threshold: 3 likely_matchers: # mentions housing wards - - - ward + - - regex: '\bward' - regex: 'w.{0,2}\d' # mentions housing plots - - plot