Made regex case insensitive

This commit is contained in:
Lucid Kobold
2025-04-23 13:37:20 -04:00
parent bf39e3f069
commit 457f310ee3
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ const composer = new Composer<Context>();
const feature = composer.chatType(["group", "supergroup"]);
feature.hears(
/(facebook.com|meta.com|instagram.com|threads.net|whatsapp.com)/g,
/(facebook.com|meta.com|instagram.com|threads.net|whatsapp.com)/gi,
logHandle("blacklist-detection-meta"),
async (ctx: Context) => {
const GROUP_IDS = process.env.GROUP_IDS