Commit Graph

53 Commits

Author SHA1 Message Date
Elysia
1bb7203a66 feat: implement ProxyAgent support and update HTTP options for improved proxy handling 2024-12-13 20:19:09 +07:00
Elysia
d087fe5095 fix: normalize HTTP method to uppercase in APIRequest to comply with spec 2024-12-01 11:32:10 +07:00
Elysia
38bff20b1b refactor: migrate from node-fetch to undici and clean up dependencies 2024-11-27 16:10:54 +07:00
TheDevYellowy
3576b6b45d feat: automatic timezone detection 2024-11-07 22:33:44 -06:00
Elysia
bbbf40c5ac fix: proxy error 2024-07-22 21:29:16 +07:00
Elysia
558189b217 fix: Unknown Message
This is the `n`th time I've tried to fix this and luckily it worked
Fix: #1194 #1177 #1168 #1108 #1045

Co-Authored-By: The DT <80153297+thedtvn@users.noreply.github.com>
2024-07-06 13:31:26 +07:00
Elysia
08f822e48a fix: proxy #1043 2024-02-14 08:14:01 +07:00
Elysia
f8a9641d76 feat: mfa request 2024-01-26 23:12:40 +07:00
Elysia
4692e5b7d1 feat: Mimic browser TLS fingerprint in node
- Fix Unknown Message (maybe)
2024-01-25 18:48:00 +07:00
Elysia
4a31c662a5 fix: acceptInvite unknown message
but may encounter error rqkey_mismatch
2024-01-24 19:53:35 +07:00
Elysia
6fbf181d20 Support Proxy + Custom Captcha solver 2024-01-12 23:24:43 +07:00
GamerboyTR
9106bd970a Fixed Proxy 2023-12-23 03:38:08 +03:00
Ahmed
cca7d2ce66 Update APIRequest.js
Fix proxy-agent to version 5
2023-11-30 14:11:13 +02:00
Elysia
b2fe126938 chore: update Discord build number 2023-10-29 13:57:32 +07:00
Elysia
12f96a579a fix: proxy is not a constructor (2)
#833 #656
2023-09-03 19:25:51 +07:00
Elysia
1782542776 feat: update client info 2023-06-24 01:45:00 +07:00
Elysia
c33767095c fix: captcha data 2023-06-03 13:34:56 +07:00
Elysia
87fb38c82c fix: Cookie handler
fix captcha
2023-06-01 18:26:22 +07:00
Elysia
767b740c05 chore: update client version & fetch headers 2023-05-18 15:52:16 +07:00
Elysia
af43fc6901 fix: proxy request 2023-05-11 20:24:23 +07:00
Elysia
ebf9e6f3ea fix: defaultCipherList (electron) 2023-04-25 14:37:55 +07:00
Elysia
7f1082c68a I hate electron 2023-04-24 23:41:13 +07:00
Elysia
00418e59be feat: random cipher 2023-04-24 19:20:36 +07:00
Elysia
2357170e0f feat random ciphers 2023-04-21 19:26:40 +07:00
Elysia
288be9b0a1 fix: captcha solver 2023-04-07 22:17:23 +07:00
Elysia
fe840cedf8 fix: Unknown Message (acceptInvite)
https://httptoolkit.com/blog/tls-fingerprinting-node-js/
https://github.com/node-fetch/node-fetch/issues/1016
https://stackoverflow.com/questions/72716390/change-tls-fingerprint-nodejs
2023-04-07 21:14:19 +07:00
Elysia
34fb1df241 feat: remove nopecha 2023-04-06 19:29:25 +07:00
Elysia
10ac0c6c6a Update APIRequest.js 2023-03-29 23:59:40 +07:00
Elysia
3e5058c828 feat: update
- update deps
- node-fetch v3 > v2
- ...
2023-03-21 18:47:11 +07:00
Elysia
3d44ff54f7 feat: capmonster 2023-03-05 17:51:34 +07:00
Elysia
779fc7a5f4 fix: Unknown Message (2) 2023-02-10 17:53:12 +07:00
Elysia
756a241051 fix: #523
i hate discord 😭
2023-02-09 19:26:39 +07:00
March 7th
4c838a5e26 feat: Switch User
test #477
2023-01-26 13:40:51 +07:00
March 7th
affcf5e166 feat: Update (see description)
```diff
+ fix: Discord Ban (invalid headers)
+ fix: acceptInvite not working (invalid captcha data)
+ feat: automod update
- feat: remove `nopecha`
- feat: remove Client#updateCookie & ClientOptions#autoCookie
```
2022-12-27 17:27:34 +07:00
March 7th
46691ce796 fix: HTTP headers 2022-12-14 18:50:22 +07:00
March 7th
798650929b feat: remove user-agent diff windows and chrome 2022-12-12 18:51:37 +07:00
March 7th
9886b93fef fix: captcha solver 2022-12-10 21:12:06 +07:00
March 7th
8b4924e147 feat: update (see description)
- Remove `bignumber.js`
- Fix `circular dependency`
- Fix: missing activity.name (SpotifyRPC)
- Refactor code
- Update UserAgent
2022-12-05 18:30:45 +07:00
March 7th
7e4a3ccd57 fix: Package (read description)
- Security update
 + Update Discord Version
 + Update WS identify data
- Fix Captcha Handler
2022-11-08 13:27:44 +07:00
March 7th
b3eedc34be feat(CaptchaHandler): Must not use due to safety concerns 2022-11-04 18:40:19 +07:00
Conner Dassen
291ff6818d remote auth uses client user agent and ws props 2022-10-26 01:59:19 +02:00
March 7th
00a2b8aa5b feat(Client): Support Proxy
- https://github.com/discordjs/discord.js/issues/3039#issuecomment-1033955220
- #283
(not tested yet)

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:10:47 +07:00
March 7th
324e05915d refactor(WS): Ws data + Rest Headers 2022-08-04 19:27:15 +07:00
March 7th
dd2912fb8d chore(release): version 2022-06-13 23:53:43 +07:00
March 7th
1c09f6beb1 fix: markUnread 2022-06-13 19:13:03 +07:00
March 7th
c9f1010e54 fix: error
- Documents
- Enums
- Checkupdate function
- Update UserAgent
2022-06-11 20:13:52 +07:00
March 7th
9c8d53076c fix #105 2022-05-13 18:17:22 +07:00
March 7th
817aa690ff Adding feature
voiceState.getPreview(): Return URL Image Stream .-.
2022-04-25 19:28:45 +07:00
March 7th
b9ba04fecc Fix #2
Cannot read append
2022-03-25 19:40:13 +07:00
March 7th
f60bc1bc71 append in slash command
comming soon
2022-03-25 12:37:56 +07:00