kowalski/commands/start.js

13 lines
613 B
JavaScript
Raw Normal View History

2024-05-24 18:39:12 -03:00
module.exports = function(bot, msg) {
const chatId = msg.chat.id;
2024-06-02 00:26:48 +00:00
const lynxProfilePhoto = 'https://graph.org/file/10452df450f13ffb968c5.jpg';
const message = `*Hello! I am Lynx!*\nI was made with love by Lucas Gabriel (lucmsilva)!\n\n` +
`*Before using, you will need to read the privacy policy (/privacy) ` +
`to understand where your data goes when using this bot.*\n\n` +
`Also, you can use /help to show the bot commands!`;
2024-06-01 23:25:15 +00:00
2024-06-02 00:26:48 +00:00
bot.sendPhoto(chatId, lynxProfilePhoto, { caption: message, parse_mode: 'Markdown' } )
2024-06-02 13:27:01 +00:00
.catch(error => console.error('WARN: Message cannot be sent: ', error));
2024-06-02 00:26:48 +00:00
}