Added tiktok filter

This commit is contained in:
2026-01-26 19:53:09 -05:00
parent 299530b0dd
commit cc4abb3385
3 changed files with 75 additions and 6 deletions

View File

@@ -13,8 +13,9 @@ import { hydrate } from "@grammyjs/hydrate";
import { hydrateReply, parseMode } from "@grammyjs/parse-mode";
import { sequentialize } from "@grammyjs/runner";
import { MemorySessionStorage, Bot as TelegramBot } from "grammy";
import { twitterBlacklist } from "./features/twitterBlacklist.js";
import { metaBlacklist } from "./features/metaBlacklist.js";
import { twitterBanlist } from "./features/twitterBanlist.js";
import { metaBanlist } from "./features/metaBanlist.js";
import { tiktokBanlist } from "./features/tiktokBanlist.js";
import { botInfoCommand } from "./features/botInfoCommand.js";
import { helpCommand } from "./features/helpCommand.js";
import { embedCheck } from "./features/embedCheck.js";
@@ -77,9 +78,10 @@ export function createBot(
protectedBot.use(getGroupStats);
protectedBot.use(statsSiteCommand);
// Blacklist Feature
protectedBot.use(twitterBlacklist);
protectedBot.use(metaBlacklist);
// banlist Feature
protectedBot.use(twitterBanlist);
protectedBot.use(metaBanlist);
protectedBot.use(tiktokBanlist);
protectedBot.use(embedCheck);
// must be the last handler