#๐Ÿ‘พ-core-development

1 messages ยท Page 147 of 1

charred monolithBOT
#

What do you mean? there's transparency settings at the bottom of Vesktop Settings. I can't get it to work on Windows 11 23H2 though, I've tried a few updated themes which support transparency, enabling the setting fixes the white background but doesnt show the wallpaper.

#16 and #46
I use Vibe through the Vibrancy extension for Visual Studio Code which works on my system.

I see, how do I get transparency working on Windows though? It doesn't seem to work other than fixing the white ...

grizzled crow
#

Is the TypingIndicator plugin open source?

nimble plaza
#

all plugins are

grizzled crow
#

found it, thank you

austere talon
#

the easiest way to find source code is to go the plugin's page on https://vencord.dev/plugins and clicking the github button

grizzled crow
#

yeah I was looking through the GitHub's of the developers linked in the plugin settings page, haha

austere talon
#

what's with the approvals ๐Ÿ˜ญ

nimble plaza
charred monolithBOT
mortal fractal
#

the rest are sheep

charred monolithBOT
shut ridge
nimble plaza
#

masy for contrib :pitchfork:

mortal fractal
#

clearly

tame escarp
#

๐Ÿ—ฃ๏ธ๐Ÿ”ฅ

#

count this as an approval idr how to start a review on gh

nimble plaza
#

top right

spark pivot
tame escarp
#

evil

charred monolithBOT
nimble plaza
#

you love

shut ridge
#

aww i can't approve my own PR

nimble plaza
#

D:

#

make an alt

#

approve

charred monolithBOT
nimble plaza
shut ridge
mortal fractal
#

thinking about the bruh moment kernel panic pr

nimble plaza
#

the WHAT

mortal fractal
#

||i just remembered someone i knew that passed away approved that pr...||

mortal fractal
austere talon
#

IT ATE AUTUMNS PR AGAIN

#

๐Ÿ˜ญ

#

the cobu sync

shut ridge
#

yoooo i have the funny badge now

#

definitely not why i did this in the first place trol

limber skiff
#

this match is crazy

nimble plaza
#

its horrible

limber skiff
#

@austere talon reminding you of branch protection

shut ridge
#

decided i did not want to do regexing tonight but maybe another time

mortal fractal
#

my fault

#

im to blame here

#

i dont even remember writing this regex so badly

limber skiff
#

it's fine we all wrote bad regex in the past

charred monolithBOT
nimble plaza
#

watch cobu eat it again

austere talon
#

nah

#

it's a silly race condition

#

basically whenever you push a commit to github, it syncs to cobu
whenever you push a commit to cobu, it syncs to github

  1. push commit to github
  2. github syncs to cobu
  3. cobu syncs to github (nothing to do)
#

if you push a second commit between 2 and 3 it will eat that commit

limber skiff
#

what's the difference of a hidden setting and a private setting

austere talon
#

hidden is still handled by the proxy so it will handle default values and such

#

which also means you can only use a type supported by the settings api

limber skiff
#

oh

austere talon
#

private is not handled at all for you, meaning you need to handle default value yourself, but also allows arbitrary types

limber skiff
#

welp we dont have array type so I will just keep using private lol

limber skiff
#

this shouldnt work

#

we only lazy 1 level deep

charred monolithBOT
austere talon
#

its just an alias

limber skiff
#

oh nvm

#

I'm being dumb

austere talon
#

:p

limber skiff
#

I thought it was a nested destructuring

austere talon
#

I PIOCKED THE WRONGF COMMIT

#

omg

long stream
#

dummy

charred monolithBOT
limber skiff
#

ven disable protection hypershiggy

#

I want to push 2 commits

austere talon
#

try a force push (from a non conflicting branch, so rebase first lol)

#

i think u can force pushj but not normal push

limber skiff
#

nope

austere talon
#

now?

limber skiff
#

nope

turbid hatch
#

disable the actions check

austere talon
#

no

#

i specifically want them enabled

#

for prs

turbid hatch
#

then no force push for nuckyz :p

#

i meant disable it for one second to let him push

#

silly

limber skiff
#

disabling for every push is horror though

turbid hatch
#

ur not an admin

#

only ven is

limber skiff
#

yeah ik

turbid hatch
#

cause its a personal repo not in an orv

#

org

#

unfortunately personal repo issues strike again

limber skiff
#

github kinda stupid with that

turbid hatch
#

it makes sense

#

they assume if multiple devs work on a project youll put it in an org

#

not keep it on one dev's account

#

thats why pretty much all of the multidev options are in orgs exclusively

limber skiff
#

it's still stupid that they limit it

turbid hatch
#

shrug

austere talon
#

u can push now

turbid hatch
#

discourages using personal accounts for orgs ig

limber skiff
#

cant still

#

same error

austere talon
#

how

#

oh it didnt save

#

guh

#

now

charred monolithBOT
limber skiff
#

what did you do?

austere talon
#

i disabled it :/

charred monolithBOT
limber skiff
#

cool that works

austere talon
#

bad logic?

limber skiff
#

git push upstream dev:main

since tests pass

austere talon
#

mm

limber skiff
austere talon
#

then to dev

#

cursed

limber skiff
#

it's still has the same result anyways

austere talon
limber skiff
#

lets try it

austere talon
#

r u sure

#

that seems annoying to me ๐Ÿ˜ญ

#

push
wait 30s
push again

limber skiff
#

I mean it's the only way no?

austere talon
#

well i can just turn off required test

limber skiff
austere talon
limber skiff
#

I dont merge without ci pass

turbid hatch
#

rip auto merge

#

will be missed

limber skiff
#

but again, if you want to keep it, it's fine

austere talon
limber skiff
#

the third branch works for me

turbid hatch
#

rip automerge

#

will be missed

austere talon
#

whar

#

why did u say it again....

turbid hatch
#

im fairly certain you cant just

#

close the tab after clicking automerge with rgh

#

which is what i do

austere talon
#

yeah u cant

turbid hatch
#

yeah that sorta sucks

#

xd

limber skiff
#

@austere talon turn ci pass testing again I'm gonna test

turbid hatch
#

it should have run the ci

#

go check actions tab

limber skiff
#

hmm but actually I might not be able to force push?

#

dunno

#

I can test that too

turbid hatch
#

the protection rule doesnt make the ci run

charred monolithBOT
turbid hatch
#

the rule just enforces that you cant merge without ci

austere talon
#

ci isnt configured to test that branch

#

it only tests main and dev

limber skiff
#

guh

#

let me fix that

austere talon
#

actually

limber skiff
#

or do we need to push to main

austere talon
#

why do we even make ci only run on those branches

#

why not make it run on all branches

limber skiff
#

true

turbid hatch
#

because we'll usually pr it

#

and then itll run the ci twice

#

once for the branch, once for the pr

#

they are separate events

#

and its sorta annoying and wastes time

limber skiff
#

this should work right

austere talon
#

yes

limber skiff
#

also can I rename test to Test

austere talon
#

insane

limber skiff
#

this looks so horror lmao

turbid hatch
#

yeah go for it

austere talon
#

oh fair

limber skiff
#

bro why is my vscode changing this automatically

charred monolithBOT
austere talon
limber skiff
#

did you turn on ci testing on dev

austere talon
#

๐Ÿ˜ญ

#

nop

limber skiff
#

okay do

austere talon
#

uh

#

it wont work

#

cause u renamed the name

spark pivot
#

What mine did that too in my aoc repo

austere talon
#

actually idk if thats job name or workflow name

limber skiff
charred monolithBOT
limber skiff
#

e

austere talon
#

cant believe youre polluting dev with spammmm

limber skiff
#

I thought you had it enabled lol

austere talon
#

๐Ÿ’ข๐Ÿ—ฏ๏ธ

austere talon
charred monolithBOT
austere talon
#

u know how most github settings immediately save if u change a checkbox

#

branch portection makes u scroll down to the bottom for this button

#

i did now

turbid hatch
#

i think that option is deprecated thats why its changing it

woeful sable
#
let embed = {
      title: "Test Title",
      description: "*mimimimimimi*",
      type: "rich",
      fields: fields,
      video: {
          url: "https://cdn.discordapp.com/attachments/1001667507809165472/1182136867634823249/minecraft-dog.mp4?ex=658399c0&is=657124c0&hm=e7187f073fd80a6ff3c47a610da088b0585b819b05bccde3619224bd5c0cc31e&"
      }
  }
  return sendBotMessage(ctx.channel.id, {
      // @ts-ignore
      embeds: [embed]
  });

Apologise for weird indentation, trying to send this embed through clyde but it's not showing the video, the other fields are fine

charred monolithBOT
limber skiff
#

k that worked

#

now force push test

austere talon
#

NONO

charred monolithBOT
austere talon
limber skiff
#

shit that isnt tested cuz I removed the commit

limber skiff
woeful sable
limber skiff
#

it's on dev

woeful sable
#

will overrite

limber skiff
#

not on main

austere talon
#
rm -rf .git
git init .
git add .
git commit -m "initial commit"
git push --force origin main
limber skiff
#

beautiful

charred monolithBOT
limber skiff
#

pog it worked

woeful sable
#

Doesn't seem to be working ๐Ÿ˜ข

#

I'll read discord docs

austere talon
austere talon
limber skiff
#

what should I call my branch

austere talon
#

nookerpooker

#

nookiepookie

limber skiff
#

lmao

#

too big

#

I'm calling it dev2 whatever

austere talon
#

LMAO

charred monolithBOT
charred monolithBOT
#
[Vencord/Vesktop] New branch created: fix/start-minimized
austere talon
#

just saying in general we should always try the portal

#

the current code seems like you'd only use the portal on flatpak

charred monolithBOT
sharp venture
#

: )))

austere talon
#

cause otherwise someone might accidently use this on non steamos without noticing

austere talon
# charred monolith

@turbid hatch this needs a new perm on the flatpak:

- --filesystem=~/.steam # Needed for SteamOS integration, as the XDG OpenURL portal doesn't work properly in Game Mode. We only need ~/.steam/steam.pipe but Flatpak can't correctly mount just that: 'File "/home/deck/.steam/steam.pipe" has unsupported type 0o10000'
frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

cunning canyon
#

do ven not see the oneko pr ๐Ÿ˜ญ it have been 2 weeks
adryd disables it in reduce motion so people forced to live with windows animation to have oneko

austere talon
#

who tf uses reduced motion

charred monolithBOT
woeful sable
#

Would enabling reduced motion improve gaming performance

austere talon
#

closing discord will improve gaming performance

woeful sable
#

i might try to make as a plugin ๐Ÿ˜ญ

#

I mean yes

charred monolithBOT
woeful sable
#

Okay is it possible to access Local Storage through vencords api?

austere talon
#

why

woeful sable
#

I wanna recreate this (specifically 2nd bit)

#

That's a replugged plugin though

austere talon
#

why

#

so useless

#
findByProps("getToken").getToken()
woeful sable
spark pivot
#

again

#

why

woeful sable
#

I don't recall the original password

#

I mostly just use it to lurk in specific communities I don't want my main in lol

spark pivot
#

alright well good luck with your plugin ig

charred monolithBOT
nimble plaza
#

untested changes fear

#

also yeah updater works @still surge

austere talon
nimble plaza
#

fair

still surge
austere talon
still surge
#

Right

#

Good point

austere talon
#

you can fix it by giving the flatpak access to use flatpak-spawn (idk what perm that is) but that kinda goes against the point of sandboxing :p

grave mangoBOT
still surge
#

Yeah it does

#

You can build git from source

austere talon
#

yeah you'd need to include git inside the flatpak or smth

still surge
#

Yeah

#

I think it's worth it

austere talon
#

but bundling git with the vesktop flatpak just for the 20 users who build vencord from source is a bit silly

#

if anything a separate release like dev.vencord.Vesktop.devel would probably make more sense (?)

still surge
#

That's what we do with Bottles

still surge
#

Is this comma separated?

#

Oh wait, it's written just above

charred monolithBOT
woeful sable
#

meow

charred monolithBOT
#

Might be a long-standing chromium bug that we could work around

Edit: Web discord is also limited to 720p, a good portion of this might be a limitation of Vesktop technically being the browser version of discord.

From above, what made RinLovesYou to change their mind about that possible chromium bug? It looks like to me that when contentHint="detail" is passed with VP9 that it results in what MiMillieuh had found.

Qual...

charred monolithBOT
charred monolithBOT
analog knoll
#

@junior olive hi, how did your adventure with brew go in regards of vesktop?

junior olive
#

I didn't end up doing it

#

I just use vencord in discord canary

analog knoll
#

Meaning you don't have to update manually much? Since i would appreciate it being in the brew repositories. Is there something blocking us from putting it there?

junior olive
#

i have to update manually a shit ton

#

but vesktop doesn't fit my needs

#

I use discord's official app as they added screen capture kit support

analog knoll
#

I see. Well shall I try putting it there though? It'll be put into quarantine after install most likely, but fortunately you can also include post install instructions that will display in the terminal after installing, that's how many packages do it

turbid hatch
#

direct submit requires special privilege

analog knoll
# charred monolith

is their name really tikka masalla ๐Ÿ˜„ It looks like windows/KDE plasma

charred monolithBOT
still surge
turbid hatch
#

yes, but ideally we'd want to submit them to flathub directly if we're building them ourselves

#

otherwise we're then maintaining two flatpaks

#

this is the issue OBS had

#

we should just stick to one source of truth, it's confusing otherwise

still surge
#

Why is it confusing? It's one source for testing purposes, and the other source for everything else

turbid hatch
#

because we're still trying to work out how we even want the flatpak to work fully

#

i'm working on like 3 different things for the flatpak for better functionality and build

#

and then i have to have another manifest for testing

#

it's going to make me explode

still surge
#

So it's less about confusion and more about tasks you're not willing to take, which is fair just to be clear

turbid hatch
#

it's confusion where we have two sources of truth for building two different flatpaks in two different repos

#

we have one that's shipped to everyone, in flathub, and one that we use for testing, in the vesktop repo

#

i then have to keep both of them in sync otherwise we'll end up with two builds that are done differently even though they should be the same

#

and that is not a task i'm willing to take on when there are more important things like actually having the flatpaks be built properly for flathub

#

currently they're not, it has an appstream file in the flathub repo and i need a new release to test if my changes will work before i deploy it

still surge
#

Yeah that's fair, I'm not pushing you to have testing flatpaks

#

The problem I was solving is extremely niche anyway

turbid hatch
#

unfortunately i'm not the most fantastic maintainer for this, my usage of flatpak has mainly been consuming rather than authoring

#

this is the first one i've ever authored and i have tons to learn about

still surge
#

That's fine, I respect your work :)

#

It's why I suggested to have git built with the flatpak

#

It's less maintenance in general and we can actually test an area that couldn't be tested inside the flatpak

turbid hatch
#

it probably is actually a good idea so i'll have to investigate on how to do it another time

#

just don't want to make the flatpak too large but i dont think git will be too bad

still surge
#

You can base it on another manifest

turbid hatch
#

yeah i'll take a look

still surge
#

I'm moderately sure you can just copy and paste

#

Sure

#

I can work on it, and submit an MR, if you want

