From f53e08a5f914b5dee3e92304dd442c4016b1e91e Mon Sep 17 00:00:00 2001 From: GiovaniFZ Date: Fri, 24 May 2024 21:56:12 -0300 Subject: [PATCH] Remove link preview from help.js --- src/commands/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/help.js b/src/commands/help.js index 150c1c3..ac9e9a5 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -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}`); }