Fixed spamwatch import
This commit is contained in:
parent
0cdcc28d3e
commit
2b30f34475
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -4,7 +4,7 @@ const path = require('path');
|
||||||
const token = process.env.TGBOT_TOKEN;
|
const token = process.env.TGBOT_TOKEN;
|
||||||
const bot = new TelegramBot(token, { polling: true });
|
const bot = new TelegramBot(token, { polling: true });
|
||||||
const { isBlocked } = require('./blocklist');
|
const { isBlocked } = require('./blocklist');
|
||||||
const { isOnSpamWatch } = require('./blocklist');
|
const { isOnSpamWatch } = require('./spamwatch');
|
||||||
require('./logger');
|
require('./logger');
|
||||||
|
|
||||||
const commandsPath = path.join(__dirname, 'commands');
|
const commandsPath = path.join(__dirname, 'commands');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue