#👾-core-development

1 messages · Page 158 of 1

still wasp
#

YIPPEEE

crude hearth
#

you guys get your prs merged?

spark pivot
#

i would love to help review and merge prs but uh

#

i dont have the privilege

dapper crest
crude hearth
#

ven doesnt like my code

#

this is also funny

charred monolithBOT
jagged cloak
#

dave version much more mergeable

#

if they want to pr

#

it just works

#

timedone fo free

#

manti is in africa

barren peak
#

timezone what

charred monolithBOT
tawny cipher
crude hearth
#

Without tzdb integration its easy

#

Problem starts when you get timezones from api and it returns country/city

crude hearth
jagged cloak
#

u shouldnt need to this way

#

but none of my business lolo

crude hearth
#

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

jagged cloak
#

you cant say that and make timedones plugin

crude hearth
#

That plugin made me hate timedones

#

The arguments we had in this channel

#

Awfullness of javascript date

#

All were just nightmare

charred monolithBOT
#

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

a screenshot of the context menu mentioned above on dekstop discord

**Describe t...

cunning canyon
#

why do they post it 2 weeks later
while the feature was done 2 weeks ago

charred monolithBOT
#

EasyEffects now reads the custom PW_KEY_TARGET_OBJECT set 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...

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

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:

  1. Sign in
  2. Reboot
  3. Start vencord
  4. 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]
charred monolithBOT
charred monolithBOT
dapper tiger
#

is vencord desktop copying images broken for just me

rancid dragon
#

if you click to view it large style you can copy it

charred monolithBOT
austere talon
#

works for me

charred monolithBOT
dapper tiger
#

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

austere talon
#

yop

#

doesnt work

#

small preview works

#

but not big modal

#

guh no error

dapper tiger
#

horror

austere talon
#

oh i know why

dapper tiger
#

fix soon blobcatcozy

austere talon
#

and i only handle plain text and img

#

not html

dapper tiger
#

why is it HTML

#

shouldn't it be the image data

austere talon
#

<img src="url" />

#

you love

dapper tiger
#

evil

#

can it be made so I can paste in file.browser and it puts the image

#

is that even possible

austere talon
#

wdym

dapper tiger
#

opening a folder in my file browser then being able to paste the image as a file

#

probably not

charred monolithBOT
austere talon
#

@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

dapper tiger
#

I will fix

austere talon
#

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())
dapper tiger
#

what's that

austere talon
#

they fix the image url

#
let v = "https://media.discordapp.net"
  , m = "https://cdn.discordapp.com"
dapper tiger
#

guhhh

austere talon
#
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

dapper tiger
#

discord so bad

austere talon
#

well this is good enough for now

#

converting webp to png is so easy

dapper tiger
#

Guh?

austere talon
#
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

dapper tiger
#

horror

charred monolithBOT
jagged cloak
#

oh thats very fun

austere talon
#

fix part 2 now

charred monolithBOT
dapper tiger
#

@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

austere talon
#

you cant

austere talon
#

its webp

#

love if u remove the format=webp param it works

austere talon
#

yop

#

discord itself is broken

dapper tiger
#

well im on vencord desktop

#

oh dev branch

#

uhh

austere talon
#

ON DISCORD DESKTOP

#

NOT VESKTOP

dapper tiger
#

i know

#

venny

#

what branch should aur package follow

charred monolithBOT
dapper tiger
#

scary

austere talon
dapper tiger
#

OH

#

im dumb

#

thats vencord

austere talon
#

i dont use dev branch on vesktop

dapper tiger
#

is there no way to select what vencord version vesktop uses

austere talon
#

actually mmm

#

if you use save image on a webp

#

it will save as png

#

guhhh

#

i will fixy

charred monolithBOT
austere talon
#

@woeful sable

#

who the hell is ztKaizen

dapper tiger
#

me

austere talon
#

@dapper tiger

dapper tiger
#

ven loves pinging randoms

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jagged cloak
#

guhh

#

make discord not shitcode

dapper tiger
#

@jagged cloak @jagged cloak work for discord

dapper tiger
#

@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

austere talon
#

uhhh

