i hate discord 😭
This commit is contained in:
Elysia
2023-02-09 19:26:39 +07:00
parent 9bab1f1983
commit 756a241051
11 changed files with 41 additions and 92 deletions

View File

@@ -8,7 +8,7 @@ const axios = require('axios');
const chalk = require('chalk');
const { encode: urlsafe_b64encode } = require('safe-base64');
const WebSocket = require('ws');
const { randomUA } = require('./Constants');
const { defaultUA } = require('./Constants');
const Options = require('./Options');
const defaultClientOptions = Options.createDefault();
@@ -153,7 +153,7 @@ new DiscordAuthWebsocket({
failIfError: true,
generateQR: true,
apiVersion: 9,
userAgent: randomUA(),
userAgent: defaultUA,
wsProperties: defaultClientOptions.ws.properties,
};
if (typeof options == 'object') {