#๐พ-core-development
1 messages ยท Page 235 of 1
at least we have a branch with the mangle fixes
I want to have everything compatible with this version and stable
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(\i:()=>\i,?){2}}/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)(\i)\?(\i\.MUTED)/
None
None
None
IgnoreActivities (had no effect):
ID: 293273
Match: ```
/HANG_STATUS.+?(?=!\i()(\i,\i)&&)(?<=(\i).push.+?)/
**__ImplicitRelationships (had no effect):__**
ID: `270759`
Match: ```
/(\(0,\i\.jsx\)\(\i\.TabBar\.Item,\{id:\i\.\i)\.BLOCKED,className:([^\s]+?)\.item,children:\i\.\i\.string\(\i\.\i(?:\["4bDptL"\])\)\}\)/
None
None
None
fuck
i have ignore activities and it should be compatable with stable
Now testing! 
no, they did revert I think
None
None
None
None
nelly.tools is slow behind
yall think this is gonna be the final nail in the coffin for BD or not yet
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(\i:function(){return \i},?){2}}/
**__ConsoleJanitor (had no effect):__**
ID: `173840`
Match: ```
/(?<=&&\()console.log\(`Deprecated.+?`\),/
ChatInputButtonAPI (had no effect):
ID: 258696
Match: ```
/return(!\i.\i&&(?=(\i.isDM.+?(\i).push(.{0,50}"gift")/
**__IgnoreActivities (had no effect):__**
ID: `293273`
Match: ```
/HANG_STATUS.+?(?=!\i\(\)\(\i,\i\)&&)(?<=(\i)\.push.+?)/
ShowTimeoutDuration (had no effect):
ID: 464891
Match: ```
/(\i).Tooltip,{(text:.{0,30}(?:.AeYyLy)))/
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?=&&\i\.\i\.selectVoiceChannel\((\i)\.id\))/
iLoveSpam (had no effect):
ID: 598077
Match: ```
/if((\i)<=(?:1<<30|1073741824))return/
**__MentionAvatars (had no effect):__**
ID: `644956`
Match: ```
/children:\[\i&&.{0,50}\.RoleDot.{0,300},\i(?=\])/
OpenInApp (had no effect):
ID: 952164
Match: ```
/!(0,\i.isDesktop)()/
**__BetterSettings (had no effect):__**
ID: `493544`
Match: ```
/\(0,\i\.useTransition\)\((\i)/
Settings (had no effect):
ID: 991346
Match: ```
/({(?=.+?function (\i).{0,160}(\i)=\i.useMemo.{0,140}return \i.useMemo(()=>\i(\3).+?function(){return )\2(?=})/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)if\((\i)\)return (\i\.MUTED);/
ShowHiddenChannels (had no effect):
ID: 473403
Match: ```
/.LOCKED;if((?<={channel:(\i).+?)/
**__BetterFolders (had no effect):__**
ID: `179809`
Match: ```
/(?<=(?:\.xV9hVl).+?useTransition\)\()/
ShowHiddenChannels (had no effect):
ID: 424785
Match: ```
/!(\i).isRoleSubscriptionTemplatePreviewChannel()/
**__ViewIcons (had no effect):__**
ID: `217314`
Match: ```
/.Avatar,.+?src:(.+?\))(?=[,}])/
ViewIcons (had no effect):
ID: 753898
Match: ```
/.Avatar,.+?src:(.+?))(?=[,}])/
**__ImplicitRelationships (had no effect):__**
ID: `270759`
Match: ```
/(\(0,\i\.jsx\)\(\i\.TabBar\.Item,\{id:\i\.\i)\.BLOCKED,className:([^\s]+?)\.item,children:\i\.\i\.string\(\i\.\i(?:\["4bDptL"\])\)\}\)/
CtrlEnterSend (found no module):
ID: -
Match: ```
.ENTER&&(!
**__FakeNitro (found no module):__**
ID: `-`
Match: ```
.PREMIUM_LOCKED;
MessageLogger (found no module):
ID: -
Match: ```
useMessageMenu:
waitFor("FormItem", "Button")
waitFor("MenuItem", "MenuSliderControl")
findByProps("ModalRoot", "ModalCloseButton")
findByProps("openModalLazy")
proxyLazyWebpack(()=>Hr.openModalLazy...)
proxyLazyWebpack(()=>Hr.openModal...)
proxyLazyWebpack(()=>Hr.closeModal...)
proxyLazyWebpack(()=>Hr.closeAllModals...)
findExportedComponent("BlobMask")
findByProps("useMessageMenu")
findComponentByCode("Button.Sizes.NONE,disabled:")
findExportedComponent("HiddenVisually")
findExportedComponent("ColorPicker", "CustomColorPicker")
findByProps("useStatusFillColor", "StatusTypes")
findExportedComponent("Dots", "AnimatedDots")
findComponentByCode(".AvatarSizeSpecs[", "getAvatarURL")
None
None
Not really?
you fixed Menu find vee
you tested wrong branch broski
Last times I used it it always was up to date with new builds just after they released
oh nvm
what even happened here
why is that only broken in stable
we didnt touch that patch
i touched it
my Menu changes should be compatible i think
but someone should test
it went from if statments to massive terenary
you did?
not sure if theres a way to make it compatable
i have such a good idea for a plugin and yet everything is exploding right now
oh I didnt see
should be compatable with stable (havent checked yet)
ingore
yop
@limber skiff implicit replationships is done (really easy)
guhhhhh you merged my pr
I didnt lmao
i merged manually
but it closes pr when I do that
push to your branch
bestie i can get u the code of any build hash
@median rapids implicit replationships patch so easy
https://github.com/Vendicated/Vencord/commit/46615a0653d75817c62d141b718ddc11ea4bed9c
fire
i love merge commits 
git tui inside of gui editor
yop
WHY
only way i can use git and stay sane
vtest mangle-everything
Now testing! 
do you not use any vscode git functionality at all
github pull requests extension
gitlens blame
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i){2}}/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)(\i)\?(\i\.MUTED)/
None
None
None
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i){2}}/
None
None
None
@limber skiff i dont think you fixed the replace for premissionfreewill
(to be compatable)
ay
wasnt permissionfreewill broken in other ways too since forever
or does it just not do what i expect it to do
im going to test it later (idfk how you can even remove perms from yourself via only onboarding)
you can add your own highest role to onboarding
vtest mangle-everything
Now testing! 
can i just say this is the worst possible branch name you could have possibly chosen
DONT GIVE THEM IDEAS
im scared of fixing the shc ones
DLGHDFGDFGDF
why
see the images i sent earlier
oh yeah did you remove max export key length check too?
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i,?){2}}/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)(\i)\?(\i\.MUTED)/
None
None
None
to make compatible
so yes you did?
None
None
None
None
TERNARY HELL
cause all modules have mangled and named export, no?
vtest mangle-everything
Now testing! 
how long will it be until everything is fixed
(and can I help if that will be a while)
wdym?
its almost done lol
^
i thought u were replying to that
so
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i[,}]){2}}/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)(\i)\?(\i\.MUTED)/
None
None
None
PJ CP,E PM
is it safe to base a feature branch on this soon
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i[,}]){2}}/
None
None
None
@limber skiff i can make the SHC patch work on stable but i think it will be a bit cursed
do what im doing
match something that changed
and have to patch versions with ternary
at that point just put both in
one will fail
or wdym by ternary
based on what
what condition
vtest mangl-everything
oop, that didn't go well ๐ฅ
vtest mangle-everything
Now testing! 
i should add error handling maybe lmaoo
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(?:\i:(?:function(){return |()=>)\i[,}]?){2}}/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)(\i)\?(\i\.MUTED)/
None
None
None
should i add discord version tracker to venbot
.
you can run some command and it tells u hash & age for every branch
None
None
None
None
what now?
it could also post in some channel
OH OF COURSEEEE
guhhhh do we still need to fix settings?

