From 582f416a034847c4b563d1244ead45b0e39c43d4 Mon Sep 17 00:00:00 2001 From: Your Name <you@example.com> Date: Wed, 18 Sep 2024 23:20:38 -0600 Subject: [PATCH] fix --- src/policies/emoji.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/policies/emoji.ts b/src/policies/emoji.ts index 8ea9638..0b3ec51 100644 --- a/src/policies/emoji.ts +++ b/src/policies/emoji.ts @@ -18,6 +18,13 @@ var party_count = (content.match(/🎉/g) || []).length; var thinking_count = (content.match(/🤔/g) || []).length; var limit = 1; + if ( fire_count > 0 && hundred_count > 0 ) { + return { + id, + action: 'reject', + msg: 'ReplyGuy Dual Emoji Policy: Blocked!', + }; + } if ( thinking_count > 0 && fire_count > 0 ) { return { id,