parsemode

This commit is contained in:
karl.hudgell 2020-06-22 12:32:45 +01:00
parent 28d5f3243a
commit 7153bd3990

2
app.js
View File

@ -35,7 +35,7 @@ bot.on('message', (msg) => {
if (msg.text.toString().toLowerCase().includes(help_filelinked)) {
const userMention = "<a href=\"tg:\/\/user?id=" + msg.from.id + "\">@" + msg.from.first_name + "<\/a>"
logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Asked for fileLinked code");
bot.sendMessage(msg.chat.id, "Hello " + userMention + " please PM me @" + process.env.BOT_USERNAME + " and i'll give you the code");
bot.sendMessage(msg.chat.id, "Hello " + userMention + " please PM me @" + process.env.BOT_USERNAME + " and i'll give you the code", { parse_mode: "HTML" });
}
const bye = "bye";