Implemented blocklist + some code changes
This commit is contained in:
parent
945182329e
commit
4b0e188467
13 changed files with 48 additions and 12 deletions
|
@ -7,6 +7,6 @@ module.exports = function(bot, msg) {
|
|||
const message = `*Hello! I am Lynx!*\nI was made with love by Lucas Gabriel (lucmsilva)!\n\nSee /help for the bot commands!`;
|
||||
|
||||
bot.sendPhoto(chatId, lynxProfilePhoto, { caption: message, parse_mode: 'Markdown' } )
|
||||
.catch(error => console.error('ERROR: Message cannot be sent:', error));
|
||||
.catch(error => console.error('WARN: Message cannot be sent:', error));
|
||||
console.log(`INFO: /start executed by ${userName}, ${userId}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue