Added tiktok filter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user