Implemented blocklist + some code changes

This commit is contained in:
Lucas Gabriel 2024-06-02 01:48:19 -03:00
parent 945182329e
commit 4b0e188467
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
13 changed files with 48 additions and 12 deletions

View file

@ -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}`);
}