#👾-core-development
1 messages · Page 160 of 1
perhaps one could beat discord into enough submission to use an obs stream instead of the browser's webrtc via vesktop. Audio support with a plugin too.
what's the point of that?
you can't do it on desktop
you can do it on vesktop / web
that's exactly what i said, no?
streaming sucks major ass rn, everyone tells me my streams are 2fps from web-based discord 
oh
That's apparently not happening on normal discord, but that has no audio
Exactly.
Not happening
vaapi support is spotty in chrome to begin with, and there's no official Nvidia vaapi driver
who gives a fuck about nvidia
The community one only does decode
stop buying crapware
Haha that's awesome vee except i don't have the money to buy yet another amd gpu that doesn't even post
apple fans 🤝 nvidia fans
complaining about how garbage the garbage they bought is
sorry
anyway i mean u could look into that, it'd definitely be doable on vesktop
Is nvidia that bad?
No it's actually aggressively fine
Oh fair
It's just little things
No vaapi, Wayland is a bit spotty, and some weird crash I'm experiencing in monado
Other than that it's just fine, plus nvk will solve all of this in the next few years
That's awesome. Not sure where to even begin with this, i guess I'll have to dive deep into how discord talks to webrtc
it's actually really simple
If discord/chrome were written by normal people it'd support nvenc/nvdec by now though
nvidia on windows is pretty nice though
Well you can point it to a url
then you can monkey patch whatever media api or regex patch discords call to getUserMedia or whatever
that part should be trivial
There is a nice example called broadcast box
many ways to go about it
So i guess we run our own server for this and can feed what obs streams to it to chromium
anyway some people got vaapi working apparently so investigating that might be a good investment
Yeah for amd/intel patching in obs might not be needed if chrome already does vaapi encoding
But the Nvidia vaapi driver by the community only does decode, and even that isn't working in chrome last i checked
I could only get decode working in a custom Firefox build with vaapi enabled lol
Absolutely can't wait for nvk to murder Nvidia's proprietary drivers one day, it actually just reached vulkan 1.3 conformance
This would be a weird approach though no? It would essentially be two webrtc streams
There's gotta be a way we can just hijack the url discord would be streaming to and have obs do it instead
I think a much more sane solution is cramming obs' virtual camera into the stream instead
i.e. offer the ability to use webcams as vesktop streams
solves my hardware encoding issues, gives us the ability to do the obs funnies, and gets rid of the issue of "just use discord camera sharing then", because this can actually share audio
Someone smarter than me when it comes to web shit may get intrigued by this to do what i originally envisioned
That would probably still require native module patching
We could also add a workaround that just makes Venmic force itself into discord input
That way you could frankenshare
well
we're getting there
i didn't check any prs
Oh nice
well, getting a "Error starting capture", but that's about where i was standing as well.
i got the obs video feed in by manually specifying it in getUserMedia, i did not get it working with proper picking yet
i'll tinker with your PR to see if i can get that working.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS/Distro: [e.g. Windows / Fedora Linux / MacOs]
- Des...
oh boy, it's behaving a bit weirdly
stream fails the first time, and then you click the stream button again and it doesn't even prompt you with the screen picker, just starts a stream with the camera you selected the first time
HAHAHA
noooo 
this is a blocking issue closing clearly means a hotfix is being pushed
now we just wait
Taaho
Describe the bug
On linux, ibus typing methods behave like the English US layout.
To Reproduce
Steps to reproduce the behavior:
- Go to a message box.
- Select an ibus typing method for a language other than English.
- Start typing.
- Instead of the characters of the target language, characters according to English US layout shows up.
Expected behavior
ibus should work normally. Appropiate characters should show up instead of the US layout characters.
**Deskt...
wtf is ibus
does it work with the normal desktop app?
gh mobile sucks and theres no better third party app
im actually surprised about that
i feel like gh mobile isnt too bad
gh mobile is good enough imo
i wish gloom was usable
how is that better than the app
it just is
app is terrible
web is just the web site
mobile experience sucks but it's still better than that horrible app
I can't imagine waking up every morning knowing this issue is closed
@austere talon see this as my official vote to rebrand to taahocord
I instantly had this issue when I first dowbloaded the app a few days ago while testing it screenshare audio actually worked. Using arch linux and wayland on kde.
Bro what is this dude on
taaho :)
None
None
None
None
None
None
None
None
Yes it works with the normal Discord app. The flatpak version of the
Discord app works too.
মঙ্গল, ৩০ জানু, ২০২৪ ১:১৫ AM তারিখে V @.***> লিখেছেন:
does it work with the normal desktop app?
—
Reply to this email directly, view it on GitHub
https://github.com/Vencord/Vesktop/issues/368#issuecomment-1915394628,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7Y7SMUPENAV2QUSDL3LL3YQ7YOZAVCNFSM6AAAAABCP5IZNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3T...
sad
@rniii Do you know what could be causing the Invalid header errors? All of my headers were automatically added on save.
dunno if im using it correctly but it seems to work just fine
inb4 i typed a terrible slur in arabic
holy shit i can use ibus to type norwegian letters on german keyboard
åøæ
awesome
you typed taaho
in any case, this is very unlikely to be related to Vesktop. it does not intercept or deal with input in any way
if it types the wrong text, that means your system is feeding it the wrong letters
taaho
Behavior on linux is rather unpredictable.
Starting a stream using camera
Initial result is this error, and no stream starting.
Afterwards, pressing the "Go Live" button will immediately start the stream using the previously selected camera. Window picker does not appear.
fuck you!!!!!
would you prefer i said "pretty unpredictable"??? word police?!

