mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Fixed spamwatch import
This commit is contained in:
parent
0cdcc28d3e
commit
2b30f34475
2
main.js
2
main.js
@ -4,7 +4,7 @@ const path = require('path');
|
||||
const token = process.env.TGBOT_TOKEN;
|
||||
const bot = new TelegramBot(token, { polling: true });
|
||||
const { isBlocked } = require('./blocklist');
|
||||
const { isOnSpamWatch } = require('./blocklist');
|
||||
const { isOnSpamWatch } = require('./spamwatch');
|
||||
require('./logger');
|
||||
|
||||
const commandsPath = path.join(__dirname, 'commands');
|
||||
|
Loading…
x
Reference in New Issue
Block a user