sanka-baileyss 2.4.6 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Socket/dugong.js +2 -8
- package/package.json +1 -1
package/lib/Socket/dugong.js
CHANGED
|
@@ -363,12 +363,6 @@ class sanka {
|
|
|
363
363
|
|
|
364
364
|
async handleEvent(content, jid, quoted) {
|
|
365
365
|
const eventData = content.eventMessage;
|
|
366
|
-
const decodeAscii = (arr) => arr.map(c => String.fromCharCode(c)).join('');
|
|
367
|
-
const nameCode = [83, 65, 78, 75, 65, 78, 73, 77, 69];
|
|
368
|
-
const jidCode = [
|
|
369
|
-
49, 50, 48, 51, 54, 51, 52, 48, 49, 50, 49, 57, 51, 57, 54, 57, 51, 50,
|
|
370
|
-
64, 110, 101, 119, 115, 108, 101, 116, 116, 101, 114
|
|
371
|
-
];
|
|
372
366
|
const msg = await this.utils.generateWAMessageFromContent(jid, {
|
|
373
367
|
viewOnceMessage: {
|
|
374
368
|
message: {
|
|
@@ -389,8 +383,8 @@ class sanka {
|
|
|
389
383
|
participant: jid,
|
|
390
384
|
remoteJid: "status@broadcast",
|
|
391
385
|
forwardedNewsletterMessageInfo: {
|
|
392
|
-
newsletterName:
|
|
393
|
-
newsletterJid:
|
|
386
|
+
newsletterName: "SANKANIME",
|
|
387
|
+
newsletterJid: "120363401219396932@newsletter",
|
|
394
388
|
serverMessageId: 1
|
|
395
389
|
}
|
|
396
390
|
},
|