Added bam + some other code fixes
This commit is contained in:
parent
c419a4e653
commit
4b9ed6d2c0
4 changed files with 45 additions and 39 deletions
8
src/commands/bam.js
Normal file
8
src/commands/bam.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
module.exports = function(bot, msg) {
|
||||
const chatId = msg.chat.id;
|
||||
|
||||
const message = `O usuario foi bamido com sucesso`;
|
||||
|
||||
bot.sendMessage(chatId, message, { parse_mode: 'Markdown' })
|
||||
.catch(error => console.error('WARN: Message cannot be sent: ', error));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue