#๐พ-core-development
1 messages ยท Page 289 of 1
it works for me randomly 
r u enjoying ur highlight function
I just moved this locally to shiki
what even is the point of shiki tbh
Ill separate it tho
shiki so good
normal codeblocks are good
why
tells me what lang thats why I like it
whats better in it
you have better syntax highlighting
and better coloring
and you can make it match your theme
hljs kinda sucks compared to textmate
eh
port shiki to the extension @fossil inlet
@fossil inlet did you fix the paginator
whoops
It's just that left
got distracted
what plugin causes this
rdb
works for me ๐ค
I think in the reviewdb modal
yop
did you open search or smth before
nope
restarted my discord and still works lol
the chunk that has the paginator is 30501
๐ญ
so good
does it even still make a difference
pink css glow really fitting the vencord branding
settings don't even load slow anymore
I feel like paginator will be difficult to load without loading an entire page
yeah
yeah that's fine tho
Today has made me realize that discord might just be shitcode sometimes why did half my guild icons just get up and leave ๐ญ
tbh i barely know how to use extractAndLoadChunksLazy
read the function description
export const requirePaginator = extractAndLoadChunksLazy(['name:"SearchResults"'], new RegExp(`${DefaultExtractAndLoadChunksRegex.source}.{0,50}?name:"SearchResults"`));
ah ok
see if it works
just import what's needed
tho you are going to need to await that one
do something like that but for the review db modal
why is nothing working 
nice
can you pull to dev3 and run reporter
vtest dev3
Now testing! 
BetterFolders (took 11.8ms):
ID: 43201
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
**__VencordToolbox (took 11.1ms):__**
ID: `601117`
Match: ```
/(?<=trailing:.{0,50})\i\.Fragment,(?=\{children:\[)/
findComponentByCode("discriminatorClass:", ".isMobileOnline", "getAvatarURL")
BetterFolders (took 12.7ms):
ID: 43201
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
**__BetterSessions (took 14.9ms):__**
ID: `74612`
Match: ```
/(?<=Icon:(\i).{0,250}className:\i\.\i,children:\[)/
findComponentByCode("discriminatorClass:", ".isMobileOnline", "getAvatarURL")
are reviews loading for you
@limber skiff you love
yes but slow
I broke it ๐
as long as it works

i should test that
It's fixed in dev already ๐ญ
wait
nop
I forgot to push
it was in dev2
vtest dev3
Now testing! 
?remind 3d make vtest work on prs
Alright @fossil inlet, in 3 days: make vtest work on prs
I did this but it was bad
BetterFolders (took 11.1ms):
ID: 43201
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
Seems like everything is working fine (for now) 

wydm
ended up making it clone the branch and running it
got any smart pills
I see how it is
add an aiapi

vtest dev
Now testing! 
one last test
I need gemini to end my friendships on discord
reportBrokenPlugins.yml: Lines 4-29
inputs:
repo:
type: choice
required: true
description: the repo to run in
options:
- Vendicated/Vencord
- sadan4/vencord
default: Vendicated/Vencord
branch:
type: string
required: true
description: the branch to run the reporter on
default: dev
discord_branch:
type: choice
description: "Discord Branch to test patches on"
options:
- both
- stable
- canary
default: both
webhook_url:
type: string
description: "Webhook URL that the report will be posted to. This will be visible for everyone, so DO NOT pass sensitive webhooks like discord webhook. This is meant to be used by Venbot."
required: false
BetterFolders (took 10.9ms):
ID: 43201
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
**__VencordToolbox (took 20.3ms):__**
ID: `601117`
Match: ```
/(?<=trailing:.{0,50})\i\.Fragment,(?=\{children:\[)/
MessageLogger (took 10.9ms):
ID: 186168
Match: ```
/(\i).type===\i.\i.MESSAGE_GROUP_BLOCKED||/
**__BetterFolders (took 12.8ms):__**
ID: `43201`
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
the commit messages are so consistent ๐ฅ
already did
vext
The Vencord Chrome Extension is out of date! (v1.14.9 vs v1.14.10)
watch them approve in 1hour again
It's so cooked if they revert
eh it's on stable now, i doubt they'll revert
bro removed my funny comment but didnt fix the shitcode
genId: () => crypto.randomUUID()
smh
nooooooooo
anyway just leave it now 
, [eC,eR] = a.useState(Vencord.Plugins.plugins["SuperReactionTweaks"].shouldSuperReactByDefault && intention === ef.EmojiIntention.REACTION)
how did this happen lol
oh god its matching this in nirvana
it used to be this
The Vencord Chrome Extension is up to date! (v1.14.10)
LOVE
@grizzled halo chrome team clutching up
hell yeah
they are so fast nowadays
they really did start using ai
can u update ur message in known issues satan

nction
@limber skiff guess what
๐
well its not crash loop so it doesnt matter
only crash when opening a specific menu
im talking about something else
crash when viewing forum channel post
discord will navigate you back to it on reload
crash again

yes
but it causes the duplicate module error from yesterday
what plugin
shc i think
its not OverrideForumDefaults
in fact... I like it shouldnt cause it, ill double check at some point
I knew it
it was
is this supposed to be this big
i can reproduce in the server the original reporter linked me
this is so out of place lmao
works fine 
in .gg/gJnyF4Aw
crashes for me
try joining?
we should add acronym search
was just thinking that lol
It's broken
the big part isnt supposed to be visible
figured
that plugin IS a mistake
yeah
should be really easy to do
just check if search matches all uppercase letters of the plugin name
lmao
love
how is it even getting h
lets add fuzzy search
CrashRecovery plugin should clean that plugin's store @limber skiff
so it doesnt navigate back
why
because its meh
seemed a bit inconvenient
make it always apply if recovery fails
if it succeeds then dont
isn't that how it already works
and make it always clean the settings of the KeepCurrentChannel plugin
this setting isnt the issue
when you ctrl r discord already doesnt remember
discord puts you at home
but the keepcurrentchannel plugin will navigate back to the problematic channel
CrashHandler needs to just reset the KeepCurrentChannel plugin
diff --git a/src/plugins/crashHandler/index.ts b/src/plugins/crashHandler/index.ts
index 04786132e..976b29865 100644
--- a/src/plugins/crashHandler/index.ts
+++ b/src/plugins/crashHandler/index.ts
@@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import { DataStore } from "@api/index";
import { showNotification } from "@api/Notifications";
import { definePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
@@ -76,6 +77,8 @@ export default definePlugin({
],
handleCrash(_this: any, errorState: any) {
+ DataStore.del("KeepCurrentChannel_previousData");
+
if (IS_DEV) {
try {
if (errorState?.info && "componentStack" in errorState.info) {
done
yeah the person that made this plugin needs to be blocked from working on this project
i keep telling u guys to stop using .+ ๐ญ
โค๏ธ
it's the root of all evil..
index.tsx: Lines 303-307
{
// Patch the header to only return allowed users and roles if it's a hidden channel or locked channel (Like when it's used on the HiddenChannelLockScreen)
match: /return\(0,\i\.jsxs?\)\(\i\.\i,{channelId:(\i)\.id(?=.+?(\(0,\i\.jsxs?\)\("div",{className:\i\.\i,children:\[.{0,100}\i\.length>0.+?\]}\)),)/,
replace: (m, channel, allowedUsersAndRolesComponent) => `if($self.isHiddenChannel(${channel},true)){return${allowedUsersAndRolesComponent};}${m}`
},
it doesnt nuke a massive part of code
but allowedUsersAndRolesComponent is wrong
allowedUsersAndRolesComponent matches all the way in narnia
well first i'm going to see what it looked like before
yeah, pretty sure
that's the code which makes that icon not appear etc
and if vee showed it doesnt error
๐คท
errors for me
@austere talon did you do the super reaction tweaks fix
do yk what the patch does?
not really, just going by feel and looking at the old version before this hit
it just sets the default state of a boolean to $self.superReactionByDefault or whatever it's called
the patch is weird looking because it used to look ahead to find the variable name before matching the state definition
oh i thought you were talking about shc
oh
idk why it needs to be limited there
it should already be lazy
oh wait
im dumb
it would match earlier in the module
the match part should also be narrowed then
the issue is probably the start
this return\(0,\i\.jsxs?\)\(\i\.\i,{channelId:(\i)\.id
if this matches the right thing, then even the non limited would wildcard would still stop at the right time
unless they inlined stuff and the "stop" now fails
it was
// code
return\(0,\i\.jsxs?\)\(\i\.\i,{channelId:(\i)\.id // wrong place to match
// more code
return\(0,\i\.jsxs?\)\(\i\.\i,{channelId:(\i)\.id // right place to match
allowedUsersAndRolesComponent
yeah that makes total sense
it was matching at the first, and grabbing the component from way later in the file
something like that
more lazy loaded things...
does reporter not do css classes
idk tbh
maybe it does
nah it should
i think its just lazyloaded
not vencord issue
reporter cant detect that
maybe we should make two step reporter
first it only loads natural chunks
but for that we need to login i think
well it's kind of difficult to solve tbh
that wouldnt change anything i think
eg the classes could be loaded by opening the user profile
we would have to make some sort of automated ui user reporter lol
which you need for the perm viewer popout anyway
yeah
we would have to make reporter open menus etc to test an organic discord load
too much work
not realistic
It would give so many false positives
yeah
even things from opening channels are lazy loaded
we just have to deal with this once
they arent going to change the bundler everyday
yeah but it could randomly happen in the future
realistically we can patch any bundler
vite is native esm
how would you do that
vite output โค๏ธ
I did that in the past
this is probably so much more performant lol
should still be possible
remember my patching of the webpack src script @austere talon
first idea would be intercepting network requests and rewriting modules before theyre even loaded
can do that with electron apis or even a service worker
there's also another trick for patching script files without intercepting http
I wont say here tho ๐

have to go do something for a while
ill fix the rest of the bugs when i get back if nobody else fixes them first
I didnt get to have a look at superreactiontweaks before discord merged there stuff to stable but this might be right
match: /(openPopoutType:void 0(?=.+?isBurstReaction:(\i).+?;(\i===\i\.\i.REACTION)).+?\[\2,\i\]=\i\.useState\().+?\)/,
its matching pickerintention now just not sure if thats the right spot lol
the issue is probably the openPopoutType:void 0
what intent is it supposed to be matching?
It's an anchor
without that it does this
It's where the match starts, and then it proceeds to lookahead until it finds isBurstReaction: \i
the var name is captured into a group, then the engine rollsback to openPopoutType:void 0 where it starts going forward again until that var is defined
what is the reaction intention supposed to be?
like which intent
also that css class is fine for me?
I posted the old one a bit ago
ss the whole patch
with or without anchor?
the current
I dont remember exactly the reason now but the picker is used in more places with different intentions
this bundler is so wonky
we love
this patch works
just delete the plugin its useless anyway
I agree ngl

the css find idk anything abt because it works for me
its just lazy loaded
I see
this new discord loading ui sucks why does it think every server im in just doesnt exist ๐ญ
ehghhhh
I'd rather see it stay but it wouldn't be a big deal if it got removed
@gritty iris did you ever fix suprereactiontweaks
works fine for me
its a timeout issue according to puppeteer
it is working but taking a long time
feels like it's hanging
yeah it's just hanging
gh actions is having issues
slow regex?
HORROR
@limber skiff how bad of a regex is this for a module with 220k chars
it's hanging on my pc
#1337479880849362994 it was working fine all this time
well there is some redos potential here
maybe discord changed something and the module got bigger
nothing much you can do imo
at most you can put an anchor of something that appears before the one we want
but besides that ๐คท
this is really problematic actually
we can do that, but it would brek if discord reorederd their code
it's literal REDOS if there's a random anything.e
try it then
it will try to make it match the regex and because there's nested anything but ) + and then group also +
it will try every possible permutation
but what changed? it wasn't hanging before
dont touch that regex ๐
It's so complicated but it's needed
this is all i can think of but i cba to check stable
It matches any lazy loading chunk code
it can be fixed
how
well like I said this is catastrophic
can be fixed by limiting length instead of using +?
or dont nest +
vencord is NOT getting a regex license
it cannot
it can
the one for the string makes no difference, it will continue the string until it finishes it
which wont take long at all
how?
well you can try fixing it
but goodluck
it's done that way because it matches any amount of lazy loaded chunks in all the combinations possible over the years
it can match Promise.all([n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), and so on])
with no limit which is what we want
and the capturing group is all of those n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...), n.e(...) together
anyways
they concatenated more or what?
why is it only hanging now
i'm trying an anchor now
well tbh looking at that regex more it shouldnt hang
send as text
anchor fixed it
you will send as text NOW
loadLazyChunks.ts: Line 62
const lazyChunks = factoryCode.matchAll(hasCssDebuggingLoad ? CompleteLazyChunkRegex : PartialLazyChunkRegex);
canonicalize this new RegExp(name:"StageChannelCall",renderLoader:.+?${DefaultExtractAndLoadChunksRegex.source}.{0,30}?name:"SearchResults")
loadLazyChunks.ts: Line 51
const PartialLazyChunkRegex = canonicalizeMatch(/(?:(?:Promise\.all\(\[)?((?:\i\.e\("?[^)]+?"?\),?)+?)(?:\]\))?)\.then\(\i\.bind\(\i,"?([^)]+?)"?\)\)/g);
well, similar
so the reason it hangs now is because it uses different regex now
wdym?
you asked why it used to work
idk what they did, but it worked fine on stable before (module is still massive)
fix is probably to change
- ?[^)]+?
+ ?[^)]{1,10}?
btw am i going insane or did they change syntax highlighting
i dont think so
hop on
vp shiki
nope
on shiki it stays the same ๐ฅ
@limber skiff the reason this is causing issues is catastrophic backtracking
it doesnt match, so it keeps trying more ways. because we have nested quantifiers + it has sooooo many possibiltiies that it can get stuck for hours
this part can match (ANYTHING)
someone in support was complaining about hljs being wacky earlier today
if it doesnt match, it will
- find first i.e(
- match as much as possible until next closing bracket )
- if find fails it will backtrack and go back to step 2
it will keep doing this until the last ) in the file
that would make sense if there's another .e( which is not a chunk load
let me check
^
then it still failed
but now because we also have a second +, it will try even more
it has so many permutations
exponential amount
you can try it with a much simpler example
"a".repeat(1000).match(/(a+)+b/)
run this
it runs for a loooong time
reason is because of the nested + in (a+)+, if you remove the outer + it finishes instantly
somehow cant relate
makes the repl so slow because it tries to eval it while you type
I get your point but it shouldnt be hanging cuz the logic is not applying
no it can still happen even if all are instantly closed
actually no hmm
everywhere it's like this
it starts the wildcard after the " and matches until the next " or ) is found
strange..
btw https://github.com/Vendicated/Vencord/pull/4147/changes/3b75a33f3ed0e6c89da5f25b00760bb16ce2e856 makes rdb not be very slow to load now
not just reporter that was affected
but idk why it was hanging in reporter
before or after
any
/name:"StageChannelCall",renderLoader:.+?(?:(?:Promise\.all\(\[)?((?:(?:[A-Za-z_$][\w$]*)\.e\("?[^)]+?"?\),?)+?)(?:\]\))?|Promise\.resolve\(\))\.then\((?:[A-Za-z_$][\w$]*)\.bind\((?:[A-Za-z_$][\w$]*),"?([^)]+?)"?\)\).{0,30}?name:"SearchResults"/
wait
is the catastrophic backtracking because of \i
it becomes [A-Za-z_$][\w$]*
it also shouldnt be 
bruh why is it not lazy
wouldn't that stop as soon as it hits a non identifier token
yeah
if its lazy it wont match the full identifier xD
ah
no this is a diff one
huh?
where
canonicalize match
put it inside of regex101
its not the regex
send r101 link
and this
(?:(?:Promise\.all\(\[)?((?:(?:[A-Za-z_$][\w$]*)\.e\("?[^)]+?"?\),?)+?)(?:\]\))?|Promise\.resolve\(\))\.then\((?:[A-Za-z_$][\w$]*)\.bind\((?:[A-Za-z_$][\w$]*),"?([^)]+?)"?\)\).{0,30}?name:"SearchResults"
click to debug and jump to the end
i mean the share link ๐ญ
yeah this is it
its this probably
wtf
its the part i thought it was afterall
even this limit doesnt fix, but if you remove the + it doesnt run infinitely
I dont understand what is happening
I dont understand why the engine is going back lol
why would stable be able to post then tho?
nah its not gh
bro why are u completely ignoring all the other discussion that took place ๐ญ
regex is not behaving how I thought it did
It keeps on rolling back and trying the same things multiple times
have you looked at it on regex101?
change \i\.e to .{0,3}\.e
it fixes
so this is the problem
which does make sense
it's catastrophic backtracking
still doesnt explain why stable is posting fine but 
It's because it's not infinite
but if there's one that's too big it takes wayy too long
and dies
new canary added some more lazy chunks
try:
- (A-Z\w{1})+
- fail
- (try A-Z\w{2})+
- fail
- (try A-Z\w{3})+
and so on
this is the one that dies
nested quantifier = exponential complexity
ugh how do we fix
^
that's not ideal tho
doesnt seem to work
wait what
take a look at it
on the debug
increase on the plus and jump to the end
I cant make sense of what is happening
in the debugger you can see exactly what i just said happening
for every single character, it matches until end of identifier
i fixed it by changing [^)]+? to \d+
should be [0-9e]+ because they could do 2e4 for a chunk id
why sob @austere talon
wait til you find out chunk names can also be strings
๐
Yes but do they ever do that
no but the fix should take that into consideration
i think it's safe to assume they're numeric
I've seen them being a string
Yeah
non numeric
Where
how
I've seen it be not n recently
Not often
But often enough that we should not hard code it
all numeric
bro they really did change codeblocks
it's hard to limit the .+? here because there is a massive inlined function with multiple things that match \i===\i\.\i\.REACTION in the way
is the regex freeze a reporter only issue?
const requirePaginator = extractAndLoadChunksLazy(['name:"SearchResults"'], new RegExp(`name:"StageChannelCall",renderLoader:.+?(?:${DefaultExtractAndLoadChunksRegex.source}).{0,30}?name:"SearchResults"`));
maybe should also limit length of the .+? at the start
how what
u love
nop
btw should fix this too
maybe old build or wrong branch
ik
what even loads those classes lmao
idfk
fixed
love
๐ญ
omg duplicate css
looks like all their css is duplicated??? ๐ญ
inspect any random element
okay not everything
but a lot
most competent discord bundler change
i pushed to ur pr
still idgi
there is a ., we're not repeating the extraction regex
I wouldnt be surprised if all this concatenation is a new rspack feature
they had a new release 3 days ago
ve ```js
const defaultRe = /hey|hi/
console.log("hi".match(new RegExp(anchor - ${defaultRe.source})))
console.log("hi".match(new RegExp(anchor - (?:${defaultRe.source}))))
undefined```
```ansi
[ 'hi' ]
null```
dont think so, this is a breaking change and they're still not on 2.0
oh
makes sense
wait how
without the group, your left anchor will only be in the left half of the default regex, while the right anchor will only be in the right half
nvm
|
I was thinking of something else
already inside another non-capturing group so it doesnt matter in this case, but still good practice
wrong
the group is only the left half of the regex
that regex is the definition of what everyone says about regex
idk
anyway you should still always a group if embedding regex into another regex
just to be safe
yop
even chrome devtools are confused
do chrome devtools even do regex
actually can we look for a different module that requires the paginator maybe?
so we dont have to mess with this gigamodule at all
that one was chosen because it loaded the least ammount of code
and was available at the start
caba178 fix PermissionViewer, SuperReactionTweaks & SHC... - sadan4
caba178 fix PermissionViewer, SuperReactionTweaks & SHC... - sadan4
vtest
Now testing! 
BetterFolders (took 16.6ms):
ID: 43201
Match: ```
/(?<=let ?(?:\i,)*?{folderNode:\i,setNodeRef:\i,.+?expanded:(\i),.+?;)(?=let)/
ShowHiddenChannels (had no effect):
ID: 826323
Match: ```
/(?<=.id)))(?=&&(0,\i.\i)((\i)))/
Cannot read properties of undefined (reading 'call')
@limber skiff shc was a mistake
help me
I'm getting dmed about Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
whar
Helloo!
I noticed that the emoji picker in the ReviewDB pluginโs reviews modal was not working as intended
I tried to recreate the issue on multiple devices with Vencord / Vesktop, and I can confirm that this is reproducible
I have a PR ready that fixes the issue, but I am not sure if it's just me
Can anyone try opening a userโs ReviewDB reviews modal, clicking the emoji button in the review text box, then clicking outside the emoji picker?
The bug is that the picker stays open until you press esc or select an emoji. If you can reproduce it too, is it okay if I make a PR for it?
Co-authored-by: Vendicated vendicated@riseup.net
sorry, you're a bit late
out of curiosity, i'm curious what you did to fix it
do you have this build applied locally?
Cause I am not sure if it's the same issue
yes
#๐พ-core-development message can you try this? I am not sure if it's related to the same issue or not
Cause I did encounter SuperReactionTweaks crashing
oh shit, yeah
i can repro that
feel free to pr
don't think it's related
i also found another rdb bug while trying to repro that one
@crude hearth mantiware
NOOOOOO
IDB BUG IS BACK AGAIN
EVIL
god forbid electron/chromium has working code
From @fossil inlet (video muted):
@austere talon guhhhhhhhhhhhhhh
watch video
normally not for something like this
@stone willow random but can you repro this
are selects borked
they work fine in plugin settings
Hii
I noticed that I couldn't exit the emoji picker in the ReviewDB modal by clicking outside of the frame
ReviewDB uses Discord's user profile reply text area inside a modal. Discord's native user profile reply input passes emojiPickerCloseOnModalOuterClick, so this PR mirrors that behavior for ReviewDB's review input.
Repro:
- Open a user's ReviewDB reviews modal.
- Click the emoji button in the review text box.
- Click outside the emoji picker.
Before this change, the p...
no they work fine anywhere else
Content
https://github.com/user-attachments/assets/0efed030-6b55-4f01-b995-05e357e0bdd7
Request Agreement
- [x] I have read the requirements for opening an issue above
It's an issue with lazy loaded chunks
ohg
I cant reprdouce it ๐
me neither lol
Cannot read properties of undefined (reading 'call')
SHC Hidden Channel Lock Screen
Cannot read properties of undefined (reading 'call')
[insert some random error from someone in support that no one can reproduce]
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
Adds an improved file viewer to Discord.
Features
- Removes Discordโs line limit to view large files directly inside Discord
- Edit mode to modify a file directly from Discord and send it back
- Advanced customization options
- Supports multiple languages
Edit Mode
Edit files directly inside Discord and send the modified version instantly.
https://github.com/user-attachments/assets/174d483f-122e-4dec-bbb3-51d02fd2dc07
Customization
The viewer ...
Logging users (join, leave, move) between voice channels in chat
Thanks for your contribution! However, this plugin doesn't follow our guidelines in multiple ways:
- No raw DOM manipulation. Use proper patches and React
- Use modules instead of having one single 2000 lines long file
- Don't add random localisation
There are also multiple patterns which suggest that this is AI generated. If it is, please do not send AI code.
someone should do this but without completely vibecoding it
i mostly just want the first one lol, constantly downloading minecraft logs from users is annoying
copy pasting them into an external program would be equally annoying
vp copyfilecontents
idk
?remind 8.2d can it work on large files
Alright @fossil inlet, in 1 week and 2 days: can it work on large files
cozy
hold up i might be the best developer ever
this genuinely just works it's just one hardcoded request header
add a lookbehind to your match
so you don't match something else on accident
(tbh probably wouldn't happen because minifier would minify that to something like 5e10 but good practice anyway)
lemme un forget how lookbehinds work
/(?<=bytes=0-)50000/
What if you just remove the range header, do you get the full file always ?
people having errors with permission viewer still on latest update
here is another person
What happens when the bug or crash occurs?
Whenever I try viewing the permissions this pops up
What is the expected behaviour?
I expect viewing the permissions when I open the permissions tab
How do you recreate this bug or crash?
- Click on permissions in the server tab
Errors
Replace this text with your crash-log.
Request Agreement
- [x] I am using Discord Stable or tried on Stable and this bug happens there as well
- [x] I am a Vencord Developer
i mean yeah probably but i donโt want to try to render a 100mb log
disaster
he didnt say he was
nevermind
๐ญ
hey, took a stab at this. before opening a PR wanted to sanity check the design with you:
{
type: OptionType.LIST,
elementType: OptionType.STRING, // or OptionType.NUMBER
description: "...",
default: ["foo"],
placeholder: "bar",
minLength: 1,
maxLength: 10,
elementValidate: v => /^[a-z]+$/.test(v) || "lowercase only",
multiline: false, // string lists only
}
UI is the layout you described โ stacked inputs each with an X button, "Add Entry" butto...
thank you for realizizng your idea was creepy
did they copy paste their chatgpt output
you're unreal
chuddy is just spamming
what are they cooking
oh wait is badge a real thing
never seen that in the devs array tbh
yes
That isn't that creepy discord recently implemented it themselves
it's very limited though no?
You can see what users leave the voice call you're in. And you can track moves with the audit log
Although it is an experiment and it stopped happening to me recently
1f045a0 Settings: add support for searching acronyms li... - Vendicated
This is currently broken btw, will fix soon
this is nice actually
does it just take the capitalized letters into account?
ye
u dont need to type the whole acronym
comic sans perfection
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'salad')
switch to gemini embedding 2 for search
embeddings are cool ngl
but i think too much for something like this
this adds a minimum difference if the colors are 90 deg or less apart, so u dont get two greens or whatever:
#1468158852079030365 message
also btw not tryna bump this https://github.com/Vendicated/Vencord/pull/4137#issue-4306702684i just dont know how to use github
also btw not tryna bump this
https://github.com/Vendicated/Vencord/pull/4137#issue-4306702684
i just dont know how to use github
its true, i am clueless
at first i made the change in equicord cuz thats what i used, and it was merged there, but they said to PR it here, but idk how to have two forks for vencord+equicord at the same time
so to re-pr to them to adjust the fix, i had to delete this fork
which deleted the pr
so yah
make an org and fork there
you dont need two
its called branches
@limber skiff remember the cursed wreq.u function
NEW (nobody) in Core - JavaScript Engine. Last updated 2026-04-26.
usual Firefox L
why tf does it make such a massive ternary
Really bad bundler codegen
Discord uses two different types of chunk hashes right now, so my guess is that the two different settings go through separate code paths for code generation
"problematic code was part of a chunk id to filename map"
have they heard of objects / maps?
or even switch case if you're insane
Did you not see wreq.u
Take a look lol
why do they do that with a deep ternary ๐ญ
it used to just essentially be ```js
return {
1234: "coolhash",
...
}[id]
more or less
which is the most sensible way to implement it
yeah
is it not that anymore
With the new discord bundler update, they added like a massive amount of terrenares before it
This was really nice for static analysis because it was easy to pull out all the hashes
The new version not so much
I still haven't started working on it because I'm not looking forward to it
its both
Content
Description
For the past 2โ3 days, Vencord has stopped working completely. It does not show up in Discord settings anymore, and none of its features seem to be active.
Also, I asked some of my friends, and Vencord does not work for them either, so this does not seem to be isolated to my setup.
Environment
- OS: NixOS 25.11
- Discord installation method: official guide / NixOS package override (https://nixos.wiki/wiki/Discord)
- I installed it like this:
(unsta...
@fossil inlet, <t:1777053047:R>: make vtest work on prs