turbid hatch
#

that would also be much appreciated

still surge
#

Based, thanks

#

/me goes back to eep

turbid hatch
#

@placid wave re: steamos issues, flatpak install --user https://dl.flathub.org/build-repo/69617/dev.vencord.Vesktop.flatpakref

#

when you can

#

this contains the steamos perm in the flatpak

charred monolithBOT
#

There is definitely something wrong tho, I have been using vesktop across different distros and physical machines for the past six months: A desktop, two laptops, a steam deck and distros like arch, pop-os, fedora, NixOS and now even Ubuntu. In all of these the screen share works fine but the frame rate is awful, often described to me as one frame every second. Apparently it would get better when I was not moving within the game, but as soon as it has to draw several things it goes down to no...

charred monolithBOT
placid wave
#

it seems like it doesnt

#

so it's useless for now

turbid hatch
#

its just the perm

austere talon
#

yeah but it doesnt contain their changes xd

austere talon
placid wave
austere talon
#
sudo cp your.asar /var/lib/flatpak/app/dev.vencord.Vesktop/current/active/files/bin/vesktop/resources/app.asar
#

do

placid wave
#

I already have the flatpak I built myself that is literally identical

#

but sure

austere talon
#

whyyyy

#

i specifically configured it not to

#

it shouldnt bundle node modules...

placid wave
charred monolithBOT
still surge
#

Due to Flatpak's sandbox, it can't find the parent directory

austere talon
#

cause youre choosing dist?

#

we could change vesktop to have u select the entire vesktop folder

#

to work around that

charred monolithBOT
still surge
charred monolithBOT
#

Thought this would be the best place to add this, using discord in librewolf/firefox on swaywm with the steps here to enable hardware acceleration (not sure if this has to be done), doesn't cause the screenshare to be a slideshow. Playing more GPU heavy games (GW2, Armored Core 6 etc) caused Electron/Chromium clients screenshare to be a slideshow. But when I screenshared Risk of Rain Return it was smooth.

Would it be p...

proven sandal
#

is there a any way I can lookup a user's ID by his username?

charred monolithBOT
ivory orchid
#

is this the correct place to make feature request for the spotify plugin ? if not can you point me to it ?

oak hull
ivory orchid
#

F Is it opening up anytime soon ?

oak hull
#

no idea

charred monolithBOT
warped turret
#

How can I load my plugin last (after all other ones)?

nimble plaza
#

you cant

lime stone
#

yeah what do you actually want to do? that sounds worrying

#

you'd have to change the plugin loading code

#

i believe? blobfox_derp

nimble plaza
#

i mean you could mark every plugin as a dependency

#

but thatd be hell

crude raptor
#

amazing

charred monolithBOT
#

Thought this would be the best place to add this, using discord in librewolf/firefox on swaywm with the steps here to enable hardware acceleration (not sure if this has to be done), doesn't cause the screenshare to be a slideshow. Playing more GPU heavy games (GW2, Armored Core 6 etc) caused Electron/Chromium clients screenshare to be a slideshow. But when I screenshared Risk of Rain Return it was smooth.

Wou...

warped turret
# lime stone yeah what do you actually want to do? that sounds worrying

I want to create a plugin that allows to sort buttons on chat panel.
All plugins as far as I can see, use the same patch for adding a custom button and as the result buttons are added in alphabetical order by plugin's name

find: "ChannelTextAreaButtons",
replacement: {
    match: /(\i)\.push.{1,30}disabled:(\i),.{1,20}\},"gift"\)\)/,
    replace: "$&,(()=>{try{$2||$1.push($self.chatBarIcon(arguments[0]))}catch{}})()",
}
lime stone
#

what's the issue then?

#

oh

crude raptor
#

(what ?)

warped turret
lime stone
#

create an API then lmao

oak hull
#

"sort buttons on chat panel." is this not possible with css or do you want to make it user friendly

nimble plaza
#

edit the chat bar api

lime stone
#

if it's not an API, make it bleh

warped turret
oak hull
#

good luck with that

nimble plaza
#

apis can have settings menus

#

just modify the api to allow you to sort

grizzled crow
#

I don't have access to #1032200195582197831 , so I'll post it here. I made a small personal edit to the TypingIndicator plugin, adding the option to exclude the currently selected channel from the typing indicator.

#

It's basically my first time using Typescript, and I don't know what I am doing. Hope the code quality is acceptable, haha

crude raptor
#

if its an edit of a preexisting plugin i think the typical solution is to make a pull request for it on the github

#

and then hope it gets merged before the heat death of the universe

charred monolithBOT
grizzled crow
warped turret
crude raptor
#

thats not

#

what it does

#

if i read the screenshot correctly

grizzled crow
#

yeah, it just excludes the channel you are in

crude raptor
#

