From 8c01dd91952ab2359c9d34b1ed2b0802fb2a2962 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 9 Oct 2019 19:11:48 +1300 Subject: Natural: Allow "shut it" and friends --- Plugin/Natural.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugin/Natural.pm') diff --git a/Plugin/Natural.pm b/Plugin/Natural.pm index 3d16eed..58c7f96 100644 --- a/Plugin/Natural.pm +++ b/Plugin/Natural.pm @@ -44,7 +44,7 @@ sub choose_mention_response { return some("hi $nick", "hey $nick", "sup $nick") . some("", ", how goes it?"); } elsif ($what =~ /\b(thanks|thx|ta)\b/i) { return some("don't mention it", "that's ok", ":)", "not a problem"); - } elsif ($what =~ /\b(shush|(shit|shut)(\s+the\s+fuck|)\s+up|stfu)\b/i) { + } elsif ($what =~ /\b(shush|(shit|shut)(\s+the\s+fuck|)\s+(up|it)|stfu)\b/i) { return some("$nick: shush yourself", "shut up, $nick", "nou $nick", "sorry $nick", ":("); } elsif ($what =~ /\b(fuck\s+(off?|you|u)|fucking)\b/i) { return some("$nick: take your meds", "stop harassing me", "ease up on the drink, mate", "ooh big boy angry $nick has come out to play"); -- cgit v1.1