erm excuse me you’re supposed to be talking fancy!!!
I bite my thumb at you, would thee prefer i hath said "pretty unpredictable"?
:3
Describe the bug
Stuck on loading screen when starting the application
To Reproduce
Open the application
Screenshots
Desktop (please complete the following information):
Additional context
I tried a clean install multiple times, as well as trying the vencord rep...
run the command xattr -dr com.apple.quarantine /Applications/Vesktop.app after dragging it to the applications folder.
I also don't see the badge while on GNOME.
Gnome does not support this Feature
ITS OVER
scary
ctt video about vesktop
?
They already have

chris is using thorium again
it's only playing the sounds for you locally, other people cannot hear them.
Can't you just play the sounds through the mic? It's not as fancy like with the animations and stuff, but it'd work.
on web yes. on desktop no.
new star added
don't spam please
old star added
you haven't provided any relevant information
run vestkop from the command line to see if there are any relevant errors
please use our support channel if you need further help
The official Discord client has a red dot to show unread notifications.
None
None
None
None
None
None
None
None
For icons, I suggest using icomoon for any icons that aren't on FA (a bit of work to get it on the site each time you change the icon set, but completely free and allows you to use any additional icons. also based on fonts so it works in a lot of browsers.)
As for an icon key, I think it makes more sense to show it on the top of the page. It doesn't require the user to scroll all the way down for it, and it can be short and sweet: 
This issue is to track progress on adding Vesktop related information to vencord.dev website. This will make more users aware of Vesktop, which is a convenient option to use Vencord out of the box.
@Vendicated I've created a ticket to track progress on adding Vesktop info to vencord.dev: https://github.com/Vencord/vencord.dev/issues/39
Will continue discussions about it on there instead
Adds Remix from mobile to desktop cause discord is lazy
TODO
- Force load the color picker so it works properly (if someone could tell me how that would be awesome)
- UI changes? idk i need someone's opinion
Created PR for first iteration: https://github.com/Vencord/vencord.dev/pull/40
Here's first iteration of the Vesktop website. I had to
Many modifications were made from the most recent version to include the necessary bits for Vesktop while maintaining as much visual consistency as possible. I welcome any suggestions on how to improve it!
We also need to test the new redirects after being deployed.
I really hope this doesn’t get buried
I know I'm very late, but why dont you use my API for the Badges? That already returns all the Badges in 1 request and you dont get ratelimited for it
And thats wrong. I use a Worklflow which runs every hour
they arent in the server anymore
Oh 
For vesktop, I want to add in the ability to set the zoom level like in the normal desktop client. If I where to add such a setting where should I place the slider?
I know you can but the zoom levels are off compared to the normal desktop client
Just bind it like normal
So i was just going to add in a zoom slider like the normal client that uses the exact same values
I'm just going to put in in the Vesktop settings page
Hello, I was working on a plugin that needed me to intercept HTTP requests so I decided to create a native way in vencord to do that.
The API allows you to change what requests are being sent to server and what responses are going to given back to the client, you can add listeners before the request is sent or after request is sent and we got response.
I tested it and everything seems to be working (unless you break your whole client yourself in a plugin)
If you have any questions, p...
I don't know what is Ven opinion on this but it should use regex patches anyways, instead of monkey patching.
However your plugin that needs to modify requests can likely just patch that one request/response which you need, outside of the RestAPI src code
There we go
It changes the zoom level when changed live, but also is saved and loaded when vesktop starts
Next I honestly think I should make it override ctrl+/- to use this instead to make it basically the same as the desktop app
wouldnt it be better to put it in the appearance tab?
or wherever the original zoom level thing is
is there a way to add stuff in the normal settings tabs via vesktop?
patch the check for showing the zoom toggle to always be true then patch the callback probably
yah I was about to say
Anyway im already handling zooming via IPC so I just need to grab the keyboard inputs and handle them
Yah thats what Im looking into now
i don't think this is a good idea. it seems kind of like an XY problem.
could you describe a use case for this?
in most cases you should just be able to patch the function that does your request to change whatever you need. patching it like this worsens performance and encourages less experienced devs to just patch requests instead of doing it properly and patching the correct code. it also seems kind of dangerous because it's very easy to mess up requests and possibly get your account...
i don't think this is a good idea. it seems kind of like an XY problem.
could you describe a use case for this?
in most cases you should just be able to patch the function that does your request to change whatever you need. patching it like this worsens performance and encourages less experienced devs to just patch requests instead of doing it properly and patching the correct code. it also seems kind of dangerous because it's very easy to mess up requests and possibly get you...
does this help you: https://github.com/Vendicated/Vencord/blob/main/docs/2_PLUGINS.md ?
I already read that before typing that
I got it working, the issue now is that the slider does not reflect the setting when changed
I am experiencing the same issue. Vesktop is stuck at loading for 1-2 minutes, then opens with a white screen and stays white.
no way this guy posted "me too" without following my instructions
ne too
Failed to load URL: https://discord.com/app with error: ERR_CONNECTION_TIMED_OUT
your connection to discord timed out. issue on your end, nothing we can do
Same issue here, except for me I can reproduce it if I select the output audio on Windows as my headphones. Any other audio output works and I can stream with audio perfectly fine, but as soon as I select my headphones as the output audio it doesn't let me stream. It doesn't matter what the audio settings are in Vesktop, as soon as I change to audio that isn't the headphones it works fine.
 and doesn't work on wayland (might in the future maybe)
