mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 21:00:03 +00:00
Update main.js
This commit is contained in:
parent
20301a620d
commit
a52f989a5d
@ -2,7 +2,7 @@ const TelegramBot = require('node-telegram-bot-api');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
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 bot = new TelegramBot(token, { polling: true });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user