Updated "blacklist" to be "banlist"
This commit is contained in:
@@ -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 };
|
||||
Reference in New Issue
Block a user