rf: js -> ts

This commit is contained in:
Aidan 2025-04-24 18:50:00 -04:00
parent 2f532fdd0d
commit 3ecd084d44
2 changed files with 7 additions and 7 deletions

View file

@ -1,9 +0,0 @@
module.exports = (isOnSpamWatch) => {
return async (ctx, next) => {
if (await isOnSpamWatch(ctx.from.id)) {
console.log(`User ${ctx.from.id} is banned on SpamWatch. Blocking command.`);
return;
}
await next();
};
};