#👾-core-development

1 messages · Page 259 of 1

charred monolithBOT
#

Apple has announced at WWDC25 that macOS Tahoe will be the final macOS release for Intel-based macs and with it deprecating Rosetta 2, the translation layer that translates x86 instructions to ARM.

Rosetta was designed to make the transition to Apple silicon easier, and we plan to make it available for the next two major macOS releases – through macOS 27 – as a general-purpose tool for Intel apps to help developers complete the migration of their apps. Beyond this timeframe, we will keep a...

elder plinth
#

tryna make a dm with discord just gives me internal server error and with community updates gives me invalid recipients 😭

fossil inlet
#

@odd heath js wreq(493683).Z.openPrivateChannel({ recipientIds: "643945264868098049"})

odd heath
#

works for me

fossil inlet
#

anyway, cant repro the crash

odd heath
#

do you havbe any dms with discord

elder plinth
#

did you do something sus in the past to get a dm with discord cause it looks to me like they have to be the one to make the dm lol

odd heath
#

or from discord rather

odd heath
#

they yelled at me for tos violation

elder plinth
#
await Vencord.Webpack.Common.RestAPI.post({
    url: "/users/@me/channels",
    body: {
        recipients: ["250322741406859265"]
    }
});

this works for any user id from the sidebar just not discord or community update's for me

fossil inlet
#

and no crash

odd heath
#

i got this dm today and the crash when i tried to open the dm so i feel like they probably relate

elder plinth
#

damn why yall out here getting on discord's naughty list

#

y u getting that dm

#

I have 2 servers with boosts

#

one at 86 rn

odd heath
#

idfk

#

i dont even know what sserver theyre talking about

#

😭

elder plinth
#

usually they send that kinda notice in the community updates channel you set for your server hm

#

I havent actually gotten one of those in asges in my server. weird

#

how can these simultaneously be true

#

top is test find, bottom is view module

fossil inlet
#

you will pr fix

elder plinth
#

huh

#

making more specific is so hard without adding like 20 different finds lol

odd heath
#

@fossil inlet the discord dm embed vs an emoji embed

#

it doesnt have the url field in teh embed itself

#

thats why it crashes

fossil inlet
#

i just wrapped in try-catch blobcatcozy

#

GUHHH WHO DID TYPE ASSERTIONS

#

@odd heath can you checkout 3509 and try to repro

elder plinth
fossil inlet
elder plinth
#

maybe ur plugin is just buggin

odd heath
# fossil inlet

well tbf probably its true for every non system dm or discord changed it recently

#

otherwise the crash would be more frequent

odd heath
#

i did see

odd heath
#

@fossil inlet its on stable tho i think?

#

or am i stupid

elder plinth
fossil inlet
#

It’s probably better, but I’ll leave it up to whoever reviews it

elder plinth
#

hm the comma makes a big difference lol

elder plinth
fossil inlet
scenic brook
fossil inlet
#

From lazy loading

scenic brook
#

I can't remember the issue, I did mention it here before

#

I'll find it again at my PC but the unique modules count is wrong in some cases

#

^

elder plinth
scenic brook
#

Can't speak to that one off the top of my head

fossil inlet
#

You should find out why and fix it blobcatcozy

elder plinth
#

findComponentByCodeLazy("STATUS_DANGER,disableColor:")

find works but view module says none

scenic brook
#

But the "found 18, 24, etc. modules" is the thing I mentioned

elder plinth
#

sadan's or basic?

scenic brook
#

Sadan's but I may have modified it, I don't remember suffoClueless

#

I kinda merged the new dev tools into my personal build

elder plinth
#

oh now it works

#

it was attaching to my PTB install which I hadnt restarted yet since discord's fuckery earlier

#

saw "connected to websocket" on stable and assumed it was using that smh

#

nvm wrong find. clicked the wrong one, still no worky. smh x2

jolly egret
#

having a lot of annoying gaps in viewraw with roles

can't do it in mod view, can't do it in members tab, can't do it in the permissions viewer modal

#

maybe even more places but its kinda frustrating especially when i was trying to steal/check gradients

jolly egret
#

i misremembered mod view button but yea

glass jasper
fossil inlet
# glass jasper

Fixed in 3509, but I might pull it out because it will work on stable

glass jasper
#

Ight

fossil inlet
glass jasper
#

So prolly more people will have the problem but it will either be a small number or it’ll grow the ones that message is rolled out

