Implemented blocklist + some code changes
This commit is contained in:
parent
945182329e
commit
4b0e188467
13 changed files with 48 additions and 12 deletions
|
@ -24,6 +24,6 @@ module.exports = function(bot, msg) {
|
|||
const message = `*Your name is:* ${userName}\n${haveUsername}\n*Your ID is:* ${userId}\n*You are a bot:* ${isBot}\n*Your language:* ${userLang}\n\n${userPremiumOutput}`;
|
||||
|
||||
bot.sendMessage(chatId, 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: /whois executed by ${userName}, ${userId}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue