Modulate bot with some tweaks

This commit is contained in:
Lucas Gabriel 2024-05-24 18:39:12 -03:00
parent 92b6afe340
commit c67df9f865
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
5 changed files with 33 additions and 15 deletions

6
src/commands/start.js Normal file
View file

@ -0,0 +1,6 @@
// start command handler
module.exports = function(bot, msg) {
const chatId = msg.chat.id;
bot.sendMessage(chatId, "Welcome to Lynx!\n\nI was made with love by Lucas Gabriel (lucmsilva)!\n\nCheck out my source code:\nhttps://github.com/lucmsilva651/lynx")
console.log("INFO: /start executed.")
}