vencord keylogger 🔥
No, Vencord is not a keylogger. Its code is fully open source, and checked regularly by many of our hundreds of thousands of users. Use your brain
jumpscare
Describe the bug
Screensharing with Vesktop has a couple of strange issues that I've encountered. First, it is impossible to stream fullscreen applications. Normally in Discord, it has some issues, but if you alt tab to the fullscreen application and back, it shows up for a bit, then disappears, and if you click it during that time, you can stream it. On Vesktop, there simply is no way to stream a fullscreen application. The best I've gotten is by making it windowed mode, streaming it,...
The second issue is that the stream enters an infinite loading screen initially, with the only way to fix it being to go to the stream options and switching applications, at which point it works fine
issue either with discord or your desktop environment. this even happens on stock discord sometimes
as for your other issue, any reason you can't just share the monitor the fullscreen app is on?
For the second issue, I've never had that happen on stock discord. I also can't exactly change my DE given that I'm on windows. I might be able to mess with some settings, but I wouldn't know where to start with that even. I'll check for a driver update, but I have my doubts that it will help, given that it worked fine yesterday when I first installed it, and I've never had the issue on Discord/Vencord with everything else otherwise being the same
For the first issue, that's the workaround...
Lmao
as for your other issue, any reason you can't just share the monitor the fullscreen app is on?
I can share full screen applications just fine
Interesting
For me it's always been a bit buggy on Discord/Vencord, with the option only showing for a second or so after alt tabbing
With Vesktop, it just flat-out doesn't show up
Are you using windows? And if so, what version, and what graphics drivers?
Interesting
For me it's always been a bit buggy on Discord/Vencord, with the option only showing for a second or so after alt tabbing
With Vesktop, it just flat-out doesn't show up
Are you using windows? And if so, what version, and what graphics drivers?
Using Arch Linux, Latest Nvidia drivers
I see
I'll update my graphics drivers and test once I get the chance to. I'm also using NVidia, but I'm also a version or two behind right now I believe
I checked my drivers, and I am using driver version 31.0.15.4617, which appears to just be another name for version 546.17. I am using this with an RTX 3070 from ASUS
drivers shouldn't have anything to do with this. i made the desktop comment referring to Linux desktop environments, it doesn't apply to windows
im not sure how fixable this is. screenshare framework is provided by electron/chromium and the one calling it is discord, so both issues are out of our control. maybe there is some weird workaround for fullscreen windows but it seems like it's a chromium limitation
try opening discord.com/app in a chromium based browser (like edge or chrome) and see if you can share full screen apps in them. if not, there's likely not much we can do
I just updated my graphics drivers and the issue of needing to switch stream inputs seems to be fixed now, but last time it broke after a reboot, so we'll have to see if it works after a reboot or not. As for the fullscreen apps, the same issue is still present
I know this is wontfix, but just for the sake of tracking this;
I have the same screensharing issues.
System info
OS: openSUSE Tumbleweed
Desktop: KDE Plasma 5.27.10 (Wayland)
Vesktop Version: 1.5.0 (Flatpak)
AMD GPU with mesa 23.3.4 drivers.
Pipewire 1.0.1
im not sure how fixable this is. screenshare framework is provided by electron/chromium and the one calling it is discord, so both issues are out of our control. maybe there is some weird workaround for fullscreen windows but it seems like it's a chromium limitation
try opening discord.com/app in a chromium based browser (like edge or chrome) and see if you can share full screen apps in them. if not, there's likely not much we can do
^
Works correctly in Google Chrome for me
None
None
None
None
None
None
None
None
In my case, it might be related to Wayland/xdg-desktop-portals, because it seems that Google Chrome, at least for me, is running under XWayland whilst Vesktop is running in Wayland mode.
Might be an issue with the desktop portal implementation for getting the video stream?
Describe the bug
Today, when trying to join a call, vesktop will be stuck on DTLS connecting. This doesn't happen with the official client.
To Reproduce
Steps to reproduce the behavior:
- Attempt to connect to a call on vesktop
Expected behavior
The call connecting properly, which it has done for me up until this point.
Desktop (please complete the following information):
- OS/Distro: Arch Linux [Crystal Linux]
- Desktop Environment: KDE 5.27.10
- Ver...
try in a chromium browser. if it happens there as well, discord issue
This really needs to be fixed, very infuriating.
Is this just a side effect of Discord web? Can you also perform this experiment in Chromium itself, rather than Vesktop?
Tested in browser (chrome), as well as other discord packages like discord-screen-audio on arch linux, I checked the voice output in your Voice & Video settings:
Vesktop, Browser and Discord-Screen-Audio are delayed compared to the official discord package, so seems to be a web version issue?
#🏥-vencord-support-🏥 message todo: test
how did nobody say anything about this in over a year
I know you shouldn't make it instant but for all people who want to instantly move or mute everyone
I just reverted some things to make it work without RestApi, there is probably an easier way, but it works.
/*
* Vencord, a modification for Discord's desktop app
* Copyright (c) 2022 Vendicated and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar...
dont wanna get into too much details about why, but i want my id/username to be removed from this project. ven, feel free to email me if u want more details (using the one on my github profile), else pls accept.
edits allowed in case empty array for a plugin contrib crashes in it's settings, somehow. idk im too lazy to test.
i updated all copyright years in the code to 2024. 😊
there is no such thing as outdated copyright. updating the year is meaningless
None
None
None
None
MoreUserTags (had no effect):
ID: 79798
Match: /(switch\((\i)\){.+?)case (\i(?:\.\i)?)\.BOT:default:(\i)=(\i\.\i\.Messages)\.BOT_TAG_BOT/
None
None
None
bro ur in jail
that’s what i was thinking!
This is a straightforward plugin that provides an option in the DM ContextMenu to close the DM and send it back to the Message Requests Queue. This is useful for quickly answering questions and then closing the DM, so that it does not reappear in the sidebar.
Overlooked disabling the plugin. Will fix.
The difference is that when the sender sends a new message, it will appear in "Message Requests" rather than in the sidebar with the rest of your DMs.
Closing the DM seemingly just hides the channel.
Closing a DM: DELETE https://discord.com/api/v9/channels/channelId
"Ignoring" the DM: DELETE https://discord.com/api/v9/channels/channelId/recipients/@me
Is your feature request related to a problem? Please describe.
Vencord has a section which lets you add custom plugins into a folder before building with pnpm. https://github.com/Vendicated/Vencord/blob/main/docs/2_PLUGINS.md but vesktop does not
Describe the solution you'd like
Add and document a place to put userplugins.
- Why does the description say it adds the close dm option?
- Perhaps it should be "Move to Message Requests" or something since it seems like it works on all dms, not just those which originally appeared in requests
- This, to me, was the best way to convey the plugin's behavior of first closing the DM and then returning it to the Message Requests queue. Otherwise, it could be interpreted that the DM will just be moved to the Request queue and still be visible when this is not the case. I will instead elaborate on that in the description to clarify the plugin's behavior.
- It does indeed work on any DM channel, Thanks for the suggestion. (Changed text to 'Move to Message Requests')
So nice! I really appreciate your work on it!
Describe the bug
For some reason Vesktop is having a hard time maintaining my Discord account logged in. I'd say that probably 70%+ of times that I close the App, either closing it and opening it later, or restarting my computer, the session is lost and I have to log in again.
To Reproduce
Steps to reproduce the behavior:
- Close the App
- Open It
- Log in with Discord QR code
- Restart eh App and the session is lost
Expected behavior
The account should be ...
@Vendicated When you have time, would you mind reviewing this PR and comment on next steps?
Are you using the dev-tools? If so, make sure you enable the plugin that removes the warning otherwise you'll get logged out
scroll down in vesktop settings..
- Don't use Devtools or enable NoDevtoolsWarning plugin
- Don't run multiple instances of vesktop at once. Make sure there isn't one in the tray still
- Reinstall
does vesktop not use requestSingleInstanceLock
it does
but if you for example have two versions installed or smth
or scuffed system

another ternary added right into what we are matching 
guh discord ate my reply to the reporter

is it better to match for the ternary or to just .{x,y} it
(im not a regex genius)
bleh ill just use the latter one
There's probably a better way to do this, but it works for now.
Thanks for the fix, it works now (at first glance) 👍
This plugin allows a user to perform certain actions through a command palette (accessible via Control + Shift + P). This plugin can be easily modified to add further functionality. The purpose of this plugin is to quickly be able to perform actions with ease instead of needing to go through multiple menus or click multiple buttons. Also, in the case that this is merged, it will allow for future plugins (or current ones) to implement some of their own commands related to their plugin into t...
cool idea tbh
I'm going to improve the documentation and remove the onKeyDown={handleKeyDown} which I have no clue why I added that there xD
Unfortunately, DMs do not truly return to the message requests queue. When the user DMs you again, once you reload your client, the DM will be back in your private channel list.
nice test number 
When the user DMs you again, once you reload your client, the DM will be back in your private channel list.
That is really unfortunate. Will close PR, as that makes this pointless. Apologies for not testing this further before making a PR.
Discord Account
moxiethespecialist
What happens when the bug or crash occurs?
There was an outage at the time and one server became unavailable. However...
This shows up, which isn't right since I never left that server in question, so I thought I'd bring this up since it should...
None
None
None
None
MoreUserTags (had no effect):
ID: 79798
Match: /(switch\((\i)\){.+?)case (\i(?:\.\i)?)\.BOT:default:(\i)=(\i\.\i\.Messages)\.BOT_TAG_BOT/
None
None
None
Describe the bug
The default Wayland logo appears in the title bar and in the task switcher when running Vesktop in KDE. The normal Vesktop logo appears in the taskbar as usual.
To Reproduces
Steps to reproduce the behavior:
- Install Vesktop from Flatpak (not sure if this issues exists with other install methods)
- Launch Vesktop on KDE
- Observe the Wayland icon in the title bar
- Press ALT + TAB and observe the same Wayland logo in the task switcher
**Expected b...
discord partner ⚠️
it would work if there were no messages
but if there are messages it wont work
make the plugin ask the dm recipient nicely to delete their messages 
kde issue. works fine on gnome
try normal non flatpak version
this can be fixed by adding a window rule that points to
the desktop file but it should just be fixed by default so it is a bug.
Describe the bug
Vesktop does not show the screen sharing (resolution/audio) dialog on Debian when attempting to screenshare.
To Reproduce
Steps to reproduce the behavior:
- Voice call someone
- Click on the screensharing button
- Click on the display/application you want to share
Expected behavior
A dialog should pop up with resolution/audio settings and a preview of your screen. The flatpak (with the same permission settings) seems to work when tested on Fed...
something wrong with your system. nothing we can do
It also works while using the appimage, although the expected audio message comes up when you try it.
by that do you mean on the same system as where it doesnt work inside flatpak? the permissions are set up correctly so it should just work..
It also works while using the appimage, although the expected audio message comes up when you try it.
by that do you mean on the same system as where it doesnt work inside flatpak? the permissions are set up correctly so it should just work..
Yes
Allows the creation and usage of FormattedMessage objects.
Example:
// logs "There is 1 object."
const OBJECT_COUNT = new FormattedMessage("There {count, plural, =0 {are no objects} one {is # object} other {are # objects}}.");
console.log(OBJECT_COUNT.format({ count: 1 });
is this still not merged?
@elder garnet no one has reviewed it xd
i was waiting for either nuckyz or vee to review it but neither have and i dont want to merge it in because if they flag problems after the fact then.. it wasnt ready to be merged
so
also i still havent really worked out the proper way to deal with mozdoc
and i havent had time cause of work
I'm not sure what you're referring to. When I scroll down in the "Vesktop Settings" tab, I get a bunch of boolean check boxes but none of them are relevant. At the bottom, it lets me change the location of where it loads Vencord files but doesn't let me open the location it is currently using. I think I may be misunderstanding what you mean by "Vesktop Settings" but there is only one tab in discord's settings with the exact name " Vesktop Settings.
I can see ~/.config/VencordDesktop in m...
Follow the instructions, then run pnpm build, go to the Vesktop settings and scroll till you find this:
<img width="528" alt="image" src="https://github.com/Vencord/Vesktop/assets/80976096/cd0a4171-6ef7-49f0-93cf-aae33d2894ab">
Select the dist and restart your client
I dont have this issue on KDE Wayland. Both with and without --ozone-platform-hint=auto so this seems to be a flatpak specific problem
try normal non flatpak version
Works fine when run as an Appimage. Seems to be Flatpak specific.
the issue come back with recent updates, but looks like pr #2146 fixed again the problem
yeah it's work again normal now, that's better
None
None
None
None
None
None
None
None
nothing broken
yet
make brandon notify you before that happens
Content
- Плагин работает, но в поле ввода текста нет иконки настроек и переключения языка.
Request Agreement
- [X] I have read the requirements for opening an issue above
Trabskate
My original issue seems to have been resolved. I don't know which version, unfortunately, but it works now.
Thank you!
Leaving the issue open for related problems above, but I'm satisfied here. Have a good one!
None
None
None
None
None
None
None
None
Why does the MemberCount plugin use ChannelMemberStore.getProps() to get online count rather than GuildMemberCountStore.getOnlineCount()? It does use GuildMemberCountStore.getMemberCount() for total
does it make a difference
Probably not, but seems like a roundabout way to do it
private channel
Is your feature request related to a problem? Please describe.
Currently, the Vesktop settings page is just a long list of toggles.
Organizing them by categories would make it more user friendly.
@Vendicated I've also created an issue and PR for the improved Vesktop settings: https://github.com/Vencord/Vesktop/issues/378
Discord Account
dancebunny98
What happens when the bug or crash occurs?
Before the update after February 1, 2024, everything was fine, the translate plugin worked. Now it works the same way, but the settings icons and status switches cannot be translated or not.
What is the expected behaviour?
Bring back the quick language switching buttons as they were before.
How do ...
qhar
why do people do this
open an issue and then a PR immediately resolving the issue
just open the PR
There's no way to use something like settings.use([...]) in a class component, is there?
you have to use componentDidMount and componentDidUnmount and manually subscribe / unsubscribe and call this.setState
don't use class components they are buttcheeks
I would never willingly use a class component
But I'm trying to patch one of discord's
well you can wrap it in your own component
and then use state
- r.jsx(abc, { prop: value })
+ r.jsx($self.Wrapper, { WrappedComponent: abc, prop: value })
Makes sense
function Wrapper({ WrappedComponent, ...props }) {
const foo = settings.use().whatever;
return <WrappedComponent {...props} />;
}```
something like this
best you can do
alternatively you can add componentDid(Mount|Unmount) to the class, Dearrow does that
The component already has a componentDidMount, so merging those seems like more hassle than it's worth
hope this makes sense
you could pass your foo as prop to the component and use it inside another patch then
Oh but there's also shouldComponentUpdate... Guess I need to change that one
it's a bit messy but it works
just changing that won't do anything
you still need to call setState to trigger it
What object would I even call setState on? The thing created by the <WrappedComponent /> expression?
It looks like a wrapper component that adds the settings as props, together with patching shouldComponentUpdate, works
Fixed at... some point by the looks of it
okay i figured out why this happens. this issue only affects russian users. i will fix it soon
new pnpm inject design 👀
its still wrong colour
kinda meh
maybe we can use one of these instead
im tired of people complaining about vencord having "auto correct" so i added this
stupid idiots enable auto translate then complain
@austere talon why do you return if it's not a main chat button, but at the same time has as an argument which you pass for the inner chat button to choose whether to render or not
idk if line was correctly marked
github sucks on mobile
better
thatll be really annoying if it doesn't have a Don't Show Again
oh
it does kinda defeat the point though
what
usually its the result of a misclick
so if you dont show again then you wont realize you misclicked and its the same thing
at least explain that you enabled auto translate because you right clicked the translate icon
also buttons prob still show when you cant send messages
there is a prop which decides if it should be disabled
64fa2f8 ChatButtonApi: do not add buttons if you can't ... - Vendicated
fixed via https://github.com/Vendicated/Vencord/commit/bf977e0047141dd479b26f66cc848923310bcb6b
not released yet. will close once it's released
@cunning canyon what does this do exactly https://github.com/Vendicated/Vencord/pull/2095
loading image?
long ago when i made the plugin, it not show the loading image placeholder, so message shift up when image loaded
then i made it show that placeholder but the image is not responsive, if discord window width is too small it cutout
now it is responsive
@austere talon can we add that feature to fix electron devtools context menu on normal vencord?
uhh
for canary?
no we cant
**index.ts: **Lines 42-45
app.commandLine.appendSwitch(
"disable-features",
"WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService,WidgetLayering"
);
you can only pass this flag once
oh yeah we can monkey patch
chromium --disable-features=foo --disable-features=bar
this will disable only foo or bar
not both
we have to monkey patch electronapi lol
horror
it is what it is 😔
try putting ```js
const originalAppend = app.commandLine.appendSwitch;
app.commandLine.appendSwitch = function (key, value) {
if (key === "disable-features" && !value.includes("WidgetLayering")) {
value += ",WidgetLayering";
}
return originalAppend.apply(this, arguments);
}
see if it works xd
if yes, yes
how can I know if it didnt break something else
(this)
i hate how inconsistent the icons are
i made the padding consistent but it looks so wrong
30bc979 feat(Urban Dictionary): Chooses top rated defin... - jewdev
7e395fc Update codeburger mirror - Vendicated
d0dfdbb fix: Vencord_cloudSecret check (#2077) - lewisakura
a963a19 fix(Decor): Fix AvatarDecorationModalPreview fi... - FieryFlames
1eb2510 feat(Decor): Enforce guidelines more (#2035) - nexpid
boop
yeah
how do we fix it
i was going to say it still doesn't look like official discord ui
but i've seen some pretty broken discord ui
not awful anymore
ig?
i just used inspect elements to see the true width/height of the svg and did the math how much u need to scale to get it to 24px
then hardcoded the value
trans-chat-button
@limber skiff is this good
there should be a new preview icon
yes
there is
This PR changes the SVG icon in the plugin previewMessage with one that attempts to closer match the style of Discord's chat bar icons.
Before:
After:
:3
its actually the new cli version of the installer :3 i just changed inject to use the cli instead of the gui now that the cli is no longer dogshit
ooo
i tried to make the cli as user friendly as possible
previously it was a hot mess
spammed massive wall of (debug) text at you
required you to type numbers to select
required you to pass command line flags instead of being interactive
so confusing
well on mac it still uses the gui actually cause i coudlnt be bothered to publish mac cli

but mac cli might prove useful so people can run it with sudo
might fix the disk acces permission issues
LOL
oh this is tragic
idk how to fix
yeah
though silent typing red bar could have some work
try copying from game activity toggle or silent message toggle if you dont want to do it from scratch
Hey can anyone guide me on how to force load the color picker element? (for https://github.com/Vendicated/Vencord/pull/2136)
do any others force load it
doesn't clienttheme
if not then i might be able to
I stole the color picker from clienttheme but they don’t have anything iirc
Since opening settings loads the color picker, to access clienttheme you need to open settings
Wait I stole that one from usercss
I’ll look in clienttheme
I think I tried using the clienttheme one but it still couldn’t find it
So it's part of settings?
Basically yes
find the code that actually opens settings
it might be similar to openAvatarDecorationModal
I guess the problem here is that you don't know the module id for the color picker, and you can't use the findX functions because it might not be loaded yet
And you probably can't find whatever module normally loads it and scrape the id from there, because that caller is also in that other chunk
you do it


@spark pivot try this
Vencord.Webpack.extractAndLoadChunksLazy(['name:"UserSettings"'], /createPromise:.{0,20}el\("(.+?)"\).{0,50}"UserSettings"/)()
you know what to do with lazy stuff
either way here are the docs for it
**webpack.ts: **Lines 450-462
/**
* This is just a wrapper around {@link extractAndLoadChunks} to make our reporter test for your webpack finds.
*
* Extract and load chunks using their entry point
* @param code An array of all the code the module factory containing the entry point (as of using it to load chunks) must include
* @param matcher A RegExp that returns the entry point id as the first capture group. Defaults to a matcher that captures the first entry point found in the module factory
* @returns A function that loads the chunks on first call
*/
export function extractAndLoadChunksLazy(code: string[], matcher: RegExp = /\.el\("(.+?)"\)(?<=(\i)\.el.+?)\.then\(\2\.bind\(\2,"\1"\)\)/) {
if (IS_DEV) lazyWebpackSearchHistory.push(["extractAndLoadChunks", [code, matcher]]);
return () => extractAndLoadChunks(code, matcher);
}
run that, then you should be able to use the same finder as ClientThemes for the color picker
okay I need an svg editor software this sucks
Alr I’ll try when I get home
Add a plugin that adds a context menu option to create an inspirational quote image from a message.
@limber skiff how is progress going
on icon
should i merge into main already or will you finish it in the next few hours
(no rush, just so i know)
lmaooo
it's whatever for now
use inkscape instead
I dont even know If I will be able to I've never done graphical design