honestly find it kinda odd that thats the default behaviour (haven't used it) lol

grizzled crow
#

like, I would get the typing indicator in css-snippets, but not vencord-dev with the option set to false

#

the default is true to maintain how the plugin works now

crude raptor
#

yeah that makes sense

#

i just find it strange that that is how it works lmao

grizzled crow
crude raptor
#

unusual !!

woeful sable
#

To my knowledge*

charred monolithBOT
crude raptor
#

yippee !!

nimble plaza
#

@grizzled crow If you make any changes that arent tiny, u can add yourself to the devs for that plugin jsyn :3

grizzled crow
#

eh, I think this is a tiny enough change that adding myself to the authors would be a bit presumptuous

crude raptor
#

my dumb ass adding myself to authors because i came up with ideas and did some CSS for textreplace

charred monolithBOT
charred monolithBOT
charred monolithBOT
shy veldt
#

what is this big virus

#

WHY IS IT ALL FUCKED UP NOW MF

frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
#

Thought this would be the best place to add this, using discord in librewolf/firefox on swaywm with the steps here to enable hardware acceleration (not sure if this has to be done), doesn't cause the screenshare to be a slideshow. Playing more GPU heavy games (GW2, Armored Core 6 etc) caused Electron/Chromium clients screenshare to be a slideshow. But when I screenshared Risk of Rain Return it was smooth.

I'm playing...

charred monolithBOT
grizzled crow
#

small tweak to previewMessage that changes the ๐Ÿ‘€ emote to a custom SVG that attempts to match the style of the default Discord icons

#

Before:

#

After:

austere talon
#

format it as a git patch instead

#

and i get the idea but that icon is hella creepy lmao

turbid hatch
#

LOL

#

NO

#

THAT'S PERFECT

#

USE IT

junior olive
#

๐Ÿ‘๏ธ

grizzled crow
#

rotating a 3d cow in my mind excersize as I look at the numbers and imagine how it is supposed to be

#

I built and injected it four times and then said, that's it

#

doing this without an IDE was a mistake haha

charred monolithBOT
limber skiff
#

the original isnt even centered why...

#

I would try to find another icon as a whole

lucid blade
#

my laptop is haunted why does this happen

limber skiff
#

using the eye emoji is bad

limber skiff
#

it uses pnpm

lucid blade
#

๐Ÿ‘Ž_ _

#

yarn has worked for me so far

limber skiff
#

???

#

that's not how it works buddy

#

you dont choose what manager to use on every project

#

the project decides and you use what it tells you to

lucid blade
#

boy do i love installing different package managers for every repo

limber skiff
#

yarn isnt even that good

#

and lots of repos use pnpm

lucid blade
#

i've seen 2 repos use pnpm

#

this is the second

limber skiff
#

crazy

grizzled crow
#

this one is too wide IMO

limber skiff
#

dunno tbh

#

try searching for keywords related to preview on google fonts icons

grizzled crow
#

I'm just making small personal edits to some plugins I use. My flat :eyes: svg is better than ๐Ÿ‘€, and that is good enough for me

limber skiff
#

well you made a pr

#

and I'm making suggestions for it

lucid blade
#

throw it in a box and make it fit the container

grizzled crow
#

doesn't look too bad actually

lucid blade
#

what about with the new discord icons

#

ik they changed a bit of spacing with stuff

#

they're like smaller kinda

#

or maybe that's just me

grizzled crow
#

completely forgot to test with them on lol

lucid blade
#

is there a specific way to format PRs or do you just do whatever for the title and desc and stuff because there is very little information on contributing in the markdown file

grizzled crow
#

I just looked at what other people did

#

and here is how it looks with my updated padding on the new icons

#

old icons:

charred monolithBOT
austere talon
lucid blade
#

qhar

austere talon
#

run that command

#

inbuilt nodejs feature that automatically does it for u and makes u use the right package manager

lucid blade
austere talon
#

is that debian

lucid blade
#

technically yes

austere talon
#

blud got the stone age nodejs

lucid blade
#

i have 18.13.0..

austere talon
#

that's kinda old

#

latest stable is 21 or 20

lucid blade
#

last i saw it was the most up-to-date in the ubuntu repo

austere talon
lucid blade
#

i should probably upgrade it anyway

austere talon
charred monolithBOT
lucid blade
#

i also rarely use this laptop anyway

#

i have a desktop pc my ethernet cable running under the entire house is just broken

austere talon
#

SNAP

lucid blade
#

wait i probably installed it a different way because it also says i don't have it installed

austere talon
#

SNAP NODE ๐Ÿ˜ญ

lucid blade
#

because i hate snap

austere talon
#

yeah snap is horrible

#

i recommend fedora next time

#

it's way more updated and uses flatpak instead of sn*p

lucid blade
#

i have flatpak installed

#

as well as pacman

#

or i did?

#

it may have been removed when i had to reinstall the kernel because it got corrupted idfk

#

i know i've used it because i've specifically installed uwufetch with it

frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

@junior olive you should apply ven review on the decor guidelines pr

junior olive
#

i can't it's not my pr

#

it's nexx

#

i gave him the goahead

limber skiff
#

pr to it

junior olive
#

mmmh

limber skiff
#

and make him accept

#

lol

junior olive
#

true

#

also nookies

#

rn trying to change decor without plugin enabled crashes

#

how should we disable the setting component when the plugin isnt enabled

limber skiff
#

ignore it

junior olive
#

sad

limber skiff
#

not our fault if someone wants to use the menu when they disable the plugin

#

they have to restart their client

junior olive
#

welll

#

it is kinda wacky for settings to be accessible before enabling in this case

austere talon
#

he means if u press the button in settings

junior olive
#

yea

limber skiff
#

oh

junior olive
#

u can still access this even when disabled

limber skiff
#

then just check if it's enabled

#

and return null if it's not

austere talon
junior olive
#

yeah ok

#

yea thats what i was thinking

austere talon
#

instead of that func u can also just use settings.store.enabled

junior olive
#

oh huh

austere talon
#

or the started prop on ur plugin

junior olive
#

ill just use settings.store.enabled ig

austere talon
#

that will still crash if people enable it then dont restart

junior olive
#

um ok

austere talon
#

is it just cause the component is not available

junior olive
#

it's because 2 of the components we steal aren't available yeah

austere talon
#

just check if theyre defined?

junior olive
#

can't really

#

it's all a little funky

#

we steal them from a lazy loaded module.. that we only load when we need to

austere talon
#

or just use an ErrorBoundary

junior olive
#

best bet is probably started prop

limber skiff
limber skiff
#

so it shouldnt crash

junior olive
#

they're stolen via patches

#

not exported

limber skiff
#

or do you mean the ones you steal with patches

junior olive
#

yeah

#

those

#

those die

limber skiff
#

maybe default them to Noop components

#

there's an import for that

#

or use error boundary

austere talon
#
  1. if your component failing crashes discord, that's bad. always use an ErrorBoundary
  2. use an ErrorBoundary for your settings component that renders smth like Enable plugin & restart to set your decor
junior olive
#

These should probably be done nonetheless but I think disabling the ability to go into that UI before enabling the plugin is what should be done too

#

Ok where exactly should I be using errorboundary bc

#

the failing components are in the modal

#

using a error boundary in the settings component isn't gonna catch that is it?

#

I don't think errorboundary is suitable in the settings component

austere talon
#

why not?

junior olive
#

because it wouldn't catch the error i don't think

#

the error comes from the modal

austere talon
#

oh yes in the modal

#

wrap ur modal into an errorboundary

junior olive
#

yeah ok

#

where are vnecord settings stored umm

austere talon
#

?

junior olive
#

where are vencord settings stored

#

so i can clear one

#

the hidden guidelines one

limber skiff
#

just use the console

junior olive
#

oh true

#

can we remove the guidelines popup from the stack before adding the create one

limber skiff
#

why isn't clicking continue removing from the stack

junior olive
#

it goes onto the create one

#

hmm imma play with it

austere talon
#

just close the modal first

junior olive
#

he said he tried that

#

ok yeah that works

#

idk what he was running into weird

austere talon
#
openModal(modalProps => (
  <ModalRoot {...modalProps}>
    <Button onClick={() => {
      modalProps.onClose();
      openModal();
    }} />
  </ModalRoot>
  );
})
#

