Update regex #55
@@ -7,7 +7,7 @@ const composer = new Composer<Context>();
|
|||||||
const feature = composer.chatType(["group", "supergroup"]);
|
const feature = composer.chatType(["group", "supergroup"]);
|
||||||
|
|
||||||
feature.hears(
|
feature.hears(
|
||||||
/(x.com|twitter.com)/gi,
|
/(x\.com|twitter\.com)/gi,
|
||||||
logHandle("blacklist-detection-twitter"),
|
logHandle("blacklist-detection-twitter"),
|
||||||
async (ctx: Context) => {
|
async (ctx: Context) => {
|
||||||
const GROUP_IDS = process.env.GROUP_IDS
|
const GROUP_IDS = process.env.GROUP_IDS
|
||||||
|
|||||||
Reference in New Issue
Block a user