bf977e0 Add chat bar button api ~ fixes buttons for rus... - Vendicated
2c198e5 Fix PreviewMessage icon being offcentre - Vendicated
e58aa5d Translate: Add auto translate enable alert - Vendicated
64fa2f8 ChatButtonApi: do not add buttons if you can't ... - Vendicated
ec53b02 readAllNotificationsButton: also mark voice cha... - sunnniee
updated everything for latest version
should have done it for french users
idk which one is better
This is a very good MR please review
keeping the if is better
thanks
I think I read somewhere in the docs that patches should not introduce whitespace though, so I will replace with if(true) instead
Describe the bug
App will not launch
To Reproduce
Steps to reproduce the behavior:
- Install vesktop-bin from AUR multiple times, once with the patch from AUR comments to enable vesktop-flags.conf
- Suddenly error when switching back to unpatched version once I realized only electron28-flags.conf works
Expected behavior
App opens
Screenshots
**Desktop (p...
It was --enable-native-gpu-memory- buffers, I'm a dumbass
I probably should also comment what each of those patches does because they aren't obvious
huh
whitespace makes it more readable
:O actually it could cause conflicts
maybe i've been doing the wrong thing
Make sure your replacement does not introduce any whitespace. While this might seem weird, random whitespace may mess up other patches. This includes spaces, tabs and especially newlines
i've been using whitespace everywhere
i must have forgotten about that
it's probably okay to use whitespace in introduced code
it's not that important
in 99.9% of cases it doesn't matter
the reasoning is that if two plugins patch the same location, they can potentially be compatible if your match is good. this is actually the case in a few places where two plugins patch the identical location and are compatible
but usually patches won't account for spaces because they shouldn't be there in the first place so it could break that compatibility
- if your replacement requires whitespace to be readable, chances are it's too much code and you should be using a proper function on your plugin instance instead
i mean custom code
i.e. changing if( to if ( might break things
but $self.thing({ value: 5 }) should probably be formatted imo
this worked

nice
FakeNitro (had no effect):
ID: 412745
Match: /(?<=isDiscoverable:\i,emojiComesFromCurrentGuild:\i,.+?}=(\i).+?;)(.+?return )(.{0,1000}\.Messages\.EMOJI_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION.+?)(?=},)/
None
None
None
FakeNitro (had no effect):
ID: 412745
Match: /(?<=isDiscoverable:\i,emojiComesFromCurrentGuild:\i,.+?}=(\i).+?;)(.+?return )(.{0,1000}\.Messages\.EMOJI_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION.+?)(?=},)/
None
None
None
fuck off
RIP
bruh
look at this crazy fix
horror
boop
people kept asking for a way to disable game acitivities but keep custom rpc, so there it is
i'll even add a button to import the app id from custom rpc
i had tried making this plugin before and didnt like it and then someone asked for it and i made it again
lol
hope it doesnt get too buried
@austere talon i th ink discord broke copying images again
qhar
insanity
This plugin lets you manage users birthdays on Discord, and when the day of their birthday arrives, you'll receive a notification telling you so.
@austere talon plugins should have a link to their page on vencord.dev for people to see the readme easily, what do you think?
the original idea was to somehow display the readme in app
either via iframe or just hijacking discords markdown parser with some extensions
but idk how well that could be implemented
oh
github has an api route that renders markdown
all you'd need to do is style it
can anyone confirm
href starts with http for me, doesnt seem to be a language thing, everything is in english
i posted a yt link to test with in #🏥-vencord-support-🏥
cant confirm if their pr actually fixes it or not
i downlaoded the files into my userplugins folder and pnpm build it but when i tried opening my vesktop i didnt even have vencord. only after deleting the folder from userplugins and pnpm building it again it worked but without the birthday plugin. is there a fix to this?
i downlaoded the files into my userplugins folder and pnpm build it but when i tried opening my vesktop i didnt even have vencord. only after deleting the folder from userplugins and pnpm building it again it worked but without the birthday plugin. is there a fix to this?
Using https://github.com/Vencord/Vesktop/issues/374 instructions works for me.
Is your feature request related to a problem? Please describe.
So yk these servers that ban for client modding?
Describe the solution you'd like
A plugin that can disable quickcss and all themes (online or local) on the push of a keybind
Describe alternatives you've considered
#🎨-css-snippets message this is a link to a css snippet that hides a lot of Vencord things
Additional context
I was playing around with the installer's code and was able to run the latest version of Vencord on my 2013 Mac running 10.15.7.
All I had to do was the following:
-
Click "Open Package Contents" on the Vencord Installer.
-
Open the "Contents" folder.
-
Open "info.plist" in TextEdit.
-
Now Paste the following code :
LSMinimumSystemVersion
10.15.7CFBundleExecutable VencordInstaller CFBundleIconFile icon.icns ...
It might be a little cursed but I cloned the project and added the source code from this chrome extension into src/renderer/index.ts. It patches getUserMedia and such to permanently disable agc.
https://chromewebstore.google.com/detail/disable-automatic-gain-co/clpapnmmlmecieknddelobgikompchkk
why was this made into an image
this is horrible
but anyway
this should really just be in our actual plist file
idk why its not
there is a pr but it doesn't work according to people
what
