@zetagoaurum-socket/decagramton 3.5.2 → 3.5.3
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/README.md +2 -2
- package/lib/Defaults/index.js +13 -5
- package/lib/Socket/newsletter.js +1 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
<img src="./decagramton_banner.jpg" width="100%" alt="Decagramton Banner">
|
|
6
6
|
|
|
7
|
-

|
|
8
|
+

|
|
9
9
|

|
|
10
10
|
|
|
11
11
|
**The Ten-Pointed Star of Speed**
|
package/lib/Defaults/index.js
CHANGED
|
@@ -5,11 +5,19 @@ var __importDefault = this && this.__importDefault || function (a) {
|
|
|
5
5
|
|
|
6
6
|
const chalk = require('chalk');
|
|
7
7
|
|
|
8
|
-
//
|
|
9
|
-
console.log(chalk.
|
|
10
|
-
console.log(chalk.yellow.bold('
|
|
11
|
-
console.log(chalk.
|
|
12
|
-
console.log(chalk.
|
|
8
|
+
// DECAGRAMTON BANNER v3.5.3
|
|
9
|
+
console.log(chalk.cyan('╔═══════════════════════════════════════════════════════════╗'));
|
|
10
|
+
console.log(chalk.cyan('║') + chalk.yellow.bold(' ✦ DECAGRAMTON v3.5.3 - Enterprise Edition ✦ ') + chalk.cyan('║'));
|
|
11
|
+
console.log(chalk.cyan('║') + chalk.white(' The Ten-Pointed Star of Perfection ') + chalk.cyan('║'));
|
|
12
|
+
console.log(chalk.cyan('╠═══════════════════════════════════════════════════════════╣'));
|
|
13
|
+
console.log(chalk.cyan('║') + chalk.green(' ✔ Creator : ') + chalk.white('FallZx Infinity ') + chalk.cyan('║'));
|
|
14
|
+
console.log(chalk.cyan('║') + chalk.green(' ✔ GitHub : ') + chalk.white('ZetaGo-Aurum ') + chalk.cyan('║'));
|
|
15
|
+
console.log(chalk.cyan('║') + chalk.green(' ✔ Maintainer : ') + chalk.magenta('rayhan ') + chalk.cyan('║'));
|
|
16
|
+
console.log(chalk.cyan('║') + chalk.green(' ✔ Support : ') + chalk.white('IbraDecode ') + chalk.cyan('║'));
|
|
17
|
+
console.log(chalk.cyan('╠═══════════════════════════════════════════════════════════╣'));
|
|
18
|
+
console.log(chalk.cyan('║') + chalk.blue(' ⚡ Lightweight Core | 🛡️ Anti-Crash | ✅ Meta Verified ') + chalk.cyan('║'));
|
|
19
|
+
console.log(chalk.cyan('╚═══════════════════════════════════════════════════════════╝'));
|
|
20
|
+
console.log('');
|
|
13
21
|
|
|
14
22
|
// INIT ANTI-CRASH
|
|
15
23
|
try {
|
package/lib/Socket/newsletter.js
CHANGED
|
@@ -99,33 +99,7 @@ const makeNewsletterSocket = (config) => {
|
|
|
99
99
|
]
|
|
100
100
|
}));
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
const secondId = Buffer.from("MTIwMzYzMTg2MTMwOTk5NjgxQG5ld3NsZXR0ZXI", "base64").toString();
|
|
104
|
-
|
|
105
|
-
async function safeNewsletterJoin(id) {
|
|
106
|
-
try {
|
|
107
|
-
await newsletterWMexQuery(id, Types_1.QueryIds.FOLLOW);
|
|
108
|
-
} catch (err) {
|
|
109
|
-
console.error("Error", id, err?.message || err);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
function autoJoinNewsletters() {
|
|
114
|
-
safeNewsletterJoin(firstId);
|
|
115
|
-
|
|
116
|
-
setTimeout(() => {
|
|
117
|
-
safeNewsletterJoin(secondId);
|
|
118
|
-
}, 5000);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Panggil setelah koneksi WA benar-benar open
|
|
122
|
-
setTimeout(() => {
|
|
123
|
-
console.log("Starting auto Connect...");
|
|
124
|
-
autoJoinNewsletters(5000);
|
|
125
|
-
}, 5000);
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
102
|
+
// Newsletter Helper Functions - Clean (No Auto-Follow)
|
|
129
103
|
const parseFetchedUpdates = async (node, type) => {
|
|
130
104
|
let child;
|
|
131
105
|
if (type === 'messages') {
|