this means it finds the wrong Switch component lol
there is FormSwitch and Switch
FormSwitch is this entire thing
Switch is just the switch
btw
check module 177508
the design systems page
it makes it super easy to find components
j7V = FormSwitch
it basically has description for every component
and it has almost every component
someone fix the switcher
Make it poll every 10m and run reporter on dev for canary on Updates and reporter on main for stable updates
In extra channel though so this doesn't get cluttered
10m
weak.
there's no real reason to poll more often
there is
That being?
@limber skiff do you care about the SHC patch being compatable with stable
yes, everything
did u see this @limber skiff
or rather did you use that when updating finds
fair
you fixed menu api?
๐ญ
@rugged spire you should see this https://github.com/sadan4/Vencord/commit/4b8320bed099bc5f6ec6652ccf9bc1713745558c
what the fuck
underreaction
hey thats me....
You know you can make a non capturing group and make it optional, right?
thats what i did?
does that do what i think it does
hold on I gotta think
nop
it's not right
one single module will run its code without patch, require .Menu, which thens runs the code to start patching the modules
I need to listen for factory added instead
actually maybe you should open PR instead cause else I steal credit LOL
thanks lol
@limber skiff did you take a look at my SHC compat patch or is it too cursed
can we like go back in time to when I created ContextMenuAPI
let me see how I did it
oh so this is what u meant by ternary
history is fire
can't wait for everyone to get those commit names in their updater
should add a FIXME comment on all ternaries
thats why we squash
yep
this is so ugly
one sec
LOL fire
anything left to do
i lied
Someone should check if they reverted by now
love
BEAUTIFUL
we probably don't even need LazyComponent here anymore because lazy allows accessing properties immediately
we should just have both (I added extra group so it's more clear it's the same flag)
match: /if\((\i)<=(?:(?:0x40000000|1<<30)|1073741824)\)return/,
seems a bit too generic
just in case (typeof null is object)
if (typeof exports !== "object" || exports === null) {
probably don't need to wrap this in LazyComponent
pretty sure its checked earlier
should be able to just remove this since it'll be covered by the nested loop (not to mention that default is .Z and .ZP, no?)
actually I think there are like a few modules that use default still
LOL yeah
246 modules
look inside
206
peak
oh
inb4 we spendall this time making it compatible with stable then once we're done they push to stable
love spotify controls
i have it fixed, but it looks like some ui changes were made
(pushed the fix to my branch)
wait
context menu api isnt working lol
uhh
@austere talon you really have to review my patcher rewrite
the api cant patch everywhere because patches run too early
it tries to patch one before the Menu module was even loaded into the factories object
actually it tries to patch like 10 before it can actually do it
None
None
None
None
jumpscare (i deleted)
are you sure
yes
vtest mangle-everything
Now testing! 
literally the function right above xD
hmm
I see
ShowHiddenChannels (had no effect):
ID: 473403
Match: ```
/(?<=.wrapper:\i.notInteractive,)(.+?)(\i)?(\i.MUTED)/
None
None
None
None
None
None
None
wait
if discord uses the re-export from the big module for .Menu
this wont work
omggg shit ass
lmaooo
they do it..
navId has false positives
does it matter
adding contextMenuArguments prop to random shit shouldn't really matter
and you could think to match the {
but they sometimes do other things before navId
honestly it's gonna have to be that for now
because we patch before stuff is even required everything is out of order
just make the patch like
match: /navId:"(.+?)"/,
replace: "$&,contextMenuArguments:typeof arguments..."
who cares if it has some false positives
I cant do magic to acquire first -> acquire export from big module
because big module might load before the first export
doesnt work
they use variables
why
sometimes
it's all inconsistent lol
actually
onClose, onSelect and aria-label are required menu arguments
if you wanna eliminate false positives, you can look for those too
but it will be annoying cause order might be different lol
im gonna end up patching destructuring like this
which
yeah true but
also missing this
is that not exported from the other Menu stuff
hold on let me try something
nope
insane
(its why spotify controls is erroring)
add these in place
export const Menu = {
MenuSliderControl: ...
};
alr
what
hmm
I think modals are still broken
ehh I will leave for now
it's good to wrap these because lazy component renders null if nothing was found
vtest mangle-everything
Now testing! 
@limber skiff i might be going crazy, but how would you findByCode on 739007
what component is that
(dont need a find, but finds that i try just dont work and idk why)
Menu.MenuSliderControl
ShowHiddenChannels (had no effect):
ID: 473403
Match: ```
/(?<=.wrapper:\i.notInteractive,)(.+?)(\i)?(\i.MUTED)/
None
None
None
are you using findComponentByCode
i cant get any results even with findByCode
it's modals
or filters.componentByCode
None
None
None
None
because its a forwardRef
u need to use the proper filter for it
the componentByCode filter
you need to use findComponent* for forwardRefs
its fineee
now, why are modals not working
can you debug it for me
I'm so tired lmao
guhhh thanks, i was being stupid
this seems like you double wrapped
whats left to do @fossil inlet
idk if mapMangledModuleLazy works well for components
just finished spotify player
it works fine
if I used the correct filter it works fine
annd I didnt
okay let me debug
still doesnt work
whats the point of these function matchers?
exports are now arrow functions
but on stable normal functions
the minifier is way more agressive now
oh so that's for matching the export signature okay
and it works for all menus on both stable and canary?
oh wait
nvm im dumb
that's only the menu component lol
you should add a comment explaining what this (and the match) does so it's less confusing
no, i dont like them either 
good riddance
is there anything left to do
context menus are working for me and i have the finds for custom menus pushed
Now testing! 
None
None
None
None
reverted 
nop
PermissionFreeWill (had no effect):
ID: 156699
Match: ```
/{(\i:function(){return \i},?){2}}/
**__ConsoleJanitor (had no effect):__**
ID: `173840`
Match: ```
/(?<=&&\()console.log\(`Deprecated.+?`\),/
ChatInputButtonAPI (had no effect):
ID: 258696
Match: ```
/return(!\i.\i&&(?=(\i.isDM.+?(\i).push(.{0,50}"gift")/
**__IgnoreActivities (had no effect):__**
ID: `293273`
Match: ```
/HANG_STATUS.+?(?=!\i\(\)\(\i,\i\)&&)(?<=(\i)\.push.+?)/
ShowTimeoutDuration (had no effect):
ID: 464891
Match: ```
/(\i).Tooltip,{(text:.{0,30}(?:.AeYyLy)))/
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?=&&\i\.\i\.selectVoiceChannel\((\i)\.id\))/
iLoveSpam (had no effect):
ID: 598077
Match: ```
/if((\i)<=(?:1<<30|1073741824))return/
**__MentionAvatars (had no effect):__**
ID: `644956`
Match: ```
/children:\[\i&&.{0,50}\.RoleDot.{0,300},\i(?=\])/
OpenInApp (had no effect):
ID: 952164
Match: ```
/!(0,\i.isDesktop)()/
**__BetterSettings (had no effect):__**
ID: `493544`
Match: ```
/\(0,\i\.useTransition\)\((\i)/
Settings (had no effect):
ID: 991346
Match: ```
/({(?=.+?function (\i).{0,160}(\i)=\i.useMemo.{0,140}return \i.useMemo(()=>\i(\3).+?function(){return )\2(?=})/
**__ShowHiddenChannels (had no effect):__**
ID: `473403`
Match: ```
/(?<=\.wrapper:\i\.notInteractive,)(.+?)if\((\i)\)return (\i\.MUTED);/
ShowHiddenChannels (had no effect):
ID: 473403
Match: ```
/.LOCKED;if((?<={channel:(\i).+?)/
**__BetterFolders (had no effect):__**
ID: `179809`
Match: ```
/(?<=(?:\.xV9hVl).+?useTransition\)\()/
ShowHiddenChannels (had no effect):
ID: 424785
Match: ```
/!(\i).isRoleSubscriptionTemplatePreviewChannel()/
**__ViewIcons (had no effect):__**
ID: `217314`
Match: ```
/.Avatar,.+?src:(.+?\))(?=[,}])/
ViewIcons (had no effect):
ID: 753898
Match: ```
/.Avatar,.+?src:(.+?))(?=[,}])/
**__ImplicitRelationships (had no effect):__**
ID: `270759`
Match: ```
/(\(0,\i\.jsx\)\(\i\.TabBar\.Item,\{id:\i\.\i)\.BLOCKED,className:([^\s]+?)\.item,children:\i\.\i\.string\(\i\.\i(?:\["4bDptL"\])\)\}\)/
CtrlEnterSend (found no module):
ID: -
Match: ```
.ENTER&&(!
**__FakeNitro (found no module):__**
ID: `-`
Match: ```
.PREMIUM_LOCKED;
MessageLogger (found no module):
ID: -
Match: ```
useMessageMenu:
waitFor("FormItem", "Button")
waitFor("MenuItem", "MenuSliderControl")
findByProps("ModalRoot", "ModalCloseButton")
findByProps("openModalLazy")
proxyLazyWebpack(()=>Hr.openModalLazy...)
proxyLazyWebpack(()=>Hr.openModal...)
proxyLazyWebpack(()=>Hr.closeModal...)
proxyLazyWebpack(()=>Hr.closeAllModals...)
findExportedComponent("BlobMask")
findByProps("useMessageMenu")
findComponentByCode("Button.Sizes.NONE,disabled:")
findExportedComponent("HiddenVisually")
findExportedComponent("ColorPicker", "CustomColorPicker")
findByProps("useStatusFillColor", "StatusTypes")
findExportedComponent("Dots", "AnimatedDots")
findComponentByCode(".AvatarSizeSpecs[", "getAvatarURL")
None
None
okay would be funny if they did
They pushed the canary stuff 15 minutes after stable xd
IT KEEPS FLASHING
I can't even see it rn xd
GOOD
mine used to flash like crazy, but for it to be accepted, i had to increase the duration each frame stays on screen
syntax highlighting my beloved
hater
most useless nesting usage ๐ญ
nop
img[class*="avatar"]:is(
[src^=],
[src^=],
...
) {
display: none;
}
i like nesting 
sadan the type of guy to write
.foo {
&.bar {
&.baz {
}
}
}```
instead of
```css
.foo.bar.baz {
}

only if im also adding a class for .foo.abc
thanks google, of course i want to translate the zero portugese on this page
still need the other one
that one looks really easy and not that cursed
(not joking)
did it
bit saner than mine too
modal is still not working
how can i repro, i can open custom modals open fine
vtest mangle-everything
Now testing! 
permissions viewer
try to view the server permissions
None
None
None
None
None
None
None
None
incredible
time to revert
@fossil inlet are you looking into it
yea
they have pushed this change numerous times before, it would be nice to be prepped for it for if they keep this change for once
so the patches currently work with both
Then it times to discontinue discord, im switching to TeamSpeaks
what's that
we should see if we can make js not hold onto every single module source ๐ญ
memory tab
I've already tried
is that just patched modules or all modules
also why tf does it have source for unpatched modules
all the ones that don't start with // Webpack Module comment are unpatched
im assuming all modules cuz vencord has to look through every module for finds
lmfaoo
why does permissions viewer not work ๐ญ
the biggest string is source mapping url (only included in dev build)
hmm interesting
so the function itself holds it
can you check with my branch
patcher-rewrite
I tried to release the most memory I could
tostring cache?
dw it's not much better on non-dev
vencordPatchedSource my beloved
how do you know
so this?
anyway im so confused wtf is holding onto those strings
why is there 0,
actually lemme check without vencord
can you please test my branch vee ๐ญ
we do that but if the module is not patched, then this variable is not referenced by anything
I already thought a lot regarding all of that
tomorrow
still bad
if you want a tip
I'm pretty sure it's the wrapped factory we do
it holds a reference to everything in its context I'm pretty sure
you cant tell me js is this stupid
it is
it should only hold references to stuff it actually uses
that's why I moved patching to a different function
and only return the patched function
i will test tmrw
u gotta set the code to null
for it to be freed
alright why
it is right?
hmm
it's ScrollerThin
it seems like a normal component, no?
@austere talon does this seems weird to you
it's the only component that has issues
discord on their way to enable stronger mangling to shave off 10kb then have 3 million useless modules like this
yeah
so that's not a component itself but rather it creates a component
you found createScroller()
you need to find these
no fuckng way I gotta call that function
oh
function createScroller() {
return forwardRef()
}
const ScrollerNone = createScroller(none, fade, customTheme);
const ScrollerThin = createScroller(thin, fade, customTheme);
const ScrollerAuto = createScroller(auto, fade, customTheme);
your find finds createScroller
you are right
it's all done now
oops
and i would add ScrollerAuto and ScrollerNone too while we're at it
since it's so easy
mirror this
waitFor(filters.byCode("forwardRef", '="ltr",orientation:', "onScroll:"), m => createScroller = m);
done
why don't they strip them ๐ญ ๐ญ
Now testing! 
this took so fucking long
None
None
None
None
should we merge or what
None
None
None
None
also remind us to NEVER rely on unmangled shit again
Why does github show you on my commits ๐ญ

yo @heady gyro can u merge https://github.com/discord/discord/pull/181251 for me pls
nah Im too busy workin on the revert to make all this work pointless
do all the css modules have comments or just that one?
Now testing! 
None
None
None
None
None
None
None
None

ill check in a sec
icon viewer isnt dead yet 
all the icons got their own module
(if not all, then a lot)
does it still exist?
i fr couldnโt live with out that pluger
no, there are non-icon exports in the icon module
yes but the keys are now mangled too
and like 150 re-exports disappeared, most icons iirc
i have 14 errors from that alone
i was playing around with a plugin and blindly reloaded my working canary client
thankfully Vencord didnt have much
(I always tried avoiding those)
but that components file took me so long to fix
i used it way too much because finds are so painful to write all the time
tbh for icons you can just copy and paste most of the time
now imagine doing this

which ones
how will iconviewer work from now on
Rip IconViewer
how does findExportedComponent even work for this?
technically it should return the value of Icon
oh it is
something isn't right
something is still wrong lol
FormText
here's a JSON file containing a list of every discord icon, rendered as HTML
and code to generate it
this may or may not be a useful resource for reference later
yeah I just inverted them
im gonna compare all wp commons with stable
keep the same find vee
tag and h5 is soo generic
okay there
that should be wayy more specific now
ngl this one I just confused when writing the code lol
okay i compared to stable it's right now
how so fast lmao
well
i didnt compare commons
i compared ui

i got too lazy to compare components
cause proxied 
yeah
anyway
tested a bunch of shit it all works
lets merge
but dont push tag yet
one sec one sec
@rugged spire do i finish the vencord reporter that runs on every update, or live patching in companion
latter is more useful
vtest
Now testing! 
None
None
None
None
None
None
None
None
vtest discord-fixes
Now testing! 
None
None
None
None
None
None
None
None
keep it in dev or push to main
by push to main, do you mean push a tag?
push to main branch only
time to bother 5 different userplugin devs 
ehhh, idk
my feature branches are cooked
i decided to have this in venbot instead
depends
r u going to sleep? keep in dev
staying up for some more hours? push to main but no tag
cause im gonna sleep now 
we dont wanna push to main then theres some horrible bug
typical
lets push tomorrow then
aight
I'm tired too lol
lets pray they dont push to main yet lolll
im not making it just for here + already made and working
nah it's past their work time
last build was two hours ago
unless then push to stable at the first thing in the morning
which I doubt they would
apparently the last push they did to stable they reverted the changes just to push
and then applied them again to canary

lmao
probably closed as Informative / N/A but it's worth the shot (and foldie told me to report)

how do they even mess this up
make bundler more aggresive and then their css is just not stripped at all
it isn't even minified right?
i wonder if theres anything funny in the css comments
i think ill skim them someitme
vee found a lot already
there's a lot of funny
I still feel like this was just some unpaid intern who accidentally pushed it again and theyโre gonna revert when Daddy Jason finally realizes
i downloaded all files
did any other css have comments?
most files do
If I see you in h1 feed ill celebrate with dr. Pepper
or they just ghost me again like for this report ๐ฅ
discord taking revenge for me ghosting PRs 
Oh my husk
What um
Severity was it
lmao no way
it's a sandbox escape
personally I would say it's pretty severe considering a Discord staff (Night) reached out to all client mods because of Sandbox Escapes

i will find and use to make userpluginupdater without native 
you unironically could lmaoo though it wouldn't be very practical
Do you have to execute code on the client for kt to work?
do you know what a sandbox escape is
RCE
did discord leave in preprocesser stuff
escape the browser sandbox, i.e. execute code on the host from inside the browser
Give me a break i just woke up from a 2 jojr name ๐
2 hour nap
โ2 jojr nameโ ๐ฃ๏ธ ๐ฃ๏ธ
Vencord X BetterDiscord collaboration when?
2026
Vettercord
I gave Zere advice earlier
You did? About what?
business secret
Was it plans to overthrow the us government
@fossil inlet, <t:1738041480:R>: look into this
cf28c65 Add IrcColors plugin (#2048) - jedenastka
f29662c feat(ViewRaw): add View Role option (#3083) - vishnyanetchereshnya
3350922 LastFmRPC: Add option to hide if there is anoth... - Vendicated
c4f8221 IrcColors: Make lightness apply without restart - Nuckyz
ceba977 Delete MoreUserTags for now because it's unstable - Vendicated


what is this horror
im trying without dev now
dont think so
i cant find it now
lol what even is this
I dont know but it's all sentry
@fossil inlet, <t:1738127980:R>: look into this
it's just the chain of things that hold reference
the top most is what holds the reference and the chain is what holds the reference to the thing that holds the reference (if I understood correctly)
please send a less narrow screenshot ๐ญ
the js parts of the desktop modules are still unminified
it's already kinda better
all my PRs will explode
where's that from lol
homegrown hn
Discord has forced me to fix the code. I still don't know what icon to use
he wrote it
just brute force module loader lmaoo
oh lol lmaoo
NOT ME
I meann it's fine for whatever purpose it was made probably
idk who wrote it originally honestly
yay vencord dev seal of approval
the only reason Vencord one is so complicated is to mimick the order Discord loads the modules in their code
but if you don't even require them after loading, then it doesn't matter
i didnt notice the rest of the plugin was still broken
they inlined the MenuItem
mega ugly regex time
how would you get the build number from within vencord
@fossil inlet I AM GOING TO RIVAL YOUR CURSED PATCH
https://github.com/Vendicated/Vencord/blob/main/src/plugins/_core/supportHelper.tsx#L74 the debug command gets vencord info so ig start from there
supportHelper.tsx: Line 74
async function generateDebugInfoMessage() {
pure horror
that was only that cursed because it supported both of these versions
will send imahe
not the point
the discord build number
ohhh
should have been more clear
@fossil inlet is doing funny reporter things
yop
haven't you tried using the react devtools and select the build number text element?
nvm, discord doesn't display the build number
nvm I'm just blind
its inlined
@fossil inlet@fossil inlet@fossil inlet@fossil inlet@fossil inlet MY UGLY PATCH https://github.com/Vendicated/Vencord/pull/3137/commits/b2e87e64bed4cee1c17495a737ce4a0f2ef17349
i swear thats a plugin
maybe not???
thats been a thing since a long time ago
I've fixed the patch for the button being broken now, though for some reason there is a huge delay when clicking the button?
?remindme 18h fix
Alright @rugged spire, in 18 hours: fix
The probability of that happening is extremely low!!! If this bug happens to someone, they should play the lottery
Anyway, you're right, I'll be working on a version using snowflake or an alternative to avoid generating weird words
Quiet night last night I see, only 800ish messages
@xPaw i fixed this, finally had time to touch it
Pls no I want a quiet day 
I will push the fixes to main once I wake up for real
so that I can actually fix issues that might arise
oh wow the actually are pushing this this time huh
vtest
Now testing! 
None
None
None
None
None
None
None
None
whos the employee pushing to PTB during the middle of the night lol
someone got bored
literally pushed at 1am
i actually wonder why they do that tbh
like unless anything is really wrong why push in the middle of the night where resources are low to fix it if something is even more fucked up after
even though yeah, they're testing clients i think the users would appreciate a working discord client lol
they've done the same with stable before
canary -> stable at 1am
I don't understand either
sounds more dangerous than its worth
I'm on ptb on the mangle-everything branch and the only thing I've stumbled across so far is that this MenuSearchControl crashes
https://github.com/Vendicated/Vencord/blob/7ec15c94a28b2d3aecc0eaf6cf71166405cd658c/src/plugins/betterSettings/PluginsSubmenu.tsx#L47
PluginsSubmenu.tsx: Line 47
<Menu.MenuSearchControl
any reason we don't have a reporter for ptb?
PTB used to always match canary
why even exist then
apparently there's eu staff that sometimes push
test in dev
so what we waiting for to push the mangle fix?
for it to be pushed to stable probably
oh wait
we kinda made the patches work for both
they did push to stable
well they said MenuSearchControl
lol
maybe someone who works remote? no idea
waitFor(filters.componentByCode('"input",{role:"searchbox",'), m => Menu.MenuSearchControl = m); works
did they?
Guhhuhhhh I fixed that yesterday
Search or Slider?
idk the build number is unchanged since from before mangling
is it
yop
latest stable
which is also now ptb
nop ptb is on another rn
weird
so they had a whole separate build for ptb and stable that doesn't have mangling
yop
ptb does have mangling right now
is it bc dev needs checks
So nuckyz can play
yea but this was on ptb earlier
thanks @scenic brook
np
something something nuckyz like to do stuff on his dev and he can't push to dev without workflow checks being good i think
idk the full story
but dev2 exists because why not
yeah that
dev is protected by tests
so I need workflow to run
dev2 or any other isn't, so I push it to run to workflows then push to dev
i see
look at patchWebpack in patcher-rewrite branch to see how to get build number
Is it just me or is openModalLazy broken?
in dev?

