parsemode
This commit is contained in:
parent
28d5f3243a
commit
7153bd3990
2
app.js
2
app.js
@ -35,7 +35,7 @@ bot.on('message', (msg) => {
|
|||||||
if (msg.text.toString().toLowerCase().includes(help_filelinked)) {
|
if (msg.text.toString().toLowerCase().includes(help_filelinked)) {
|
||||||
const userMention = "<a href=\"tg:\/\/user?id=" + msg.from.id + "\">@" + msg.from.first_name + "<\/a>"
|
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");
|
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";
|
const bye = "bye";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user