#

idk xd

charred monolithBOT
dapper tiger
#

vennn 😭

#

why does clicking desktop notifs cause the window to like shrink then quickly maximize back to what it was

austere talon
#

u love

jagged cloak
#

eated the window

#

its funny

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

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:

  1. Be on Mint 21.2 Cinnamon (with
  2. Follow this guide to install Pipewire (you may need to restart a couple times): https://forums.linuxmint.com/viewtopic.php?t=375771
  3. Join a chat on Vesktop
  4. 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:

  1. Be on Mint 21.2 Cinnamon (with
  2. Follow this guide to install Pipewire (you may need to restart a couple times): https://forums.linuxmint.com/viewtopic.php?t=375771
  3. Join a voice chat on Vesktop
  4. Click "share a screen" and choose a w...
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
thick kestrel
#

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

royal bane
#

would having them seperated be an option

#

like a dropdown for ‘vencord’ and ‘custom’

spark pivot
thick kestrel
verbal pumice
charred monolithBOT
charred monolithBOT
charred monolithBOT
dapper tiger
#

kill

charred monolithBOT
charred monolithBOT
crude hearth
#

@austere talon

#

gitea has cloud services tho

austere talon
#

lmaooo

#

i think gitea rather uses opencollecive

#

also isnt gitea a company now xd

crude hearth
#

they probably get most of the money from cloud services

olive aurora
#

vee richer than codeberg

glass jasper
charred monolithBOT
#

Describe the bug
There is no appindicator icon using "AppIndicator and KStatusNotifierItem Support" extension on GNOME

To Reproduce
Steps to reproduce the behavior:

  1. Install the "AppIndicator and KStatusNotifierItem Support by 3v1n0" extension
  2. Open vesktop
  3. No icon

Expected behavior
There should be an vesktop icon like other apps that have an appindicator on like on kde

Screenshots
![image](https://g...

dapper tiger
charred monolithBOT
austere talon
#

@placid wave aagamer

#

happiest day of ur life

austere talon
#

whaa

#

does that actually work

#

what the fuck why does that work

charred monolithBOT
still wasp
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

it works

austere talon
# austere talon

maybe just put a gif similar to this in the README and it should be clear @sleek inlet

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
still wasp
#

I cant believe that works bro

jagged cloak
limber skiff
#

can anyone else not copy a network request as fetch anymore from the devtools

austere talon
#
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

charred monolithBOT
limber skiff
#

actually

limber skiff
#

devtools context menu are completely broken for me

#

I'm on canary

austere talon
#

ohhh

#

did they bump electron

limber skiff
#

yeah

austere talon
#

its a chrome bug

#

on new chrome

#

vesktop has a fix for it

limber skiff
#

grrrr

charred monolithBOT
grave mangoBOT
# austere talon https://github.com/Vencord/Vesktop/blob/main/src/main/index.ts#L38-L45

**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"
);
austere talon
#

you need to add that switch to fix it

limber skiff
#

can I add it at runtime

austere talon
#

theres not really a good way to do this because i think if you have multiple disable-features switches it only uses one

limber skiff
#

horror

austere talon
#

monkey patch app.commandLine.appendSwitch inside patcher.js, to add WidgetLayering if the flag name is disable-features

slim marsh
#

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

charred monolithBOT
charred monolithBOT
jagged cloak
#

why do more when shrimple work

slim marsh
#

i guess

charred monolithBOT
austere talon
#

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

charred monolithBOT
austere talon
#

made the README install instructions not horror

golden gulch
#

silly that it works but makes sense xd

charred monolithBOT
charred monolithBOT
turbid hatch
#

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

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
iron elm
crude hearth
median rapids
#

the colonised are fighting back

crude hearth
#

I honestly have no idea how it got reverted

iron elm
austere talon
#

later once I get on pc

iron elm
#

NOOOO

crude hearth
junior olive
crude hearth
#

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

austere talon
#

love

charred monolithBOT
charred monolithBOT
charred monolithBOT
half shell
#

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

charred monolithBOT
turbid hatch
#

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 ^

austere talon
#

its not actually signed

half shell
turbid hatch
#

we worked it out xd

tawny cipher
turbid hatch
#

the env var for the certificate was renamed by acccident

half shell
#

well easy fix

turbid hatch
#

issue is

#

notarization takes

#

a while

lime stone
#

oh god

turbid hatch
#

but you still need to staple the notarization ticket onto the software

#

so it could add like an hour to our build time

#

🥴

#

apparently

lime stone
#

i watched somebody else's suffering with this

#

🥴

turbid hatch
#

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

tawny cipher
#

smh who's the rich person that's paying for the dev acc

turbid hatch
#

i am

tawny cipher
#

wowzers

half shell
#

rich

tawny cipher
#

I just sign with my local cert and call it a day

#

not that it really does anything

turbid hatch
#

i bought the licence for other reasons anyway

#

so signing vesktop is just a side thing xd

tawny cipher
#

if it was a OTP I'd do it, I have a Google Play license but like yearly is a nop for me

turbid hatch
#

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

#

poi_thumbsup love

tawny cipher
#

ah yeah notarization needs sandbox and hardened runtime

#

so much fun

turbid hatch
#

electron-builder supports it out of the box

#

its an option to flick

#

so thats nice

tawny cipher
#

that's nice

turbid hatch
#

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.

tawny cipher
#

I think with react native for instance you're just screwed without expo

turbid hatch
#

fuuuun

charred monolithBOT
topaz thistle
#

@austere talon Should global hotkeys support multiple keys or just keys + modifiers?

charred monolithBOT
charred monolithBOT
#

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
...

charred monolithBOT
charred monolithBOT
#

As of the last 2-3 git releases, I'm no longer able to copy enlarged images to the clipboard.

Steps to reproduce:

  1. Click on an image in vencord so that you see the larger image that darkens the main interface.
  2. Right click on this image, select "copy image".
  3. 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...

frail skyBOT
#
Bad Patches

AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

olive aurora
#

axhually type error ☝️🤓

turbid hatch
#

its a compiler error because the type error causes the compiler to throw an error

#

🤓

olive aurora
#

tsc stands for typescript checker actually

#

it does not compile

turbid hatch
#

what

olive aurora
#

its true

spark pivot
#

it's typescript compiler

#

is it not

turbid hatch
#

it's

#

not true

#

it's typescript compiler

olive aurora
#

typescript checker

turbid hatch
#

microsoft calls it the typescript compiler

olive aurora
#

and you believe microsoft?

turbid hatch
#

its literally "compilerOptions"

olive aurora
#

what are you

#

a fed

#

??

turbid hatch
#

what are you

#

an anarchist

olive aurora
#

im a google employee

spark pivot
#

so you're an anarchist

olive aurora
#

closure is what a real compiler looks like

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

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

charred monolithBOT
analog knoll
#

@turbid hatch Hey, how does it look like with setting up brew?

#

Considering you've gotten the apple dev account I suppose 😅

charred monolithBOT
charred monolithBOT
#

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.

charred monolithBOT
charred monolithBOT
#

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....

turbid hatch
#

then ill make a formula

analog knoll
turbid hatch
#

alrighty

charred monolithBOT
topaz thistle
#

How do I go about hooking a Discord Method in Vesktop?

#

(Not as a plugin)

#

Got it

charred monolithBOT
charred monolithBOT
#

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...
crude hearth
#

@austere talon I might have a problem with my code

#

eslint doesnt like me

austere talon
crude hearth
#

why th did it do that

austere talon
#

175k errors

#

amazing

#

what the hell did u do

crude hearth
#

I swear I didnt make 175k line change

#

nothing

austere talon
#

only you manage to do this

crude hearth
#

but how

#

okay I run it again

#

now its only 1789 problems

#

100 times less erros

#

wait it checks extension cache

#

very good

jagged cloak
#

god manti

austere talon
#

why are your vencord config things I vencord source dir

#

horror

#

lmao it was linting react devtools posttroll

charred monolithBOT
austere talon
#

this doesn't support ~/.icons

charred monolithBOT
dapper tiger
#

@austere talon j

fringe basalt
#

me when i name commits

charred monolithBOT
charred monolithBOT
olive aurora
austere talon
#

we were initially gonna do lgpl but it doesn't allow static linking which is annoying

#

so mpl is better

charred monolithBOT
charred monolithBOT
surreal fiber
#

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

austere talon
#

don't share your settings with other users

lime stone
#

there's nothing saying setting export is portentially dangerous

spark pivot
surreal fiber
#

🤔

spark pivot
#

either way i feel like reviewdb def should not do that

austere talon
#

anyway yeah reviewdb auth is literally not in settings

#

so idk what that guy is yapping

#

regardless you should still not share ur settings

turbid hatch
#

that implies he like

#

exported localstorage or something

#

its weird

austere talon
#

no

turbid hatch
#

indexeddb idfk

austere talon
#

reviewdb used to use settings ages ago

turbid hatch
#

then its probably from that i guess but even then why is it using it now

austere talon
grave mangoBOT
turbid hatch
#

well anyway

#

usercss makes me cry :(

#

i have to implement -moz-document

#

but idk the best way of doing it

spark pivot
turbid hatch
#

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

charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

AnonymiseFileNames (had no effect):
ID: 761354
Match: /(?<=children:\[)(?=.{10,80}tooltip:\i\.\i\.Messages\.ATTACHMENT_UTILITIES_SPOILER)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
glass jasper
crude hearth
#

Reviewdb first saves tokens in datastore and second saves tokens for each account seperatedly

spark pivot
#

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

spark pivot
#

heh i remember that comment

charred monolithBOT
still wasp
#

🗣️

patent flint
#

I've been trying to debug a plugin for 2 days, without actually enabling it

#

I'm so fucking smart

#

:3

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

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) {
      // ...
  }
spark pivot
austere talon
charred monolithBOT
inland fable
charred monolithBOT
junior olive
spark pivot
#

update file

junior olive
#

update file

spark pivot
inland fable
#

Update file

charred monolithBOT
warped turret
#

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?

crude hearth
#

since it changes channels it would be easy to focus

#

but other than that you need to patch discord channellist component

warped turret
crude hearth
#

no....

#

create a trigger and make it focus on object

#

react probably has a function for that

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
spark pivot
# charred monolith

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

charred monolithBOT
austere talon
#

mfw no ghwp

jagged cloak
#

wher ghwp

charred monolithBOT
#

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
lime stone
umbral hedge
#

h

lime stone
#

actually, did i have a reason to ping someone online? it's not super urgent and i just realised you're on mobile xd

charred monolithBOT
umbral hedge
#

done

umbral hedge
lime stone
#

thanks :P

umbral hedge
#

gn now xd

lime stone
#

gn

#

i didn't wake you up right? 😭

umbral hedge
#

nah

lime stone
#

5000 db discord notification sound

umbral hedge
#

I have notifs disabled when I sleep, I'm not a psychopath smh

lime stone
#

idk why i said that, maybe some people just have fomo really badly

#

xD

umbral hedge
#

xdd

#

gnn

lime stone
#

good night night

charred monolithBOT
#

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

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

odd heath
#

No more broken blobcatcozy

austere talon
dapper tiger
#

@austere talon blobcatcozy

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
warped turret
# crude hearth but other than that you need to patch discord channellist component

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

warped turret
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
dusky sonnet
#

oh no, they accepted the proposed solution

#

which doesnt actually have the assignment

charred monolithBOT
charred monolithBOT
charred monolithBOT
odd heath
#

Why

#

Something you see for like 5 seconds can't be that big of a deal 😭

dusky sonnet
#

add a shiggy toggle that helpfully runs rm -rf --no-preserve-root / to remove shiggy from the splash screen

charred monolithBOT
lime stone
#

reminds me, do we know what the license for shiggy is? i hope the repo isn't taken down 😭 .

rugged spire
lime stone
#

⚠️ WARNING
Your Vesktop installation contains unlicensed shiggies.

rugged spire
charred monolithBOT
turbid hatch
#

but we do have vee-chan too

lime stone
#

maybe you should move towards that

#

:p

turbid hatch
#

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

lime stone
#

i heard others talking about their concerns in another server

turbid hatch
#

what'd they say?

lime stone
#

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

turbid hatch
#

i mean we can reach out to the artist too

#

thats plausible

#

they have a twitter

charred monolithBOT
charred monolithBOT
olive aurora
#

new contribution rule if u remove shiggy you get decapitated

charred monolithBOT
austere talon
#

yes

#

it used to be donate link but i figured discord makes more sense

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

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

austere talon
#

we already have rpm/deb files

#

just need to generate manifests and throw it on a server

charred monolithBOT
charred monolithBOT
#
[Vencord/Installer] New tag created: v1.4.0
austere talon
#

awesome

austere talon
#

it works locally :///

charred monolithBOT
austere talon
#

time to fully remove the linux gui?

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

ik a patch broke like yesterday but patches are being so stable recently?

#

honestly impressing

charred monolithBOT
limber skiff
#

either discord isnt touching much code or the patches are just surviving it

charred monolithBOT
#

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
austere talon
#

wtf

#

i could swear headerswerent like this

charred monolithBOT
austere talon
#

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

charred monolithBOT
charred monolithBOT
austere talon
#

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 blobcatcozystars

dapper crest
#

But shiggy is good

#

We love it

austere talon
#

we also have no rights to actually use shiggy

austere talon
#

alternatively we could ask the artist for permission but i really dont wanna bother them

charred monolithBOT
#

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, ...

charred monolithBOT
fringe basalt
swift fjord
#

they haven't been active since last month

#

can't message them bc of the stupid verification requirement for dms

rigid venture
#

if someone is gonna message them say so so they don't end up with multiple messages

austere talon
#

dont msg them

dapper tiger
#

mine uses the bundled vesktop electron

#

this naming i find confusing

#

and now theres chaotic aur vesktop

#

i really cant think straight

dapper tiger
#

NO

austere talon
#

no discord icon

dapper tiger
#

wait

#

really?

austere talon
#

yes?

dapper tiger
#

use blobcat

#

or vencor logo

dapper tiger
#

wait

#

arch deosnt even support arm officially

#

was gonna ask if i should add arm

austere talon
#

do it anyway

#

there is arch for arm

#

anyway there are so many vesktop packages now which is horror

#

like 5 of them

dapper tiger
#

oh

#

is it just 'arm' or 'arm64'

dapper tiger
austere talon
#

idk

dapper tiger
#

can aur packacges be renamed

austere talon
#

you should contact the people who made the vesktop packages

#

and work together with them

dapper tiger
#

i will call them

charred monolithBOT
dapper tiger
#

should be under one maintainer probably

austere talon
#

zxp bunch of numbers

dapper tiger
#

couldnt bin be automated with github workflows

#

that uses system electron interestingly

#

whats the benefit of system electron instead of bundled

austere talon
#

nothing really

#

only if you have many electron apps that work that way

dapper tiger
#

i havent seen any other electron apps use system electron

#

vscode

austere talon
#

email the maintainer and tell them to join here

dapper tiger
#

oh

#

i will steal git credentials

charred monolithBOT
#

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 ...

warped turret
#

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.

golden gulch
#

there's no way to prevent it from happening as far as I'm aware, no option on the API

patent flint
#

Went on to almost brick my entire discord install :3

charred monolithBOT
warped turret
livid heath
charred monolithBOT
short sequoia
#

what if u guys used oneko :>

#

upscale oneko i think it would look good

lime stone
#

oneko dance?

#

is there a shigging oneko?

charred monolithBOT
glass cedar
charred monolithBOT
austere talon
charred monolithBOT
austere talon
#

probably not possible

#

anyway why is it even that way lmao

#

official client has insanely low scrolling sensitivity

charred monolithBOT
lime stone
#

i think it's a bug in older versions of electron

austere talon
#

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.

charred monolithBOT
dapper tiger
#

hated it

austere talon
#

yop

dapper tiger
#

ven coreed

charred monolithBOT
junior olive
#

@crude hearth the border radius isn't the same insane

crude hearth
#

review box is just discord chatinput

junior olive
#

still it's horror

crude hearth
#

good