fossil inlet
#

Can’t get to computer easily rn so cba to split the pr

odd heath
#

though @limber skiff you should merge at least that quickly one cuz client crashing bug blobcatcozy

glass jasper
#

Wrong meme

#

Mb

odd heath
# fossil inlet

i swear to god i looked at this 5 times earlier on and it showed the same for cdanary and stabke

#

😭

austere talon
#

and they reverted it...

#

use your brain

elder plinth
#

bot should post a link to the most recent post for each version at the bottom

fossil inlet
#

Just ran it

elder plinth
#

wait they reverted the color picker change?

#

oh was gonna say im on stable and my "fix" is still working but realized the find im using probably works regardless. makes sense

charred monolithBOT
fossil inlet
#

if someone wants to merge the fake nitro crash earlier

odd heath
charred monolithBOT
austere talon
#

colourpicker no longer lazy?

#

oh wait

fossil inlet
#

oh, was that why it wasn't in common

#

whoops

austere talon
#

but it would be good to add a note

#

jsdoc comment

fossil inlet
#

will do

elder plinth
#

im now getting color picker like this

#
export const ColorPicker = findComponentByCodeLazy("showEyeDropper", "BACKGROUND_BASE_LOW");
#

works in stable

austere talon
#

try making it compatible with stable

elder plinth
#

oh

#

nvm

#

i hadnt opened my plugin settings

#

it worked earlier before they reverted smh

#

ok this works

export const ColorPicker = findComponentByCodeLazy("showEyeDropper", "BACKGROUND_ACCENT");

loading fine on stable ptb and canary

#

the difference seems to be between BACKGROUND_PRIMARY and BACKGROUND_BASE_LOW IRySMHHD

fossil inlet
#

