mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
#5 added logger for listeners
This commit is contained in:
parent
f9fbf56415
commit
42d50ec719
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export class VkService {
|
|||
|
||||
handlers.forEach((channel) => {
|
||||
keys(channel).forEach((event) => {
|
||||
console.log(` - ${group.name} listens for ${String(event)}`);
|
||||
logger.info(` - ${group.name} listens for ${String(event)}`);
|
||||
updates.on(event as any, channel[event].execute);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue