mini update

- ClientUserSettingManager (Discum)
- Document (API version, Cookie, ...)
- x-super-properties header Request (Discum)
This commit is contained in:
March 7th
2022-04-05 19:01:20 +07:00
parent f2ee8bab81
commit 26d9e4cbb9
7 changed files with 269 additions and 118 deletions

View File

@@ -13,10 +13,17 @@ const client = new Client({
version: 10
},
http: {
version: 10
version: 10,
header: {
cookie: '', // If you want to use cookies, here is the place
}
}
});
/* Discord fingerprint ??? idk ... */
/**
* const { data } = await axios.get('https://discord.com/api/v9/experiments');
* client.options.http.header['x-fingerprint'] = data.fingerprint
*/
```
## Client Settings