I went for ```ts
export const ColorPicker = waitForComponent<t.ColorPicker>("ColorPicker", filters.componentByCode("#{intl::USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR}", "showEyeDropper"));

elder plinth
#

convenient I randomly downloaded the modules earlier before it reverted

fossil inlet
elder plinth
#

what is #{intl::USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR}

#

I dont see that anywhere

fossil inlet
#

hover over it with vencord compnaion blobcatcozy

elder plinth
#

idk what you mean

fossil inlet
charred monolithBOT
elder plinth
#

that is also not in the code tho

#

oh it is as h.intl.string(h.t.Qp04hI),

austere talon
fossil inlet
elder plinth
#

yeah im good with my find :^)

fossil inlet
#

looks like not all plugins required color picker in the past

#

should they be updated to require it

#

(looking at clientTheem)

austere talon
fossil inlet
austere talon
elder plinth
austere talon
#

the latter is an internal method you shouldn't use

#

just use the former

#

but ultimately it doesnt matter

fossil inlet
austere talon
#

try it urself

#

ctrl r

#

immediately go to clienttheme settings

fossil inlet
#

wait

#

is that just unrelated and i'm stupid

#

yeah...

#

<@&1073655264923881602> @limber skiff

austere talon
#

the thing that's erroring is UserProfileStore.getUserProfile().bio

fossil inlet
austere talon
#

badge?

fossil inlet
#

it doesnt error, i just have no idea how the color picker is loaded

#

or maybe it isn't lazy anymore

austere talon
#

it just works

fossil inlet
#

guhhh i need to see if it's lazy or not now

austere talon
#

it indeed doesnt seem to be lazy anymore

#

just ctrl r and test in devtools

fossil inlet
#

love

austere talon
#

what should we do about ClientTheme now

#

it's so dogshit now

fossil inlet
#

i'd defer to nookies on that one

austere talon
#

why not just remove this?

austere talon
fossil inlet
opaque silo
fossil inlet
grave mangoBOT
austere talon
#

try removing it and see

#

but also doesnt hurt to have

fossil inlet
austere talon
#

it doesnt matter

fossil inlet
#

seems to still work, I can only assume it was there for color pciker

#

leaving it there because no reason to remove

#

it's also exported from the plugins default object, but doesn't seem to be used anywhere

#

weird.

austere talon
#

nice

fossil inlet
#

looks like it's compatable with stable and canary

#

haven't tested, just looking at the reporter

austere talon
#

crazy thatBetterFolders didnt break for once

charred monolithBOT
austere talon
#

thanks for the fixes mona_love

fossil inlet
charred monolithBOT
nimble pendantBOT
grave mangoBOT
#

index.tsx: Lines 136-138

    UserProfileStore.getUserProfile(UserStore.getCurrentUser().id).bio
) ?? [0, 0];
const [color1, setColor1] = useState(existingColors[0]);
grave mangoBOT
fossil inlet
#

it gets the colors with getUserProfile

nimble pendantBOT
nimble pendantBOT
fossil inlet
#

but it also patches that function

austere talon
#

in what scenario would ur own profile not be loaded?

fossil inlet
#

so it's trying to decode colors that will never be present

austere talon
#

we love

fossil inlet
#

it also doesn't properly work with nitro colors

if the user has set nitro colors to prefer what should the ui default to

charred monolithBOT
fossil inlet
#

the colors in the profile or the nitro colors

#

with the bug rn, it's ambigious

#

@glass jasper fake nitro crash fixed

fossil inlet
charred monolithBOT
fossil inlet
#

cba to fix rn

fossil inlet
fossil inlet
#

(if in dev mode)

dusk blaze
#

vencord salad

charred monolithBOT
fossil inlet
#

ignore testing

charred monolithBOT
#

Content

Plugin Name

YouTube RPC


Description

This plugin displays the currently watched YouTube video in the user's Discord Rich Presence (RPC). It will show the video title, channel, and elapsed time, and optionally include a thumbnail and link to the video.


I want to work on this myself

I’d like to take this on and develop the plugin myself! Feedback and suggestions before I begin coding would be great.

Request Agreement

  • [x] I have read the requiremen...
charred monolithBOT
fossil inlet
#

@fallow scarab @glass jasper

fossil inlet
scenic brook
#

You didn't even tag the role lol

prime dew
fossil inlet
#

discord should ban the name silent

prime dew
#

Real

austere talon
#

ur so dumb

fossil inlet
#

typing @slient should by make the message silent before pinging a user

austere talon
#

<@&1073655264923881602> skull issues @fossil inlet

fossil inlet
#

if discord had proper code and handleded it well

elder plinth
#

@silent<enter> tags first user named silent
@silent<space> uses the silent feature

#

<@&1073655264923881602> @fossil inlet

#

unless I just tagged someone named silent

#

or is that a role?

#

this is the role's fault

#

would have worked otherwise smh

fossil inlet
austere talon
#

blame discord for being stupid and making this such an half assed feature*

fossil inlet
#

also that

charred monolithBOT
fossil inlet
#

GUHHH WRONG PR TITLE

#

fakeProfileThemes: fix error when user's profile is not loaded

still maple
austere talon
#

or just made it a proper button / switch

fossil inlet
fossil inlet
#

wait what's the point in creating state if it will never be used

#

or is this just something that discords linting didn't catch

austere talon
#

where

fossil inlet
#

126306

#

the code just gets worse

#

they create this ref then never set it

limber skiff
odd heath
# fossil inlet

How even 😭 the bundler must've taken it out cuz I don't think anyone would actually do that

#

Insane

fossil inlet
#

It probably just got overlooked in a refactor.

odd heath
#

Possibly

fossil inlet
#

Because the value is abstracted by the useref call, static analysis can't mark it as unused.

fossil inlet
#

what is the point of this

austere talon
#

lmao

#

probably unused variables

#

but the bundler can't remove them because they could be getters with side effects or could be undefined/null (so throw an error when accessed)

fossil inlet
#

you would figure they would have some kind of linting for that

austere talon
#

you often can't safely remove code

fossil inlet
#

getters with side effects are evil

austere talon
#

yop

olive aurora
#

nop

#

without them we wouldn't have proxies

#

best js feature

fossil inlet
#

proxies are evil

olive aurora
#

vee loves proxies

austere talon
#

proxies so good

dusk blaze
#

yop

fossil inlet
charred monolithBOT
fossil inlet
#

average badge goblin

#

@toxic forge insane

toxic forge
#

not

granite wharf
#

I don't have a problem with it but vee might dismiss it in favor if hiding it in a useful commit lol

toxic forge
#

yeah I thought as much looking through the commits

granite wharf
#

Oh definitely not, I didn't look at that part

#

I wouldn't accept it either for just readme changes x)

fossil inlet
#

@toxic forge you should fix the failing patches instead blobcatcozy

toxic forge
#

I should sleep bro

jolly egret
#

is this satire? i can't tell

woeful sleet
#

Doesn't look like it from their other PRS

jolly egret
#

making an alt right now and removing bunny and putting revenge instead just to get the badge

scenic brook
#

You don't need to make another alt right smh, the one we have is bad enough

charred monolithBOT
#

What happens when the bug or crash occurs?

Lack of updates when a user goes on/off a platform.

What is the expected behaviour?

Platform Indicators should update when a change in the flux store is triggered (automatically handled by Flux.connectStores)

How do you recreate this bug or crash?

N/A

Errors

No response

Request Agreement

  • [x] I am using Discord Stable or tried on Stable and this bug happens there as well
  • [x] I am a Vencord Developer
austere talon
#

that is true

limber skiff
#

true

austere talon
#

idk why it doesnt lol

#

i always thought it did

limber skiff
#

i had started a rewrite

#

but i didnt finish

austere talon
#

connectStores has been deprecated since like at least 2022 tho idk why they mentioned it

#

isnt this hellbound

#

yeah it is

pine topaz
pine topaz
#

oh that's what they did

jolly egret
#

yeah just readme change

#

a oneliner at that

fossil inlet
#

blurnsfw having the worst find known to man

fossil inlet
#

haven't even built yet blobcatcozy

#

just going off companion

#

GITHUB INSANE

fossil inlet
#

I DID NOT CLOSE IT

#

GITHUB STUPID

fossil inlet
#

@austere talon if you want to merge these before it hits stable

fossil inlet
#

oh

glass jasper
glass jasper
#

I think that’s only on Canary right now though

#

Average sadan moment

fossil inlet
#

@glass jasper i think discord fucked all their css variables

#

i lied

#

role color everywhere also broke

#

we need to fix this before it hits stable

glass jasper
fossil inlet
#

yeah

#

cba to change all instances of --text-normal so just going to alias it once at :root

will change all later

austere talon
#

Online themes also has fucked colours

austere talon
#

honestly might not be that stupid to add that and keep it for a while

#

to unfuck themes as well

fossil inlet
#

not that hard to do all manually

#

so that's what i'm doing

#

seems like --text-normal was all that was changed

opaque silo
#

vencord theme compatibility layer

fossil inlet
#

make

opaque silo
#

HORRROR

fossil inlet
#

@quick isle you might want to know about this

#

(if you don't know already)

charred monolithBOT
opaque silo
fossil inlet
#

which part

opaque silo
#

var fallback like that

#

just have it break and push the new var

fossil inlet
#

it breaks all message colors with roleColorEverywhere

#

it looks like this

opaque silo
#

so push the new one

fossil inlet
#

breaks on stable

opaque silo
#

having both is silly

#

so wait for it to hit stable

fossil inlet
#

no

opaque silo
#

canary can cope

fossil inlet
opaque silo
#

oh true

#

especially slow ass web

fossil inlet
#

yeah

opaque silo
#

instead of all those fallbacks just have a single root --text-normal: var(--text-default, var(--text-normal, white)); with a TODO to update then all?

#

less changes

fossil inlet
# charred monolith

in most cases we could also just use an alias at root, something like --vc-text-primary but that could get messed up if discord overrides their variables later in the tree

fossil inlet
opaque silo
#

ah okay if theres var prio shenanigans simpler is better

jolly egret
opaque silo
#

just have a TODO so its not forgotten I think

austere talon
#

this change sucks just put it on root

jolly egret
#

you pushed out all your changes

fossil inlet
opaque silo
fossil inlet
austere talon
#

who would override it??

opaque silo
#

😭

fossil inlet
#

not counting out discord doing stupid shit

opaque silo
#

they do that a lot

#

var overrides all over

fossil inlet
opaque silo
#

especially in places that follow user theme

opaque silo
fossil inlet
#

love

fossil inlet
#

this keeps the original behavior

opaque silo
#

--theme-default?

fossil inlet
#

text-defauklt

#

i cant think or spell blobcatcozy

opaque silo
#

no brain

fossil inlet
#

yop

opaque silo
#

contrast issues and the like

fossil inlet
opaque silo
fossil inlet
#

yeah

#

we cant alias at root

opaque silo
#

🥰

fossil inlet
#

@austere talon thoughts

opaque silo
#

if only you could have vars evaluated at their use instead of their definition

#

that'd be baller

fossil inlet
#

but too much work

#

@opaque silo you husk yet you just linked scss that you were the last contributor to

opaque silo
#

scss is unironically so ass at nested slop

#

but its what ctp discord uses

#

so I cope

opaque silo
#

nop

quick isle
fossil inlet
#

javascript?

opaque silo
fossil inlet
fossil inlet
quick isle
fossil inlet
opaque silo
fossil inlet
#

but you can

opaque silo
fossil inlet
#

@glass jasper k_

opaque silo
odd heath
#

You have 38.523 seconds before explosion

fossil inlet
#

@austere talon looks like the text changes are on stable

opaque silo
#

--background-mod-* now

fossil inlet
#

you will pr to my pr

opaque silo
#

husk

#

never

#

oh husk....

#

it wont immediately break but it wont update anymore on stock themes and themes that drop the var

#

since its already on main will the fallbacks be dropped

limber skiff
#

I'm tired right now

#

already going to sleep

fossil inlet
limber skiff
#

alright

fossil inlet
#

haven't tested everything

limber skiff
#

same thing but merge instead of fix

#

haha

fossil inlet
#

and cookie says tehre are also vars

#

yop blobcatcozy

limber skiff
austere talon
#

themes override vencord vars

charred monolithBOT
kindred tree
#

any chance of this getting merged blobcatcozy

dusk blaze
#

tbf it looks mergable

kindred tree
#

vee did already review it once

limber skiff
#

@austere talon thoughts about creating vencord aliases for vars in the feature

#

so we can have for example vc-text-normal which aliases to text normal

#

which is easier to change globally when something is changed

modest widget
limber skiff
#

huh?

charred monolithBOT
limber skiff
#

vtest dev

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
limber skiff
austere talon
#

its always that patch thats slow lmfao

#

it really is slow

#

that module isnt even big wtf

limber skiff
#

I dont get it lol

austere talon
#

its medium size

modest widget
# limber skiff huh?

Say that Discord changes one of their variable names, if the plugins aren't all updated at the same time there's still a chance that they will use different aliases making them inconsistent

limber skiff
#

@austere talon you remember it better, was the preview bg darker or lighter

#

they nuked background-secondary

#

hmm

#

too dark

austere talon
limber skiff
#

thats an old one

#

lol

austere talon
#

pro tip: use discord search [pluginname] has:image

limber skiff
#

i dont know whats the new secondary var

austere talon
#

you will find some guy who sent screenshot in support

austere talon
#

doesnt have to match exactly

#

just look okay

limber skiff
#

😭

limber skiff
#

thanks

austere talon
#

they moved GuildStore.getRoles

#

GuildRoleStore

#

new store

#

on canary

fossil inlet
#

How will this impact Lebron's legacy?

shut vineBOT
#

Alright @fossil inlet, in 2 hours: do

austere talon
#

i would just do this temporarily:

export const GuildRoleStore = findByPropsLazy("getRole", "getRoles");
#

so it's compatible with stable + canary

charred monolithBOT
fossil inlet
dusk blaze
#

dev3

#

soon we will have dev4

fossil inlet
#

Dev-1

austere talon
#

identical

fossil inlet
charred monolithBOT
austere talon
#

no you aren't

limber skiff
#

forces push dev3 to dev

#

yes you are

fossil inlet
austere talon
#

are u fixing the css colour stuff?

austere talon
#

also allows themes to more easily theme vencord specific stuff if they want to for whatever reason

fossil inlet
limber skiff
#

lets slowly start doing that

#

cuz rn there are A LOT to do at once

austere talon
#

just do the ones that broke rn

#

replace all --text-normal with --vc-text-normal

limber skiff
#

where should I place the css for the aliases

#

next to where we init margins?

odd heath
fossil inlet
#

is there no index.css file or something like that

odd heath
fossil inlet
limber skiff
#

i know

fossil inlet
#

id just touch src/index.css and import that from vencord.ts

austere talon
limber skiff
#

ig

fossil inlet
#

insane class name

austere talon
#

.vcshc-auar-cter-pd-btn

fossil inlet
#

vencord will use css modules with no mangling for easy imports blobcatcozy

austere talon
#

how tf do you css modules without mangling

fossil inlet
#

not like actual css modules

#

but importing it

fossil inlet
#

but too husk

austere talon
fossil inlet
#

@austere talon fix

austere talon
fossil inlet
#

already did something like that for my userscripts on other websites

austere talon
#

then do it

fossil inlet
#

soon

modest widget
# fossil inlet insane class name

Nothing like
.javascriptMaterialdesignGm3WizTextFieldFilled-text-field-- invalid:not(.javascriptMaterialdesignGm3WizTextFieldFilled-text-field-- disabled).javascriptMaterialdesignGm3WizTextFieldFilled-text-field-- focused+.javascriptMaterialdesignGm3WizTextFieldFilled-text-field- helper-line

fossil inlet
austere talon
#

it's in dev3 buckaroo

fossil inlet
#

im based off dev blobcatcozy

austere talon
#

youre cringed off dev

fossil inlet
austere talon
#

love

#

i pushed to dev3 for now

#

i can just push to dev ig

fossil inlet
#

@austere talon DOES DISCORD SHAODW THEIR OWN VAR

#

INSANE

olive aurora
#

normal

limber skiff
#

salad

#

so many changes due to formatting 😭

fossil inlet
#

@limber skiff isn't the whole point to use vencord vars instead of just --text-normal

limber skiff
#

I FORGOT

fossil inlet
#

also is there any reason to import as file instead of just import ./globalStyles.css

limber skiff
#

cuz that doesnt work lol

#

css imports are done by bundler magic

#

we only have bundler magic for plugins

fossil inlet
limber skiff
#

I think..

#

or maybe we do

#

I tried and it didnt work tho

fossil inlet
#

or do those all get globbed by the plugins build

#

@limber skiff did discord remove --bg-overlay-3 or is there another reason to use -5

limber skiff
#

overlay 3 is the same as the background lol

fossil inlet
#

😭

limber skiff
#

so it does nothing

austere talon
#

just ```js
import "./globalStyles.css"

