Skip to content

Commit d7e943b

Browse files
authored
Update app.js
1 parent cadc4cf commit d7e943b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ const axios = require('axios');
44

55

66
// Crie uma instância do bot com o token fornecido pelo BotFather
7-
const bot = new TelegramBot('6146765362:AAHuBU3fDgf8mhO-kfOOfG-mYW2Gn6G68ao', { polling: true });
7+
const bot = new TelegramBot('BOT TOKEN TELEGRAM', { polling: true });
88

99
// Lista de IDs permitidos
10-
const idsPermitidos = [5373344632];
10+
const idsPermitidos = [ID DO ADMIN E PERMITIDOS];
1111

1212
bot.onText(/\/start/, (msg) => {
1313
const chatId = msg.chat.id;
@@ -77,4 +77,4 @@ bot.onText(/\/busca (.+)/, (msg, match) => {
7777
bot.sendMessage(chatId, `SEU ID NÃO ESTÁ NA LISTA \n\nSeu id: ${chatId}`);
7878
console.log(`Mensagem ignorada do ID não permitido: ${chatId}`);
7979
}
80-
});
80+
});

0 commit comments

Comments
 (0)