Disable link preview #1

Merged
mthlma merged 2 commits from main into main 2024-05-25 01:06:28 +00:00
Showing only changes of commit f53e08a5f9 - Show all commits

View file

@ -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}`);
}