From db640e3bfadb39069b46cf277585d27712613ba0 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Date: Thu, 3 Oct 2024 22:22:50 -0300 Subject: [PATCH] Put missing import on cat.js (am I dumb or what?) --- commands/cat.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/cat.js b/commands/cat.js index 29450f7..9553abe 100644 --- a/commands/cat.js +++ b/commands/cat.js @@ -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 = "";