Added embed feature

This commit is contained in:
Lucid Kobold
2025-06-20 16:01:33 -04:00
parent ec942a31aa
commit 56fd669547
2 changed files with 81 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ import { botInfoCommand } from "./features/botInfoCommand.js";
import { getGroupIDCommand } from "./features/getGroupIDCommand.js";
import { helpCommand } from "./features/helpCommand.js";
import { isLCMGroup } from "./features/isLCMGroup.js";
import { embedCheck } from "./features/embedCheck.js";
interface Dependencies {
config: Config;
@@ -81,6 +82,7 @@ export function createBot(
// Blacklist Feature
protectedBot.use(twitterBlacklist);
protectedBot.use(metaBlacklist);
protectedBot.use(embedCheck);
// must be the last handler
protectedBot.use(unhandledFeature);