Updated "blacklist" to be "banlist"

This commit is contained in:
2026-01-26 19:52:57 -05:00
parent b8db58a71a
commit 299530b0dd
4 changed files with 26 additions and 5 deletions
@@ -17,7 +17,7 @@ const feature = composer.chatType(["group", "supergroup"]);
*/
feature.hears(
metaRegex,
logHandle("blacklist-detection-meta"),
logHandle("banlist-detection-meta"),
async (ctx: Context) => {
const mutationKey = process.env.GRAPHQL_MUTATION_KEY || "";
@@ -64,4 +64,4 @@ feature.hears(
}
);
export { composer as metaBlacklist };
export { composer as metaBanlist };
@@ -17,7 +17,7 @@ const feature = composer.chatType(["group", "supergroup"]);
*/
feature.hears(
twitterRegex,
logHandle("blacklist-detection-twitter"),
logHandle("banlist-detection-twitter"),
async (ctx: Context) => {
const mutationKey = process.env.GRAPHQL_MUTATION_KEY || "";
@@ -64,4 +64,4 @@ feature.hears(
}
);
export { composer as twitterBlacklist };
export { composer as twitterBanlist };