From d747c3bed67b96468591c71af4cdc24ec34ac678 Mon Sep 17 00:00:00 2001 From: Neko Life Date: Thu, 27 May 2021 23:17:35 +0000 Subject: [PATCH] less sensitive rule for detection --- resources/emoteMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/emoteMessage.js b/resources/emoteMessage.js index 093eab9..2c761c4 100644 --- a/resources/emoteMessage.js +++ b/resources/emoteMessage.js @@ -1,7 +1,7 @@ 'use strict'; module.exports = function emoteMessage(client, content) { - const emotes = content.match(/(?)/g); + const emotes = content.match(/:\w{1,32}:(?!\d{17,19}>)/g); if (emotes?.length > 0) { let theEmotes = []; for (const emoteName of emotes) {