Update main.js
This commit is contained in:
parent
20301a620d
commit
a52f989a5d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ const TelegramBot = require('node-telegram-bot-api');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const logMessage = require('./logger');
|
const logMessage = require('./logger');
|
||||||
const { isBlocked } = require('./blocklist'); // Importa a função de blocklist
|
const { isBlocked } = require('./blocklist');
|
||||||
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 });
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue