From 4c899e5913d41822f15131b505bc93fe4d871ca3 Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Mon, 7 Sep 2020 14:28:03 -0400 Subject: [PATCH] fix(defs): catch more FC recruitment --- NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs | 2 ++ NoSoliciting/definitions.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs b/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs index dd35189..76be4b6 100644 --- a/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs +++ b/NoSoliciting.Tests/DefinitionsTests/Global.FreeCompany.cs @@ -25,6 +25,8 @@ namespace NoSoliciting.Tests.DefinitionsTests.Global { new TestMessage("«ToC» recruiting active members. Join the party, send me a /Tell or stop by the FC house (Goblet P13, W19) for more information."), new TestMessage("FC Toxic looking for new memeber, Fc house, master crafter and gatherer, buffs available for new players as well as end game"), new TestMessage(" is recruiting! We're a slowly growing fc that would appreciate some new faces. /tell for more info or an inv <3"), + new TestMessage("Free Company | Fallen Angel | is welcoming new players on Gilgamesh"), + new TestMessage("[FC recruitment] Small/New FC looking for more members to join us. New and experienced welcomed. Send tell if interested!"), }); public static object[][] DataNegatives => DefUtils.DataFromMessages(new TestMessage[] { diff --git a/NoSoliciting/definitions.yaml b/NoSoliciting/definitions.yaml index b9249c0..a7d5697 100644 --- a/NoSoliciting/definitions.yaml +++ b/NoSoliciting/definitions.yaml @@ -203,6 +203,7 @@ global: - shout - yell likelihood_threshold: 3 + # Free Company | Fallen Angel | is welcoming new players on Gilgamesh likely_matchers: # mentions free company - - fc @@ -243,3 +244,5 @@ global: - new face - regex: '\bold\b' - regex: '\bvets?\b' + # has common keywords 2 + - - welcom \ No newline at end of file