Implemented blocklist + some code changes
This commit is contained in:
parent
945182329e
commit
4b0e188467
13 changed files with 48 additions and 12 deletions
|
@ -12,7 +12,7 @@ module.exports = function(bot, msg) {
|
|||
const message = `*Generated value:* ${randomValue}`;
|
||||
|
||||
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: /random executed by ${userName}, ${userId}`);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue