#πŸ‘Ύ-core-development

1 messages Β· Page 192 of 1

median rapids
#

an incredibly awful attempt by me and a somewhat friend at making a client mod

turbid hatch
#

uh huh

#

OH!

median rapids
#

aka my first js project

turbid hatch
#

don't use asars on the web!

#

just bundle the files!

fringe basalt
austere talon
#

Object.values(wreq(wp.findModuleId("makeRequest: queueing"))).find(m => m.post)

#

@median rapids

turbid hatch
#

sorry im insane

crude hearth
austere talon
#

you were finding superagent library or smth

turbid hatch
#
import { promises as fs } from "fs";
import path from "path";

function loadResource(bundle: string, path: string): Promise<Buffer> {
    return fs.readFile(path.join(VENCORD_DATA_DIR, `${bundle}.asar/${path}`));
}
cerulean helm
#

hey so i forgot whats the vesktop command to switch to stable it finally got hit with the update lol

austere talon
cerulean helm
#

thx

median rapids
#

it's public pretty sure

swift fjord
#

whats the vesktop command to ban someone i don't like from the entire platform

austere talon
#

importing entire modules is evil...

turbid hatch
#

child

#

hush yourself

#

it was PSEUDOCODE

austere talon
#

nop

#

no imperfect pseudocode allowed here

median rapids
#

it works ily

turbid hatch
#

also why would it come from the renderer

#

i'd rather die

turbid hatch
#

that sort of thing is a native anyway

crude hearth
#

whats tha

austere talon
swift fjord
median rapids
#

just something i cant shjare

fringe basalt
#

omg toker??

austere talon
median rapids
turbid hatch
#

then on the extension zip...

long stream
#

i promise i wont leek

median rapids
#

oki

fringe basalt
#

oh ik what it is blobcatcozy

median rapids
#

yea you do

#

so does ven 😭

somber ginkgo
median rapids
#

sillyv

crude hearth
#

dolfies github sadly doesnt have much thing

#

stalking is done here sadJoe

swift fjord
median rapids
grave mangoBOT
turbid hatch
#

hm we could use that yeah

#

i was going to use the chrome runtime api but that sucks

fringe basalt
crude hearth
#

just recreation

austere talon
#

this should work

#

but async

median rapids
crude hearth
#

oh nice

turbid hatch
#
function loadResourceWeb(bundle: string, path: string): Promise<ArrayBuffer> {
    return fetch(new URL(`/${bundle}/${path}`, EXTENSION_BASE_URL)).then(data => data.arrayBuffer());
}
median rapids
#

it was also not supposed to leak

turbid hatch
#

i guess

austere talon
#

for sync, we could use synchronous XHR or a script tag

turbid hatch
#

the two apis need to be compatible

median rapids
#

it's a fake backend i made with a 2018 leak of the panel

crude hearth
turbid hatch
#

we can move loadResource non-web to sync fs

#

and

austere talon
#

just put it on VencordNative.locales

turbid hatch
#

yyyyyyyyeah i guess xhr would work

turbid hatch
grave mangoBOT
turbid hatch
#

its for all the other data we want to put into asars too

swift fjord
#

dolfies still has access to the admin panel

fringe basalt
#

yop

#

he gave me a free badge

crude hearth
#

dolfies if he shared discord android source (it would be very good)

swift fjord
#

funny you should say that

crude hearth
#

why

swift fjord
#

dolfies has leaked some things to me

#

i can't share though

crude hearth
#

give

#

😒

turbid hatch
#

tbh its a bit awkward putting the locales into a separate data bundle, but it does make the compiled mod source smaller

swift fjord
#

its not source

#

but its helpful

crude hearth
#

native module?

turbid hatch
#

and it does decouple it so you can swap out the locales

swift fjord
#

i can't say

swift fjord
#

dolfer would kill me

median rapids
#

yop

crude hearth
#

dolfier tell me too

median rapids
#

gnarp gnap

crude hearth
#

πŸ₯Ί

turbid hatch
#

ill work on it

#

tomorrow

#

?remindme 5pm localisation into asar bundles for electron, packed into extension for web (do later)

shut vineBOT
#

Alright @turbid hatch, in 18 hours, 14 minutes and 12 seconds: localisation into asar bundles for electron, packed into extension for web (do later)

swift fjord
#

do now

turbid hatch
#

i refuse

#

i want to sleep again

swift fjord
#

i NEED pirate speak

turbid hatch
#

i woke up and had like impulse to work out how this should work

austere talon
#

xd

#

sleepy

turbid hatch
#

i mean it works right now as is but it builds them into the mod itself so its like

#

a bit painful

turbid hatch
#

yes

crude hearth
#

WHATS THAT

turbid hatch
#

but yeah using an asar means you can just swap out the asar and reload the translations

turbid hatch
#

dont have to restart your discord client all the time

cerulean helm
#

so anyways why is vencord in the renderer

median rapids
#

venderer

turbid hatch
fringe basalt
austere talon
cerulean helm
somber ginkgo
cerulean helm
fringe basalt
#

no me

crude hearth
long stream
#

i will eat you both

cerulean helm
crude hearth
#

does anyone know

long stream
cerulean helm
somber ginkgo
crude hearth
#

mmmm

#

not convincing enough

shy veldt
#

and cutie

fringe basalt
median rapids
#

real

long stream
shy veldt
somber ginkgo
#

i dont even have any good stuff

#

im a leech at best

median rapids
#

expect these to make a return soon...

fringe basalt
#

fear

long stream
somber ginkgo
#

dolfies is like a war thunder player

median rapids
#

real

somber ginkgo
#

like, i got my shit from the same people that provided MeeSucks-Dump-main.zip

dusk blaze
#

chat i nearly finished vencord EAS

cerulean helm
#

no shout the source of mesucks got leaked

crude hearth
#

I dont have any of the leaks

fringe basalt
#

wasn't mee6 open source for a bit

crude hearth
#

tho having 2018 leak wouldnt help anything either

fringe basalt
crude hearth
#

okay

somber ginkgo
desert cosmos
#

someone needs to accidentally leak mee6 src

cerulean helm
somber ginkgo
long stream
fringe basalt
cerulean helm
median rapids
#

also why

#

boring

somber ginkgo
#

real

median rapids
#

gimme the api

#

give me the PYTHON

cerulean helm
somber ginkgo
#

funny

crude hearth
#

wait doesnt discord/discord monorepo

crude hearth
#

do you guys only have client

median rapids
#

and yes

#

.map files wont give you the repo lol

crude hearth
#

huh

crude hearth
#

the more I talk to you guys more questions I get around my head trolldayruined

#

well whatever

#

they still didnt push to stable

long stream
#

don't make them do it fear

cerulean helm
#

sorry guys let me just git push

#

on the last thing

fringe basalt
somber thorn
#
git push zuxi off something high
``` ​​​​​​​​​​​
#

/j

fringe basalt
#

?remind 3y hey @long stream 3 years ago you promised to leak discord/discord. How's it going?

shut vineBOT
#

Alright @fringe basalt, in 3 years: hey @haruka 3 years ago you promised to leak discord/discord. How's it going?

crude hearth
#

so its better to just sit and watch

cerulean helm
#

hopefully this is is just a test though

fringe basalt
dusk blaze
#

πŸš€

median rapids
#

?remind 2y 11m 29d check on harukie hacking progress

shut vineBOT
#

Alright @median rapids, in 2 years: 11m 29d check on harukie hacking progress

fringe basalt
long stream
#

throw us into a gc with mantika πŸ₯Ί

fringe basalt
long stream
#

private q&a session

cerulean helm
#

alr guys its way to hot in my house now so i will be going see yall on mobile πŸ˜‰

median rapids
fringe basalt
#

omg toker???

long stream
somber thorn
# dusk blaze insane

nin0 drop me your token again :3 ​​​​​​​​​​​​​​​​​​​​​​​

fringe basalt
long stream
fringe basalt
#

did you get the reference at least

long stream
#

yep blobcatcozy

fringe basalt
#

yipee

somber thorn
#

gib

median rapids
fringe basalt
#

in this case it'd be github tho

austere talon
#

did canary getr reverted yet

cerulean helm
glass jasper
fringe basalt
limber skiff
#

with this change are they also merging modules too? like they did before

austere talon
#

tbf the odds of a revert are higher than the odds of a push to stable

#

if u look at past occurrences

quasi gyro
#

vee on suicide watch until it is reverted

charred monolithBOT
fringe basalt
#

let's make a bet

#

if they push to stable i get admin

#

if they revert you get my toker

austere talon
fringe basalt
austere talon
#

would you actually give me your token if they revert

odd heath
#

She can just change it tho

fringe basalt
#

well, i never specified it has to be a valid toker

austere talon
#

stfu read rule 5.1

median rapids
#

honestly i'd give you my token if i didnt have irl friends on here

austere talon
#

already have it blobcatcozy

cerulean helm
woeful sable
#

what

olive bridge
#

chat i need some help cuz vencord is literally broken

jolly egret
#

big if false

olive bridge
#

i did and im not on canary

#

honestly i dont even know whats canary

strong socket
jolly egret
#

No idea if its user error but i'm having weird behaviour on stable too, vencord settings is at the top & sometimes it fails to load if i don't "update" it so it might be more than just ptb and canary broken right now

olive bridge
#

(i dont know any very specific terms, i just use vencord)

strong socket
olive bridge
#

just discord

median rapids
#

im on the token logger build

strong socket
#

ok then idk

olive bridge
#

oh wait

#

i found vencord settings

#

finally

#

why the fuck are they at the top

strong socket
#

wait so that was the issue you were having?

#

☠️

median rapids
#

do u want a medal

olive bridge
strong socket
#

o

olive bridge
#

most of the plugins dont work

#

its like half broken discord

strong socket
#

can someone add that to the announcements thing

#

people keep asking about plugins

olive bridge
#

damn

jolly egret
#

yeah stable is affected in some ways too the only thing you can do is...

#

✨ wait ✨

#

it was right when i started making a plugin too!!!

frail skyBOT
#
Bad Patches

BetterSessions (had no effect):
ID: 104140
Match: ```
/(\i.animated.rect,{id:\i,x:48-(\i+8)+4,y:)28(,width:\i+8,height:)24,/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

olive bridge
#

o

#

whar does that mean though

strong socket
#

idk

charred monolithBOT
frail skyBOT
#
Bad Patches

BetterSessions (had no effect):
ID: 104140
Match: ```
/(\i.animated.rect,{id:\i,x:48-(\i+8)+4,y:)28(,width:\i+8,height:)24,/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

hmmm

median rapids
#

coming to stable soon...

austere talon
#

nope

rugged spire
#

i am insane

#

i have been building plugins while explosion occurs

#

my new code will explode very fast

frail skyBOT
#
Bad Patches

BetterSessions (had no effect):
ID: 104140
Match: ```
/(\i.animated.rect,{id:\i,x:48-(\i+8)+4,y:)28(,width:\i+8,height:)24,/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

dusk blaze
charred monolithBOT
shell shuttle
#

clicked on vestok thinking it was here

charred monolithBOT
limber skiff
#

I regret myself windows 11 is shit

#

soo unstableee

sterile oak
junior olive
#

They're not reverting are they ☹️☹️

glass jasper
odd heath
#

did discord revert yet

lofty helm
#

no

#

i just woke up and ran into Issues

#

now all my plugins and themes don't work

odd heath
#

πŸ˜”

#

never shutting down again

somber thorn
#

setting vesktop uptime records

dawn coyote
#

just download all bundles from discord

charred monolithBOT
lofty helm
#

new update and it's not rolled back

#

it's over

#

bilions must update code

still wasp
#

It's so joever

crude hearth
#

dzuriwai

odd heath
fringe basalt
long stream
#

okay vencord on canary (even with vee's patches) is still a game of minesweeper

#

click on any attachment, crash
open the pending friend requests tab, crash

shy veldt
#

issue of skill

long stream
#

i will turn you into an issue

shy veldt
long stream
#

okay add using emojis (at least via the chat emoji picker) to the list of things that still crash

shy veldt
#

how are yall crashing guh

lofty helm
#

canary

shy veldt
#

what do you think im using

lofty helm
#

i had the misfortune of having to turn off my computer

shy veldt
long stream
#

poor dzi forgot that people turn their computers off before going to sleep blobcatcozy

wary dew
#

time to spend my whole day trying to fix these issues (i have nothing better to do)

long stream
#

same

lofty helm
wary dew
#

gonna try to diagnose bettersessions patch

#

is this reporter source public?

shy veldt
#

yes?

spice python
shy veldt
#

pnpm buildReporter blobcatcozy

spice python
wary dew
#

thx

tropic wagon
#

how often are vesktop versions released? is there some requirement for a release?

#

i'd love to see #621 as soon as possible

dawn coyote
#

it releases when it's done

#

there are no release cycles

austere talon
#

did they push / revert yet

fringe basalt
#

nop

#

they pushed another canary build however

#

which changes some stuff

#

brings back some names?

austere talon
#

this is so awkward

#

have to just wait for them to do something

frail skyBOT
#
Bad Patches

BetterSessions (had no effect):
ID: 104140
Match: ```
/(\i.animated.rect,{id:\i,x:48-(\i+8)+4,y:)28(,width:\i+8,height:)24,/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fringe basalt
shell shuttle
#

wait no i've probably asked u for this too

#

nvm

crude hearth
#

this is them rn

#

why would they change minifier config randomly

#

no other explaination

fringe basalt
#

maybe they wanted to help dataminers and client modders a little blobcatcozy

crude hearth
#

maybe brandon working behind the scenes

lofty helm
#

i fucking hate how gateway is so slow to reconnect sometimes

#

no i do not want to be jumpscared by loading screen

#

i want to reconnect NOW

#

gateway was a serious problem for me when i was using my unreliable mobile data whilst my isp was being shit at providing support

fringe basalt
shy veldt
#

so real

lofty helm
fringe basalt
#

no clue

crude hearth
lofty helm
#

ok but it just does that when not connected to the internet

crude hearth
#

yes

#

because even if request is unsuccessful it might be in request queue or smthn

#

so when device gets back internet it can send all the requests one by one and cause spam

#

(just theorizing)

fringe basalt
#

this is gateway tho, not api requests

#

you'd have to really try to enqueue a bunch of gateway events in a short period of time

#

ex. change your status 30 times

#

im assuming the actual reason for the reconnect delay is preventing people's clients from spamming the gateway if it ever goes down or has issues

charred monolithBOT
shell shuttle
#

are we talking about logging in or vc reconnecting

crude hearth
#

websockets are just http requests aswell

fringe basalt
crude hearth
#

server upgrades the connection and becomes websocket

fringe basalt
#

yeah but then it's a single http request

crude hearth
#

yes

fringe basalt
#

yet you mentioned enqueueing multiple requests

crude hearth
#

I mean it can try to connect multiple times

#

and when internet connection is estabilished it can send several reqs at once

#

but honestly I dont know if that will be ever a case

fringe basalt
#

are you saying it's making multiple requests to the gateway simultaneously in attempts to reconnect?

#

afaik it only makes one

#

and if that one fails, it retries

fringe basalt
#

there's no concurrency here

crude hearth
#

retrry is basically sending new request tho

fringe basalt
#

yes

crude hearth
#

wrong?

fringe basalt
#

after the previous one failed

#

so there's no "several requests at once"

crude hearth
#

yeah but something else could be queuing it aswell I am just thinking about possibility of this

#

client probably has a timeout at worst

charred monolithBOT
crude hearth
#

when timeout is exceeded it gives up on request

fringe basalt
#

what could be queueing what

crude hearth
#

but maybe android system or your router still queues the request

#

but again I'm just theorizing

fringe basalt
#

if a request has failed, it's dead

crude hearth
#

i dont really know if they even do that

fringe basalt
#

there's nothing to requeue

crude hearth
#

fair then

fringe basalt
#

if an OS was arbitrarily retrying failed requests under the hood, that'd cause a lot of issues

crude hearth
#

you are right ig

charred monolithBOT
sterile oak
charred monolithBOT
odd heath
#

how does it look like

dawn coyote
#

lol

nimble plaza
#

RATELIMITED THE WEBHOOK

#

LMAOOOOOOOOOO

dawn coyote
#

me when github gets ratelimited

odd heath
#

these finds wont work anymore anyway will they

nimble plaza
#

she apparently fixed it

#

but idk

#

they look horrible

odd heath
#

i dont think they really have to look good

#

you can just find the code easily through devtools

#

but idk

jagged cloak
#

i think as long as the find works and is robust it doesn't matter how it looks lol

#

how exactly do you make a find "readable"

odd heath
#

yeag thats my thought

nimble plaza
#

fair

odd heath
#

discord code is shitty how are you supposed to make it look good

dawn coyote
#
  • it's bundled so eh
shut vineBOT
#

@turbid hatch, <t:1718664348:R>: localisation into asar bundles for electron, packed into extension for web (do later)

limber skiff
#

they are playing with us aren't them

#

no bump...

jagged cloak
#

wtf

somber thorn
#

soonℒ️ ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

junior olive
#

oh bruh the forcedisable affects stable too? 😭

#

cf dashboard is unavailable wtf

austere talon
#

ye

charred monolithBOT
austere talon
#

there's no good way to determine if your local version is broken or not

junior olive
#

i mean

#

can we not access build numbers

#

anyways can they revert already

#

:dead:

crude hearth
#

just ignore canary users

#

why are we stable users losing feature because canary users client break 😒

glass jasper
#

canary on top

crude hearth
#

canary cringe

#

stable gang πŸ’ͺ🏿πŸ’ͺ🏿πŸ’ͺ🏿

glass jasper
#

stable gross

#

canary for the WTeehee

crude hearth
#

whats gross about it

#

its as stable as discord can get

jolly egret
#

its not even that cool because you don't have a visible canary before your links anymore!!!!

crude hearth
#

it doesnt get billion updates

glass jasper
crude hearth
#

and breaks vencord way later

glass jasper
#

imagine not being orange

crude hearth
crude hearth
#

bad

limber skiff
#

the point is pushing the update to all users so when it hits stable they can at least open their client and update

#

the plugins disabled cause a full crash

crude hearth
#

that is fair

#

tbh cant you guys implement a auto disable feature

limber skiff
#

however we are still waiting to see if discord will push to stable or not

rugged spire
#

it has been an entire day hollow

#

they didnt revert yet

crude hearth
limber skiff
#

they likely will but it's still a lot of work to fix the plugins, so it's worth waiting

crude hearth
#

yeah it might not be so easy to detect what caused crash

austere talon
crude hearth
#

are you gonna just look at what patched webpack module

#

and dsable the plugins that patched it

rugged spire
#

at this point im almost ready to build a thing to holdback discord script updates (this is a bad idea for sure)

limber skiff
#

it's probably possible in desktop

austere talon
limber skiff
#

you just need to overwrite the initial dom

#

since that's what has the scripts it loads

austere talon
#

like api.vencord.dev/overrides.json

#

that contains force disables

crude hearth
#

ig that would work

#

only thing left is detecting whether client is canary or stable and disabling depending on that

glass jasper
crude hearth
#

is it even hard to detect if client is canary
nvm its just DiscordNative.app.getReleaseChannel() (at least on full app)

rugged spire
#

this is about scripts that run discord's web app

#

NOT native updates (that are irrelevant anyway due to vesktop)

limber skiff
#

what we could have done was checked what was the build number the client was running

#

and only disable if it's higher than 302556

#

but it doesn't matter now

rugged spire
#

theres also GLOBAL_ENV.RELEASE_CHANNEL

charred monolithBOT
crude hearth
austere talon
#

i pushed this update not to fix canary

#

but to make sure people have a "working" discord once stable gets the update

crude hearth
#

yeah I get it, its not to affect stable people once it gets pushed

charred monolithBOT
limber skiff
#

but of course 302556 is hardcoded and no way to get it

crude hearth
#

well then whats the solution to tha

#

build number oh

limber skiff
#

okay I got a thing

somber thorn
limber skiff
#

nelly.tools

crude hearth
limber skiff
#

that wont work

crude hearth
#

why tho

limber skiff
#

need to run super early

#

I got a solution tho

crude hearth
#

whats it

limber skiff
#

nvm I didnt

crude hearth
limber skiff
#

let me cook wait

austere talon
#

GLOBAL_ENV.SENTRY_TAGS.buildId

crude hearth
#

that returns a hash tho

austere talon
#

so what

limber skiff
#

yeah

crude hearth
#

if you are gonna check specific version useful

limber skiff
#

im using that

crude hearth
#

but if you are gonna check versions above 419335

limber skiff
#

however vencord runs before the html is loaded

crude hearth
#

once discord pushes new update it would be useless no?

austere talon
crude hearth
#

technically you could use discord filenames as hash too

austere talon
#

to callback as soon as the script tag with GLOBAL_ENV is loaded

#

should still be early enough

crude hearth
#

ben

rugged spire
limber skiff
#

cookinggg wait

austere talon
#

the first script tag has global env

#

or even easdier

#
onceDefined(window, "GLOBAL_ENV", globalEnv => {
})
crude hearth
#

fear

limber skiff
#

I did this already troll

austere talon
#

no

#

onceDefined

limber skiff
#

that works too

crude hearth
#

defineProperty abuse was looking funnier

grave mangoBOT
# austere talon https://github.com/Vendicated/Vencord/blob/main/src/shared/onceDefined.ts#L21-L4...

onceDefined.ts: Lines 21-47

/**
 * Wait for a property to be defined on the target, then call the callback with
 * the value
 * @param target Object
 * @param property Property to be defined
 * @param callback Callback
 *
 * @example onceDefined(window, "webpackChunkdiscord_app", wpInstance => wpInstance.push(...));
 */
export function onceDefined<T extends object, P extends LiteralUnion<keyof T, PropertyKey>>(
    target: T, property: P, callback: (v: P extends keyof T ? T[P] : any) => void
): void {
    const propertyAsAny = property as any;

    if (property in target)
        return void callback(target[propertyAsAny]);

    Object.defineProperty(target, property, {
        set(v) {
            delete target[propertyAsAny];
            target[propertyAsAny] = v;
            callback(v);
        },
        configurable: true,
        enumerable: false
    });
}
limber skiff
#

onceDefined is defineProperty inside lmao

austere talon
crude hearth
limber skiff
#

^^ always has been

#

vencord is built on top of that

crude hearth
#

btw is update check and auto update being done after discord is loaded

#

or before everything

austere talon
#

oh wait

#

its !==

#

it only adds patches in specific hash we know works

limber skiff
#

yeah

#

what else can we do

#

its the stable hash

austere talon
#

i thought u made it so it only blacklists on a specific hash

#

which would be a bad idea

limber skiff
#

it didnt work either

austere talon
#

nah thats good, i just misunderstood

crude hearth
#

I think this approach is dumb but also dont have any alternatives

limber skiff
#

uh

#

better settings is crashing too apparently?

#

wait no

#

so many errors idk what caused the react crash

#

oh it's just decor is still initialized for some reason

crude hearth
#

you cant disable decor blobcatcozy

#

malware

austere talon
limber skiff
#

nah the patch got applied

crude hearth
#

soon rdb wont allow disabling too

limber skiff
#

my logic is just broken

austere talon
#

well instead of force disabling

#

you could also just see what causes crashes

#

but i was lazy

limber skiff
#

fixed

austere talon
#

push to dev first

limber skiff
#

it was the forEach because of splice

austere talon
#

why not just

#

patches = patches.filter(...)

#

lmao

charred monolithBOT
limber skiff
#

that works too

austere talon
#

way cleaner

#

or loop backwards so indexes don't shift

charred monolithBOT
limber skiff
#

it doesn't work with plugins that init as soon as possible

#

however they can't interact with webpack so it's okay

austere talon
#

well it's only temporary anyway

limber skiff
#

yeah

#

approved?

austere talon
#

looks good i think

#

but make sure canary works

limber skiff
#

I did

#

it works

austere talon
#

like that it actually works

#

oke

crude hearth
austere talon
#

then good

charred monolithBOT
limber skiff
austere talon
#

eh bad message

crude hearth
#

nuckyz backdoor soon

austere talon
#

name it "fix plugins on stable"

#

xd

limber skiff
#

I struggled with the message

#

DSFHDSFDS lmaooo

#

welp now it's a force push on dev

crude hearth
#

NO

charred monolithBOT
limber skiff
#

wait for it

#

that's dev2 still :)

austere talon
#

i will make venbot DM you every time nuckyz force pushes @crude hearth

rugged spire
#

you will push to dev branch and [fucking explode]

charred monolithBOT
verbal pumice
limber skiff
#

almost created a branch called mai

crude hearth
limber skiff
austere talon
austere talon
#

why did u type mai 😭

#

oh

#

main

charred monolithBOT
austere talon
#

i thought cause of my name

#

i was so confused

crude hearth
#

you cant do that

austere talon
#

it might break updater

#

not sure but i'd rather not find out

limber skiff
#

what will?

austere talon
#

force pushing stable

limber skiff
#

oh yeah

#

we should never do that

austere talon
#

yep

rugged spire
limber skiff
#

okay now people can complain less

austere talon
#

pretty sure force pushing main is blocked

crude hearth
#

I was doing on vencord+

#

I think it didnt really cause issues but idk

rugged spire
#

y'all be like: MERGE COMMIT IS A FUCK

austere talon
#

ofc

#

force pushing is normal

#

if you're not a total git newbie you're gonna force push a shit ton

crude hearth
#

stop normalizing force push

#

force push is evil and shall not beused

jolly egret
#

normalize adding malware by force push

crude hearth
#

imagine someone editing entire commit history via force push and secretly adding virus to one from 2 years ago

charred monolithBOT
charred monolithBOT
austere talon
#

you love

charred monolithBOT
austere talon
limber skiff
#

NAHHH

#

the nuckyz branch

#

@austere talon I really hope they don't take this long lmao

austere talon
#

lmaoo

austere talon
#

they pushed stable @limber skiff

limber skiff
#

NAHH

#

right as we push that lmaooo

#

we got work to do then

#

but I can only help later

#

first thing is introducing mangled finds again, and replacing all findByProps that depended on the export key

sterile oak
#

I wish I didn't reload my discord, it exploded husk

jolly egret
#

the amount of joins that are happening are so real

limber skiff
#

lmaoooo

crude hearth
#

unfortunate

sterile oak
austere talon
#

okay lets see

limber skiff
#

one sec ven

#

I'm adding back the webpack apis

austere talon
#

lets make a new branch

limber skiff
#

ye

charred monolithBOT
#
[Vendicated/Vencord] New branch created: 18-jun-doomsday
rugged spire
austere talon
#

we should split work

austere talon
rugged spire
#

while all of you explode your brains i will abuse vesktop very hard to get old build

charred monolithBOT
limber skiff
#

double check for me

austere talon
#

is this old code?

#

or did u write that just now

limber skiff
#

old

austere talon
#

compare to window

limber skiff
#

guhh

#

right

#

we need to mark windows as non enumerable

austere talon
#

im gonna fix all webpack commons

fringe basalt
#

now where's my admin

limber skiff
#

one sec I'm trying to keep this at least a little performant

#

I hate duplicating the code here

#

but idk if I should make a variable for if it has been found

#

probably

long stream
#

you never specified admin here

austere talon
#

im crying already @limber skiff

limber skiff
#

DSFHDSFDS

#

does a default export still exist?

austere talon
#

Z / ZP

limber skiff
#

(not Z)

austere talon
#

is default

#

oh

#

idk

limber skiff
#

I mean litearlly default

#

it makes no chance to check if it doesnt

#

WHY

crude hearth
#

2 default exports

#

love

odd heath
#

oh god

austere talon
#

like i said im fixing webpack commons rn

odd heath
#

well thisll be fun to watch get fixed

austere talon
#

we will need multiple mapMangledModules

crude hearth
#

I bet discord devs are staring at this channel and giggling

#

knowing what they have done

charred monolithBOT
jolly egret
#

what did they even change that broke everything?

#

must of been something core to how discord is built

crude hearth
austere talon
#

at least big components module still exists

tropic wagon
#

can't wait till somebody updates the class fixeroo tool again

#

good luck @austere talon

turbid hatch
#

how will this affect fishing season @austere talon

limber skiff
junior olive
still wasp
austere talon
limber skiff
#

I broke something

charred monolithBOT
crude hearth
#

how did you break another thing

limber skiff
#

good question

woeful sable
limber skiff
#

how did I break this

turbid hatch
#

sorry i havent been caught up

#

what actually specifically happened

crude hearth
#

nothing

#

vencord got nuked

#

everything is broken

turbid hatch
#

no i just wanna know

#

what did discord change

crude hearth
#

I think they changed minifier config again

#

and half of the function names disappeared

turbid hatch
#

ah

still wasp
#

It's joever

charred monolithBOT
crude hearth
#

increadible commit

#

@placid wave hello

limber skiff
#

what a lovely view

#

at least it logged in

charred monolithBOT
austere talon
#

INSANEEEE COPILOT

woeful sable
#

hey, it's trying

dawn coyote
#

wtf are the last ones

#

…or…or…or…or…or

odd heath
#

It always does that

#

Just gets lost

rugged spire
dawn coyote
#

train some ai model on vencord src and discord bundles

austere talon
#

wtf should we do with constants @limber skiff

#

rip constants module man

limber skiff
#

is it gone?

austere talon
#

i think

#

or at least mangled

long stream
#

it's mangled

limber skiff
#

dang

#

it serves no purpose anymore

#

not worth mapping it all

long stream
#

yea good luck mapping the over 3k strings discord has xd

austere talon
#

for the core constants

#

Endpoints for example

long stream
#

but that's still a big amount

limber skiff
#

ig

long stream
#

like at least 100 i think

austere talon
#

NUCKYZ

#

WE NEED

#

SETTINGSSTORE API AGAIN

#

😭

limber skiff
charred monolithBOT
austere talon
#

u love

limber skiff
#

lmaoo

austere talon
#

still need to fix settings stores and Constants

#

i think i will just mapMangled constants

silk cypress
#

good luck everyone venniepat

rapid merlin
#

Imagine Discord employees reading this chat and laughing😭
Hope your brains will not blow up o7

dawn coyote
silk cypress
dawn coyote
#

i’ve seen some in the past, yes

silk cypress
#

haha no way

dawn coyote
#

the devs itself aren’t the ones who write the ToS

silk cypress
#

I mean I don't blame them tbf

dawn coyote
#

the devs are just tech geeks somewhere as well

austere talon
#

how to help out

You can help out by just picking a few plugins and fixing them and sending a pull request!

rugged spire
#

is it stable enough to not crash as soon as it loads now?

odd heath
#

This comes after I went to bed smh

#

The worst thing is I'm gonna have to redo everything I did for friendssince for the new profiles won't I πŸ˜”

silk cypress
#

days like these make me want to find some way to force discord to load a certain client version somehow blobcatcozy unfortunately I don't know much about how the desktop client works

silk cypress
charred monolithBOT
silk cypress
jolly egret
#

i doubt so

austere talon
#

i'll write a quick summary of the changes and ping contributor role in a bit

limber skiff
#

I already said what you need to do

austere talon
#

where?

limber skiff
#

change the scripts the initial html loads

austere talon
#

ohhh

limber skiff
#

which means if it's possible, it would only be in the desktop client

silk cypress
rugged spire
#

dont worry I only sent my client into a crashloop

long stream
#

(it wouldn't be possible to do in the client itself anyway.. probably)

charred monolithBOT
silk cypress
#

actually I will just experiment with this later

if I can get it working on browser discord, that's enough of a win since mitmproxy seems to work weirdly with my os or just not proxy some apps

but hey who knows I'll try later

#

gn everyone, good luck with the doomsday vennieflower

austere talon
#

guhhhh reporter is broken gone @limber skiff

#

im crying the hell is that

limber skiff
#

what

#

how

#

I ran it earlier

austere talon
#

mmh

long stream
#

has there been any work on the messageeventsapi?

austere talon
#

let me just rerun

long stream
#

i wanted to fix it earlier but gave up cuz i don't know how to find the messagestore now

limber skiff
#

well

#

it's related to these errors

#

it's very easy to explode puppeteer with errors

austere talon
#

so annoying

limber skiff
#

@austere talon put a try catch here

#

I can try to set why it causes but for now lets not make it error

#

try catch or .catch

austere talon
#

swallow error?

charred monolithBOT
austere talon
#

yop worked

#

wait its not even that bad

rapid merlin
#

voice chat called "if you talk you explode"

18 users in vc

Vencord literally explodes

austere talon
#

Hello dear <@&1026534353167208489>s

Massive Discord Update

As you probably have noticed, Discord just pushed a massive bundler update that breaks a lot of plugins

It would be amazing if you could help us fix it by fixing a few plugins! You don't have to do a lot, even just fixing one plugin would already help.

Summary

DIscord Webpack modules are now once again mangled, which means that what was previously exports.FluxDispatcher is now exports.Ahj. So most findByProps are now broken and need to be changed to findByCodes. Some patches might also be broken.

⚠️ WARNING: the main branch has broken webpack search. Please base your work on the 18-jun-doomsday branch. PRs should also be filed against that branch. Please begin your PR title with doomsday fix:, this helps me organise PRs more easily

Make sure to state in this channel which plugin(s) you are fixing (& check if someone else is already fixing the same plugin) to avoid duplicating work

⚠️ WARNING: The following plugins are currently force disabled because they cause crashes. If you want to work on them, you need to remove them from the forceDisabled Set in src/plugins/index.ts: MessageLogger, ShowHiddenChannels, MoreUserTags, Decor, IgnoreActivities, NoBlockedMessages, BetterFolders, NoPendingCount

You can find a full list of broken stuff here

shell shuttle
#

hi

sterile oak
#

πŸ‘

shell shuttle
spark pivot
#

that is such a terrible change for us lol

#

its almost like they dont like us

austere talon
#

and sorry for the ping but i really need help here πŸ™

spark pivot
#

you're good lol

dusk hill
#

πŸ‘

austere talon
#

nop

long stream
#

im still interested in trying to fix it

pine wadi
crude hearth
spark pivot
#

i think i'll fix decor (or attempt to)

fiery jungle
golden gulch
#

I will check and work to fix usrbg and (if somehow it broke) spotify share commands, might not be until tonight or tomorrow night so anyone else who has the time can pick up on them as well if they want

sterile oak
austere talon
#

yes

still wasp
#

Is there a list of all broken patches?

austere talon
tidal prairie
#

πŸ‘

glass jasper
odd heath
#

Good luck on the fixing I might join in tmrw after uni if there's still a need for that then

real flower
#

omg

lament nimbus
#

i can try to help if I still remember how to do this kinda stuff

odd heath
#

Also I wanna fix friendssince as its my own plugin unless ofc you progress quick then idc just do what fixes it fastest :3

crude hearth
#

uhh how were we getting a inner object

#

via webpack find

#

I'm trying to get .I.FORM

limber skiff
#

find by props

austere talon
crude hearth
#

findByProps("FORM") = nothing

charred monolithBOT
austere talon
#

make sure you're using 18-jun-doomsday branch

crude hearth
#

oh

limber skiff
#

exports.I.FORMS?

#

yeah

#

it should work

austere talon
crude hearth
#

okay

spark pivot
#

how would i even fix stuff like this lol

austere talon
#

we are so back

charred monolithBOT
wary dew
#

grr

#

stupid flux events

crude hearth
#

we are back aswell

fringe basalt
#

we are back too

wary dew
#

how would you even fix flux events

austere talon
fringe basalt
#

omg why did it not become a message request

#

i hate discord

wary dew
rugged spire
#

this is awful

charred monolithBOT
austere talon
oblique hound
wary dew
#

vee, would you think a banner on their client would help lmao

#

"Vencord is currently broken. Please wait for everything to be fixed."

dusk blaze
#

tomorrow I'll set on fixing nodefaulthangstatus, will do my best

austere talon
wary dew
fringe basalt
crude hearth
#

having old discord open helps a lot ngl

#

I searched for slate editor for 5-10 minutes then realized I had old discord open

#

just looked at its code and searched through that

charred monolithBOT
wary dew
#

Summaries still work for me

crude hearth
#

suprizingly only 4 searches were broken

crude hearth
wary dew
crude hearth
#

ChannelTypesSets.SUMMARIZEABLE.has