#👾-core-development
1 messages · Page 158 of 1
you guys get your prs merged?
Timezones plugin is goated. No clue how it hasn't gotten merged
dave version much more mergeable
if they want to pr
it just works
timedone fo free
manti is in africa
timezone what

Does it have timezonedb integration tho
Without tzdb integration its easy
Problem starts when you get timezones from api and it returns country/city
no prob
Now account daylight savings
If you get by country javascript itself accounts for daylight savings afaik
So not all GMT +3s are same
But we can just have the GMT timezone next to countries too
I just HATE TIMEZONES
They are just mess to work with
Timezones were mistake
Everyone should just use same timezone
you cant say that and make timedones plugin
That plugin made me hate timedones
The arguments we had in this channel
Awfullness of javascript date
All were just nightmare
Is your feature request related to a problem? Please describe.
On normal discord desktop, when in a call with video enabled, you can right click your own video and then click "Show My Camera" To disable/enable your camera (check screenshot below). This doesn't exist in discord web/Vesktop

**Describe t...
why do they post it 2 weeks later
while the feature was done 2 weeks ago
EasyEffects now reads the custom
PW_KEY_TARGET_OBJECTset by the user to the stream node and tries to not touch the stream if it is not recording from the same input device EasyEffects is using. There are some limitations. For example the stream has to be started when EasyEffects is already running. And if EasyEffects is started when the stream is already there there is a chance that we do not know yet which input device we have to use by the time pipewire tells us about the stream proper...
I use the "vencord-desktop-git" package on Arch Linux + GNOME with the "spotify" package on AUR and the spotify listen along doesn't work. And the Play on Spotify button says Spotify not detected.
wasn't this literally added 2 weeks ago
same issue here. i'm on arch, kde plasma, got vesktop from the aur.
it seems to happen inconsistently as described before.
worth mentioning that i started using vesktop last week and i had this with vencord on regular discord before as well.
This is just in case there's no album, usually indicating the song is a single and is therefore its own album
singles have properly tagged albums. if the song has no album then that means something is wrong and you should likely instead display nothing
maybe caused by 15a49a31e1baf1b310a73204cd54bf2f0dfe9cf8?
To Reproduce
Steps to reproduce the behavior:
- Right click on an image
- Click "copy image" menu item
Expected behavior
Image will be copied to the clipboard
Desktop:
- OS/Distro: Arch linux
- Desktop Environment: KDE Plasma Wayland
- Vesktop git from the AUR (vencord-desktop-git package)
Describe the bug
Upon rebooting, I am signed out of vesktop. Maybe this is something to do with not having a keyring set up?
To Reproduce
Steps to reproduce the behavior:
- Sign in
- Reboot
- Start vencord
- You're signed out
Desktop (please complete the following information):
- OS/Distro: Arch Linux (AUR), also occured on OpenSUSE Tumbleweed (appimage)
- Desktop Environment (linux only): Hyprland (Wayland)
- Version: [e.g. 22]
Oops, I forgot I had already made an issue for this and that was the solution - sorry.
is vencord desktop copying images broken for just me
if you click to view it large style you can copy it
Never mind, this still occurs randomly after a period of time, I rebooted my computer and I am prompted to log in again. Could this possibly be reopened? Could this have something to do with not having a keyring setup?
guh
works for me
if you're being logged out still, it possibly means you're somehow running multiple vesktop processes at once. or other issues with your system. we can't really help you with that as that's more of an electron issue
guhhh
i click image to full screen and right click and copy image
and when I paste there's nothing
if I copy link it works
I'll check console later
horror
oh i know why
fix soon 
its cause it copies as html
and i only handle plain text and img
not html
evil
can it be made so I can paste in file.browser and it puts the image
is that even possible
wdym
opening a folder in my file browser then being able to paste the image as a file
probably not
Ok, thanks - I'll try to figure it out and post it here if I find a solution :+1:
@dapper tiger
help me
i see the issue
insane discord uses webp instead of png
and webp is not supproted
i have it copy both image & html for that reason
but pasting html isnt implemented by the plugin
oh i see now
let e = new URL(t);
return e.origin === m ? t : e.origin === v ? m + e.pathname : (e.searchParams.delete("width"),
e.searchParams.delete("height"),
e.searchParams.set("quality", "lossless"),
e.toString())
what's that
they fix the image url
let v = "https://media.discordapp.net"
, m = "https://cdn.discordapp.com"
guhhh
const MEDIA_PROXY_URL = "https://media.discordapp.net";
const CDN_URL = "https://cdn.discordapp.com";
function fixImageUrl(urlString: string) {
const url = new URL(urlString);
if (url.origin === CDN_URL) return urlString;
if (url.origin === MEDIA_PROXY_URL) return CDN_URL + url.pathname;
url.searchParams.delete("width");
url.searchParams.delete("height");
url.searchParams.set("quality", "lossless");
return url.toString();
}
works
but what happens if i send webp image
oh thers just no copy button
insane discord
discord so bad
Guh?
const img = new Image();
img.onload = () => {
const canvas = document.createElement("canvas");
canvas.width = img.naturalWidth;
canvas.height = img.naturalHeight;
canvas.getContext("2d")!.drawImage(img, 0, 0);
canvas.toBlob(data => {
navigator.clipboard.write([
new ClipboardItem({
"image/png": data!
})
]);
}, "image/png");
};
img.crossOrigin = "anonymous";
img.src = url;
literally wrote this code for the web part of WebContextMenus
just fetches the image, draws it on a canvas, then exports the canvas as png
doesnt get easier
horror
oh thats very fun
fix part 2 now
@austere talon@austere talon@austere talon you will tell chaotic aur to give me access to their servers
paru is cool that it lets me choose to install aur version
paru -S aur/vencord-desktop-git
try copying this on discord desktop https://vencord.dev/assets/favicon.png
you cant
thats what this commit fixes
its webp
love if u remove the format=webp param it works
FIX
it doesnt work
scary
wdym
is there no way to select what vencord version vesktop uses
actually mmm
if you use save image on a webp
it will save as png
guhhh
i will fixy
me
@dapper tiger
ven loves pinging randoms
None
None
None
None
None
None
None
None
@jagged cloak @jagged cloak work for discord
@austere talon hi
how do others have their pkgbuilds on github
wouldnt there be issues since each pkgbuild is its own git repo aur thing
i wanna do that
findd
vennn 😭
why does clicking desktop notifs cause the window to like shrink then quickly maximize back to what it was
u love
for linux users: you can find a symlink to the desktop file in this directory:
/var/lib/flatpak/exports/share/applications/dev.vencord.Vesktop.desktop
in there just add the --disable-gpu at the end of the Exec= line.
you can properly disable hardware acceleration now so this shouldnt be needed
Describe the bug
It is neither possible to stream audio from a specific window, nor receive anything other than mic audio with "Entire System" selected, when using Vesktop on Linux Mint 21.2.
To Reproduce
Steps to reproduce the behavior:
- Be on Mint 21.2 Cinnamon (with
- Follow this guide to install Pipewire (you may need to restart a couple times): https://forums.linuxmint.com/viewtopic.php?t=375771
- Join a chat on Vesktop
- Click share a screen and choose a window to...
Describe the bug
It is neither possible to stream audio from a specific window, nor receive anything other than mic audio with "Entire System" selected, when using Vesktop on Linux Mint 21.2.
To Reproduce
Steps to reproduce the behavior:
- Be on Mint 21.2 Cinnamon (with
- Follow this guide to install Pipewire (you may need to restart a couple times): https://forums.linuxmint.com/viewtopic.php?t=375771
- Join a voice chat on Vesktop
- Click "share a screen" and choose a w...
alright, just updated vesktop and disabled Hardware Acceleration. Now it works fine. Thank you!
would a MR that modifies LoadingQuotes to allow customizing the quotes be accepted?
or should that be a separate plugin?
an issue with allowing customization in LoadingQuotes would be that the quotes are meant to be obscured, so a setting allowing you to change or delete them would kinda ruin that
you could go around that by (optionally?) removing all the default quotes when customization is enabled, and just never showing them (thus not allowing you to remove only some of them)
that would kinda suck, but I don't have better suggestions
Pretty sure this exists already
actually yeah
https://github.com/Vendicated/Vencord/pull/1795
https://github.com/Vencord/Vesktop/commit/15a49a31e1baf1b310a73204cd54bf2f0dfe9cf8 this could be broken according to #🏥-vencord-support-🏥 message
I usually view streams by popping them out, then maximizing the window, but since I updated to Vesktop 1.5.0 (relevant commit 6483b3a3d96181c9dca87abb095f94291146d161 the entire window bar is gone and it's just the popout window, making me unable to move or maximiue the window.
I am not sure if this is intende...
already fixed
this is a bug. please open a proper bug report with the relevant info
Added transparency option on non Windows OSes, and changed the customTitleBar check to only be used on windows as according to the electron docs (I misthought in the commit) transparency works on windows with borders on non Windows OSes.
kill
Vencord has a proper logo now, so might as well use it?
Describe the bug
Vencord 1.5.0 broke stream popouts. The window bar with options to close, move, maximize and minimize are missing.
To Reproduce
Open a stream popup
Expected behavior
Window bar is present
Screenshots
Desktop (please complete the following information):
- OS/Distro: Windows
- Version: 11 22H2
Follow-up to #348
are you using the custom discord title bar? or the native system one
The native windows title bar. I have "Static Title" and "Enable Menu Bar" both set to false.
horror
lmaooo
i think gitea rather uses opencollecive
also isnt gitea a company now xd
yeah
they probably get most of the money from cloud services
vee richer than codeberg
thats not saying alot
closing as resolved, please reopen if you're still experiencing this issue with hardware acceleration disabled @ayanokato
closing because this belongs in the flathub repo
Describe the bug
There is no appindicator icon using "AppIndicator and KStatusNotifierItem Support" extension on GNOME
To Reproduce
Steps to reproduce the behavior:
- Install the "AppIndicator and KStatusNotifierItem Support by 3v1n0" extension
- Open vesktop
- No icon
Expected behavior
There should be an vesktop icon like other apps that have an appindicator on like on kde
Screenshots

7d30dcd Make popouts respect the menu bar visibility se... - Vendicated
imo not a good idea, because this is a very different story once you have auto suggestions
plus you can do this with some css
this is a very poor way of doing this. this setting is purely intended for windows. plain transparency should be a different unrelated setting
you can also easily check for windows inside the browser, no need for an ipc event. src/renderer/constants should already export what you need
Allows embedded youtube videos to be played when they're usually blocked.
I believe youtube uses window.location.ancestorOrigins to detect this, and it's unreasonably hard to overwrite it. Instead I just reload the frame which clears ancestorOrigins and shouldn't break randomly if the frontend updates.
i think smth like that would be better
description: "Bypasses youtube videos being blocked from display on Discord (for example by UMG)",
Wait no fucking way that works
please add a README.md to your plugin that explains in a bit more detail what this does and maybe show a before and after screenshot
None
None
None
None
maybe just put a gif similar to this in the README and it should be clear @sleek inlet
None
None
None
None
I cant believe that works bro
wtf lmao
can anyone else not copy a network request as fetch anymore from the devtools
fetch("https://minidiscordthemes.github.io/SettingsIcons/SettingsIcons.theme.css", {
"headers": {
"if-modified-since": "Thu, 07 Dec 2023 21:59:55 GMT",
"if-none-match": "W/\"6572405b-270\"",
"sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Linux\""
},
"referrer": "https://canary.discord.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "omit"
});
skill issue
actually
yeah
1670733 feat(plugin): FixYoutubeEmbeds - fix UMG blocke... - CoolElectronics
**index.ts: **Lines 38-45
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
// HardwareMediaKeyHandling,MediaSessionService: Prevent Discord from registering as a media service.
//
// WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790
app.commandLine.appendSwitch(
"disable-features",
"WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService,WidgetLayering"
);
you need to add that switch to fix it
can I add it at runtime
theres not really a good way to do this because i think if you have multiple disable-features switches it only uses one
horror
monkey patch app.commandLine.appendSwitch inside patcher.js, to add WidgetLayering if the flag name is disable-features

blocked youtube embed bypass is rly cool im surprised no one has thought of making that before
that does look like a silly way to do it tho, although i dont know js :p
u love that it is just a frame reload
why do more when shrimple work
i guess
hmm
workflow that pushes to vencord.dev repo from vesktop seems cursed
but i dont want to rely on some external resource that needs to be fetched
hmm maybe ill just edit that file manually
its fine
made the README install instructions not horror
Installing the NoDevtoolsWarning fixed the issue, which is weird - as I don't open devtools..
Thank you koishukaze for the solution
@austere talon why no
use /releases/download/latest
then its always the latest version
you dont need to autogen
oh wait shit no
we have the version number
in the exe name
ugh
then yeah i guess that is the best way unless we remove the version number
https://github.com/Vendicated/Vencord/pull/256/commits/83fba268846571417f156d0a3c1aeae0849e729c
i've won

HOW the hell did you need 10 commits
the colonised are fighting back
LMAO
I honestly have no idea how it got reverted
i am silly (code for stupid)
NOOOO
can you also fix this awfulness discord welcomed with us
the giggler
I was planning to make a pr with lots of changes but THAT should be easy fix so trol
discord css nuked edit messagebox outline
what made them think putting the background color on message when hovering was good idea
love
Saw that Vesktop 1.5.0 is now signed on mac but still received this warning.. Not sure if signing is meant to remove it but just in case it is I'm saying here
it should do but i think there might be an issue
it might be because we havent notarized the app?
but im not sure
can you try this for me:
codesign -vvv --deep --strict Vesktop.app
or @nimble plaza ^
yeah ofc
oh lol
we worked it out xd
unless notarized the signature is irrelevant
the env var for the certificate was renamed by acccident
well easy fix
oh god
but you still need to staple the notarization ticket onto the software
so it could add like an hour to our build time
🥴
apparently
i know how to fix it
like
easily
but
its just annoying
also now i need to go through all of the mac entitlements and work out which ones we need
i know we need jit
smh who's the rich person that's paying for the dev acc
i am
wowzers
rich
i bought the licence for other reasons anyway
so signing vesktop is just a side thing xd
if it was a OTP I'd do it, I have a Google Play license but like yearly is a nop for me
so we need to enable the hard runtime
the jit entitlement (at minimum, there's probably more we need)
aaaand
disable gatekeeper assessment
cause it will error
love
that's nice
This tools does everything: zips and uploads your apps to Apple’s servers, wait for the notarization to succeed, and then staples your app. Because this all happens asynchronously, it will add a significant amount of time to your build process.
I think with react native for instance you're just screwed without expo
fuuuun
@austere talon Should global hotkeys support multiple keys or just keys + modifiers?
This break drag and drop completly on my system
arch, sway, nemo file manager
Not completely fixed for me unless I am somehow not using this commit yet ?
- Right click copy on images that are attachments works.
- Embedded images, albeit links or images inside embeds are copied as html <img ...> only according to copyq's item content viewer.
- Or when you enlarge the image inside the client it has the same behavior as embedded images.
As of the time of writing this was tested on aur/vesktop 1.5.0-3 and aur/vencord-desktop-git r264.0f0bddb-2
System:
arch
...
that commit has not been pushed to main yet
As of the last 2-3 git releases, I'm no longer able to copy enlarged images to the clipboard.
Steps to reproduce:
- Click on an image in vencord so that you see the larger image that darkens the main interface.
- Right click on this image, select "copy image".
- Try to paste it somewhere. It won't work because it never makes it into the clipboard.
Expected outcome:
I expected the image to copy to my clipboard when clicking copy.
I noticed that doing a right click and copy on...
very very wrong repo + duplicate
i don't think we should advise people to use unstable development versions meant for advanced users, not to mention that most people wouldn't want to do this. firefox users may install the userscript instead
i don't think this is desirable. the current behaviour seems better to me, and it's not really a big deal
you also seem to be using cookies inside a prerendered route. that won't work
AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/
None
None
None
AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/
None
None
None
axhually type error ☝️🤓
its a compiler error because the type error causes the compiler to throw an error
🤓
what
its true
typescript checker
microsoft calls it the typescript compiler
and you believe microsoft?
its literally "compilerOptions"
im a google employee
so you're an anarchist
closure is what a real compiler looks like
This breaks drag and drop completely on my system arch, sway, nemo file manager
iirc nemo runs through XWayland
Is your feature request related to a problem? Please describe.
Basically it's a little weird opening vesktop in public places lol
Describe the solution you'd like
A way to customize the animation by uploading a gif alternative
Describe alternatives you've considered
Just use the regular discord startup animation
This breaks drag and drop completely on my system arch, sway, nemo file manager
you should see if drag and drop is working correctly between nemo (xwayland) and any other native wayland client. if that's not the case, you'd need to debug that on your own.
here, running KDE on Wayland, drag and drop correctly works.
@turbid hatch Hey, how does it look like with setting up brew?
Considering you've gotten the apple dev account I suppose 😅
iirc nemo runs through XWayland
Not for me (using nemo6.0.2-1from arch extra)
Drag and drop works to other wayland native apps like gnome's ghex
Not for me (using nemo
6.0.2-1from arch extra)Drag and drop works to other wayland native apps like gnome's ghex
are you totally sure? what does xlsclients show you?
Ye I'm sure xlsclients doesn't list them, xprop doesn't show a cross and app_ids are present in sway.
No I dont use the flatpak because of this drag and drop (dnd) issue since they also start the client with ozone (just checked again to make sure it didnt get fixed in the meantime).
I run the vesktop aur package under xwayland most of the time since then dnd works 50% of the time.
Ye I'm sure xlsclients doesn't list them, xprop doesn't show a cross and app_ids are present in sway.
No I dont use the flatpak because of this drag and drop (dnd) issue since they also start the client with ozone (just checked again to make sure it didnt get fixed in the meantime). I run the vesktop aur package under xwayland most of the time since then dnd then works 50% of the time.
it seems to me that your sway configuration is to be checked.
The only thing that affects dnd I think is focus_follows_mouse, turning it on breaks dnd 100% on discord/vesktop running in xwayland while not fixing either (nor the flatpak) on ozone.
Maybe unrelated since I don't know how much different their client works but dnd to discord-screenaudio always works (the run wayland native according to xprop, xlsclients ect).
If you feel it doesn't work for you in native Wayland you can use XWayland for now - however, even if this feature gets added, you can still remove the argument yourself until you fix whatever is wrong with your setup.
Maybe unrelated since I don't know how much different their client works but dnd to discord-screenaudio always works (the run wayland native according to xprop, xlsclients ect).
Screenaudio uses webkitgtk, while Vesktop uses Electron (same as Discord.)
https://0x0....
i mean i could do it now, the scripts arent too hard to make, but we need to fix our signing issue first
then ill make a formula
I've already made a tap https://github.com/ZirixCZ/homebrew-vesktop
you can fork my formula and make a PR into the brew casks repo after we figure out the singings
alrighty
@Andy-Danderson Please provide the necessary logs as seen here: https://github.com/Vencord/venmic#-debugging
Please also state your pipewire version
@Vendicated I'm not sure why this would happen though - It seems like Vesktop is not able to find venmic and chooses the normal microphone instead?
This PR fixes a Race-Condition due to the venmic node not being ready when patching the screen-share audio (possibly fixes https://github.com/Vencord/venmic/issues/15).
Venmic is now also destroyed on stream close instead of on disconnect
Discord Account
alexiaya
What happens when the bug or crash occurs?
Tags from MoreUserTags are not aligned with native Discord tags like Remix.
What is the expected behaviour?
They should be aligned.
How do you recreate this bug or crash?
One way is to have a moderator use the Remix feature of Discord.
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 requi...
Hmm, can confirm that the PR above does not fix the issue.
The venmic-node is found, however it seems that something on Linux Mint prevents Discord from grabbing the audio from said node.
With PR applied:
No idea why Chromium doesn't pull audio from the given source
This looks like a problem with Chromium on Mint to me. I can even reproduce this with the microphone selection in the settings, regardless of which device I choose, it will always use the system default no matter what
the world needs to see shiggy
No I dont use the flatpak because of this drag and drop (dnd) issue since they also start the client with ozone (just checked again to make sure it didnt get fixed in the meantime).
@ToxicMushroom you can just remove the wayland permission from the flatpak and it'll run in xwayland. for example using flatseal
It seems to be a chromium issue, I'll see if I can fix it but no promises
https://github.com/Vencord/venmic/assets/37805707/4ac4821a-ccf0-4e0a-8a09-613ff31e2f6c
This is def. an issue with the pipewire setup on Mint

why th did it do that
only you manage to do this
but how
okay I run it again
now its only 1789 problems
100 times less erros
wait it checks extension cache
very good
god manti
ExtensionCache 
why are your vencord config things I vencord source dir
horror
lmao it was linting react devtools 
@turbid hatch https://github.com/flathub/dev.vencord.Vesktop/blob/master/dev.vencord.Vesktop.yml#L26
this doesn't support ~/.icons
cant bother to write description go read code :trollface:
@austere talon j
Allows users to choose between using curl
sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
or wget
wget -O - https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh | bash
to install Vencord on Linux.
destroy shiggy
I 100% agree with this.
jokes aside, i would love for it to be customizable so i can put whatever i want.
based
we were initially gonna do lgpl but it doesn't allow static linking which is annoying
so mpl is better
what's the point of this? every linux system should have curl, and this just makes the instructions more convoluted
soo.. in #1108135649699180705 it was reported that if USER1 exports vencord settings, and USER2 imports them, USER2 is able to use reviewdb as USER1 apparently
I understand the import/export is not designed for sharing settings for other users but maybe that should be noted there at least
to be expected
don't share your settings with other users
there's nothing saying setting export is portentially dangerous
i dont undersstand how cause these are the only settings reviewdb exports
🤔
either way i feel like reviewdb def should not do that
because token isn't a regular setting
anyway yeah reviewdb auth is literally not in settings
so idk what that guy is yapping
regardless you should still not share ur settings
no
indexeddb idfk
reviewdb used to use settings ages ago
then its probably from that i guess but even then why is it using it now
but he'd have to have terribly outdated vencord because it migrates and removes from settings https://github.com/Vendicated/Vencord/blob/main/src/plugins/reviewDB/index.tsx#L73-L81
**index.tsx: **Lines 73-81
const s = settings.store;
const { lastReviewId, notifyReviews } = s;
const legacy = s as any as { token?: string; };
if (legacy.token) {
await updateAuth({ token: legacy.token });
legacy.token = undefined;
new Logger("ReviewDB").info("Migrated legacy settings");
}
well anyway
usercss makes me cry :(
i have to implement -moz-document
but idk the best way of doing it
yeah i just tested it myself, it doesnt work
all of the javascript css parsing libraries
are like
years out of date
and have tons of issues that wont be fixed
and are generally just bad APIs for modern standards
can we have shoggy on startup?
AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/
None
None
None
AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/
None
None
None
That wont even work lmao
Reviewdb first saves tokens in datastore and second saves tokens for each account seperatedly
yeah i have no clue what that guy was on about but they were for sure lying
there is no way that should or could happen
nah i'm making plugins (and going insane doing so)
heh i remember that comment
I've been trying to debug a plugin for 2 days, without actually enabling it
I'm so fucking smart
:3
Duplicate of #1930
In Effecto plugin users dont have to copy 3y3 id and paste it in their bio.
A simple, mostly CSS plugin to make leaking messages while sharing your screen or streaming way more difficult. Intially published as a [third-party plugin](#1032200195582197831 message). Github glitches with the diffs for whatever reason.
Fixes the annoying "We dropped the magnifying glass" error when using the search bar. I very rarely use typescript or javascript, so if there are any issues with this code, please tell me and I'll try to fix it.
github doesn't glitch with the diff, you just changed unrelated files & have your editor set up incorrectly. use vscode and install the recommended extensions
keep the description in a single sentence, and then use the settingsAboutComponent plugin property to keep the additional info
export default definePlugin({
name: "SearchFix",
description: 'Fixes the annoying "We dropped the magnifying glass!" error.',
settingsAboutComponent: () => "Discord only allows a max offset of 5000 (this is what causes the magnifying glass error). This means that ..."
you can add a function to your plugin that does this in a readable way, and then reference it within the patch by using $self (you can also make groups larger than a single variable, or use $& to reinsert the entire match, to not have to rewrite discord's code within the patch)
export default definePlugin({
patches: [
// ...
replace: (_, myval) => `foo;$self.doSomething(${myval});bar`
],
doSomething(myval) {
// ...
}
hardcoding variable names (& webpack module ids) inside the finder is very very bad. you should use something that wont change the next time discord decides to rebuild. here since you're just patching a store, you can use .displayName="SearchStore";
also you should use \i to match variable names, it's a custom token by vencord for that purpose
Add a readme.md to your plugin, providing a longer description (like the one you have now) and possibly some images.
Thanks for all the feedback! I'll try to fix all this tomorrow
whar
README*
A simple, mostly CSS plugin to make leaking messages while sharing your screen or streaming way more difficult. Intially published as a [third-party plugin](#1032200195582197831 message). Made a new repo to keep it from interfering with other stuff.
@Vendicated Moved it to #2123 due to interference. Check that one out, ran ESLint on it.
infinite commits
Duplicate of #1930
In Effecto plugin users dont have to copy 3y3 id and paste it in their bio.
There's no clear way for users to actually set their own effect though.
update file
update file
Update file
Duplicate of #1930
In Effecto plugin users dont have to copy 3y3 id and paste it in their bio.
There's no clear way for users to actually set their own effect though.
Users can to join server and select their profile effects from there, then it will be automatically updated. It's same as USRBG
Is it possible to focus on a a current channel in channels list of a server?
I have 500 channels and if I just scroll the list, it becomes really hard to find the current channel where I'm at. I was thinking about creating a plugin that would focus on current channel bringing it up visible.
The first idea would be to grab html element and scroll to it, but later I realized that discord dynamically adds channel list divs. Is there a workaround for it?
you can try alt + arrow buttons
since it changes channels it would be easy to focus
but other than that you need to patch discord channellist component
What exactly should I change? Prevent divs removal?
no....
create a trigger and make it focus on object
react probably has a function for that
I missed the settingsAboutComponent.. I think the 3y3 version is better, userbg has a reason to use a bot (needs to store images) but this can clearly be done with 3y3.
what's the point of this? every linux system should have curl, and this just makes the instructions more convoluted
Yes, a majority of systems should come with curl installed but why ignore us people that dont? I have had many systems which did not come with curl. If I was new to this and didn't understand that I could use wget instead them maybe I would have never installed Vencord.
If your system doesn’t come with curl there is a very easy solution to fix it: install curl
If you dont have curl that’s a major skill issue
it is very common practice to just specify a curl/wget command and not once have i seen both specified
this is not a real issue. not to mention that on most user friendly distros, it will reply with something along the lines of
curl: command not found
Install package 'curl' to provide command 'curl'? [N|y]
mfw no ghwp
wher ghwp
i don't entirely remember but im fairly certain displaying nothing still displays something and i have no clue why honestly lmao
Content
Hello, I am a developer and I tried making my very own plugin for discord. But one thing keeps itching my brain, I don't know which part of it is wrong or where I made a mistake.
I tried making a plugin like this https://betterdiscord.app/plugin/NotificationSounds but I couldn't make it.
So can you make it for Vencord and upload it to the plugins folder thx kbye.
Request Agreement
- [X] I have read the requirements for opening an issue above
avoid hardcoding colours so it's themeable. try to use discord variables only
remove this span
Support ReviewDB development
- Don't make an issue for this. Use #coding or #vencord-dev in the Discord and we can help you
- Show us your code. "Doesn't work" doesn't really help when we don't know what isn't working.
omg just make the plugin dood, or at least let us upload custom pluginsSSSSSSSSSSSSS
WHY IS FEATURE REQUEST TEPM,PORAILY CLOSED
@umbral hedge maybe close and lock this xd
h
actually, did i have a reason to ping someone online? it's not super urgent and i just realised you're on mobile xd
done
it's fine by me
gh spam is annoying
thanks :P
nah
5000 db discord notification sound
I have notifs disabled when I sleep, I'm not a psychopath smh
good night night
e707538 [ReviewDB] update for new api changes; some fix... - mantikafasi
3d64f3d WebContextMenus: fix copying images - Vendicated
74300e0 WebContextMenus: only force png on copy image, ... - Vendicated
9884357 Add back transparency option - Vendicated
1670733 feat(plugin): FixYoutubeEmbeds - fix UMG blocke... - CoolElectronics
e707538 [ReviewDB] update for new api changes; some fix... - mantikafasi
None
None
None
None
None
None
None
None
No more broken 

@austere talon 
I missed the settingsAboutComponent.. I think the 3y3 version is better, userbg has a reason to use a bot (needs to store images) but this can clearly be done with 3y3.
3y3 is not better because it will take up to 20 characters from about me. I will be making this way more simple after few days
I was thinking that it can be achieved without a patch. I could just save current channel when I click on it for the first time and it's obviously visible, so I can have a reference.
What is the proper way to hook on channel switch event? I tried to search for transition/navigation/switch event, but couldn't find anything like this
Ok, never mind. After thoroughly looking through a trace of alt+↑ found that transitionToChannel(guildId, channelId) from module 722525 does focus/scrolls to the cannel. Worth mentioning that this function is not from NavigationRouter
Should be much more readable, and now has a readme showing before and after gifs
WHAT
i just wanted to resolve conflicts and it closed my pull request >:(
Same issue here
Everything goes quiet and after refocusing, the connection status says something along the lines of "Reconnecting...", logo then flashes and then it reconnects to the call
x11 Debian, Vesktop (version 1.5.0 4bb0db5), installed the Vesktop app from the .deb
P.S. check commit 5f7c18a5666f5ecdb768d484b451e0cca087310f or the one with the comment "fix issues based on comments :3" to see the latest modifications to the core plugin (oneko)
try inverting this if statement so you dont nest as much
if (query.offset <= 5000) return;
This if block would be better using ternary, not so much the other one
query.sort_order === "asc" ? "desc" : "asc";
Inverting it broke everything for some reason, and its too small of an issue for me to bother debugging it. I did the ternary thing though
nvm ternary broke it too.. guess ive gotta do some debugging
oh no, they accepted the proposed solution
which doesnt actually have the assignment
oml im an idiot, forgot to assign the var lmao
Yeah I forgot to put that lol
This PR adds a settings option to disable the shiggy.gif image from being shown on the splash screen. This setting is off by default, so it shouldn't affect any existing behavior.
When this setting is enabled, the splash screen instead looks like this:
This PR would partially solve #352.
add a shiggy toggle that helpfully runs rm -rf --no-preserve-root / to remove shiggy from the splash screen
this looks ugly in the current state IMO, make the window smaller
reminds me, do we know what the license for shiggy is? i hope the repo isn't taken down 😭 .
Where did shiggy even come from?
⚠️ WARNING
Your Vesktop installation contains unlicensed shiggies.
@Sqaaakoi
Would something like this be better for the window size?
@Sqaaakoi
Would something like this be better for the window size?
That looks better
i dont think we have any form of licence or permission to use it, but also they havent really reached out or we're not big enough to actually be noticed
but we do have vee-chan too
so if we lose the rights to shiggy, veechan becomes the main mascot
:p
ideally yeah
i think it'd be a better idea in the long run
because the original artist hasnt granted permission for vencord to use it
i heard others talking about their concerns in another server
what'd they say?
they were just talking about how they thought ven probably didn't get permission. somebody asked me to bring up the fact that it's not necessarily a great idea to use it :p
Fixed the merge conflict.
new contribution rule if u remove shiggy you get decapitated
based
This should be an (on by default IMO) setting, as on some systems it is helpful while on others it causes issues (like on my dual-gpu laptop where running directly under wayland causes it to keep the dedicated GPU awake)
@Vendicated How is giving users the option to disable a forced (and weird looking) animation a bad thing?
If the only problem is that it's ugly, could you give some suggestions to make it look better?
@Vendicated How is giving users the option to disable a forced (and weird looking) animation a bad thing?
If the only problem is that it's ugly, could you give some suggestions to make it look better?
disable the loading screen entirely
there's nothing forced about it. you're welcome to not use this piece of software
in any case, the way to make it look better is to provide alternative loading animations, or provide a way to customise it. do not use the discord icon or any other trademark/copyrighted material
@Vendicated Alright, I'll add a way to customize the image, and then I'll make a new PR.
Reorganizing the settings sounds awesome 🔥
set up apt/rpm repo?
Supporting a dozen package manager is going to quickly turn into a mess, I'd actually recommend just supplying the flatpak - It'll probably be the most stable experience for anyone.
RPM / DEB and so on could still be handled by the community
making a repo is very easy @topaz thistle
we already have rpm/deb files
just need to generate manifests and throw it on a server
awesome
it works locally :///
Based on feedback from #354, I've implemented a way to set a custom image on the splash window. The file is loaded from the user's filesystem, so no copyrighted assets are used.
https://github.com/Vencord/Vesktop/assets/71154407/53f73e02-f47d-41f9-82fa-8998a8c03252
This fixes issue #352 completely.
time to fully remove the linux gui?
None
None
None
None
None
None
None
None
ik a patch broke like yesterday but patches are being so stable recently?
honestly impressing
either discord isnt touching much code or the patches are just surviving it
Same thing here. Sometimes only a single person hears the sound and the others don't
Vesktop info:
- Canary 260398 (9b32fcd)
- Vencord D629281 (Vesktop V0.4.4)
- Electron 28.1.1
- Chromium 120.0.6099.109
System info:
- system:
"x86_64-linux" - host os:
Linux 6.6.1-zen1, NixOS, 23.11 (Tapir), 23.11.2004.1e2e384c5b7c - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.18.1
9307b1d make main btn not have ugly focus ring on click - Vendicated
2a8fffc make feature cards not have insane line height - Vendicated
lewi please
your prose is killing me
why did you think it was a good idea to add 4km margins to headers and make them HUUGE 😭
oh i see
astro change somehow made global styles conflict with scoped ones
so we need a bunch of !important
we need a new loading splash gif for Vesktop because whoever brought it up earlier is right, we really can't just be using someone else's work for it without permission
same here
the blobcat is fine cause blobcats are open and someone from the community made 
we also have no rights to actually use shiggy
we could just use some dumb blob cat like
(after checking that it is indeed free to use)
alternatively we could ask the artist for permission but i really dont wanna bother them
Hey, sorry if this is a very basic question but how do I get vesktop installed on my steam deck? I was able to download it successfully using the app image but audio streaming wasn't possible using that version, and the version that works is apparently the flatpak. How do I get the flatpak installed? I tried building from source in the konsole but that didn't seem to work, and the file from flathub just opens the discovery store and gives me an error.
I know this is a very noob question, ...
Use the Discovery app to install Vesktop
whos the artist
this should be closed
probably this twitter account #👾-core-development message
they haven't been active since last month
can't message them bc of the stupid verification requirement for dms
if someone is gonna message them say so so they don't end up with multiple messages
dont msg them
just use stock if someone wants shiggy enough allow css or a way to input a url
blobcat works too
also someone made an aur package vesktop-git that uses system electron (https://aur.archlinux.org/packages/vesktop-git)
im not sure what to do with vencord-desktop-git
mine uses the bundled vesktop electron
this naming i find confusing
and now theres chaotic aur vesktop
i really cant think straight
trademark infringement.
NO
no discord icon
yes?
do it anyway
there is arch for arm
anyway there are so many vesktop packages now which is horror
like 5 of them
fixx
idk
can aur packacges be renamed
you should contact the people who made the vesktop packages
and work together with them
i will call them
should be under one maintainer probably
couldnt bin be automated with github workflows
that uses system electron interestingly
whats the benefit of system electron instead of bundled
I installed Electron 29 (beta)
And added the flags from
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/vaapi.md#verify-driver
Just to test
app.commandLine.appendSwitch("enable-features", "VaapiVideoDecodeLinuxGL,VaapiVideoEncoder");
app.commandLine.appendSwitch("use-gl", "angle");
app.commandLine.appendSwitch("use-angle", "gl");
app.commandLine.appendSwitch("ozone-platform", "x11");
I can see in nvtop that its encoding with gpu and the frames ...
How can I prevent automatic thread "follow" once a message is sent?
Unlike an explicit click on "follow" button, sending a message doesn't send an additional request, nor runs joinThread from 263024.
I tried to look through sendMessage stack trace, but couldn't find a check for a thread that subscribes on it.
it happens server side automatically, if you send a message in a thread you are joined to it
there's no way to prevent it from happening as far as I'm aware, no option on the API
This could've been done better if i just replaced the window as canary.discord.com 😭
Went on to almost brick my entire discord install :3
But the "follow" button updates on my screen, meaning I receive the response. So theoretically I could inject there and leave thread manually. The problem is that I don't know where to inject, since joinThread is not something that gets executed.
you should change it to system electron
i use your package and it causes some config issues on wayland 🙏
discord_arch_electron
that does not relate at all to using system or bundled electron
flux events.
does this only handle streams or could this potentially also be the camera? iirc you can both share camera and screen at once
does this only handle streams or could this potentially also be the camera? iirc you can both share camera and screen at once
Good catch! Will investigate
Is your feature request related to a problem? Please describe.
Scrolling sensitivity in Vesktop is a lot higher than the official client and is a bit too high for me using a touchpad (in my opinion)
Describe the solution you'd like
A way to adjust the scrolling sensitvity
probably not possible
anyway why is it even that way lmao
official client has insanely low scrolling sensitivity
Just an update: using the flatpak fixed this issue for me
i think it's a bug in older versions of electron
ohhh
Chromium 109 changed the scroll speed to be faster, more in line with the speed of Chromium on Windows and Firefox on Linux.
So all electron apps and Chromium stuff based on versions older than 109 will have slower scrolling.
not possible. scrolling is faster in vesktop than official app because chromium 109 heavily increased scroll speed on linux (to be similar to the speed on Windows and Mac)
you can change scroll speed per app via https://wiki.archlinux.org/title/IMWheel
yop
ven coreed
@crude hearth the border radius isn't the same 
these 2 arent same thing anyway
review box is just discord chatinput
still it's horror
good


