1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#1 fixed logger entry for messages

This commit is contained in:
Fedor Katurov 2021-04-29 11:34:39 +07:00
parent eb696e64d4
commit 61f0440cb6

View file

@ -31,7 +31,7 @@ export class MessageNewHandler extends VkEventHandler<Fields, Values> {
const user = await this.getUserByID(String(context.senderId)); const user = await this.getUserByID(String(context.senderId));
logger.debug( logger.debug(
`vk, group ${this.group.name} received message from ${from.first_name} ${from.last_name}: ${context.text}` `vk, group ${this.group.name} received message from ${user.first_name} ${user.last_name}: "${context.text}"`
); );
const parsed = this.template.theme({ const parsed = this.template.theme({