Added Privacy Policy + changed commands layout to comply with new logger
This commit is contained in:
parent
612a48ca7f
commit
bc97336b67
11 changed files with 47 additions and 27 deletions
|
@ -22,7 +22,7 @@ bot.on('message', (msg) => {
|
|||
const messageText = msg.text;
|
||||
|
||||
if (isBlocked(userId)) {
|
||||
console.log(`WARN: Blocked user ${userName}, ${userId} tried to access the bot with the command/message ${messageText}.`);
|
||||
console.log(`WARN: Blocked user ${userName}, ${userId} tried to access the bot with the command or message "${messageText}".\n`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue