Remove link preview from help.js
This commit is contained in:
parent
36210ba0ff
commit
f53e08a5f9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue