wat
This commit is contained in:
parent
b57255487a
commit
7be0ab71fc
|
@ -27195,7 +27195,6 @@ class Global {
|
|||
|
||||
first() {
|
||||
if (window.__bd) {
|
||||
window.tt = window.__bd;
|
||||
this.__globals = window.__bd;
|
||||
window.__bd = {
|
||||
setWS: this.setWS
|
||||
|
@ -27204,8 +27203,6 @@ class Global {
|
|||
}
|
||||
|
||||
setWS(wSocket) {
|
||||
console.log("SETWS!");
|
||||
window.testing = this;
|
||||
this.__globals.wsHook = wSocket;
|
||||
}
|
||||
|
||||
|
|
|
@ -20,11 +20,10 @@
|
|||
|
||||
constructor(url, protocols) {
|
||||
super(url, protocols);
|
||||
this.hook(url);
|
||||
console.log("IS IT RUNNING ASYNC?");
|
||||
this.hook(url, protocols);
|
||||
}
|
||||
|
||||
hook(url) {
|
||||
hook(url, protocols) {
|
||||
console.info(`[BetterDiscord|WebSocket Proxy] new WebSocket detected, url: ${url}`);
|
||||
if (!url.includes('gateway.discord.gg')) return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue