From 8cabfb290a037c5d7f680df9ed680f3497e68551 Mon Sep 17 00:00:00 2001 From: fwcd Date: Sun, 24 Nov 2024 20:51:47 +0100 Subject: [PATCH] Add private to the salute words --- Sources/D2Handlers/Message/Handler/SaluteHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/D2Handlers/Message/Handler/SaluteHandler.swift b/Sources/D2Handlers/Message/Handler/SaluteHandler.swift index d036a90b..8df0486f 100644 --- a/Sources/D2Handlers/Message/Handler/SaluteHandler.swift +++ b/Sources/D2Handlers/Message/Handler/SaluteHandler.swift @@ -8,7 +8,7 @@ public struct SaluteHandler: MessageHandler { private let pattern: Regex public init( - keywords: Set = ["major", "general", "corporal", "colonel"], + keywords: Set = ["major", "general", "corporal", "colonel", "private"], capitalizedWordsOnly: Bool = true ) { pattern = Regex {