limber skiff
#

I cant find where the css is being inserted 😭

austere talon
#

vencord-css-core

limber skiff
austere talon
#

gets put into this

austere talon
#

any directly imported css gets bundled into the vencord css bundle and applied always

fossil inlet
#

@limber skiff did you just find and replace all --text-default 😭

#

there are some that can't be replaced

limber skiff
#

how

fossil inlet
limber skiff
#

that doesnt explain how

fossil inlet
#

(rce)

limber skiff
#

so?

#

they will insert it and use our var with no issues

fossil inlet
#

i might be going crazy

limber skiff
#

okay how did this happen

#

😭

#

the replace all

austere talon
#

do vc

#

vc-text-normal

limber skiff
#

vc can conflict with voice chat

fossil inlet
limber skiff
#

no

#

but it could

fossil inlet
#

😭

austere talon
limber skiff
#

I think for a var it might be safer to use vencord

limber skiff
#

discord compiles classes differently

#

I could change it to vc but vencord seems a bit more safe

fossil inlet
#

we should use vc to stay consistent

limber skiff
#

my discord is looking so nicely

austere talon
#

LMAOOO

#

merge dev3 into dev

charred monolithBOT
austere talon
#

there

fossil inlet
#

make change
push
changes
pull
nookies has already done it
blobcatcozy

