mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Put string import on right place
This commit is contained in:
parent
eb575c8268
commit
bbfd663636
@ -3,8 +3,8 @@ 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 Strings = getStrings(ctx.from.language_code);
|
||||
const userInput = ctx.message.text.split(' ').slice(1).join(' ').replace(/\s+/g, '');
|
||||
let request = "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user