Put missing import on cat.js (am I dumb or what?)

This commit is contained in:
Lucas Gabriel 2024-10-03 22:22:50 -03:00 committed by GiovaniFZ
parent e7d37afa49
commit eb575c8268
No known key found for this signature in database
GPG Key ID: 63DD92181B575322

View File

@ -1,7 +1,9 @@
const { getStrings } = require('../plugins/checklang.js');
const { isOnSpamWatch } = require('../plugins/lib-spamwatch/spamwatch.js');
const spamwatchMiddleware = require('../plugins/lib-spamwatch/Middleware.js')(isOnSpamWatch);
module.exports = (bot) => {
const Strings = getStrings(ctx.from.language_code);
bot.command("cat", spamwatchMiddleware, async (ctx) => {
const userInput = ctx.message.text.split(' ').slice(1).join(' ').replace(/\s+/g, '');
let request = "";