Update bot.js

This commit is contained in:
Fernando Méndez 2021-11-19 13:51:18 +01:00 committed by GitHub
parent 049cb401b9
commit 504c095dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@
// Importar las librerías: // Importar las librerías:
const TelegramBot = require('node-telegram-bot-api'); const TelegramBot = require('node-telegram-bot-api');
// Token del bot: // Token del bot:
const token = '1650731934:AAHYXV0t1hwE0j2TbcVFMXWQEfFulyj4BfU'; const token = '';
// Create the bot: // Create the bot:
const bot = new TelegramBot(token, {polling:true}); const bot = new TelegramBot(token, {polling:true});
@ -175,4 +175,4 @@ bot.onText(/^\/author/, function(msg){
bot.sendMessage(chatId, "Autor👤: *Fernando Méndez 'Humpercobra'* \n" + bot.sendMessage(chatId, "Autor👤: *Fernando Méndez 'Humpercobra'* \n" +
"Web🌐: https://fermdez.ddns.net", {parse_mode : "Markdown"}) "Web🌐: https://fermdez.ddns.net", {parse_mode : "Markdown"})
}); });