limber skiff
#

branch is so cooked now

#

it's based on dev but has dev changes

austere talon
#

just need to merge dev

limber skiff
#

WHO PUSHED AGAIN

austere talon
#

which sadanifier did

limber skiff
#

😭

fossil inlet
limber skiff
austere talon
#

git pp clears

fossil inlet
#

what does the ! do

austere talon
fossil inlet
#

ah

austere talon
#

without it it gets interpreted by git

#

so you can't use shell stuff like &&

fossil inlet
#

WHY ARE THERE 2

austere talon
#

idk

fossil inlet
#

@quick isle you might want to update your themes for the new --vc- variables

austere talon
#

why

fossil inlet
#

dev

limber skiff
#

@fossil inlet those format changes were automatic or did u do it

fossil inlet
#

pr

fossil inlet
#

didnt notice until lint failed

limber skiff
#

meh

#

its fine

#

unless u wanna undo most

fossil inlet
#

ofc its prettier husk

#

really need to unstall that

limber skiff
#

u can keep the trailing new lines in the end

#

but undo the rest please

austere talon
#

did you open the individual file instead of opening the vencord folder as project

fossil inlet
limber skiff
austere talon
#

ohhh css files

#

we should configure for css

#

yea

#

add in the pr

#

to settings.json

limber skiff
#

