#๐พ-core-development
1 messages ยท Page 245 of 1
maybe the height should not change but instead just drag the container up with transformY?
I was thinking about how to do this and somehow you saying this made me realise
we need to animate the entire container instead of only the controls
and use overflow hidden
I recently read this https://web.dev/articles/animations-guide
To improve the performance of your CSS animations, use the transform and opacity CSS properties as much as possible, and avoid anything that triggers layout or painting.
@left sequoia sent it, might be useful
so smooth
but not quite right yet lmaoo
this is hard to make work
to remove this element behind it you need something like margin-top: -32px
but transitioning margin sucks too
still pinged but B for effort
aw come on
use transform3d
it's insanely fast
good animations and transitions can save so much perf it's unfunny
so scuffed ๐ญ
#vc-spotify-player {
translate: 0 32px;
margin-top: -32px;
transition-property: translate, margin-top;
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
}
.vc-spotify-button-row {
opacity: 0;
pointer-events: none;
}
#vc-spotify-player:hover {
translate: 0;
margin-top: 0;
.vc-spotify-button-row {
opacity: 1;
pointer-events: auto;
transition: opacity 0.2s;
}
}
Jesus you should perish
how can people still not write good animations
?
fully hardware accelerated, 0 repaints, 0 reflows animation btw: https://cdn.discordapp.com/attachments/966627439390380064/1303817696848248982/idle.mp4?ex=67c0ca5a&is=67bf78da&hm=6e39513528afe20510f4a6397931b5d6b3c5eb291a33743193828cc58566124b&
well to be accurate it's like 6 animations layered on top of each other but it doesn't matter since none of them impact performance XD
the negative margin-top sucks but it's hard to do it better because we don't control the panel below and I'd rather not mess with discord's own layout too much
margin being transitioned, whyyyy
because the parent has a background so when you translateY you get this thing above
negative margin to remove it
ah yeah you don't want to append an extra div
then yeah ur stuck with that garbage kek
unfortunate
TIL spotify controls can do that ๐ญ
it's been a setting for ages lol
it's smooth on the old ui but ultra laggy on new ui
cause of transitoning height
nah, laggy for me on the old UI rn
then it got laggy via discord's recent css lag update
(idk how bad it is on refresh ||refresh lags my discord a lot||)
Okay, I'll tell @fossil inlet how to disable recording system audio in OBS:
Hey @fossil inlet, to disable recording system audio in OBS (so you only record your microphone, for example), you need to do the following:
In the Audio Mixer panel (usually at the bottom of the OBS window):
-
Locate the "Desktop Audio" (or similar named) channel. This is the one that captures sound from your computer (games, music, etc.).
-
Mute the channel. You can do this by clicking the speaker icon next to the "Desktop Audio" name. When muted, the icon will usually change to a speaker with a line through it. If there is no speaker, then you will need to look for a cog or the word
desktop audiounder the meters in theAudio Mixerand press that and set the status of the device todisabled.
Alternative Method - Disabling the Device Entirely (Less Recommended Unless You Never Want System Audio):
- Go to Settings -> Audio.
- Under Desktop Audio Devices, set Desktop Audio Device 1 (and potentially Desktop Audio Device 2 if it's configured) to "Disabled".
Important Considerations:
-
Which Method? Muting the channel in the Audio Mixer is generally better than disabling the device entirely in Settings. Mutting allows you to quickly re-enable system audio later without having to go back into Settings.
-
Specific Sources: OBS allows adding specific applications as audio sources. If that's how you're capturing system audio, remove or mute those individual sources instead of or in addition to the general "Desktop Audio".
-
Testing: Always test your recording setup to make sure the audio is behaving the way you want it to. Record a short clip and review the audio to confirm that system audio is indeed muted and your microphone is working correctly.
Hopefully, this helps! Let me know if you have any further questions.
Biscord reference
inspect, devtools, rendering, show paint flashing
cry
whar?
do it
those are chromium devtools
use them
console and sources aren't the only 2 tabs ^^
there is no rendering tab
there is
3 dots sir
yeah time you see it flash green you're pissing performance down the drain, think of it as each green flash is an useless re-render
.
nice sidebar
lagging it your entire ui
im curious if thats just stock discord 
idk I patch my discord with css for performance so I don't have any of that x)
It was way worse actually
but I added that will change to all scroll
which @left sequoia sent too
helps a lot
:^)
it happens a lot less often on stock discord (could just be some difference bewteen vesktop and browser)
wait till you learn about the other tabs XD
chromiums devtools are absolutely insane
?remind saturday fix wpexs?
Alright @fossil inlet, in 3 days: fix wpexs?
what's broken
it used the non patched version, even when a patched version is available
(also if a patched verison is available, it should just link directly to that so breakpoints work)
it used the non patched version, even when a patched version is available
isn't that good?
i swear it used to return the patched version in an extracted module tho
(could very well be going crazy)
cant you just match the comment
/check if it exists
oh wait, thats not in the function
yop
it restores the original factory
oh actually cant make it jump to the patched source
cuz we dont hold a reference