should juszt work

junior olive
#

yea its fine idk what they had

charred monolithBOT
junior olive
#

@austere talon the reason its using text components is to match the various customization modals

#

they use text there instead of formtitle for the titles

#

noopcomponent time?

#

yeah.. noopcomponent..

#

orr i could make it return like

#

"enable the plugin and restart your client to change your decoration"

#

horr or

#

that's quite use friendly innit

#

Maybe the error boundaries should be used further down the chain like

charred monolithBOT
junior olive
#

i feel like this is better but not by much

austere talon
junior olive
#

like.. atleast it's in a modal

austere talon
#

and type ur props

junior olive
#

is there like

#

default modal props type

#

bcuz we don't have any custom props

junior olive
austere talon
#

u should

austere talon
junior olive
#

it results in this which is bad

junior olive
austere talon
#

more userfriendly than a crash

junior olive
#

im still using error boundary

#

but not on the full thing

#

just the bit that can fail

#

(the modal contents)

#

if the modal components fail then there's way bigger problems for vencord than decor not opening lol

junior olive
#

clear way for the user to close the modal even tho it failed

thick kestrel
#

when is it okay to hardcode e and when is it not?

austere talon
#

never

thick kestrel
#

short and to the point

charred monolithBOT
charred monolithBOT
proven sandal
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
analog knoll
austere talon
#

don't worry about it

thick kestrel
#

however, they also state that e, passed as the first argument to many functions, can be an exception to that rule

#

Never hardcode variable or parameter names or any other minified names. They will change in the future. The only Exception to this rule are the react props parameter which seems to always be e, but even then only rely on this if it is necessary.

#

they do not state the circumstances in which it would be okay to do that

#

seemingly the answer is "just don't"

austere talon
#

those docs are very old

lime stone
#

just use arguments[0] if it's a function

thick kestrel
lime stone
#

ven told me to do that in another pr

charred monolithBOT
analog knoll
thick kestrel
#

I have another question

#

what is the preffered naming scheme for plugins

#

it seems to be CamelCase, but what to do when having acronyms as one of the words?

#

do I do ApiStuff or APIStuff?

#

(that's a bad non-descriptive name I'm just giving an example lol)

#

I tend to use the first when I use CamelCase

#

I see

#

...lol

austere talon
#

noone spells gif as GIF

#

but nsfw is either spelt nsfw or NSFW

thick kestrel
#

