#👾-core-development
1 messages · Page 218 of 1
its always after merge
There was no reply, should i change something?
I'm just surprised that this wasnt fixed earlier
Look at how many patches show hidden channels has
Once I found the patch it was pretty easy to fix
(It was also the first patch I tried 
hehe
Wonder if those are all needed
I mean theres an explanation in every single one
Not all 
I knew because I read every single one while fixing it
Most do tho
most are just hiding or replacing components
for the channel screen
making mentions work and etc
I remember quite a few for stage channels
whats up with that look behind on the last one lol?
trick to capture variables
it doesnt even capture anything tho?
?
oh
uhh
optimization trick
shouldnt matter much
but it matches callContainer first (which has no wildcard)
and makes sure it's the right thing by matching \i.callContainer after (rematching the previous callContainer)
neat i guess
the context menu api patches (which apply so many modules) use the same trick
match: /Menu,{(?<=\.jsxs?\)\(\i\.Menu,{)/g
how much time does it save?
Four
it's definitely not needed in that case
Is there a reason why or is it simply no one just wanted to?
Also I wonder how expensive performance-wise it’d be to uh modify that list of the strings every time the class gets constructed to do something like that (not really familiar with js but it seems like that’s the way you can add one array to another): this.terms = […original_list, …list_from_vencord];
no one looked at it
gotcha
@austere talon we are gonna do something similar 💪 https://codeberg.org/vee/cord-legacy/commit/fd56dfd441f861ffcfc712fa56596eab55baa0b5
prettier in client when
it's so bad
wpex with prettier
sure could be bad practices

but it's pretty clean
fyi there is another array of objects containing an array of settings pages
These must be populated too
would be fire
eh? 
Not only is this useless, it's an anti-feature
browser devtools does this for me, and i can toggle it off
It is actually super useful to be able to toggle it off there
electron.webFrame.executeJavaScript((() => (${patchPush.toString()})())(););
hehehe
if you go to that list, same chunk file should have what I'm talking about above it
Not directly above
oh I see what you mean now, thank you, I’ll see what I can do
what is this useful for
It's for when you want to write lisp, but you're stuck in jsland
DONT LOOK AT THAT
it used an old method to bypass context isolation whcih was very bad
xd
Thanks for confirming that I'm not a dumbass and that this is cursed
legit it's so fucking bad
running in preload instead of renderer for no reason
i copied that from powercord cause i didn't know what i was doing back then
but it's just bad lol
bad for security cause you break the isolation of nodejs and the browser
bad for integrity cause if any error happens (like react error), entire app will crash
does not have any benefit
I'm using prettier for the extracted modules in the companion
Its pretty good
how can i use this plugin?
Disables pasting with middle click on Linux. Useful over something like XMousePasteBlock because it works more reliably in my experience and doesn't require a third party program.
how insane are you gonna go
wha
are you gonna manually write out each entry or are you gonna automate it somehow
uhhhh
I mean the vencord settings is just an array of settings like that, I guess I could uh make a func that would gen an array of searchable strings based on that array
idrk much tbh
2 billion entries for plugin settings
including plugin settings in the array will balloon its size
eh it's fine
like you want to make recursive search that'd include each plugin name?
I love searching an array that has 2 trillion entries
its fine
I still don't get what 2 trillion entries there will be
the settings searchbar just searches for the tab name (and maybe some other keywords)
you can search the individual settings no?
yeah you can
yeah you can but ig there's no point in making it search for EACH plugin's settings
yeah
but with how vencord plugin settings works idk how to do it
and have to restructure a lot to make it work like discord
it's not as simple as just adding vencord's section names
a lot of the code has to be rewritten
write insane parser
maybe just highlight the plugin with the setting for now
showing the popup and filtering would be insane
oh god I just reliazed that it not only finds the tab that has this string but also removes everything but the string you've searched for if it's in the tab's body 
yeah its good design but def horror to patch
yeah and the fact that it's just a big list rather than like automatically generated one is ehhhhhh
i bet the dev who wrote it made a script to generate it from their source
alright ig it's time to set up the dev env to actually start making something
how can I test a patch without vencord vscode plugin?
if I got it right it can be done with just vencord client?
assuming from the plugin src code
patch helper
wdym
oh thanks
uhhh nevermind 
also back to the settings thing, I just noticed this tab in settings lol
None
None
None
None
None
None
None
None
?remind 5 days fix companion erroring when extracting a patch with all:true
Alright @fossil inlet, in 5 days: fix companion erroring when extracting a patch with all:true
Discord exploded clienttheme
canary?
both i think, just people reporting it #🏥-vencord-support-🏥 message and im/a friend is able to replicate
(me)
works for me
hum…
works for me too
nvm its broken on desktop refresh only
i think the destkop refresh uses completely different css vars now 
just wondering, why is there 300 commits for 4 archives? 💀
I think you are looking at why the PR was closed
I'm probably the first person to ever discover this bug (softlock?)
https://github.com/Vendicated/Vencord/blob/dev/src/main/ipcMain.ts#L111-L113 can error with
UnhandledPromiseRejectionWarning: Error: EMFILE: too many open files, watch '/home/sqaaakoi/.config/Vencord/themes'
Shouldn't this be wrapped in a try catch block (or something similar?)
Completely blocks the desktop client from loading
ipcMain.ts: Lines 111-113
const themesWatcher = watch(THEMES_DIR, { persistent: false }, debounce(() => {
mainWindow.webContents.postMessage(IpcEvents.THEME_UPDATE, void 0);
}));
With OpenAsar it would lock up their loading page and without it wouldn't open anything at all
If anyone wants to know why this happened, try breaking r2modman in some weird way where it sits in the background after being closed eating many file handles
i found a small fix, but its better on dark mode than light mode
no idea why
const newVariableRegex = /(--neutral-([1-9]|[1-9][0-9])-hsl):.*?(\S*)%;/g;
const newLightVariableRegex = /^--neutral-([1-9]|[1-5][0-9])-hsl/g;
const newDarkVariableRegex = /^--neutral-[5-9][0-9]-hsl/g;```
```ts
createStyleSheet("clientThemeNewOffsets", [
`.theme-light {\n ${genThemeSpecificOffsets(variableLightness, newLightVariableRegex, "--neutral-24-hsl")} \n}`,
`.theme-dark {\n ${genThemeSpecificOffsets(variableLightness, newDarkVariableRegex, "--neutral-55-hsl")} \n}`,
].join("\n\n"));```
it does and its wondedful
99% of the client is var based
Discord Account
shivam01
What happens when the bug or crash occurs?
I have 3 categories in DMs. First 2 have 5-10 pinned. 3rd is the Group DM category and it has like 15 pinned. Like scrolling or navigating through them, the bottom part of the DM becomes invisible (more than half of the screen can't view the DM list)
Video Proof: https://drive.google.com/file/d/1kSGCMcRXsBplnPSPpPSPScbq0Ejhkp9V/view?usp=sharing
What is the expected behaviour?
I expect my DMs to act normall...
Discord Account
shivam01
What happens when the bug or crash occurs?
I have 3 categories in DMs. First 2 have 5-10 pinned. 3rd is the Group DM category and it has like 15 pinned. Like scrolling or navigating through them, the bottom part of the DM becomes invisible (more than half of the screen can't view the DM list)
Video Proof: https://drive.google.com/file/d/1kSGCMcRXsBplnPSPpPSPScbq0Ejhkp9V/view?usp=sharing
What is the expected behaviour?
I expe...
oh my god did you need to quote reply the entire message
also they edited their message to untick the stable requirement 😁
Changelog
Redis Allows Passwords
Allowed a redis password to be inputted into the bot, preventing an error lacking authentication.
File Changes
- globals/globals.go
- Added REDIS_PASS as variable
- .env.example
- Added REDIS_PASS as example variable
- main.go
- Added error for missing password to client console
- routes/discord.go
- Added error for missing password to client console
The "file changes" is also silly, there's a whole tab for files changed
what does \i in find regexp mean? is it vencord custom thingy as I couldn't find such token
It is custom built into vencord.
It references any JavaScript identifier.
If you want to learn more look at the canonicalize functions
This isn't necessary in the supported Vencloud deployment since it runs its own isolated Redis instance. Why do you need this?
i don't get why you would need password support
like unless you're running this on an untrusted machine (you really shouldn't run something like this on an untrusted machine) password shouldn't be needed
None
None
None
None
None
None
None
None
wouldn't it be pointless eitherway?
if it's on a vulnerable machine then you can just read the .env file 
While not exactly necessary, I always try to choose redundant security when
possible, so I personally put a password on it. I know its a very niche
case but it does allow for a more clear error if some other random person
does try to do it. Simply put, I don't see a reason not to do it.
On Fri, Oct 11, 2024 at 2:26 PM lewisakura @.***> wrote:
This isn't necessary in the supported Vencloud deployment since it runs
its own isolated Redis instance. Why do you need this?
...

For my case also, I run unraid, so i built the redis container separate from the vencloud container. I could've done it differently, but personally it allowed more control within the unraid panel that way.
why did i ever
the initial message am i crazy
Probably
Ironic 
wtf
i am confident that this will be closed as soon as a maintainer looks at it
I can only imagine they don't understand what a pull request is
the proof:
monkey see a big green button appears after changed a file, monkey press
This PR adds a native file picker dialog from electron to VoiceDownload, removing the need to open a browser window.
this is iincredibly unsafe. but you can use DiscordNative.fileManager.saveWithDialog(data, filename); to download safely.
what's unsafe about it?
renderer gets to pick download path
makes sense
Sorry about that. Fixed now.
full sandbox escape
arbitary file write
you can write malware to Discord.exe
yeah I didnt notice renderer was handling the file writing path
write malware into malware /joke
good idea
PronounDB had a bug for me on Vesktop where the compact mode pronouns would show up in normal mode, resulting in two sets of pronouns being visible. This change fixes that issue by explicitly checking if compact mode is enabled
is there a way to tell vencord to disable certain plugins?
dont think so
ex, for legcord, I want to disable the ability to enable the arRPC plugin
wait, why is it called legcord now?
delete it idk
bit full of themselves
I KNOW RIGHT
maybe nuke plugin from Vencord.Plugins.plugins
idk
also is armcord unironically legcord now
I dont want to fork or patch it husk
we just fetch the dist
@weary cave guhhh
yes
husk
did you change your global to legcord?
pr a fix or smth if it works
yeah
I'm telling you, I was really cooking with this one. Some might even call this THE best Vencord update.
where were u when armcor was kill
would've been more funny to just completely rebrand from ArmCord to armcord and just remove all references to the company
i don't think they would be very happy with that one tho
None
None
None
None
None
None
None
None
i would say that it's dum but i do kinda see where they're coming from
i always thought armcord was an arm-native discord client or something
i always knew armcord was a custom client, but thought it was arm only
Discord Account
No response
What happens when the bug or crash occurs?
Cant stream in nitro quality anymore.
What is the expected behaviour?
Success change stream quality.
How do you recreate this bug or crash?
Try to change stream quality.
Errors
No response
Request Agreement
- [X] I am using Discord Stable or tried on Stable and this bug happens there as well
- [X] I have read the requirements for opening an issue above
those situations are so rare and this could be easily abused
Whitename discovers inspect element 2024 (colourised)
Why are you colorizing a whitename
LOOOL
just block the person??
Legcord
what's armcord or legcord that everyone keeps yapping about
Legcord is the rebrand of armcord after they DMCA'ed by ARM
We have received a cease and desist from ARM LLC. They are requiring us to remove Arm from ArmCord. We are currently working on making changes to package distribution platforms to reflect this. See...
They arent even related 💀 ARM LLC really looking to be a douche to anyone ong
Are they gonna sue the human body
None
None
None
None
None
None
None
None
before clan/whatever tag better imo
@uneven needle doesn't open when in vc and clicking button
WebpackModule493683:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_getRecipients')
you have to open a DM, first in order for it to open the sidebar chat otherwise it'll error out like that
I thought i handled that tf
move it next to the time so it looks somewhat uniform
if in compact mode
before the clan tag is probably the best option
yop
is this seriously what compact mode looks like
yop
compact mode is a disaster to begin with
just strip everything because compact mode is supposed to emulate irc
showBadgesInChat for compact mode
Didn't know that
Show us the screenshot
🔥
omw
discord 2026:
Love it
we have gc, vc, dm, server channels but what about servers alone being added to sidebar?
so you can add an entire server and go through channels and select one and if the server, is selected add a back arrow so once selecting a channel you can go back
you’d obviously have to make adjustments to the width and height but it’d work out probably
(suggestion) ^
more trouble than it's worth
yeah you’re right. have you considered adding voice channel members to the right? so when you’re navigating you can see who’s in a call to mute / deafen / disable their camera
option to add a voice call i don’t know if that was implemented
use this?
@austere talon https://github.com/discord/discord-intl
they are cooking
👀
dope
yeah i use that already
Why does it need to be added as sidebar then, its sidebarchat anyways
has anyone else noticed whoReacted not updating untill you hover/click
yeah, but only in big servers of like 1000+
you will fix
?remind two weeks
Alright @fossil inlet, in 2 weeks: …
Vencord reference wtf
i’m not sure to easily monitor activity states within the call, know who joins and leaves without having to hover over the avatar uh
easily access the voice chat channel?
when there’s multiple people in the call using what you mentioned it’ll be like (+8) rather than rendering all the users
this is just the best way to have type safe definitions in typescript
I didnt invent this xd
many js build tools and such do similar things
because typescript doesn't allow you to type default exports and using a define function is more powerful because it allows you to use generics
for example vencord's plugin definition allows you to have custom members like functions. if you did const plugin: Plugin = {}, then
- typescript would complain if you add new members
- it wouldn't have the information that this member exists so you can reference it in another member function
Adds a setting to the Dearrow plugin that allows specifying YouTube channel IDs of channels whose videos should not be dearrowed by default.
When an embed is altered as a result of this setting, toggling dearrowing on it won't save its new state as the default state in settings.
Discord Account
.dead.
What happens when the bug or crash occurs?
The bug started bc i deleted the theme while it was activated i believe, i also put the theme newer vesion in there while that...
What is the expected behaviour?
IT will simply be like that, i tried re installing vencord, i tried uninstalling, clearing temp, restarting the pc and it lead to noth...
can the Vencord category get a submenu for these buttons
you can edit quickcss from the vencord toolbox
THERES A CAT ON MY SCREEN
That’s what I was about to say. The only ones useful there would be the top three and the one can be done from the toolbox.
None
None
None
None
None
None
None
None
Did you accidentally pr the entirety of eqicord
happens to everyone at least once unless you educate on git lol
Even if you know git, you’ll still forget sometimes
I don’t know git that well either I just use lazygit because I’m lazy
It’s so good
just an interactive rebase is already so powerful
u can do so much with it to fix issues
And you can do so much with it to cause bigger issues
I only did this when I used GitHub website because my git install was broken and was 2 lazy to fix it lol
Adds a /gif slash command which will convert any image or url to .gif format
shouldn't this be in moreCommands
Whats with all the forks
mope, changing the license isnt
this is much funnier to me

We love when code skids violate licenses because they can’t read

anyway... vee/lewi/any of the maintainers wanna open an issue?
on both the installer and the mod lol
because they finally patched the mod too
prolly vee will when they wake up or whatever
also not to mention his persona looks kinda sus
gh account created a week ago
created 3 orgs
followed 148 people
literally faked his blog posts creation date on his site 😭 (<t:1726010673:f>)
oh wait
wrong timestamp
lmfao
prolly a botted account
mhm
seems a bit unusual for everything to be botted
its what code skids do, they’ll bot anything
they have actual plugins in the tree
prolly skidded from somewhere/someone else is the thing
It gets worse while i'm looking over this
they changed all the developers in the client mod to themselves
mooncord for example, they have “noMouseNavigation” and “2FaOnServers” but its stolen from @spring gorge
They just took their plug-ins, slapped to their name on it and claimed it as their own
not so open-source heart 
man some people suck
aint i right @summer surge
^they are the code skid that stole them
constants.ts: Lines 34-39
export const Developer = /* #__PURE__*/ Object.freeze({
Zach: {
name: "Zach J Murphy",
id: 238034217580232704n
}
} satisfies Record<string, Dev>);
So stolen, or bought it
guessing so
Anyway hope this shit stain of a project gets taken down this is pure evil
if it was just the license headers and they actually fixed it i wouldn't care but you can't just remove everyone else from the developers list
sadly knowing GitHub, probably not
They don’t really care about this kind of stuff
well... right now its a license violation and they usually are quite good with that
report it
I KNEW I RECOGNIZED THIS PERSON
Issue #187
Pull Request #186
lmao
i opened an issue
but also do not harass them like https://github.com/galactic-org/Galactic/issues/1 thats just cringe
i think they just don't know better
thanks vee
wtf i looked at it like 10 seconds ago and the repo is gone
did they make them private?
Yeah thx, im sorry i wont do that again
Github doesnt let you, if its an actual fork
oh yeah
forgor if the main repo was though
the installer is gone too so its deleted, right?
they took it all private
probably to have time to fix it
valid

cant complain
i've seen this guy before
i really think he just didnt know better
else he wouldnt have edited the gpl text 😭
i still have to be strict and enforce the license
not just for myself but also for everyone else who contributed, especially cause he stripped out all plugin authors

honestly even without knowledge about how licenses works, removing all plugin authors and claiming you're the author kinda is just fucked up
Yeah fucking up the headers is kinda just clueless behaviour but removing all the plugin authors is just fucked up
The org is gone and they removed their pfp on github
i sure wonder what they are doing

i didn't make noMouseNavigation, but i appreciate the recognition for my other thing lol 🫡
cleaning up iden? funny asf lol
removing pfp is so emo lmao 😭
None
None
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__FakeNitro (had no effect):__**
ID: `938353`
Match: ```
/renderAttachments\(\i\){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
rip ig we aint updating tonight
on github its not really, on discord it totally is
@fossil inlet, <t:1728624121:R>: fix companion erroring when extracting a patch with all:true
from what ive done, it seems like discord has moved some things around in their code
cant be bothered to fix it
theres also a find that's broken that didnt get reported
got it working but it feels wrong
||ping me if you want to see my shitty code||
||its also pushed to a branch on my fork if I don't respond||
you should make PR then
@rugged spire you did this
mantika a real BetterUploadButton hater
ViewIcons crashing on canary btw
im not at my computer pookie
assuming it might be what he’s talking about here ^
such is the maintainer life
did they break everything again
better upload button is not standart behaivour
and tbh most people probably dont use it
nah only a little
I was being sarcastic
Shitty being the key word
Need to update types and finds
tbh the default and more popular behaviour should be mentioned
Is ImageModal the one when you click on an image?
Yea
at least in my opinion
oh true i thought it was the reverse, as in you have the plugin enabled and are complaining it's wrong for you
WHY IS THERE A FIND INSIDE A COMPONENT
Testing and haven't made it lazy yet

shitty fix
look inside
shitty code
lol
@Vendicated any update?
I was using it for 1 month and no issues
@Vendicated any update?
be patient, you pr'ed, you forget about it. pinging ven won't get you anywhere
@Vendicated any update?
be patient, you pr'ed, you forget about it. pinging ven won't get you anywhere
I dont forgotten it, i was waiting one month without reply about this contribution and my friend wants this feature, but its ok, i will wait more, tysm for your reply
is she making this about herself?
They waited a month. I’ve been waiting half a year. People have been waiting longer. You can wait.
its besides the point, not everyone wants to use dev builds forever
its kinda expected that you get impatient at some point
we should list the five stages of prs
last one is depression for sure
1st 2nd 3rd 4th are also depression
am I insane why is day night switcher needed
just set theme to auto and have your system do the switching
ya
The changes hit stable btw
useful for sharing links that don't automatically embed such as tiktok and twitter
they deleted their github account 
lol this plugin is definitely chatgpted judging by the amount of random botty comments
new programmers have that problem too
though... i can't even tell you whats going on here there are multiple easier ways of doing what they did
@limber skiff been taking a look at the imageModal thing
cant figure out how to get it to display an image without a height and a width
||oops double ping||
They also changed their name on discord
bruh
what plugin is that that lets you see the integrations without sharing a mutual?
Vp showConnections
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__FakeNitro (had no effect):__**
ID: `938353`
Match: ```
/renderAttachments\(\i\){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__FakeNitro (had no effect):__**
ID: `938353`
Match: ```
/renderAttachments\(\i\){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
@fossil inlet you will PR your fix
i might be a dumbass
||and other things that arent squares||
i tried to imagezoom on that image itself
fixes the broken fake nitro patch
(the object got nested, so it is no longer the top level)
@rugged spire you love
this is why we need patch ai (real)
what?
ai to fix patches .,.,,..,
oh
(it will be nin0 locked in a cage)
itll kill nin0 too

wait till you find out about lazy loaded modules
force load all modules 
pro
yeah this image modal change is pretty annoying to fix
Any progress
havent tried yet
what does kakerlakenplätzchen mean
I would guess it means cockroach palace
Google translate says it's cookies, not palace though
I think it not working with a set width and height is discord fault lol
it's supposed to support
L is whether width and height exists
but when rendering the one with "img" tag it simply shows nothing
where is it 😭
it's the css breaking it
LOL this is definitely not a good fix
What module is that?
341176
Alr
it's just the css shitting it up
Nice to know I wasn't going crazy the whole time 
Seems pretty easy to me 
😭
@limber skiff is it worth making a patch for this to fix it, it is causing crashes right now
and all other ImageModal things
yea, but its still annoying for people
oh, what css fixes it
you can just pass a class
is that huge?
you need a css class with position: inherit !important;
if you want this to be the fix
where would be the best place to put this class
ugh I have no idea
do i just import a css file?
does that work?
thats how all the plugins do it
yes but I mean outside a plugin
place it near discord.tsx
just leave it to me regardless tho
I'll commit later and add you as co author
alr
I got everything done just missing the css fix
has that been fixed already
I would like do the patch in a different way too
alr
thanks a lot regardless
uhh
are you still working on a fix 😭
Hello ! TL;DR the need for such a plugin exist and is not negligible, so I would suggest to reopen the issue :)
Middle click auto-scroll does exist on Chromium/Electron, but it is enabled only on Windows. Mac and Linux user can use the --enable-blink-features=MiddleClickAutoscroll flag when start their browser/app, but it is considered a bad practice to use these flags....
why is it being discussed in a 16 months since last active thread
@limber skiff from what i can tell now, with the modals fixed, there were two issues.
one: discord sets the position to absolute on all image modals, breaking it when no height/width is provided
two: discord does not pass the height or width if both are not there
what's the issue on second
second just makes it really big and not respect any height/width if you dont pass both height and width
there is a simple patch for the second
it's just that boolean L right
yea
i changed it from this
, L = !(null == p || 0 === p || null == I || 0 === I);
to L = !((null == p || 0 === p) && (null == I || 0 === I));
or you could pass style props to the other image modal
where are we passing only one
and why can't we pass both
seems wrong to just do one?
we dont know the size of the image
so we set the height to a sane number
if we set both, we can ruin the aspect ratio
yk at this point we could just make L always true
its a patch either way
figure id keep as close as possible
I'll see
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?<=getCurrentClientVoiceChannelId\((\i)\.guild_id\);return)/
FakeNitro (had no effect):
ID: 938353
Match: ```
/renderAttachments(\i){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?<=getCurrentClientVoiceChannelId\((\i)\.guild_id\);return)/
FakeNitro (had no effect):
ID: 938353
Match: ```
/renderAttachments(\i){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
SHC time 🎉
its an easy fix
{
// Do not show confirmation to join a voice channel when already connected to another if clicking on a hidden voice channel
match: /(?<=getBlockedUsersForVoiceChannel\((\i)\.id\);return)/,
replace: (_, channel) => `!$self.isHiddenChannel(${channel})&&`
},

lets grow
@limber skiff let me know when you fix the image-modal things, I'm curious how you'll fix it in the end
aight
Hello!
I just did this plugin which lets you show the temperature and chance of raining on your RPC. All using open sourced and free APIs.
(Sorry for the different sizes of the images 🙏 )
If there's any needed...
hiiiii i really want a niche plugin that doxxes me
im sure they put effort into it, but this is just a stupid idea
why would anybody want that wtf
straight up just doxxes you for no reason
Not even useful for IRL friends because you're very likely to just be in the same area and why the weather of all things?
Like if you want to doxx yourself use this as a 3rd party plugin why would this be official 😭
this can easily be done with an external progam, no plugin is needed
yeah i know, i actually did it with python (it's on my profile) but i was thinking of having it directly on discord instead of running another thing every time.
I noticed right clicking or click-and-holding a channel in the channel list will add the unread count even if you never loaded the channel, maybe this could be used to make the count work for unloaded messages?

@night creek may i introduce you to the #1256395889354997771 channel where niche things go
I think the only thing that plug-in is missing is some sort of detection to tell whether or not your live or sharing your screen and then the info would hide itself other than that, it would be good for #1256395889354997771 heck I might even use it
why would that make a difference?
so you dont
clueless
you know thats an issue if you aren't streaming
just don't set the location too accurate
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?<=getCurrentClientVoiceChannelId\((\i)\.guild_id\);return)/
FakeNitro (had no effect):
ID: 938353
Match: ```
/renderAttachments(\i){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__ShowHiddenChannels (had no effect):__**
ID: `557135`
Match: ```
/(?<=getCurrentClientVoiceChannelId\((\i)\.guild_id\);return)/
FakeNitro (had no effect):
ID: 938353
Match: ```
/renderAttachments(\i){let{attachments:(\i).+?;/
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
now showhiddenchannels have a broken patch? incredible
not a breaking change
discord will bomb it in 3 months anyways
the pr it gang
please keep gatekeeping fixes we love it 😋
ong
I wonder if its worth maintaining a fork
theres a pr for that
neat
Fix FakeNitro patch for rendering FakeStickers
This patch might be a little sensitive but it doesn't currently conflict with any other code in the module and I don't think it will
An alternative less sensitive patch would be a lookbehind for the function's name "renderAttachments"
To test this patch enable these 3 options and send a FakeNitro's FakeSticker
If the patch applied correctly it should ...
RAHHHH
new plugin FixImagesQuality
Is a one line change to FakeNitro
Did you write that with AI? 😭
github default pr title is the earliest commit to the branch you are pr-ing to
by default that is the main branch
the last commit on dev is new plugin fix images quality
even if you are pr-ing to the dev branch
it does not change the title
It should be the one of the commits that you are PRing (either first or last I can't remember)
it shouldn't be anything to do with what branch you are targeting or their commits
anyway i fixed title in the pr
has anyone ever seen that before
LOVE
basically React DevTools will explode at random
close devtools and reopen
I have implemented 2 new modes for better folders.
the first simply makes each folder open in its own column:
and the nested mode actually implements a tree-like structure:
for the nest mode, folders are simply parsed by name and split on /, so on an unmodified client, the folders would simply be displaye...
yeah. tho the only reason I actually decided to implement it is because I'm in way too many servers
just move the servers you want to the top zzzzz
unless you actually actively use like 50 servers? (wtf is wrong with you)
fire
@fossil inlet doesnt really work properly without setting both height and width now lol
ughh wtf did they do
img zoom patch fix
{
find: ".contain,SCALE_DOWN:",
replacement: {
match: /\.slide,\i\),/g,
replace: `$&id:"${ELEMENT_ID}",`
}
},
@fossil inlet okay so basically the issue is:
when an image doesnt have width and height it uses the plain img element, which the css makes the image disappear. fixing the css and changing position to inherit has the issue of images being too big (from my testing)
and then, patching the boolean check for if an image has width and height to use their other component has the same issue with css, or if you do put a width or height (not both) then the image gets fucked up
(ImageZoom also doesnt work properly when it uses the plain img element)
so we need to fix images getting fucked up if you miss a height or width, fix them being too big, and also make it always use the custom component
(they bullied us on this one)
here's a patch if you wanna experiment with it
imagezoom doesnt work when you switched image in carousel too
what if the description changed based on if you had betteruploadbutton enabled 🚀
fuck_you_discord.patch
I will have to retry my fix, that wasn’t what happened when i tried it last
Even if that is the case
I can think of another way to easily patch it
what if the description changed based on if you had betteruploadbutton enabled 🚀
@limber skiff my fix works fine for me 
which
also
in what file would i put the needed patch
for ImageModal
which fix
the patch + css
{
find: "SCALE_DOWN:",
replacement: {
match: /!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/,
replace: (_, width, height) => `!((null == ${width} || 0 === ${width}) && (null == ${height} || 0 === ${height}))`
}
}
you could also patch the img component with a style prop
that has the width and/or height
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
RIP imagezoom
viewicons and stuff are still borked
On main yeah
This ran on dev
They are fix on dev
i haven't been keeping up
time to merge in dev
I try to fix image Zoom, and that other thing first and then yeah
view icons is still broken on dev
it’s been almost a week now and viewicons, still not resolved yet
height and width go wild
be patient
i am 
@limber skiff I've just been trying this out today and I've found a few things that feel weird about the plugin
I wouldn't be surprised if these existed in the PronounDB plugin too
- The tooltip showing "Pronouns" feels off-center, because it includes the
• - Pronouns are not cached by the plugin itself, so every time the client is restarted, pronouns do not show until the user profile is opened, defeating the point of the plugin
1 is trivial to solve, the second isn't so much. How do you propose solving that? Cache in DataStore every time it's rendered, if Discord can't provide pronouns then load from cache?
WHAT ARE YOU

must be for those annoying particles
1 is weird because it's all inside a span
idk about 2 tho
Yes
put it inside a div with the classes
and then both spans there
without the classes
and see if it works
check compact too
oh what i've got looks really wrong on compact mode
why?
ah
i see
the timestamp class itself adds this massive margin on both sides
should the • even be used in compact mode?
yeah
wdym
server specific pronouns aren't considered
it just looks like pronoundb code was ripped out without even refactoring away from that system 
Any interest in reopening and merging this? The default behaviour (left click) without any plugins in my opinion should be listed as more people are not going to be using BetterUploadButton than are using the plugin.
@Vendicated merge
20 Eki 2024 Paz 17:43 tarihinde jamesbt365 @.***> şunu
yazdı:
Any interest in reopening and merging this? The default behaviour (left
click) without any plugins in my opinion should be listed as more people
are not going to be using BetterUploadButton than are using the plugin.—
Reply to this email directly, view it on GitHub
https://github.com/Vendicated/Vencord/pull/2954#issuecomment-2425020666,
or unsubscribe
<https://github.com/n...
yeah vee MERGE (best way to get something merged is to to demand it)
rare
@crude hearth WHY İS İT TÜRK
idk
I would approve this issue but sadly I'm not a maintainer, good luck.
@limber skiff have you fixed image zoom yet?
ya
adds 3 more key bind override option for the messageClickActions plugin for deleting while clicking.
the following key binds have been added
- Backspace
- Delete
- Control
- Shift
Discord Account
.serious_person_not_found
What happens when the bug or crash occurs?
The bug happens then i wanna see someone pfp or banner but instead of image there appear grey rectangle
What is the expected behaviour?
I expect Vencord/Discord to makes avatars and banners in user profiles clickable and being able to download them
How do you recreate this bug or crash?
...
this issue is known and is being fixed. also, do not open issues without permission of a support server moderator
?remind 23.5 hours open link on stickers
Alright @fossil inlet, in 23 hours and 30 minutes: open link on stickers
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
making it one click to apply
You are likely better off using [Aliucord](https://github.com/Aliucord/Aliucord) or [Pyoncord](https://github.com/pyoncord/Bunny) that are proper mods of the old and new Discord Android app respectively.
ab4e56f docs: replace vendetta reference with pyoncord ... - thetoastedpotato
is it possible to specify the location vencord is loaded from in the command line for discord desktop
Anyone here aware of discord desktop rendering video calls with some cursed electron feature or do they just use plain html elements as the web version does?
There's a load of references to this "electron video" thing in media engine and related places so it's highly likely that is what's happening
Is that some electron feature that allows to render raw-data from native into the webview?
@fossil inlet, <t:1729466835:R>: open link on stickers
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
None
None
not again 😭
we hadn't fixed them yet !!
@fossil inlet can you put up together our tests and pr a fix
I'm busy to able to find something that works correctly and put it together
I'll still review and we can do necessary changes based on it
if you search for imagezoom in this channel you can find a fix for it's patch
but ideally view icons should work with imagezoom too
use the patch file I sent here as a starting point
Yea I'll throw something together
WHY IS IMAGE ZOOM STILL BROKEN
@austere talon fix or I will no longer donate to you
be faster
@limber skiff @crude hearth pr incoming
GOOD
wow
did you know your arRPC server isn't running?
you are insane for having this toggled on
the ImageModal still needs to be typed
not sure if that is the best/correct place to put the patch needed to fix it, but image modal is used by a few plugins
@austere talon merge
megre

i don't like the fact a whole "API" was implemented for this
even though it was just a patch fix
where else would i put the patch
seriously
idk
imagemodals are used by more than one plugin
yop
and without the patch, you cant set a min height or min width
husk
was anything actually setting the min height/width
yes
what
for good reason
where
view icons
fwiw it was a nasty breakage in comparison to normal ones, i think its fine
@rugged spire testing more
it failed the tests!!!
what if imagezoom got merged instead
Yes
Instead of pressing a button make something when hovering over the icon it’ll display information
similar to betterdiscord

it’s way better than always manually pressing button
how
make some things less prominent and add stuff like features + some other values
i'm busy doing something called making my laptop useful again though
UnlockedAvatarZoom is borked too idk if this specifically fixes that
Will give it a little test if i remember too later

yep!
actually nvm, don't understood what made it not work for me, i tried after a user reported it and it wasn't working properly but i guess it is
I'm guessing i am also capable of user error

my plugin is still going strong
gonna bribe discord devs to break it brb
smh
They probably do it for free
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__OpenInApp (had no effect):__**
ID: `740605`
Match: ```
/\i\.\i\.isProtocolRegistered\(\)(.{0,100})window.open/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
findComponentByCode(".mutualFriendItem]")
None
None
more breakage
ImageZoom (had no effect):
ID: 288229
Match: ```
/return.{1,200}.wrapper.{1,200}src:\i,/g
**__OpenInApp (had no effect):__**
ID: `740605`
Match: ```
/\i\.\i\.isProtocolRegistered\(\)(.{0,100})window.open/g
findComponentByCode(".MEDIA_MODAL_CLOSE", "responsive")
findComponentByCode(".mutualFriendItem]")
None
None
the new modal stuff seems like a bitch to work with
making a seprate pr because the other one might take a while and this was an easy fix
LMFAO
your pr didnt update any other plugins
yes it did
you didnt add width / height to any of them
didnt need them

anyway another thing
this in imageZoom
pushes the image modal down so it's off centre
tbh never noticed that
cause it didnt happen before
*in my few hours of fixing and testing the image modals


@austere talon do you plan to merge to main sometime tonight or tomorrow






