Skip to content

Commit

Permalink
Update handler.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeANi-SHILIX committed May 29, 2024
1 parent 12a06c3 commit dc90ffa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,13 @@ export default async function handleMessage(sock, msg, mongo) {
.then(() => sendCustomMsgQueue(id, { react: { text: '', key: msg.key } }));
}


// dev
if (msg.message?.groupInviteMessage){
return sendMsgQueue(superuser + "@s.whatsapp.net", "הזמנה לקבוצה: " + msg.message.groupInviteMessage);
//conn.acceptInvite(invitecode)
}

return;
if (type !== MsgType.TEXT) return;

Expand Down

0 comments on commit dc90ffa

Please sign in to comment.