my rationale for using Api, Gif, Nsfw instead of API, GIF, NSFW etc. is that by being an acronym it is a word

#

and words should be written in CamelCase by making the first letter uppercase and all others lowercase

#

same as I would write api_stuff in snake_case, and not API_stuff

#

I've seen both variants though so idk

#

(I also spell GIF as GIF, assuming I pay attention at all)

#

(if I don't pay attention I sometimes spell own names lowercase as well)

woeful sable
#

The real debate is whether you pronounce it Gif or Jif

charred monolithBOT
lime stone
#

Gif is like writing Lol

#

or Tbh

#

although in some code styles you write e.g. Json instead of JSON and of course Gif instead of GIF

#

but that feels like a programming thing

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
sharp venture
#

never be the guy making ABCValidation variable names

#

thereโ€™s a style rule for this forgor the name

charred monolithBOT
#

Could you provide more info on the OS, way of installation, version

Windows 10 Pro | Version 10.0.19045 Build 19045

Installation by way of exe.

Latest Vesktop/Vencord update.

The icon comes back if I pin and unpin the taskbar icon, but it goes away after the app is minimized to tray etc.

I have even cleared the cache and the issue persists.

uneven tiger
#

hey, would apng stickers not properly working with fakenitro be considered a bug?

#

i mean they do "work", it just displays the apng itself and discord does not display any animation (which i see previous discussion via search is known, so that's not really the issue)

austere talon
#

they work correctly

#

they are converted to gif

uneven tiger
#

it looks like it should already be doing a client side transcode and upload it as a gif

grave mangoBOT
uneven tiger
#

look at this one though

#

thats a sticker in my server that causes it, i guess

austere talon
uneven tiger
#

why are you shooing me away to the support channel i'm just trying to contribute ๐Ÿ˜ฆ

#

is this not a bug? is it known about somehow

#

it seems bug shaped

austere talon
#

because this is a support request

#

you're probably just using the userscript or firefox/brave and that's why gif conversion fails

uneven tiger
#

i'm on client

uneven tiger
#
Stable 253047 (95fcdd4)
Vencord A9568bc (Standalone)
Electron 22.3.26
Chromium 108.0.5359.215
Host 1.0.9026 x86 (40844)
OpenAsar Nightly (1c24e09)*
Windows 10 64-Bit (10.0.19045)

Nothing in verbose network console ( related to anything seeming relevant.

*Happens with or without openasar.

Tested on a fresh install of the client, every other apng sticker i've found works as expected. seems like either discord api bug / update or vencord is catching what type the sticker is incorrectly somehow - maybe some stickers aren't StickerType.APNG even though... they're apngs

#

is typescript compiled

#

Aughhhh

austere talon
#

you can just use the debugger in client

#

open the source tab and search for FakeNitro via ctrl shift f

#

jump to the code and put breakpoints

#

step through it and see where it goes wrong

uneven tiger
#

yeah sticker.format_type is ending up as 4 somehow

#

which is "gif"

#

it's definitely not a gif

charred monolithBOT
nimble plaza
#

@austere talon im making a patch helper for another clientmod and am having trouble with regexes, would you care if i just used vencord's and licensed it appropriately

#

regex groups killing me

charred monolithBOT
nimble plaza
austere talon
limber skiff
#

@junior olive idk what's about it but animated decorations are super slow and buddy to load in the decoration modal

#

it's actually hard to know what's animated and what's not because they dont load properly, or take ages

#

along with trying to fix that somehow I would add an indicator that shows whether it's animated or not

junior olive
#

it's weird i don't know where the issue is

limber skiff
#

like I know there's animated portal one and I cant find it cuz it doesnt load

junior olive
#

doesn't load in what sense

limber skiff
#

none show animated

junior olive
#

yea they dont animate until you hover

limber skiff
#

i know

#

I'm selecting them and hovering and it doesnt work either

junior olive
#

guh wtf

limber skiff
#

and the ones that do work take ages sometimes

#

or they dont animate at all unless you try some more times

junior olive
#

can you check out the networking page

#

see wtf is occuring

limber skiff
#

which one is animated

junior olive
#

door at the bottom

limber skiff
#

oh

#

it loaded, but it took like 5 seconds or more

#

honestly

#

it might be because they are too big

#

in size I mean

junior olive
#

the limit is 3mb

#

part of the issue is probably that we don't have multiple sizes

#

and i don't think we can do that in a cf worker very well

#

they would have to be preprocessed

limber skiff
#

yeah it might be cuz of that

#

discord ships their decorations at multiple sizes

junior olive
#

their cdn has resizing we do not

limber skiff
#

this is discord biggest one

#

this is decor

junior olive
limber skiff
#

I think so?

junior olive
#

huh

#

interesting

#

hm yeah they do seem to be a max of 288x288

limber skiff
#

yeah

junior olive
#

hmmm

limber skiff
junior olive
#

maybe but that would probably require reimplementing the decoration grid decoration item

#

@limber skiff just updated the server, new submissions will be resized to 288x288 but for now older submissions will remain as what they were submitted as

#

updating existing ones is more complicated

limber skiff
#

pog

charred monolithBOT
junior olive
#

we'll go over older ones in the future

thick kestrel
#

go easy on me I never did this before lol

#

#2^11

#

on my machine I had errors, but not in my code

#

is this perhaps because I'm using an object literal to define authorship?

#

other plugins seem to use pre-made objects from the constants module

#

the docs say to do it like I'm doing it, but then they are apparently outdated

charred monolithBOT
nimble plaza
nimble plaza
thick kestrel
#

and yeah, I changed it to use the constants module and it passes

#

so I guess that's what I'm supposed to be doing

limber skiff
#

yes

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
thick kestrel
#

yes, yes you should

austere talon
#

nah

#

it's fine

#

it's not really cursed anymore

thick kestrel
#

so it was worse, good to know

junior olive
#

@limber skiff kasi resized all of them to 288x288

#

open the modal with networking page/cache disabled

charred monolithBOT
thick kestrel
#

added a Vim mode to the QuickCSS Editor

limber skiff
#

@junior olive they load instantly now

thick kestrel
#

also makes the editor not work 80% of the time

junior olive
thick kestrel
#

sad

olive aurora
#

why dont you just use vim

thick kestrel
#

I would if I could edit QuickCSS with it

austere talon
#

you can

#

you can just edit the quick css file

thick kestrel
#

I use the userscript

austere talon
#

it will auto reload on changes

austere talon
#

๐Ÿฆ–

thick kestrel
#

don't want to use two browsers

#

one is enough

#

how much time does it normally take to get a plugin MR accepted?

austere talon
#

depends on a lot of factors

#

somewhere between instantly and never

thick kestrel
#

lol

crude raptor
#

you have to wait for a cosmic ray to toggle a bit and accept the merge request automatically

austere talon
#

the bigger your pr or the worse the code, the longer it takes or less likely it is to get merged

#

the smaller, the better and the more useful it is, the faster it gets merged

#

:p

thick kestrel
#

understandable

#

guess if it doesn't get merged in a week or so I'm gonna ask for it to get posted on #1032200195582197831

#

I'd assume that's much quicker to get access to

#

my plugin is definitely small (one short rule + one rather simple function), no idea if it's good code as I have no experience (though I tried my best to comply with the contributing guidelines) and it's useful for the 5 people out there who use Compact mode and want better readability (so not very useful)

#

I know the Discord compression removal plugin got in very fast, pretty sure was the next day after I noticed they added it (not sure how fast compared to when it rolled out)

#

funnily enough it's not very useful now, as they switched the compression to lossless mode for PNGs

#

and on JPEGs the additional lossy compression is barely (if at all) noticeable

limber skiff
#

well mainly cuz the plugin was made by me so I instantly pushed it to dev version

thick kestrel
#

lol

gritty iris
#

what would I make this now var channels = findByProps("getChannels"); so i can do channels.getChannels()?

limber skiff
#

ChannelStore should work prob

#

it's a common you can import

gritty iris
charred monolithBOT
limber skiff
#

I dont remember which one has getChannels

charred monolithBOT
junior olive
#

@limber skiff brooo

#

๐Ÿ’€

limber skiff
#

how

junior olive
#

well more like

limber skiff
#

oh wait you can add the bot?

junior olive
#

No

#

It's probably a conjunction of tons of users using it's oauth (17k -> 30k in under 12h) and it dming the result of decoration reviews

#

ive emailed discord

#

now we wait

limber skiff
#

oh lmao

#

(17k -> 30k in under 12h

#

that is crazy

glad geode
junior olive
#

its a little wild yeah

glad geode
half notch
charred monolithBOT
near karma
#

Hi

#

idk if this is the right place to ask this but

#

Someone should make a plugin that adds a menu where you can compare servers and see mutual people that are in both servers

#

or something similar

uneven tiger
#

fixed this stupid apng gif bug

#

i think it's a bug in discord api

#

discord api is returning "not an apng" even though... i mean it's not an apng? but it has a gif component? but the api is returning a .png link? but the format type is .gif??

charred monolithBOT
tawny cipher
gleaming trellis
#

if you know what you're set it to callback(0) on the self signed certificates you have

charred monolithBOT
austere talon
topaz thistle
#

Don't know but vesktop is not taking venmics output

topaz thistle
#

Which is very likely not a Venmic issue because I don't do anything with output to vesktop

austere talon
#

ic

warped turret
#

How can I make soft depend? It means that if the dependency plugin is not loaded, it's ok, but if it's loaded, then an additional functionality appears

charred monolithBOT
charred monolithBOT
nimble plaza
warped turret
charred monolithBOT
teal dew
#

I need the decor bot to come back

#

Why ntts why did you make the video

crude raptor
#

wait did it get discovered cause of a video? lmao

#

RIP RIP

#

"the devloper of this plugin doesn't want to be nuked by discord's legal team" LMFAO
foreshadowing is a literary device-

austere talon
crude raptor
#

shhh the bot did

#

its funny

austere talon
#

his bot got automatically flagged as spam

#

cause it was getting so many new oauths and dming thousands of users

crude raptor
#

huh... is decor included in vencord by default?
cause my vencord says its up to date but i don't got decor (probably wouldn't use it but think it'd be cool to see others')