From 7153bd39908f22bfd7417f903b376b812facf097 Mon Sep 17 00:00:00 2001 From: "karl.hudgell" Date: Mon, 22 Jun 2020 12:32:45 +0100 Subject: [PATCH] parsemode --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 1d47d63..515c288 100644 --- a/app.js +++ b/app.js @@ -35,7 +35,7 @@ bot.on('message', (msg) => { if (msg.text.toString().toLowerCase().includes(help_filelinked)) { const userMention = "@" + 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";