Add mor log
This commit is contained in:
parent
563b649196
commit
685977f771
2
index.js
2
index.js
|
@ -503,7 +503,7 @@ xmpp.on("stanza", (stanza) => {
|
|||
const diff = (now - product_id.timestamp) / 1000 / 60;
|
||||
if (diff > 3) return;
|
||||
// if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} New message from ${fromChannel}`);
|
||||
console.log(`${colors.cyan("[INFO]")} ${getWFOByRoom(fromChannel).location} - ${product_id_raw} - ${evt.text} - ${product_id.timestamp}`);
|
||||
console.log(`${colors.cyan("[INFO]")} ${fromChannel} ${getWFOByRoom(fromChannel).location} - ${product_id_raw} - ${evt.text} - ${product_id.timestamp}`);
|
||||
messages++;
|
||||
textTries = 0;
|
||||
tryGetText = () => {
|
||||
|
|
Loading…
Reference in a new issue