love
jumpscare ๐ญ
Content
I haven't found any others yet, but if I do, ill add them here
Better folders has the sidebar rendered on the wrong side
Image
PlainFolderIcon renders the top half as the plain folder icon and the bottom half as the small guild icons
Image
Request Agreement
- [x] I have read the...
horror massive embed
yes
speaking of which when are we gonna push the next tag?
dont ask me ๐ญ
works fine
what it should look like
ah fuck ofc i recorded it asa mkv
thats mostly optimal
could be better, but isnt awful
you don't have to record a new one
just rename the file from mkv to mp4 and it embeds fine
its crazy how just a few lines of CSS can make an unusably laggy app perform flawlessly
not for mobile users because discord mobile sucks
pretty sure it works on mobile too
didnt like a year ago
idk about nowdays
but mobile android didnt have a proper ebml decoder
webm doesnโt work on ios sooo
edgy
no it's just coming to terms with reality
it's your own fault your device doesn't support basic Codecs
containers*
but yes
you get what u paid for
you're simply getting dogshit apps because apple wants to maintain a monolopy, and doesnt allow actually good 3rd party web engines and frameworks, you gotta use their shit or go eat a dick
lol yeah cuz i was researching that when my mom gifted this to me 4 years ago, my bad guys
and the fact that it took europe to create a law specifically against apple for that to change is insane
skill issues run in the family
iโd just blame discord because vlc can obviously play webms
discord just hasnโt put in the effort
wonder if any of the alternatives play webms
that is not how software licenses work
VLC is a fully free open source, non commercial product
which means it can effectively do whatever it wants for the most part
discord is a closed source for profit product
the fees they'd need to pay on licensing just to deliver a single codec to users is unfunny
which is why its usually the device that handles it, rather than each app individually
not my fault apple isnโt wasting money on a stupid codec 
oh no
they are
they just dont give developers access to it
because fuck you
you cant be better than apple
:^)
which comes back to this.

yeah it bothers me when people are actively ignorant
it was bait because you were obviously baiting me
or just being straight up rude idk
insulting my family over mobile device choices is wild
no, its an actually valid opinion, apple treats developers like dogshit , and milks them for all their money
its unfortunate that u got gifted an apple product
doesnt change the fact that apple is a dogshit company