you do it

#

idk how to

fossil inlet
#

so easy

limber skiff
#

😭

austere talon
#

explode

modest widget
#

"[css]": {...

limber skiff
#

thats horrible lol

limber skiff
#

V is getting angry

fossil inlet
limber skiff
#

sadan will undo those

#

LOL

fossil inlet
#

yop

limber skiff
#

just farming reviews

austere talon
#

undo all the formatting changes 😭

#

why is prettier so dogshit

fossil inlet
#

true

austere talon
#

I wish there was a tool to format my code as ugly as possible
Prettier:

modest widget
fossil inlet
fossil inlet
#

@austere talon do you want default formatter or stylelint

#

stylelint is what is in the extension recomendations

austere talon
#

which one looks less dogshit

fossil inlet
austere talon
#

no i dont??

limber skiff
#

that's so bad

austere talon
#

the upper one is better

fossil inlet
#

oh

limber skiff
#

choose the one that doesnt do it

fossil inlet
#

im stupid

austere talon
#

the bottom one is ugly

limber skiff
#

😛

fossil inlet
#

i thought it was a suggestion

austere talon
#

i didnt comment angry emoji on all of those edits for no reason

fossil inlet
#

why the hell does prettier format it that way

#

so insane

austere talon
#

why does it only show 1

#

flop

#

i sent 3

austere talon
#

what if i put grabify image into the pr comment

austere talon
#

would it expose ur ip

fossil inlet
#

and it prob just embeds content directly

austere talon
#

ignore sadanizer he has lost it

fossil inlet
#

thanks github, just a bit late

opaque silo
#

why the vc- vars 😭

#

guhh now I have to update catppuccin theme

#

youre all evil

quick isle
#

whats the point of all this again?

fossil inlet
modest widget
quick isle
fossil inlet
austere talon
#

the vc- vars are just aliases for discord vars used in vencord

themes don't have to care about them

#

just keep changing discord variables like before

#

sadan just insane

fossil inlet
#

guh snailcat

austere talon
#

sorry i deleted ur message on accident sadanizer

fossil inlet
#

insane

austere talon
austere talon
#

because he's insane 😭

fossil inlet
#

see the message vee deleted

austere talon
# austere talon

it's just so that if discord changes their variables again like now, we just have to update our variable and not every single plugin using it

opaque silo
austere talon
#

fact check: false

opaque silo
#

no stupif I mean further down the tree

#

not on root

austere talon
#

true

#

why does css work like that

#

so weird

#

so yes we can't do this @limber skiff

limber skiff
#

what happened

austere talon
#
:root {
    --cool-variable: var(--text-default);
}

div {
    color: var(--cool-variable) !important;
}

body div {
    --text-default: red; /* --cool-variable won't be red */

    /* have to add this for it to be red: */
    --cool-variable: red;
}
#

so we can't do an alias

#

css so dumb

#

good catch cookie 👩‍🍳

fossil inlet
#

i was saying this last night fr

but i also forgot about this so blobcatcozy

limber skiff
#

but thats fine isnt it?

austere talon
#

no

#

if themes change --text-default on specific elements it wont work

limber skiff
#

bruh

austere talon
#

and this wont work either

limber skiff
#

for that i still used text-default

austere talon
#

we cant do the alias variables

fossil inlet
#

would it be possible to do something with @property

opaque silo
#

horror

olive aurora
#

husk

opaque silo
dusk blaze
#

saladizer

shut vineBOT
#

@fossil inlet, <t:1751052640:R>: do

woeful sleet
#

Y'all is crazy for even trying. Just assimilate

jolly egret
#

Any plans to add gradient role support to RCE?

#

right now stuff like user pings just show the primary colour

#

i'll look into it myself at some point if nobody else does but it shouldn't be that bad

#

ShowMeYourName is broken on stable now im pretty sure

#

you could push the changes

fossil inlet
jolly egret
#

i know it is

austere talon
#

this extension is so funny

#

okay but this formatter is ugly

#

prettier looks better

#

just get rid of the formatter config

#

whats trhis for? @fossil inlet

#

did you remove the other one intentionally?

charred monolithBOT
austere talon
#

🤫

charred monolithBOT
austere talon
#

you missed some

#

text-positive

fossil inlet
austere talon
#

found 3 more vars

austere talon
#

easier to just redo the changes myself than to undo all the formatting horror

austere talon
#

wtf

#

did discord round their modals more

#

horror

charred monolithBOT
austere talon
#

Advaith back at discord and already refactoring code like mad

#

should i bump chrome ext again 😭

#

kinda annoying we just released one

#

the premise is cool but why did they throw 3 million unrelated changes into it

#

writing their own reporter, updating dependencies, build script, editing lint config, etc

fossil inlet
austere talon
#

idk man

fossil inlet
#

Been wanting to do it for a while, but never did because that one existed.

austere talon
fossil inlet
#

did discord fuck up or why is there just the @ highlighted

austere talon
fossil inlet
#

@austere talon message logger red highlight broken

austere talon
#

i am so tired

#

i just renamed all the 1 letter roles

austere talon
fossil inlet
austere talon
#

guhhh

#

do you mean chat message colouring?

#

who tf uses that shit 😭

fossil inlet
#

yes

austere talon
#

you will fix

austere talon
#

the package and structure

fossil inlet
#

nah, ill do that after fixing rce

#

been wanting to do this for a while blobcatcozy

austere talon
#

let's make it some permissive license tho

fossil inlet
#

ofc

austere talon
#

LGPL3.0 best probably

fossil inlet
#

u good with mit?

#

wait

austere talon
#

LGPL is better so people are forced to contribute back imo

fossil inlet
#

what's the orig discord-types one

austere talon
#

MIT means someone can just steal and use in their proprietary client mod

fossil inlet
#

because if we're starting from there we might need to keep the same one

austere talon
#

well they're so outdated and partially wrong

#

we might as well just not base on it at all

#

also types might not even be copyrightable anyway

austere talon
fossil inlet
#

yeah, i know what lgpl is

just dont want to violate license of orig discord-types

#

@agile laurel are you the one who did discord-types

#

(same username)

austere talon
#

it is yeah

#

but really it will probably be faster to just remake from scratch

#

since a lot of it is outdated anyway

fossil inlet
#

do you mind if we base the vencord version off yours and use lpgl

if not we will just remake from scratch

austere talon
#

just use this 👽

agile laurel
#

r u wanting to change the license

#

i dont do client mod shit anymore

austere talon
#

we are making @vencord/discord-types a reality

just a revived, updated and much more complete discord-types

#

(gonna publish to npm)

agile laurel
#

r u gonna use the gpl license

fossil inlet
#

lgpl

agile laurel
#

lgbt

agile laurel
#

yeah id prefer if u use the lgpl license cuz im a libtard but like theyre not even my property anyways so if u wanted me to change it i wouldnt care

austere talon
#

horror

#

im preparing rn wait

charred monolithBOT
#
[Vendicated/Vencord] New branch created: @vencord/discord-types
austere talon
#

@fossil inlet

fossil inlet
#

love how you can get patch urls from github

austere talon
#

i created project and moved all the webpack commons types over

fossil inlet
#

how do i do my pr now

austere talon
#

just pr to that branch

fossil inlet
#

alr

austere talon
#

i havent moved any of the discord-types stuff over

fossil inlet
#

thats fine

austere talon
#

it's recommending the wrong thing guh

fossil inlet
#

love

austere talon
#

should we just export everything from index

#

i think that's easier to use

fossil inlet
#

but i think so

austere talon
#

it does recommend the longer path tho

#

i had to delete @webpack/types for it to suggest the right path

#

omg why is it stupid

#

nvm it works

#

okay reorganised

#

will push

fossil inlet
#

50 merge conflicts my beloved

charred monolithBOT
austere talon
#

i mean

#

there shouldnt be

fossil inlet
#

oh

#

yeah

austere talon
#

okay I just made it so you can only import from index

#

i think thats better

#

just make sure no name conflicts

#

aka give stuff good names

fossil inlet
#

yop

austere talon
#

i'll remove @webpack/types from tsconfig

#

outdated userplugins should still compile but will type error

fossil inlet
#

yeah, esbuild is nice like that

austere talon
#

yeah works

#

so we dont have to worry about user plugins

fossil inlet
#

does it work at runtime

#

or does it error

austere talon
fossil inlet
#

does esbuild have to keep it because it could be a runtime import with side effects

austere talon
#

😭

fossil inlet
#

idk man 😭

austere talon
#

if you use it yes

#

if you only use it as types it wont include it

#

some renderer parts import types from main and vice versa

fossil inlet
#

well yeah, but when it exists, esbuild can see it and know

austere talon
#

anyway i'm not sure about file structure

#

for most things, one file per object is too crazy

fossil inlet
#

this is what i have rn

austere talon
#

but then some other things like Message object take up 200 lines

austere talon
#

a lot of the stuff is outdated as fuck

fossil inlet
charred monolithBOT
austere talon
#

okay go wild

charred monolithBOT