mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-05 18:32:36 +00:00
Remove link preview from help.js
This commit is contained in:
parent
36210ba0ff
commit
f53e08a5f9
@ -9,7 +9,7 @@ module.exports = function(bot, msg) {
|
||||
- /whois: send some information about yourself\n\nSee my source code in:
|
||||
- https://github.com/lucmsilva651/lynx.\n\nThanks to all users, testers, contributors, and others. Without you, perhaps this bot wouldn't be possible.`;
|
||||
|
||||
bot.sendMessage(chatId, message)
|
||||
bot.sendMessage(chatId, message, {disable_web_page_preview: true})
|
||||
.catch(error => console.error('ERROR: Message cannot be send:', error));
|
||||
console.log(`INFO: /help executed by ${userName}, ${userId}`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user