Removed logs & updated version

This commit is contained in:
Judson Cairo
2024-03-07 18:28:56 -03:00
parent 10b48aed97
commit 196c2e0ed8
6 changed files with 3 additions and 9 deletions

View File

@@ -1124,7 +1124,6 @@ export class BaileysStartupService extends WAStartupService {
5: 'PLAYED',
};
for await (const { key, update } of args) {
console.log(key);
if (settings?.groups_ignore && key.remoteJid?.includes('@g.us')) {
this.logger.verbose('group ignored');
return;

View File

@@ -303,7 +303,6 @@ export class BusinessStartupService extends WAStartupService {
if (received.contacts) pushName = received.contacts[0].profile.name;
if (received.messages) {
console.log('received?.messages[0]', received?.messages[0]);
const key = {
id: received.messages[0].id,
remoteJid: this.phoneNumber,
@@ -772,9 +771,6 @@ export class BusinessStartupService extends WAStartupService {
}
})();
console.log('messageSent', messageSent);
console.log('message', message);
const messageRaw: MessageRaw = {
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
//pushName: messageSent.pushName,