Do not expose token on info log level

This commit is contained in:
Inex Code 2021-01-22 20:33:10 +00:00
parent 51eb26c19f
commit 0d0a98490c

View file

@ -137,7 +137,7 @@ export class VkPuppet {
// and listen to incoming messages from it // and listen to incoming messages from it
try { try {
const client = new VK({ token: data.token, apiLimit: 20 }); const client = new VK({ token: data.token, apiLimit: 20 });
log.info("Trying to init listener with", data.token); log.debug("Trying to init listener with", data.token);
client.updates.on("message_new", async (context) => { client.updates.on("message_new", async (context) => {
try { try {