#๐Ÿ‘พ-core-development

1 messages ยท Page 208 of 1

austere talon
#

so it still has a lot of old broken shit ๐Ÿ˜ญ

limber skiff
#

omg it's been so long since we did

#

lmao

charred monolithBOT
limber skiff
#

wait should we merge that

#

volume booster port

austere talon
#

guh who cares about web

#

it's mainly for vesktop

limber skiff
#

aight

austere talon
#

i mean

#

maybe

#

would u say it's good to go from ur testing

limber skiff
#

let me test it again

austere talon
#

code looks good

#

you can merge if it's all good

#

actuall wait

#

nvm

#

we did merge it into volumebooster thats good

#

or wait no

limber skiff
#

huh

austere talon
#

i was proposing to extract it into WebVolume or smth like that which is enabled by default to match expected behaviour

limber skiff
#

nvm it's not good yet

#

sound is way to loud on lower porcentages

#

it doesnt really happen and the audio looks way lower on like 10% than with the plugin enabled
it's so much louder that you can easily see where the volume turns to 0% when you are in like 8%

#

it's impossible to get a good enough low volume with the booster lol

somber thorn
#

:( โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹

fossil inlet
#

@limber skiff ill take a look at it and see what i can do

austere talon
#

should i release then?

limber skiff
#

yeah

austere talon
#

lets run test one last time

#

(im paranoid)

#

oh yeah i still wanna continue working on auto reporter

fossil inlet
austere talon
#

autoreports

fossil inlet
#

is that just reporter whenever discord pushed a new commit

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

ye

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

I really don't wanna annoy with it but is it possible for my big pr to have a chance to get merged soon

#

it's been there for so long at this point I just keep doing nitpicks with myself lmao

charred monolithBOT
#

051bce8 feat(Webpack): Add $$vencordPatchedSource to pa... - Nuckyz
9cada9a fix(Webpack): Not canonicalizing regex in some ... - Nuckyz
904022a [Webkeybinds] Don't override browser keybinds (... - rniii
3d80cb2 Delete AutomodContext ~ Now a stock feature - Nuckyz
66b247b Fix persisting $$vencordPatchedSource when a mo... - Nuckyz

#
[Vendicated/Vencord] New tag created: v1.9.8
fallen vale
glass jasper
# charred monolith

NoMaskedUrlPaste ๐Ÿ˜ญ
We had to make a plug-in to stop the feature that was a plug-in that discord stole

limber skiff
#

no

#

why

#

wtf did I do now

#

(dont worry it's my pr)

austere talon
#

scared me for a second

dusk blaze
limber skiff
#

whos that impostor

austere talon
# limber skiff

that means u put something in settings that isnt plain object

austere talon
limber skiff
#

no idea I didnt even touch more user tags recently?

austere talon
#

why is it a proxy

#

did you mess up settings api

limber skiff
#

I probably messed up console shortcuts somehow

austere talon
limber skiff
#

happened in the past already but I had fixed it

fossil inlet
#

@limber skiff on vesktop, with volume booster disabled, i can fully recreate it
if you're experience something else, could you please send me a video so i can understand what you're talking about

limber skiff
#

im so confused lmao

#

NO

#

IT DOESNT HAPPEN ANYMORE

fossil inlet
#

what ๐Ÿ˜ญ

limber skiff
#

actually I might know how to reproduce

#

I had changed a more user tags setting when that happened

#

yep

#

happened

#

thank god

#

๐Ÿ™

#

@austere talon IT HAPPENS IN DEVVVVVVVVVVVVVVVVVVVVVVVVV

austere talon
#

?

limber skiff
#

the error

#

is not only in my branch

#

it might be only when you change more user tags settings, but i'm not sure yet

austere talon
#

oh yeah

#

i can repro

#

ya

#

seems to be more user tags

#

yeah cause this is proxy

#

and it's calling setValue(proxy)

limber skiff
#

I think the issue is just that's it's a nested object

austere talon
#

how was this never caught

#

no

#

that should not be using store

#

it should use plain

#

or clone the object itself

limber skiff
#

let me test something

austere talon
#

that code is just bad

limber skiff
#

okay yeah

austere talon
#

it should use plain not store

#

but that will make it not reactive

#

so instead it could just forget about the save button and never call props.setValue

limber skiff
#

MoreUserTags is the only plugin that has a nested object in settings and the settings UI modifies it

austere talon
limber skiff
#

I know

austere talon
#

the problem is with the plugin

limber skiff
#

how it was implemented is the problem

#

I'm just mentioning that other plugins that have a nested object could have this issue too, but they dont use the settings UI to modify it

#

ignore activities for example

limber skiff
#

they could if they implemented it wrong like more user tags did

#

but whatever it's just an issue with it as you have mentioned

austere talon
#

either use plain and handle state urself
or don't call props.setValue() ever

#

both will work

#

that code is just wrong

charred monolithBOT
austere talon
#

i think we should get rid of the temporary settings and the save button entirely

#

have the settings be live

limber skiff
#

ugh

#

I was about to commit

charred monolithBOT
limber skiff
#

I had done this

fossil inlet
#

@limber skiff I was able to fix the stock issue by removing the math.round.
feel kinda stupid now for not thinking of that earlier
while it is accurate now, it is not stock behavior with volumes lower than 100%

austere talon
#

cause you're not changing any state

limber skiff
#

it is

#

const [tagSettings, setTagSettings] = useState(settings.store.tagSettings as TagSettings);

#

that's the state

austere talon
#

yes but

#

setTagSettings(tagSettings)

#

this does nothing

#

react ignores that

#

if the new state is equal it wont change

#

you would have to create a new object to cause it to rerender

limber skiff
#

it's working lol

#

but I get your point regardless

austere talon
#

anyway that code was just bad

#

that entire state stuff made no sense

limber skiff
#

I'm just gonna port settings.plain since it may be useful in the future

austere talon
#

and it makes our logic more complicated

#

and rn it has some issues with validation where you need to reopen the modal after changing some setting

austere talon
charred monolithBOT
limber skiff
#

oops stole your commit

austere talon
#

honestly entire settings ui needs a refactor anyway, it's so convoluted

#

we just kept adding more and more to it and now it's so messy

limber skiff
#

I agree

austere talon
#

it could benefit greatly from being split in more smaller components in separate files

#

rn it's a nightmare to change stuff

charred monolithBOT
austere talon
limber skiff
#

at least the issue was not caused by me

austere talon
#

i should cherry pick some of my changes from asar pr

austere talon
limber skiff
#

ikr

charred monolithBOT
austere talon
#

oh u added plain

#

i was confused

#

anyway if u wanted smth to work on, maybe you could do auto reporter instead, ifeel like you might be interested

#

essentially just whenever new canary/stable release run tester

charred monolithBOT
austere talon
#

like we talked about before

#

i haven't done much so far, only detection for new version (which polls latest.json once a minute)

austere talon
#

(if you're gonna finish it, you can choose a different language too if you want, i only did go cause i like it)

limber skiff
#

pretty cool

austere talon
#

is it also like this for u

limber skiff
#

it's not

austere talon
#

so maybe discord web or vesktop bug

limber skiff
#

I have shiki though

#

but probably not related

austere talon
#

anyway feel free to finish it if u want to

#

(but only if you want to, it's more a "hey here's this cool idea for you" than it actually needing to be done)

limber skiff
#

yaya

#

I'll see

austere talon
#

i started on it but then kinda lost motivation

#

and much other stuff to do xd

#

it would certainly be useful tho and help us catch errors literally immediately

limber skiff
#

yeah for sure

austere talon
#

btw i forgot, does reporter even still need login?

#

if it works perfectly without being logged in, we could run it on prs

limber skiff
#

let me see

austere talon
#

worst they could do is get the github runner rate limited from discord or smth

limber skiff
#

looks like it works and doesnt even produces non verified account errors lmao

#

(ignore the log I removed the login line)

charred monolithBOT
austere talon
#

i was about t osay

#

i was mid typing

limber skiff
#

say what lol

austere talon
#

that u should remove token from validation

limber skiff
#

oh lol

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

so yeah we can run it on prs then

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

buddy what

austere talon
#

but we have to make it so that only the touched plugins are enabled

limber skiff
#

it made it so much slower

austere talon
#

are u sure

limber skiff
#

nvm

austere talon
#

btw you pinning the reporter action ruined my muscle memory

limber skiff
#

17 hours ago

austere talon
limber skiff
#

15 hours ago

#

and now

#

??

#

did I make it slower?

austere talon
#

might just be that github or discord is busier rn

limber skiff
#

gonna re run on old commit

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
#

this is joking with me

#

now im gonna re-run latest commit and it's gonna be a turtle just watch

frail skyBOT
#
Bad Patches

ShowHiddenChannels (took 3.1000000000058208ms):
ID: 473403
Match: ```
/.name),.{0,120}.children.+?:null(?<=,channel:(\i).+?)/

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
#

why???

#

oh hmm

#

I did make the regex more complex

#

okay doesn't matter

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

charred monolithBOT
fossil inlet
#

@keen knoll your plugin constantly errors, please for the love of god fix this

#

just use the store

#

dont spam discords api

austere talon
#

HORROR

#

yeah like i said you don't need to fetch ๐Ÿ˜ญ

fossil inlet
#

i might rewrite the whole thing blobcatcozy

charred monolithBOT
fossil inlet
#

!Discord

!ShareX

!ShareX

dapper crest
#

true

charred monolithBOT
rugged spire
#

i will make another PR for a plugin I already contributed to

charred monolithBOT
charred monolithBOT
rugged spire
#

why is the moderation here too good at dealing with trolls

swift fjord
#

wrong channel

rugged spire
#

nop

#

totally relates to my draft plugin pr blobcatcozy

#

need to test it somehow

austere talon
#

what

rugged spire
#

why was ShowAllRoles removed, if there is no default way to have it expanded (to my knowledge)?

#

someone definitely was not yapping in the wrong channel about it btw

rugged spire
grizzled halo
#

I wouldnโ€™t say its complaining, more asking and saying they miss it

charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
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

charred monolithBOT
limber skiff
#

very nice module

fossil inlet
limber skiff
#

nop

#

it's for DebugUploadManager

limber skiff
#

this one also returns the build number as number

charred monolithBOT
charred monolithBOT
swift fjord
limber skiff
#

ye

charred monolithBOT
fossil inlet
#

lmao the downloads for this package spiked when ntts made his video lol

woeful sable
#

lmao

austere talon
#

these are such small packages it doesn't matter

turbid hatch
#

tbf i dont understand why virtual-merge was needed

#

they are right in this case

#

nanoid though is fine to keep

#

its tiny

#

isnt it like 130 bytes or something

#

unless im misunderstanding and you want changes to be reflected back to the original

turbid hatch
austere talon
#

honestly didn't know that api existed

#

ofc it should be replaced with that then

turbid hatch
#

ill pr that

#

i think its a relatively new thing, its very fast

austere talon
#

such a minor change should just be tucked in with some other pr

turbid hatch
#

oh my god it is FAST

austere talon
#

girl this won't be called more than twice a minute it doesn't matter ๐Ÿ˜ญ

turbid hatch
#

the only advantage nanoid has is that it has a bigger alphabet but for our purposes this doesnt matter xd

turbid hatch
#

having a native uuid library thats faster than the third party ones

#

also dont mind me, ive gotten really into performance optimisation lately

#

because thats what im employed to do atm xd

charred monolithBOT
charred monolithBOT
#

this was deliberately done to keep proper expected behaviour. namely, spreading turns the object "read-only" (since it's now a copy) and breaks class instance fields / methods entirely. but we also don't want to pollute Discord's objects with fake properties because it might break things

it's also such a thin dependency that it has very little impact

spark cove
#

yap

median rapids
woeful sable
# charred monolith

Wouldn't using Object.assign prevent instance methods from borking here? In my (albeit limited and a bit silly) testing, this does shave size off of the bundle and make it work ever so slightly faster

austere talon
#

but we also don't want to pollute Discord's objects with fake properties because it might break things

woeful sable
#

It doesn't look like the thing that this is patching actually uses the user value that's returned for anything else though, so would this still pollute even if it's essentially getting immediately discarded after render?

#

I thought with virtual merge you'd be reflecting the changes to the user object, which sounds like what you don't want

charred monolithBOT
woeful sable
austere talon
woeful sable
#

Yeah that's the example I was looking at.
Reading through the code for virtual-merge, it looks like it just proxies every property that it can? Isn't reflection in JS horribly slow at times? blobcatcozy

#

besides that, again why would a link between this new user object and discord's user object need to exist if it basically gets immediate discarded after render? fakeUserProfiles should be overwriting keys that already exist, instead of making new ones

sleek inlet
austere talon
#

you're not understanding but im too lazy to explain

#

the way it is is good, just leave it unchanged

spark cove
#

also virtual-merge is actually tiny but wanting to clean up bundle size is fair

#

u should be looking at the esbuild analytics thing tho

#

esbuild has a visualizer for this

#

i think my shiki plugin takes up like 30% of vencord lol

woeful sable
#

yeah im aware, it just seemed like an easy cleanup, and for keeping functionality it literally was a one line change

woeful sable
spark cove
#

worth

#

i need to automate grammar updates somehow sometime soon guh

woeful sable
#

Also another thing I mentioned in the programmer channel is that vencord contributor icon fetching in the userscript distribution is broken because of CSP
there's two options basically

  1. embed the image blob into the vencord bundle for userscripts
  2. use GM.xmlHttpRequest
#

2 is probably better, but im not 100% sure that gm can handle non sync xhr

spark cove
#

what about the secret 3rd option

#

where we maintain a webrtc http proxy

#

bypass all CSP

median rapids
#

HGORROPR

#

is that possible

#

omg

spark cove
#

i might actually genuinely do this for my vencord fork

#

also yes webrtc has literally 0 cors or csp or anything at all

woeful sable
spark cove
#

theres a csp rule for it being pushed by w3c but it really looks like chrome doesnt wanna add it

median rapids
#

that sentence makes no sense

#

yay

#

i love bypasses

woeful sable
#

Does the websocket ctor have cors also? I've never checked

spark cove
#

yea i found this while researching how long i'll be able to use WebRTC in discord activities

woeful sable
#

But I've also never encountered cors issues with websockets

spark cove
#

this makes me think pretty much forever unless discord adds it in their electron fork or something

#

or chrome team has change of heart

spark cove
austere talon
#

badges are all broken

woeful sable
#

I mean if they haven't implemented it in 8 years, what's the chance they're gonna implement it any time soon

austere talon
#

no way to fix it without awful workarounds

#

people should just not use the userscript

woeful sable
#

That doesn't seem super awful to me

spark cove
#

does that entail making a fetch-ish util that uses a buildtime constant for impl

woeful sable
spark cove
austere talon
#

userscript build "polyfills" window.fetch

#

with an impl based on GM_XMLHttpRequest that bypasses csp

#

anyway there's little reason to do it for badges

spark cove
#

does that work with manifest v3 userscripts

#

actually of course it does theres no csp in background scripts

austere talon
#

speaking of MV3

#

we should migrate the firefox ext to mv3

#

it supports it since 128

spark cove
#

thank god we arent gonna support extensions in our fork

woeful sable
#

the extension build isn't super practical from what ive seen
but the userscript build is kinda cool

austere talon
#

wdym not super practical

woeful sable
#

it's mostly what I use for testing since it's the easiest to just load into the browser for me

austere talon
#

oh

woeful sable
austere talon
#

i mean...

spark cove
#

so like not super common?

austere talon
#

extension is the main build

spark cove
#

oh u mean ok

austere talon
#

only benefit of userscript is more frequent updates

woeful sable
#

fair

#

are there any current outstanding issues with vencord or vesktop that nobody has fixed yet
i want to contribute and it's easier to ask if there are any big issues right now

spark cove
#

yes

#

idk what vee thinks is most pressing but imo

#

i think its that we need testing for the new updater system

#

cus i'd still like to add plugin HMR

woeful sable
#

I can test out building it on linux but i assume that's where pretty much everyone is devving on lol

spark cove
#

yea we need windows testing

#

there were some issues another vencord dev ran into

#

i'd go fetch message links for u but ur not on windows so it prob doesnt matter lol

woeful sable
#

yeah I'm not even 100% if my windows partition works anymore blobcatcozy

spark cove
#

real, same happened with my arch partition

charred monolithBOT
austere talon
#

oh wait

#

you can't change repo?

austere talon
#

anyway i'm unsure if this is even a good idea

#

we don't want normal users using this

#

people should just edit the patcher.js file to change the repo

#

if you have an api like this in the bundle everyone uses, there's a 100% chance someone will eventually find this and then advise non techy people to do it to change to dev branch for faster fixes

#

and then we get people asking for support with the unstable branch which sometimes has broken code and frequently gets force pushed which will break the updater

woeful sable
#

yeah, you could give a warning or something like "we will not give support if you use this" maybe

brazen bone
woeful sable
#

fair

#

make them type something in to confirm that they read it clueless

austere talon
#

no

#

just don't have it

woeful sable
#

yeah excluding it is probably the best idea

brazen bone
#

See also: "why did ThisWillBreakYourDiscord plugin break my discord ๐Ÿคช"

woeful sable
brazen bone
#

No idea, but probably

woeful sable
#

Someone needs to invent a captcha but instead of testing if you're a robot it tests if you're an idiot

brazen bone
#

Isn't that just fn is_moron(&self) -> bool { true }

woeful sable
#

everyone is their own brand of incompetent somewhere
it's an inevitability

brazen bone
#

Fixed

spark cove
austere talon
#

people will still use it ๐Ÿ˜ญ

spark cove
#

idk any way that makes it easier on us devs that normal people wouldnt be able to do if given instructions

#

but yea u cant change repo

spark cove
#

real if u wanted to yea

#

not really needed cus u can just use ur own repo it'll be the same if its a fork

opaque silo
spark cove
#

theres no 'vesktop option' in my PR

austere talon
opaque silo
spark cove
#

oh ah

#

didnt know

#

yea i didnt even add UI because no need

#
  • its only for coredev
opaque silo
spark cove
#

vee just prob wanted something easy for them

austere talon
#

because you dont need to build vesktop from source to change vencord

spark cove
#

oh yea theres no patcher fuckery

opaque silo
spark cove
#

i mean if this gets merged you won't need that ui anymore i think

#

cus u just replace ur build with the devbuild from ur fork, and switch to branch-thing target to test updater

#

@austere talon do u want me to add a package.json script for downloading build artifacts to ur install folder

#

actually no thats unnecessary u can just build them urself and copy

#

actually i might need to fix build scripts before u merge

#

i know the git updater doesnt actually check what repo ur on, it just assumes ur on origin, so if build script does the same i need to change

charred monolithBOT
#

Discord Account

nedelio

What happens when the bug or crash occurs?

If you go with your mouse over the toggle button over and over again fast, like up and down, up and down, then the message when you hover over it (Disable Game Activity or Enable Game Activity) sometimes bugs and stays even tho you mover your mouse from it and you can go into settings and it will stay hovering there until you hover over the toggle button again and make it dissapear.

What is the expected behavio...

spark pivot
#

โ€œWhy does this bug happen when I do something like 10 times really fastโ€

rugged spire
#

Doubt it

#

erm

#

maybe

#

wtf is that

#

something has been oversimplified here for sure

#

oh i see now

#

i totally see now

#

this is bypassing React.createElement

#

that's almost certainly part of the reason why it breaks

#

whenever I see that there's sometimes unusual behaviour

limber skiff
#

no it's not

#

it's jsx, vencord turns it into a createElement

#

all vencord components work like that lol

rugged spire
#

does that really Just Work

austere talon
#

?

#

the function returns jsx

#

ofc it works

rugged spire
#

wouldnt the hook be 1 level above where you'd ideally want it, though that shouldn't matter too much

opaque silo
#

ive only ever seen the tooltip get stuck on the game activity toggle ยฏ_(ใƒ„)_/ยฏ

rugged spire
#

i wonder if it has anything to do with the lack of a key there

#

maybe the function breaks the auto generation of keys

#

idk though

#

hmm theres an ErrorBoundary wrapper though

austere talon
#

wtf are u talking about

#

none of this matters

rugged spire
#

this is the only place in vencord I've ever seen tooltips break like that

#

where it just Doesnt Disappear

#

for some reason

fossil inlet
#

does this even matter

rugged spire
#

What the fuck?

rugged spire
rugged spire
rugged spire
limber skiff
rugged spire
#

you'd think it's the stock Button component when it isn't

limber skiff
#

it's the one used for the buttons in the side of it

#

does it happen with the stock buttons

#

I know it happens a lot when I switch to another windows moving my mouse down while passing above the activity button

rugged spire
#

stock buttons dont implement this tooltiptext thing

limber skiff
rugged spire
#

I have a simple question

#

What is even going on here

brazen bone
#

Weird that minifier picked different minifications in different cases

limber skiff
#

(I'm not being ironic)

brazen bone
#

That looks like completely normal minified code, I don't know what you're confused about

limber skiff
#

yeah

#

ngl minified code actually made me start to use == null and != null almost all the time

brazen bone
#

Instead of what?

limber skiff
#

if (thing) {}

#

if (thing != null) {}

brazen bone
#

I'd just do h?.()

limber skiff
#

!= null only targets undefined and null

limber skiff
#

but I mean for other cases where you cant do that

brazen bone
#

Considering the amount of code I've seen that does a != null && a != undefined, I don't think == null targets undefined

limber skiff
#

it does

#

!== null doesn't

brazen bone
#

Right

limber skiff
#

it's why the minifier uses != null there

#

either the original code is d?.()

#

or if (d != null) d()

#

because there is no way it would transform if (d) d()

to that

brazen bone
#

Yeah that'd be d&&d()

limber skiff
#

yeah

austere talon
#

definitely ?.

median rapids
#

definitely !

spark cove
#

definitely !?.

#

@austere talon

#

where all does the build process use/embed the repo

#

oh yea the ~git-remote plugin my bad

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

charred monolithBOT
#

this was deliberately done to keep proper expected behaviour. namely, spreading turns the object "read-only" (since it's now a copy) and breaks class instance fields / methods entirely. but we also don't want to pollute Discord's objects with fake properties because it might break things, so we can't just write these properties on the original object

it's also such a thin dependency that it has very little impact

I don't see why the properties can't be set on the [UserProfile](htt...

charred monolithBOT
fallen vale
# charred monolith

hmm... if only they thought to put the reasoning in the commit message....

glass jasper
charred monolithBOT
desert cosmos
charred monolithBOT
charred monolithBOT
charred monolithBOT
verbal pumice
#

horror

charred monolithBOT
glass jasper
#

jumpscare

charred monolithBOT
fallen vale
#

laydowncalm

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

charred monolithBOT
rugged spire
#

WE LOVE

#

(not)

austere talon
#

wtf are you trying to do

rugged spire
#

discord api is cursed and returns a string of one of these values in audit log responses

#

i will implement later

charred monolithBOT
austere talon
#

wait it's actually just css

fallen vale
#

yea lmao

#

i just copy/pasted what they put in the plugin and told em to put it in css

gritty canyon
#

users yearn for a css snippet/theme store

fallen vale
#

if i make a plugin with a collection of css snippets, would that get merged?

gritty canyon
#

thats something called a "theme"

fallen vale
#

themes dont have individual toggles for each of the things they do

gritty canyon
#

you can release a series of imports that enable/disable specific snippets

fallen vale
gritty canyon
#

?

long stream
long stream
turbid hatch
#

yes but it hasnt been worked on

fossil inlet
#

it syncs with your vscode theme colors

rugged spire
fossil inlet
glass jasper
#

other then that Nice

#

also steam jumpscare

fallen vale
#

wtf

#

@obsidian lintel

glass jasper
nimble plaza
#

FREE SMILEY DEALER IS BACK

fallen vale
#

bro

glass jasper
#

is it only effecting Scyye?

#

or how do you activate it?

fallen vale
#

try sending a ๐Ÿ˜ญ

glass jasper
#

๐Ÿ˜ญ

fossil inlet
#

๐Ÿ˜ญ

charred monolithBOT
swift fjord
#

feature is ok ig...

gritty canyon
#

fuck forgot to lint before push

austere talon
#

honestly

#

just change the default expanded state

#

so it's expanded by default but u can still minimise it again

#

it opens as if you clicked the +

gritty canyon
#

oh wait you can minimise it again? ๐Ÿ˜ญ

#

i did it like this cuz it was easier and i didnt know it would get rid of minimising

#

ill change it then

fossil inlet
austere talon
#

ya

swift fjord
#

einklappen

#

unserious language fr

gritty canyon
#

there we go

#

now just expands by default

#

also fixed checks

#

๐Ÿ˜ญ

#

niche feature imo but if so many people request it

#

shrug

austere talon
#

is it actually that many people

gritty canyon
#

well yea

austere talon
#

rmber vencord has hundreds of thousands of users

gritty canyon
#

more than with any other request

gritty canyon
austere talon
#

i might need to cut my leg off to merge it..

gritty canyon
#

๐Ÿ˜จ

#

do you want a gummibรคr for the pain

sterile oak
charred monolithBOT
gritty canyon
#

how would we do that

austere talon
#

migratePluginSettings

#

func

gritty canyon
#

like this?

#

no whoops

#

im stupid

#

other way around

#

this way

limber skiff
#

look at the method definition I don't remember

#

oh yeah it's right

gritty canyon
#

alright will push then

limber skiff
#

the plugin also needs a README

gritty canyon
#

right

austere talon
#

girl what is that font

gritty canyon
#

its not even monospaced

austere talon
limber skiff
#

yeah I noticed right after saying it

#

that's why I said it was right

austere talon
gritty canyon
charred monolithBOT
gritty canyon
#

there we go

glass jasper
charred monolithBOT
gritty canyon
#

why ๐Ÿ˜ญ i think we do not really need to add options for such a simple plugin

charred monolithBOT
gritty canyon
#
  • if you really really do care about
#

omg

glass jasper
gritty canyon
#

yeah i was about to say that

glass jasper
gritty canyon
#

ah

#

well shrug

#

if you want it to be like the old plugin, as @sadan4 said you can use css

rugged spire
glass jasper
rugged spire
#

You do not get the real point

#

There is no built-in CSS library

glass jasper
fossil inlet
#

whenever i import from plugins in my file, i get this error
what am i doing wrong

limber skiff
#

recursive imports

fossil inlet
#

is there a simple way to fix?

limber skiff
#

use Vencord.Plugins instead

fossil inlet
#

thanks

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

wary relic
#

green PepeHappy

glass jasper
wary relic
#

๐Ÿ’€

charred monolithBOT
#

For all of the people wanting the plugin without knowing how to compile Vencord, you can always use a Vencord fork (unofficial and unsupported edited version of Vencord). Vencord will be available prebuilt with unapproved plugins. Just know that using a Vencord fork is at your own risk, as the plugins in it might not properly get checked for malware and plugins might stop functioning properly at any time. Anyways, if you really want the plugin, that is an option and there are some good Vencor...

glass jasper
charred monolithBOT
#

For all of the people wanting the plugin without knowing how to compile Vencord, you can always use a Vencord fork (unofficial and unsupported edited version of Vencord). Vencord will be available prebuilt with unapproved plugins (like this one). Just know that using a Vencord fork is at your own risk, as the plugins in it might not properly get checked for malware and plugins might stop functioning properly at any time. Anyways, if you really want the plugin, that is an option and there ar...

glass jasper
#

thank you nyx

#

No matter how many times we tell people not to go talking about the forks in the official repository, they do it anyways

fossil inlet
#

@limber skiff would it be possible to still set $$vencordOriginal even if a patch errors?

limber skiff
#

why

fossil inlet
#

to diff patches that error

limber skiff
#

you mean the patched source?

fossil inlet
#

yea

limber skiff
#

hmmm

#

unsure

#

a successful patch after the error would overwrite the errored source though

#

since it would use the old code that doesnt error + the patch that succeeded

fossil inlet
limber skiff
#

we can maybe create a set/array with the errored sources

fossil inlet
#

not worth tbh

#

only using here

fossil inlet
limber skiff
#

they broke permissions viewer again nice

charred monolithBOT
fossil inlet
limber skiff
#

ngl they are cooking hard here

#

I like

glass jasper
#

thats worst opinion Iโ€™ve heard in this server

limber skiff
#

why lmao

glass jasper
#

idk because itโ€™s different for my own

jagged reef
#
if (typeof Object.entries(members).map(member=>member) === โ€œstringโ€) return true;```
brazen bone
#

Smart quotes found ๐Ÿ”ซ

limber skiff
#

what is that

brazen bone
#

A syntax error

#

โ€œstringโ€ vs "string"

limber skiff
charred monolithBOT
charred monolithBOT
nimble plaza
#

mods, lobotomise this user

umbral hillBOT
opaque silo
#

mods, lobotomize me

gritty canyon
#

vee, close his pr

charred monolithBOT
charred monolithBOT
charred monolithBOT
glass jasper
charred monolithBOT
rugged spire
rugged spire
#

1rem is huge

#

though

#

your zoom level exaggerates it

fossil inlet
#

if you dont like the UI, make it yourself

rugged spire
#

?remindme 1h try dev companion on my laptop

shut vineBOT
#

Alright @rugged spire, in 1 hour: try dev companion on my laptop

shut vineBOT
#

@rugged spire, <t:1724876884:R>: try dev companion on my laptop

wary relic
#

i think its time

rugged spire
#

guh

#

i installed NoLifeOS on my laptop

charred monolithBOT
frail skyBOT
#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g


**__WebContextMenus (had no effect):__**
ID: `343602`
Match: ```
/\i\.isPlatformEmbedded/

WebContextMenus (had no effect):
ID: 343602
Match: ```
/\i.\i.copy/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fallen vale
#

nooooooo

#

not console janitor

fossil inlet
rugged spire
limber skiff
#

why is the patches broken on stable and not canary

#

normally it's the other way around

frail skyBOT
#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g


**__WebContextMenus (had no effect):__**
ID: `343602`
Match: ```
/\i\.isPlatformEmbedded/

WebContextMenus (had no effect):
ID: 343602
Match: ```
/\i.\i.copy/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
rugged spire
#

pr review jumpscare

limber skiff
rugged spire
limber skiff
#

in fact i'm gonna include the other one too

#

it's not used in replacement but in the match

rugged spire
#

you have a typo in your suggestion

limber skiff
#

where?

limber skiff
#

nono

rugged spire
#

oh?

limber skiff
#

reference to second capturing group

rugged spire
#

...how?

#

is this dark regex magic I don't know

limber skiff
#

ill explain in a bit

rugged spire
#

now explain

#

why doesn't vencord use native regex named capture groups

limber skiff
#

they make the match super unreadable

#

can you figure the magic

#

here's the hint
(roles:\i(?=.+?(\i)\(!0\)[,;]\i\({action:"EXPAND_ROLES"}\))

fossil inlet
limber skiff
#

does the mobile app have something similar to user voice show?

gritty canyon
#

nvm whoops

#

nvm x2 it doesnt match trying on vencord web

limber skiff
gritty canyon
#

wtf

#

omg... my vencord web is outdated nvm then !! im stupid

limber skiff
#

did you enable this

gritty canyon
#

yea i did

#

i was concerned specifically cuz it didnt show as working on web for me

#

but its whatever now ๐Ÿ˜ญ

#

thanks!!

limber skiff
#

as scary as that regex seems like it actually should not break easily

#

in fact super reaction tweaks has on similar

#

same concept

gritty canyon
#

There we go, checked through the reviews again and applied the changes

gritty canyon
#

still getting into patches :3

limber skiff
#

no worries it was good

#

it's just that modifying useState sometimes can be very hard to be specific and you are forced to use complicated techniques if you want to be sure of what it's patching

frail skyBOT
#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ConsoleJanitor (had no effect):
ID: 316792
Match: ```
/,"notosans-.+?"/g

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
#

rip ConsoleJanitor

limber skiff
#

notosans error is gone

fossil inlet
#

chain breaking image

charred monolithBOT
limber skiff
#

AlwaysExpandRoles is fire

charred monolithBOT
limber skiff
#

pushing to main

gritty canyon
limber skiff
#

even better that it's migrated from ShowAllRoles

#

no need to re-enable

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

charred monolithBOT
limber skiff
#

what's the worst that can happen, right?

fossil inlet
glass jasper
#

Canโ€™t wait for the announcement thatโ€™s never gonna happen in #plugin-news about this new plugin

rugged spire
#

wtf am i cooking?

fossil inlet
#

@rugged spire you will make setting pop out to external window

#

like you can do with vc's

charred monolithBOT
rugged spire
fossil inlet
#

what

limber skiff
rugged spire
#

toolbar is where elements like these are defined

#

hot take

#

GuildSettingsAuditLogStore should be rewritten by Discord

#

its such a bad mistake

fossil inlet
#

guhhh i do not want to write AST parsing code at 3 am

rugged spire
#

it is a Store being treated like a Cache for the current audit log view

fossil inlet
#

!remind 8pm write PluginDefCodeLensProvider.ts

shut vineBOT
#

Alright @fossil inlet, in 16 hours, 43 minutes and 42 seconds: write PluginDefCodeLensProvider.ts

limber skiff
#

honestly I'm not sure if that's weird or not

#

maybe it's good for use with useStateFromStores

#

I wonder how many people peek in this channel daily

#

in powercord ages when I didn't do dev I used to peek the development channel everyday to see if there was interesting stuff happening

#

any new messages were a great time for me

gritty canyon
#

and then those who'd love to participate here but dont know how to and are too scared to ask

fossil inlet
#

ive lurked in random channels from time to time

limber skiff
#

I just now realized the amount of reactions in this message

fossil inlet
#

a few

gritty canyon
#

is that channel dead..

glass jasper
limber skiff
#

it's not dead, just there hasn't been any new plugins merged

fossil inlet
limber skiff
#

releases are just for the browser extension

gritty canyon
#

oh

#

you mean version release

limber skiff
#

they are not the mark for new updates

gritty canyon
#

im stupid

limber skiff
#

main commits are

#

actually this should be announced

#

and AlwaysExpandRoles

#

if vee doesn't do it soon I will do

charred monolithBOT
limber skiff
#

it seems too cluttered

#

but also I suck at ui so take that as a grain of salt

gritty canyon
#

well

#

not sure how youd make it less cluttered

rugged spire
gritty canyon
#

so imo its fine

limber skiff
#

honestly the issue is not that it's a popout

#

because they can look good

#

maybe it just needs a better design instead of being all text

rugged spire
#

hm maybe

limber skiff
#

could do something bigger like the hang status used to do

rugged spire
limber skiff
#

I like it

rugged spire
#

this is how it renders 8 people (that's 2 voice, 3 streaming, 3 playing games, 2 in activity)

limber skiff
#

oh

charred monolithBOT
#

Discord recently updated the activity cards on profiles to a new design, and changed how the Spotify activity appears. It is no longer an optional feature of all cards, and is a separate card.

This update adds the time bar component to the new standard activity cards if they have valid timestamps.

It also adds options for hiding the "badges" on the cards (game controller/tv with the elapsed time) and the large_text attribute on listening activities, making it look like the Spotify car...

opaque silo
limber skiff
#

will do

#

!remind 10h merge that

shut vineBOT
#

Alright @limber skiff, in 10 hours: merge that

jagged reef
shut vineBOT
#

@limber skiff, <t:1724931090:R>: merge that

fallen vale
#

will they though

limber skiff
#

when I actually wake up

fallen vale
#

what tz are you in

limber skiff
#

utc-3

#

I went to sleep at 10am

fossil inlet
fallen vale
fallen vale
#

webstorm

#

screw off ๐Ÿ™„ /lh

fossil inlet
#

I LOVE JETBRAINS I LOVE JETBRAINS crazy_fucker

glass jasper
fallen vale
#

i used to use pycharm but i dont use python enough now to warrant

fossil inlet
#

does npp have lsp support?

fallen vale
#

(and rider i switched over to visual studio)

fallen vale
fallen vale
fossil inlet
#

something that you dont have to pay for

fallen vale
#

i dont pay for jetbrains lol

fossil inlet
#

its paid tho

fallen vale
#

(ignore deleted message, i forgot theres no community edition of webstorm)

charred monolithBOT
shut vineBOT
#

@fossil inlet, <t:1724915778:R>: write PluginDefCodeLensProvider.ts

scenic brook
#

Work do be getting in the way though

fossil inlet
#

seems hard to completely port it
esp the webview

#

and the Typescript AST parsing

scenic brook
#

Pretty much just the lenses for testing patches/viewing modules and diffs

#

I had to set it down for a bit because I was spending too much time fucking around with it and not doing my actual job lol

heady rapids
fallen vale
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

Settings (had no effect):
ID: 394644
Match: ```
/({(?=.+?function (\i).{0,120}(\i)=\i.useMemo.{0,30}return \i.useMemo(()=>\i(\3).+?function(){return )\2(?=})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
#

Settings?

#

bruh

austere talon
#

not a problem