From f45e4610387e41dcb5f0713640cd3ac67bc1d916 Mon Sep 17 00:00:00 2001 From: ajgeiss0702 Date: Wed, 6 Dec 2023 17:37:17 -0700 Subject: [PATCH] Add iOS broken dashes to emptylb autorespond --- .../ajsupport/autorespond/responders/ajlb/EmptyLBResponder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/ajg0702/bots/ajsupport/autorespond/responders/ajlb/EmptyLBResponder.java b/src/main/java/us/ajg0702/bots/ajsupport/autorespond/responders/ajlb/EmptyLBResponder.java index 059a8fb..564aeca 100644 --- a/src/main/java/us/ajg0702/bots/ajsupport/autorespond/responders/ajlb/EmptyLBResponder.java +++ b/src/main/java/us/ajg0702/bots/ajsupport/autorespond/responders/ajlb/EmptyLBResponder.java @@ -12,7 +12,7 @@ public class EmptyLBResponder extends Responder { @Override public Response checkForResponse(Member author, Message message) { String c = message.getContentStripped().toLowerCase(Locale.ROOT); - if(!c.contains("---")) return null; + if(!c.contains("---") && !c.contains("—-")) return null; if(r == null && RESPONSES != null) { r = new Response(80, RESPONSES.get("emptylb").getAsString());