tru, mb
PCRE is the good default
(i have that comment because pcre doesnt allow non fixed width lookbehinds)
while ECMAScript does
mmmm
imagezoom is broken, they pushed improved desktop media viewer to a bunch of users (including me)
seems trivial to fix besides having to disable the default zoom on click
also i think it was a bug that was fixed, but previously i could retain the imagezoom state in between pictures by doing a weird trick
basically i would enable it, put the cursor outside of the image, release left click and then i would have it enabled and it would stay without needing to hold and across pictures and it was neat
xkcd/1172 basically
maybe a toggle mode could replace my bug abose use-case
isnt that intentional?
iirc fixing a bug that broke that
its a setting in the plugin
testing image, ignore
wait
don't tell me all this time the feature existed and i just didn't check the new settings
testing image
literally an image in an embed above ๐ญ
also no, there is no toggle mod, but the toggle bug is fixed
also the fact that if you go out it insta-disable is so annoying because it reset the zoom level
i scrolled up to see if there was one too ๐ญ
hmm
what if we recreate all form components and that kinda of shit to avoid relying on finds for settings
wasnt that idea proposed a while back
i just dont think anyone has been bothered to try and do it yet
Isn't that what Shelter does?
freshly cloned vencord 
it just... installs
you should might as well start using corepack
lmao
or maybe you fucked it up somehow?
This was mentioned the other day too
just start using corepack
For me, it only worked with the latest version of corepack
It just errored on older versions
I honestly really like that corepack exists
it's obvious package managers arent gonna be compatible with all versions
so it makes sense to have a tool to automatically install the exact correct version
as long as corepack wouldnt just require the latest version to work with latest pnpm...
that's weird
ah
vtest dev2
Now testing! 
Seems like everything is working fine (for now) 
ContextMenuAPI (took 5.8ms):
ID: 731646
Match: ```
/navId:(?=.+?([,}].*?)))/g
**__VolumeBooster (took 6.6ms):__**
ID: `700994`
Match: ```
/(?<=maxValue:)\i\.\i\?(\d+?):(\d+?)(?=,)/
do you mean the new image modals?
yeah
only thing that bothered me about them was fixable in css #๐จ-css-snippets message
vtest dev2
Now testing! 
MessageLogger (took 30.7ms):
ID: 930282
Match: ```
/"span",{(?=className:\i.edited,)/
Seems like everything is working fine (for now) 
30 
Now testing! 
Seems like everything is working fine (for now) 
Seems like everything is working fine (for now) 
you can even combine both zooms
When we plan pushing the next tag?
right before discord pushes breaking changes 
once I work at https://github.com/Vendicated/Vencord/pull/3255
or today maybe
since it's thursday already
Got my hand over the commit button waiting on y'all
is there anything left to do on that, because i tested and it works fine
unless you want to change the UI
type checkbox
alr, shouldnt be that hard
oh, sick
i was going to find every use of it in discords code and do it from that ๐ญ
Just note the onChange is wrong as nuckyz mentioned
I typed it
vtest dev
Now testing! 
yop
Is there any reason not to have a type for CheckboxShapes too?
those are classes
Seems like everything is working fine (for now) 
Seems like everything is working fine (for now) 
Oh yeah
nah no need lol
im just gonna automate that eventually
or u can make the workflow if u want
just gh workflow that on tag create publishes to npm
it's pretty easy
there's a readme in the types folder for how to
yep
vesktop has literally been using more than a year outdated types without any issues xD
lol
@fossil inlet Wanna update both the posts an say chrome extension submitted
LMAO
X = {
className: v.username,
style:
"username" === V && null != B ? { color: B } : void 0,
onClick: E,
onContextMenu: k,
children: (R ? "@" : "") + G
},
I worry this will break if discord ever adds more props after, however matching \}|, doesn't feel right either.
you could match children directly, but im unsure about that either
?remind 4pm make standalone devtools pretty printer
Alright @fossil inlet, in 19 hours, 30 minutes and 59 seconds: make standalone devtools pretty printer
tbh will prob be faster and use less bundle size then prettier
i thought about that for a bit too, let me see if i can make it work
you could patch where X is used with a back reference maybe
but that seems a bit ugly
match: /onContextMenu:\i,children:.*?(?=})/,
replace: "$&,children:$self.renderUsername(arguments[0])"
maybe?
i think that might be the best option
i only worry about something like this after
but its better than the other options i think
what is G?
it would be even uglier because its used in more than one spot
alr
match: /(?<=children:)\(\i\?"@":""\)+\i/,
replace: "$self.renderUsername(arguments[0])"
better yet
id add a lookahead to the end for }|,
incase they ever change it
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
๐
you'll get em next time
simply selfbot
nobody will know if you run a script that checks the extension version yourself and then sends the message (or even notifies you, that wouldn't even be a selfbot) and sends vext into the chat 
not a bad idea
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
vtest
Now testing! 
Seems like everything is working fine (for now) 
Seems like everything is working fine (for now) 
With the latest https://github.com/Vendicated/Vencord/commit/11715da, every time I send a message it will show the username and profile image for an instant and then disappears (For continous messages obviously)
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
damn
The Game Activity toggle also breaks the layout now
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
Vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
The Game Activity toggle also breaks the layout now
That is 1. Not caused by visual refresh. 2. Fixed in ff82532a18b3e02d8db8e59f8350692047f6c4f0
Oh, sorry then. I just thought it was related since I started having both issues at the same time.
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
Damn
skill issue
why not publish the extension as unlisted, doesnt that lighten the review process?
What does that even mean
you know unlisted yt videos?
you can get the raw extension file but we don't support installing it that way
not visible unless u have direct link?
u can do the same to extensions and the review process is lighter
afaik
Yea, but iirc extensions have to be signed to load when packed
i dont see how that's related to google's review process
you're changing nothing about how the extensions are built and packed
the only thing you're changing is them not being visible when u search the extension store
I mean signed by Google or smth
again, still doesnt matter in this context
I remember looking into this a while back for something else and iirc it's not possible, but I could be wrong
all you do is change the visiblity to unlisted, idk why that'd be impossible
ofc there are other implications, such as users not being able to find the extension via the play store, they'd need to go to vencord's website and get the direct link
but i assume thats how most users install it anywyas
@fossil inlet, <t:1740706141:R>: make standalone devtools pretty printer
yop
are you saying you are gonna make a formatter from scratch?
no lol
extract the one that chrome devtools uses
i wasnt able to find a whitespace only js formatter
that had a js api
how are you gonna extract it lol
copy and paste the source code
wouldnt it be native
no, devtools is 100% js
no fucking way
it just uses the v8 debugging api
chrome debugging api*
i will once i finish it
their repo is fucking crazily setup
send the repo
gh mirror
sir you can inspect the devtools UI
jokes
web components
how do I make a mod for devtools
improve their pretty printer
devtools inspect-ception
there has to be a way
chrome has a way to extend the devtools api
you can inspect devtools which you can inspect which you can inspect
^
I wanna change what the default button does tho
ex: react devtools components extenmsions
yes I know
just dom-manip the on click 
no way their API allows you to change the printer code
that's what I wanna know how ๐ญ
how to inject code into the devtools
idk if you even have access to the devtools dom tho
without any sort of sandbox of course
๐ญ
where is that article
๐ญ
Electron supports Chrome DevTools extensions, which can be used to extend the ability of Chrome's developer tools for debugging popular web frameworks.
crazy docs electron
I will just inspect how react devtools does it
does what tho
runs code on the devtools
you will learn "chromium docs"
here
that will show u pretty much anything you need in a humanly readable way
i dont think it does
if i had to guess, it creates a panel with https://developer.chrome.com/docs/extensions/reference/api/devtools/panels#method-create
ehmm
and opens the scripts with https://developer.chrome.com/docs/extensions/reference/api/devtools/panels#method-openResource
this probably does not have access to the dom
no
it uses a service worker to pass messages to the site
*the devtools dom
that's what I have been asking the whole time
to include ur patches
Debug and optimize your web applications with Chrome DevTools.
lmaoo that's so hacky
how Go to definition in react devtools work
but also you can use this to make your companion open a module in devtools @fossil inlet

yeah extensions can open any frame they want
they arent blocked like websites
JESUS DISCORD
i dont, all modules are opened in vscode
yes
iirc vencord has an API to inject extensions
and electron might have some api
you just gotta run code on the window
oh, missed that ๐ญ
at a second look, this might not be possible
window.inspect is not available to normal scripts
yop
that's why image zoom wasn't working on banners
wait, does image zoom need the dynamic modal api?
yeah
it patches the custom image component
I mean
no directly, no
ViewIcons needs it, and by needing it, it also allows image zoom to work with banners and other things
0f38441 DynamicImageModalAPI: Include new image modal too - Nuckyz
0f38441 DynamicImageModalAPI: Include new image modal too - Nuckyz
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
@median rapids is the endpoint used by the search box documented on discord.sex?
looked for a good 20 min and couldnt find it
@limber skiff istg if discord changed their logging right after that pr
what is that lmao
idfk ๐ญ
opened console to try something and just jumpscared by it
it looks like something for screen shares, but i havent even joined any calls
these warns were interspersed
yes
search messages
i looked under channels and guilds, but not messages ๐ญ

also your search feature sucks lol
search on discord dev is just as shit
@fossil inlet I want you to tell me the difference between these two photos
Th {{FRIEND_NICKNAME}} tag will narrate the user's friend nickname. In the case that you do not have a friend nickname defined for the user, it will have the same functionality as {{DISPLAY_NAME}}.
is it volume booster?
does this look like volumebooster
fun fact! that error can be thrown form code that doesnt come from volume booster, or even that module
HUSK
how
ITS A DOM ERROR
it screams if you mute/deafen in vc btw
what
that error occurs twice when you mute/deafen
doesnt happen for me
i just get the massive logs
there is validation for this in volumebooster though
which is weird
@rugged spire the set sink id error has been going on for as long as volume booster has been patching on vesktop/web
what im trying to say, is its a discord issue
yes
i lied here, it popped up about a month or two after
i do recall somewhat recently selecting the default device
after being on a non default device
and it just didnt set the output to the default device
setsinkid was added to fix non-default devices not working
i suspect this is just being discovered now due to recent ConsoleJanitor changes
but either way, ive never had any noticable effects from the error
nop, discord fucked their logging
selecting default device now doesnt work 
lovely
you can tell because of clicking on where the log function was called
ALSO WHY IS REACT DETVOOLS PATCHING ERROR NOW, FUCK YOU
huh
wtf is this error
we have not detected any input from your mic
check your input settings
try it, select a different device, then select default
the output doesnt change
GUH

nuh uh its libdiscore
i bet its DAVE related
then why is it called libdiscore and not libdave
if i had to bet, its voice filters
idk but id think dave would be called dave
discord will explode voice filters
its a rust wasm module
rust audio manager?
its just a testingg module rn
you know about voice filters
gotta modify the react devtools we ship
that's so dumb
has been happening for so long too
mb wrong reply
meant to reply to it overwriting console
it doesnt matter that much for things that have a built-in trace, but its a pain in the ass for things like log, info and debug
and masking the error location
also im pretty discord fucked their own loggers ๐ญ
they forgot to use their logger class
but i need to patch that its too fucking noisy
how
that one updateVideoQuality used to be from a proper logger
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
idk, but i dont think its meant to be this noisy ๐ญ
1-5 on every voice action
looks like some WebRTC thing
default not found my ass
im not fixing this at 3am
people can live without swapping devices on volume booster for a day
uh
these are the unworked voice filters, maybe they are still working on it
thought so
Most of them are just saying "Here is X voice, here is what it sounds like" and a few have additional in-character lines
All of them
I hate this
i hate YOU
I don't vc so I don't care
I would be surprised if the cave reverb was ai
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
it's saturday they arent gonna review
what if they do
They won't lol

i think the code of ShikiCodeblocks needs a little patch
it now has a scrollbar at the bottom
overflow: hidden 


i mean yeah likely a css change actually
Would that just hide long lines? I figured you'd want to wrap them.
ye i joke lol
yes iirc
Content
Request Agreement
- [x] I have read the requirements for opening an issue above
@granite wharf you love
I actually like it
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
it should be be following dark mode at least...
^^
Just style the scroll bar
Content
Lines should either be wrapped, or overflow with a styled scroll bar
I feel like a setting for wrapping would be the best idea
Request Agreement
- [x] I have read the requirements for opening an issue above
we will ban sadan for issue farming...
immediately
sadan putting "opened 300 issues this year" in his resume
either way I wonder if just wrapping in a scroller thin works
opened an issue again award
venbot in github so we can run vban and it blocks issue author
i would have guessed that it was using some discord CSS and it changed ?
send me this exact message
let me test if I can fix
it doesnt even have the scroll for me lmao
it's because i look at it on small window
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
alright
ye, you might have seen in FabwicMC
๐ญ
what does that even mean
what do you even harvest
Did you just remove the scrollbar lmao
i think a setting to wrap would be nice
Like before
It was neat
I think it broke in the last 17 commits or smth
Cause it's when i updated my fork that i noticed the change
๐ญ
it was prob broken by a discord upadte
Or i happened to update my fork next to a discord update that broke it
how even was it before?
Just like vanilla code blocks, it would auto-wrap
try reverting that and see if it works
I need to restart my pc...
Wait nvm i'm gonna start my small work laptop
Hope it has battery
Or i do it tmr
ill just see if it fixes it
I've booted my pc
before update
this is cursed
style lint says it's deprecated
but yeah if it's deprecated, fixing with the proper overflow wrap and word break is nice
on MDN
okay actually the fix is simple
right gotta close sadan issue ๐

i make issues because things tend to slip through the cracks, and its a way to make sure they get fixed at some point in the future
wait
some weekend ill go through and fix like five different ones
does not work for me ?
discord is acting real weird
wasn't working until i resized the window
ty guys for the fix, really saved the world, now it won't explode anymore ๐
omg tysm i owe you my life i literally would have PERISHED if this wasn't fixed within the hour
I noticed this so along ago
but my brain just decided to ignore and pretend everything was working as intended
me with vencord companion
so many issues i need to fix
havent worked in on it in weeks
@fossil inlet, <t:1740624398:R>: fix wpexs?
nop
not bronek
im just crazy
got the pretty printer extracted 
The Vencord installer isn't opening. I'm using macOS Sequoia with an intel CPU. When I open the installer, it closes immediately. I have clicked the "open anyway" button in the security settings, tried redownloading the file, but still no luck.
https://github.com/user-attachments/assets/83521ecf-644a-48df-963c-2c40df6b5265
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
y'all checking like they gonna approve on a sunday
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
Probieren geht รผber studieren as we say in Germany
thats not even how you sync
tbf i guess if you push locally and then click the link in the terminal it will target the upstream by default
title is misleading you are changing the title for everyone who is a donor
yop
inclusivity? in my vencord?
never push to prod on weekends
venWOKE
@granite wharf "If you've received a badge for donating, Vencord users are able to see it!..."
flows better imo
uuuh sure in a bit
quite the beal
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
damn
vext
The Vencord Chrome Extension is out of date! (v1.11.5 vs v1.11.6)
vext
The Vencord Chrome Extension is up to date! (v1.11.6)
I GOT IT!!!!
no fucking way lmao
where is my push perms
/j
You just blatantly stole this from Equicord
the code i contributed to equicord first i also contributed here
you can compare my PRs
i feel like gui in linux is deranged since
- you start from CLI
- too many distros to take care of
stop yapping and just leave a comment saying this was originally made there and change the user facing string
real
i actually forgot what was wrong with the original linux gui
i feel like GUI in the linux installer isn't a good idea:
- i'm gonna assume you will be running the installer script from a CLI. why would you have a GUI window pop up
- linux users have some basic CLI skills, at least to paste a script and use arrow keys
- what if deranged setups where the GUI can't open
@dusk blaze horror response tbh
I think if you have a deranged setup where the gui can't open, you won't be running discord electron
this is a fair point, linux cli is still there gui is just there for those who want it i guess now
Somehow, this isn't true
how
I think insane old windows versions aren't running linux though??
how
i feel like GUI in the linux installer isn't a good idea:
- i'm gonna assume you will be running the installer script from a CLI. why would you have a GUI window pop up
- linux users have some basic CLI skills, at least to paste a script and use arrow keys
- what if deranged setups where the GUI can't open
all 3 of these concerns can be solved by remembering that there are 2 builds for other operating systems, with and without gui respectively, and replicating that
do also r...
the comment above
okay then how would it happen
do you expect user to download appimage
or do they still run the installer script but get unexpectedly thrown into a gui window (unexpected when running from a command line)
the user runs the build with GUI enabled if they want a GUI
like the other operating systems
if that doesnt work then they will download the CLI version
yes but how would that GUI binary be packaged
shell script would be quite insane
does it need to be
is it just dependency horror
https://github.com/Vencord/Installer/commit/73a4da7fbe882d658b2a55cc2508e3ab798aa15d can you explain what even caused this
oh i forgot dependencies
no logs since run exploded
is this unironically just the CI didn't work so the entire thing was deprecated
do you honestly expect that there wont be at least one kid who will make a deranged reddit post saying "vencord is a virus" because command prompt
i'm gonna say that there won't be
okay maybe a reddit post with 2 upvotes
im pretty sure a convoluted install process is exactly what drove people away from client mods 
Yop
From what I can tell, Vencord is popular because it's easy and does the right thing for a lot of people
index.tsx: Lines 120-121
const canCreate = g.ownerId === meId ||
(PermissionStore.getGuildPermissions({ id: g.id }) & PermissionsBits.CREATE_GUILD_EXPRESSIONS) === PermissionsBits.CREATE_GUILD_EXPRESSIONS;
isnt this the same as
const canCreate = PermissionStore.can(PermissionsBits.CREATE_GUILD_EXPRESSIONS, g);
yes something like that
tbh just check the store impl
wait
no
not sure if .can checks for owner
it does
no?
then what is the real issue
Adds a NoDiscordJunk plugin that allows the user to turn off annoying Discord features such as: profile effects, avatar decorations, profile themes, nitro buttons, shop buttons, discover button.
literally the definition of can be done with CSS, because thatโs all it is
as someone who has a conflict of interest with something like this
this is pretty bad
no
there is just so much... wrong. It's not even worth explaining the details of how this is Not Good
might as well remove stickers and external emoji too atp lol
discord CSS debloater developers forgetting there are keyboard shortcuts to switch channels that work in DMs and will select the shop and nitro pages
#css-snippets would be where it might belong
prettier is so slow ๐ญ 46 seconds to format all of discords modules with prettier, 4 with chromes formatter
and thats on a good cpu
will prob have an even bigger impact on my laptop
i doubt it will be faster than four seconds for every discord module
also i looked into it and it doesnt support the APIs i need
it's blazingly fast ๐
thats it, i need to use it everywhere
it doesnt have the APIs i need 
LMAO how did discord screw up this badly ๐ญ
like how do you manage this
order is reversed on stable
did they just fuck up the fast connect?
i think so, yea
i dont see took over from fastconnect in logs
also i might be crazy but isnt the variable here redundant
for minified code it seems weird to have
unless it does something or it was minified by hand
holy shit bro for some reason Discord scrolled me up and I got jumpscared by this (first thing I see upon entering this channel)
https://2ality.com/2017/08/optional-catch-binding.html
https://caniuse.com/?search=optional catch binding
The proposal โOptional catch bindingโ by Michael Ficarra is at stage 4 and therefore part of ECMAScript 2019. This blog post explains how it works.
it's relatively modern syntax
so if you configure bundler to ES6 it won't use it
ah, thought it was older
maybe it's a warning 
premonition 
lmao
how does the qr code login process work?
im trying to make a thing so that you can login vesktop from a browser
see if its documented at discord.sex
otherwise, id guess via the gateway
i hate this domain
why out of all the tlds must they choose .sex
hm?
thats likely over an unimplemented transport
(arrpc)
just go inspect the network and gateway while logging in via QR code
patch the gateway logger if you need to while logging in
oh I thought they meant when discord desktop is logged out it'll autologin if youre logged in on your browser
no this is more like click a button on vesktop and if ur logged in on web its automatic
cuz i get logged out on vesktop for no reason when i leave my pc on afk for +18 hours straight
yes thats what im doing
it is old
chrome 66
it's considered eo old and unsafe that chromes reo doesn't let u download it
I know cuz webOS still uses it, and getting that version for testing is almost impossible
is it rust though
vp NoDevtoolsWarning
Disables the 'HOLD UP' banner in the console. As a side effect, also prevents Discord from hiding your token, which prevents random logouts.
Vee
Hes

I have an open pr
What happens when the bug or crash occurs?
The bug occurs when I try to change the Debug Logging settings in Discord while Vencord is installed. Regardless of whether I try to enable or disable Debug Logging in Discord's Voice & Video settings, the setting does not change or have any effect. It seems like Vencord is preventing the Debug Logging settings from being toggled. When I uninstall Vencord, the Debug Logging settings in Discord work correctly.
What is the expected behaviour?...
still logs me out
i have it on
- i get to use password manager if i sign in on web
[object Object] my beloved
ummm
ok that is an issue
does afk mean your pc sleeps
hibernates?
then youll want to look into arrpc
watch the socket communication between web and discord desktop
and implement those transports into arrpc
then add the support to vesktop
youll likely want to also find exactly where discord implements that on the desktop side so you can read it and then later hook it for vesktop
hibernate yes
ok
i wonder if your electron tmp dir is getting wiped or something similar





