#👾-core-development

1 messages · Page 243 of 1

austere talon
#

btw we should consider remaking vencord settings ui without discord components

#

or at least the important bits like updater

#

so you can still open it even if shit breaks

cyan bloom
austere talon
limber skiff
#

oh yeah @austere talon delete the prop after this

austere talon
#

wdym?

#

oh

#

like delete it off value

limber skiff
#

if (...) {
delete value[...];
return true
}

#

ya

austere talon
#

there isn't really any reason to tbh

#

but sure ig

limber skiff
#

just to clean it up

#

that wont even clean it actually...

#

nvm it will

austere talon
#

we should maybe make reporter log in again

limber skiff
#

why tho?

austere talon
#

one of its functions is logging discord errors

#

but it didn't catch any of these errors

#

which makes sense because if it never logs in it never renders the main ui

#

so the vast majority of code never runs and errors won't happen

limber skiff
#

ahhh

austere talon
#

but idk if the token i added to github ages ago even still works

limber skiff
#

it does I think

austere talon
#

and need to make sure it's not phone number locked cause that would also make the ui not render i think

limber skiff
#

the actual culprit lol

#

@austere talon are you still gonna do the changes or should I do them?

austere talon
#

soon

charred monolithBOT
austere talon
#

should we cherry pick this commit onto main or push dev to main @limber skiff

charred monolithBOT
austere talon
#

vtest fix-canary-proxy

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
austere talon
#

huh

#

whats that

odd heath
#

looks like i18n

austere talon
#

it's a false positive tho

odd heath
#

well something is setting of the t for reporter

#

why does it only have t shouldnt it have intl too

#

huh

austere talon
#

oh i know why

charred monolithBOT
austere talon
#

vtest fix-canary-proxy

nimble pendantBOT
nimble pendantBOT
# austere talon vtest fix-canary-proxy
Slow Patches

ReviewDB (took 6.8ms):
ID: 177222
Match: ```
/{profileType:\i.\i.PANEL,children:[/


**__ShowHiddenChannels (took 6ms):__**
ID: `734386`
Match: ```
/forceRoles:.+?.value\(\)(?<=channel:(\i).+?)/
Bad Webpack Finds
mapMangledModule("defaultLocale:"en-US"", {
	t: (m) => m[props[0]] !== void 0...
})
nimble pendantBOT
austere talon
#

hmm

glass jasper
#

Vencord Eol time sad

shut vineBOT
#
Reminders
1470480: <t:1990423612:R>

make docs better

1450069: <t:2102184146:R>

remind potato to fix Vencord

1443532: <t:33273946759:R>

EOL vencord

glass jasper
#

yeah i do

charred monolithBOT
odd heath
#

NOP

#

no fix

austere talon
#

vtest fix-canary-proxy

nimble pendantBOT
odd heath
#

imagine if google reviewed this before discord pushed to stable

#

thatd be fire

nimble pendantBOT
nimble pendantBOT
austere talon
#

yep

odd heath
#

love

austere talon
#

i wanna sleep

#

we need to push tag immediately

#

and should we do this just to be on the safe side

glass jasper
median rapids
austere talon
#

wouldnt that cause api errors?

median rapids
#

yea but who cares xd

austere talon
#

us cause the point of this is detecting errors

#

😭

median rapids
#

u shouldnt be detecting the api killing itself xd

#

api errors all the time

austere talon
#

and i addressed all ur feedback

austere talon
#

they probably wont remove it but just in case

#

cause they technically don't need that method

#

they killed the __getLocalVars too

charred monolithBOT
limber skiff
#

alright that's it

#

looks good after you do that last one

charred monolithBOT
austere talon
#

there

charred monolithBOT
limber skiff
#

looks good

austere talon
austere talon
#

and empty string

glass jasper
limber skiff
#

@austere talon I just now realized when I imported wreq types I forgot to define this

#

doesn't really matter tho

#

it just turned into any

austere talon
#

i think cause we have skipLibCheck enabled

#

lmfaooo

#

there are so many errors

limber skiff
#

woahh

austere talon
limber skiff
#

I'll push a fix for those in dev later

austere talon
#

why does this happen

limber skiff
#

self exists in workers

#

so idkk

#

ohh is it like this

#

nvm, no

austere talon
#

remove skipLibCheck from tsconfig

limber skiff
#

(that was so stupid LOL)

austere talon
#

so you get errors

limber skiff
austere talon
#

oke

#

but idk how to fix that typescript error

#

assuming you get it too

limber skiff
#

that's weird tho

austere talon
#

conflict in some types

limber skiff
#

how else am I supposed to use a type as a key?

#

well, I guess then

austere talon
#

usually

limber skiff
#

thankss

austere talon
#

or [key: Type]

#

idk the difference rn

limber skiff
#

nvm

austere talon
limber skiff
#

I dont even know why I wrote that

#

I'm forgetting how typescript works

austere talon
#

xD

#

should we push to main rn

#

& tag

limber skiff
#

1 sec

jagged cloak
#

become shelter

#

with the insane discordn't ui

limber skiff
#

found some other funny type errors

austere talon
limber skiff
#

okayy then push

#

I will push to dev after

austere talon
#

vtest dev

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
austere talon
#

im gonna test web too

#

works

glass jasper
#

also rip people with dev builds

charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.11.5
austere talon
#

oh fuck i fucked up workflow

limber skiff
#

boom

charred monolithBOT
austere talon
#

its fine

charred monolithBOT
limber skiff
austere talon
#

yea

#

errors like that are why I added skipLibCheck

#

shit like this is not uncommon

#

back then it was something in zustand types iirc

#

btw I really need to make another @types/vencord publish

#

i forgot how

#

i love past me

#

past me knew I would forget

#

oh thats easy

#

but have to push for that lmao

median rapids
charred monolithBOT
austere talon
#

so I will do it another time

charred monolithBOT
austere talon
#

why that any[] for stores

#

use proper type

limber skiff
#

nahh

#

some stores dont extend FluxStore

#

because they use discord-typing shit

austere talon
#

guhh we really need to yeet that shit lmaoo

limber skiff
#

for now just make it any, until we make everything proper extend it

austere talon
#

publish types package whenever vencord is tagged

#

but it's only used by Vesktop so doesnt matter much

charred monolithBOT
limber skiff
#

Priority?

#

Prioritize dummy

#

whatever tho

fossil inlet
#

?remind tomorrow

shut vineBOT
#

Alright @fossil inlet, in 1 day: …

charred monolithBOT
charred monolithBOT
charred monolithBOT
scenic brook
#

Vendroid2

granite sky
rugged spire
#

Husk Nuke

charred monolithBOT
rugged spire
#

i forgot that plugin existed

#

PLEASE FIX GUHHH

unkempt oak
#

?remind 12h

shut vineBOT
#

Alright @unkempt oak, in 12 hours: …

odd heath
#

theres a bug where the plugin on-off toggle stops displaying a change but idk how to reproduce it 😭

limber skiff
#

vext

nimble pendantBOT
idle fossil
#

vext

nimble pendantBOT
idle fossil
astral bone
#

Text

#

:((

fossil inlet
#

vext

nimble pendantBOT
jolly egret
#

one more time then the extension will update surely

nimble pendantBOT
granite sky
idle fossil
scenic brook
#

My uncle works at Google, I'll ask him to approve

charred monolithBOT
odd heath
#

vext

nimble pendantBOT
odd heath
odd heath
charred monolithBOT
austere talon
#

i dont think its loaded lol

#

well

#

it is loaded in memory and possibly disk cache

#

but trying to fetch it errors

#

try to fix it @fossil inlet

fossil inlet
shut vineBOT
#

@fossil inlet, <t:1739579919:R>: finish live reporter + diffing + formatted modules + history

limber skiff
#

vext

nimble pendantBOT
odd heath
#

Crazy that there was no pushes since the proxy thing

#

Something bad is gonna come with the next push

shut vineBOT
#

@unkempt oak, <t:1739803330:R>: …

jolly egret
#

wow 12 hours already

limber skiff
#

vext

nimble pendantBOT
austere talon
#

bro i hate how discord auto archives the thread

#

need to add sticky threads to venbot

heady gyro
# odd heath Something bad is gonna come with the next push

Actually they aren’t wrong, we are taking a page out of our competitors book (teamspeaks) and we are actually discontinue our current client and releasing a new one, which we’ve been working on in secret. This new client switches back to Babel, We’ll stop using Rspack, and we’ll be removing the Unique CSS class names, but the class names will still change with like they do.

median rapids
shut vineBOT
#

@fossil inlet, <t:1739775970:R>: …

rugged spire
fossil inlet
still maple
# fossil inlet was thinking of just loading it into a canvas and copying it from there somehow ...

yes you can do that
i had to do that to bypass csp to get back attachments i had dropped on discord from my clipboard that weren't there anymore

(() => {
    const attachmentSelector = '.channelAttachmentArea_b77158 img.media__41ea0';
    const images = document.querySelectorAll(attachmentSelector);
    let counter = 0;
    for (const img of images) {
        if (!img.src.startsWith('blob:')) continue;
        const canvas = document.createElement('canvas');
        const ctx = canvas.getContext('2d');
        canvas.width = img.naturalWidth;
        canvas.height = img.naturalHeight;
        ctx.drawImage(img, 0, 0);
        canvas.toBlob(blob => {
            const a = document.createElement("a");
            a.href = URL.createObjectURL(blob);
            a.download = String.fromCharCode(97 + counter) + '.png';
            document.body.appendChild(a);
            a.click();
            a.remove();
            counter++;
        }, "image/png");
    }
})();
scenic brook
#

You could've also accessed them from the sources tab in dev tools

scenic brook
#

I don't know if it'd Just Work™️

rugged spire
#

you need to already have the image trol

#

unless you already accounted for that idk

scenic brook
#

Nah I'm just throwing out options

austere talon
#

@limber skiff wtf they're pushing ptb but not canary

#

lmao

rugged spire
#

husk

#

why

still maple
charred monolithBOT
jolly egret
#

idiot was told not to in the support channel as well

grizzled halo
#

i even said it was a discord issue

astral bone
austere talon
#

wonder why it even is broken for some people

#

but investigating is hard without way to reproduce

astral bone
#

The guy had his DC typed in, could js ask him for details

jolly egret
rugged spire
#

husk

astral bone
austere talon
#

i just made this banger

#

should it be underlined

rugged spire
#

this is too simple tbh

scenic brook
#

The code to make it render diff and js highlighting is disgusting and I would never let it see the light of day but this is nice

#

Also kinda broken I think with that second diff

rugged spire
charred monolithBOT
austere talon
#

also added a bump script so it's easier to bump in the future (or might automate with github actions perhaps)

#

@limber skiff wtf is display: relative lmaooo

rugged spire
left sequoia
#

XD

austere talon
#

funny discord moment

#

i only noticed cause I updated stylelint

#

and it pointed it out

limber skiff
#

no idea what is that lol

left sequoia
#

ven review webPWA pls, i cba leaving it open, if ya dont have time i'll just nuke it cuz i cba waiting tbf

limber skiff
#

I don't think I did that css

rugged spire
austere talon
#

git blamed you so I thoughtj you wrote it

#

but nah just copy pasted

#

might have even been me cause that comment sounds more like me but git blame does say u

left sequoia
austere talon
#

okay bro what

rugged spire
left sequoia
rugged spire
#

i could take a look soon

left sequoia
#

you can ask questions, there's a buch of PWA shit there that people arent aware of so some stuff might not make sense

odd heath
#

Vext

nimble pendantBOT
rugged spire
#

i am busy fixing vesktop window controls

left sequoia
#

hmmm i'll probs need to copy those fixes then, since i steal vesktop code for that XD

rugged spire
#

no

#

you wont

median rapids
rugged spire
#

it's just that vesktop had a hacky fix for window controls in popouts on the native side

left sequoia
#

ah IPC

#

ic

rugged spire
#

i might add extra functionality too

rugged spire
#

idk

graceful grotto
charred monolithBOT
graceful grotto
#

it is electron v34 tho, idk when discord will switch to electron v34

left sequoia
#

thats very optimistic

rugged spire
#

i mean in 4 years

#

wait no

#

thats too long

left sequoia
#

i dont blame them, i myself update electron once every few years

#

cuz fixing patches for newer electron/chromium versions sucks

rugged spire
#

me and my system after half a year

#

genuinely this thing is sooooooo cooked now

#

i love broken software

graceful grotto
#

@austere talon sorry for the ping but should i uh include something like if electron.version >= 34 then use native maximize, otherwise use the workaround maximize function?

graceful grotto
left sequoia
graceful grotto
#

what version of electron is current discord on?

left sequoia
#

32.2.7

graceful grotto
#

oh then it is not that long just about 16 weeks

left sequoia
#

im on 32.1.1 myself

austere talon
#

nvm

#

lint exploded

graceful grotto
charred monolithBOT
austere talon
#

fixed

rugged spire
scenic brook
graceful grotto
#

ty vee, im gonna take a look and merge soon

odd heath
#

vext

nimble pendantBOT
odd heath
#

Jfc

limber skiff
#

also might as well bump pnpm too

graceful grotto
#

folks what's the vencordnativestub file?

#

nvm got it

#

finally

#

ci succeeded

#

thanks vee

#

ummmmm

#

what the

#

oh i think it's from vee's and nucky's commits

#

i think it should go away if you merge to dev instead of main fr

charred monolithBOT
#

Old PR: #3135

This PR introduces the following background material elements for windows 11 only :

  • None
  • Auto
  • Mica
  • Tabbed
  • Acrylic

A few additional changes have been made:

  1. Change all occurrences of frame. to frame?. to support optional chaining (will be needed when standalone-electron-types get updated).
  2. Addition of user-agent-types lib to support types for navigator.userAgentData.
graceful grotto
#

yep that worked

hexed cloak
#

time to read about what discord did to break everything for me again :D

hexed cloak
#

oh my goodness a quick dev pull fixed it

#

you guys are amazing

limber skiff
#

vext

nimble pendantBOT
limber skiff
#

they pushed to stable

fossil inlet
charred monolithBOT
limber skiff
#

@austere talon should I update pnpm too?

austere talon
limber skiff
#

I know it follows the order

#

but it's better to be sure

austere talon
#

is this a real issue

austere talon
limber skiff
#

that's SHC too

granite sky
glass jasper
# austere talon

this guy was a dev build, id ignore it until/if someone on standalone build reports it

granite sky
#

not too much, but still

scenic brook
austere talon
#

i forgot about this

#

it's so peak

limber skiff
#

vext

nimble pendantBOT
austere talon
#

googol will never approve

#

we need to befriend a google reviewer

limber skiff
#

trueee

limber skiff
#

vext

nimble pendantBOT
odd heath
#

I didn't expect thsi to need a support lock 💀

#

Thought more people would've updated in those 3 days

charred monolithBOT
scenic brook
#

That's actually a pretty nice addition

#

Not that I use message tags anyway

charred monolithBOT
limber skiff
#

vext

nimble pendantBOT
idle fossil
#

vext

nimble pendantBOT
idle fossil
#

thought i had it this time

scenic brook
#

Extension version polling when

fossil inlet
#

vext

nimble pendantBOT
limber skiff
#

who ever gets it will get push permissions

#

vext

nimble pendantBOT
limber skiff
#

aww man

glass jasper
#

Vext

nimble pendantBOT
glass jasper
#

Damn

rugged spire
#

vext

nimble pendantBOT
charred monolithBOT
#

Discord Account

delfic

What happens when the bug or crash occurs?

Image

What is the expected behaviour?

No blocked messages showing up

How do you recreate this bug or crash?

Just open discord and look at a channel where someone blocked typed

Errors

Replace this text with your crash-log.

Request Agreement

  • [x] I am using Discord Stable or tried on Stable and this bug...
fossil inlet
#

guhhh ISTG if i cant repro

rugged spire
#

watch this be a bug on an older version

fossil inlet
#

cant repro

#

someone close

fossil inlet
rugged spire
#

guh????

fossil inlet
#

remember

rugged spire
#

yop

rugged spire
#

me when support is closed now

idle fossil
#

trol

glass jasper
#

Vext

nimble pendantBOT
glass jasper
#

Damn it

idle fossil
#

close

scenic brook
#

Just 0.0.1 off

glass jasper
#

Vext

nimble pendantBOT
glass jasper
odd heath
#

vext

nimble pendantBOT
limber skiff
#

vext

nimble pendantBOT
left sequoia
#

ya'll loosing it

#

vext

nimble pendantBOT
hollow musk
#

vext

nimble pendantBOT
glass jasper
#

vext

nimble pendantBOT
hollow musk
#

definitely not coping that chrome would accept it

odd heath
#

vext

nimble pendantBOT
glass jasper
#

vext

nimble pendantBOT
odd heath
#

vext

nimble pendantBOT
glass jasper
#

vext

nimble pendantBOT
jolly egret
rugged spire
#

vext

nimble pendantBOT
rugged spire
idle fossil
glass jasper
#

vext

nimble pendantBOT
versed fern
#

vext

nimble pendantBOT
glass jasper
#

Canary might have exploded

fossil inlet
#

@jolly egret run vtest

jolly egret
#

vtest

nimble pendantBOT
scenic brook
nimble pendantBOT
fossil inlet
#

@limber skiff guhhhhhh

austere talon
#

what did they cook

fossil inlet
#

its timing out

austere talon
#

doesn't seem too bad

#

does it work fine

fossil inlet
austere talon
#

so just a few broken patches and reporter broken

#

maybe a faulty chunk or smth

fossil inlet
#

?remind tomorrow fix

shut vineBOT
#

Alright @fossil inlet, in 1 day: fix

austere talon
#

seems like some worker thing?

#

so it's expected that it errors cause it's supposed to be run on a separate worker

#

we just need to blacklist

rugged spire
#

me when i hopped off and don't have to fix it for myself for a few hours

scenic brook
#

A bunch of the patches are just a case of replacing let with var

austere talon
#

I had a bad feeling about relying on let

scenic brook
#

(let|var) everywhere

charred monolithBOT
jolly egret
#

its always "fix RCE"

fossil inlet
fossil inlet
glass jasper
fossil inlet
#

@limber skiff i think its a bundler mis config

#

object spreads are replaced with this

limber skiff
#

what happened?

fossil inlet
#

i think its a bundler misconfiguration

#

because it looks like they're transforming spreads into that

jolly egret
#

discord is trolling

fossil inlet
#

i fixed RCE, but i dont feel like fixing a bunch of bundler changes that i think will be reverted

if they dont revert by tomorrow ill start fixing if needed

glass jasper
#

Hit up that one dude who is staff and ask them to revert prayingcar

rugged spire
#

Thanks for fixing remote code execution

limber skiff
fossil inlet
#

but i think venbot was having some issues with it

limber skiff
#

how tho

jolly egret
fossil inlet
limber skiff
#

that should NOT happen

jolly egret
#

lol

limber skiff
#

ahh okay

#

it is a worker

limber skiff
charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
limber skiff
#

I fucked it more?

charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
glass jasper
fossil inlet
limber skiff
#

I will at least fix reporter before sleeping

idle fossil
#

okay but

#

vext

nimble pendantBOT
idle fossil
charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
frail skyBOT
fossil inlet
#

love

limber skiff
#

hmm

#

my commit somehow fucks up stable too

charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
limber skiff
#

@fossil inlet I fixed that duplicate plugin patchedBy too

fossil inlet
limber skiff
#

ye

fossil inlet
#

thought it was my issue

limber skiff
#

nah it was mb

#

alright, reporter is fixed

charred monolithBOT
limber skiff
#

vtest

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
# limber skiff vtest
Bad Patches

Decor (had no effect):
ID: 818611
Match: ```
/(?<==)\i=>{let{children.{20,100}decorationGridItem/


**__Decor (had no effect):__**
ID: `818611`
Match: ```
/(?<==)\i=>{let{user:\i,avatarDecoration/

RoleColorEverywhere (had no effect):
ID: 819366
Match: ```
/onContextMenu:\i,color:\i,...\i(?=,children:)(?<=user:(\i),channel:(\i).{0,500}?)/


**__ViewIcons (had no effect):__**
ID: `899007`
Match: ```
/avatarSrc:(\i),eventHandlers:(\i).+?"div",{...\2,/

MemberCount (had no effect):
ID: 915287
Match: ```
/(?<=let{className:(\i),.+?children):[(\i.useMemo[^}]+"aria-multiselectable")/


**__UserMessagesPronouns (had no effect):__**
ID: `421399`
Match: ```
/className:\i\(\)\(\i\.className(?:,\i\.clickable)?,\i\)}\),(?=\i)/g

StartupTimings (had no effect):
ID: 991346
Match: ```
/(?<=})([,;])(\i.settings).forEach.+?(\i).push.+})}))/


**__DynamicImageModalAPI (had no effect):__**
ID: `341176`
Match: ```
/!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/

BetterUploadButton (had no effect):
ID: 974251
Match: ```
/.attachButtonInner,"aria-label":.{0,50},onDoubleClick:(.+?:void 0),.{0,30}?...(\i),/


**__ShowHiddenChannels (found no module):__**
ID: `-`
Match: ```
="NowPlayingViewStore",
Bad Webpack Finds
mapMangledModule(".tooltipTop,bottom:", {
	TooltipContainer: (m) => {
            let inner = m;
            while (inner != null) {
              if (byCodeFilter(inner)) return true;
              else if (...
})
charred monolithBOT
idle fossil
#

nuckyz try not to force push challenge (impossible)

fossil inlet
limber skiff
#

but this one in dev was just cuz I actually realized something I did in another commit was wrong

#

and I didnt wanna do an extra commit to fix it

#

WHOS HUSKING

#

oh it's you

idle fossil
fossil inlet
#

vext

nimble pendantBOT
fossil inlet
#

@limber skiff you love

glass jasper
charred monolithBOT
glass jasper
charred monolithBOT
charred monolithBOT
glass jasper
#

am I going crazy?

scenic brook
#

You are

glass jasper
#

true I’am trans

limber skiff
#

what does that even fix

glass jasper
limber skiff
#

because it does more than allowing you to use fake emojis lol

glass jasper
#

but what does the plugin give you that actually nitro doesnt

scenic brook
#

Emote and sticker permission bypass

limber skiff
glass jasper
#

ig thats fair

#

but of y’all got a point

charred monolithBOT
scenic brook
#

Damn

fossil inlet
#

If discord doesn't revert by 3-4 I'll start working on fixes.

brazen bone
fossil inlet
jolly egret
#

incredible

charred monolithBOT
fossil inlet
#

you will not husk

jolly egret
#

eh i guess it chunk members

fossil inlet
#

LMFAO

jolly egret
#

isn't just a problem with reactions its basically anywhere RCE is used

fossil inlet
#

if so, it should be fixed there too

jolly egret
#

poll results for example

fossil inlet
limber skiff
#

just gotta request guild members using the gateway for all the uncached ids in reactions

fossil inlet
#

yop

limber skiff
#

surely they use a state so that it updates immediately

#

right?

#

I hope so

fossil inlet
#

?remind 6hr do that

shut vineBOT
#

Alright @fossil inlet, in 6 hours: do that

fossil inlet
#

?remind 4hr finish deobfuscator plugin

shut vineBOT
#

Alright @fossil inlet, in 4 hours: finish deobfuscator plugin

fossil inlet
limber skiff
#

update your corepack

fossil inlet
#

I'll try that

#

its working now, but i really shouldnt need the latest version of corepack wires

limber skiff
#

idk what they cooked lol

#

they pushed to stable

#

ehh

#

@fossil inlet

#

suchh a weird change

fossil inlet
#

ill start working on fixes now

limber skiff
#

this doesnt even make sense

#

why is it converting spreads specifically?

fossil inlet
limber skiff
#

all other ES6 features are still used

fossil inlet
#

also doesnt this make their bundle size go up a lot

#

because from what ive seen each spread convert function is in each bundle

#

not its own module

limber skiff
#

yeah

fossil inlet
#

thats why i thought this has to be accidental

#

but guess not

#

ill start with dynamciimagemodalAPi

limber skiff
#

object spread was added on ES2018

#

yet they use for await

#

and Promise.finally

#

which are from ES2018 too

austere talon
#

average discord bundler config

fossil inlet
#

doing viewicons now

rugged spire
limber skiff
#

@fossil inlet making a generic way to switch every find to a patch

#

(jk that's a crazy idea)

limber skiff
#

not worth actually

fossil inlet
#

yop

#

parsing would be too hard

limber skiff
#

would be better to cook something which instead of relying on cache lets you webpack require them

#

so you could webpack find modules which havent been required once

#

webpack require React before even discord does it

fossil inlet
#

i think i could do it with an ast parser, but idfk how i would translate back to bundled code

limber skiff
#

that would be so slow lol

fossil inlet
#

but its still slow

#

compared to patches

limber skiff
#

I mean

fossil inlet
#

(iirc its like 50ms to parse)

limber skiff
#

if you use a native one

#

but if you use something like babel, ehhh

fossil inlet
limber skiff
#

yep, exactly

#

that would likely be extremely fast

fossil inlet
fossil inlet
limber skiff
#

sadly I think swc doesnt have bindings for javascript anymore

#

so you gotta learn how to write the parser in rust

limber skiff
#

and compile native

fossil inlet
#

horror

#

not touching rust with a 10ft pole

limber skiff
#

imagine turning every find into ast

#

we could even do patches like that

fossil inlet
#

i had a terrible idea a while back that invloved parsing asts at runtime

#

but i forgot what it was for

limber skiff
#
#

oh hmm

#

they might still have

fossil inlet
#

tbh you could prob just use the deprecated bindings with no issue

limber skiff
#

oh waitt

fossil inlet
#

@limber skiff horror patch

basing off css class name

limber skiff
#

I'm slapping a module into that

#

lets see what it gives

fossil inlet
#

GUHH

#

why is it var

#

@limber skiff is there an API to add pages to settings
or do plugins need to patch them in themselves

limber skiff
#

its an array you push lol

fossil inlet
#

no, ik that, but is there an api for it

rugged spire
#

look at how the settings plugin does it

scenic brook
rugged spire
#

rest in peace iconviewer

scenic brook
austere talon
rugged spire
#

i actually wish that wasnt how it worked

#

because its not how the built in discord settings work

#

so the search bar in settings just doesnt support vencord settings

limber skiff
#

😞

#

inling binary as base64 just to get that error...

fossil inlet
#

guhhh we really need a settings api
this patch sucks lol

limber skiff
#

wdym

austere talon
limber skiff
#

tryna run swc/asm-web

fossil inlet
#

@limber skiff could you review my fixes, i have at least half done rn

shut vineBOT
#

@fossil inlet, <t:1739985828:R>: finish deobfuscator plugin

limber skiff
fossil inlet
limber skiff
#

tested?

austere talon
#

lets not just change let to var

#

stupid

#

we should add some special replacement that will match var let and const

fossil inlet
#

uhhhhh where can i see blocked users

#

trying to fix implicit relationships

jolly egret
#

settings > content and social

rugged spire
fossil inlet
#

@limber skiff i fixed all the patches, but idkf how the mapmangledmodule is failing

limber skiff
#

TooltipContainer is failing, specifically

#

I looked into it already

#

there is no comma after ="div"

fossil inlet
fossil inlet
limber skiff
#

but yeah since they shitted spreads that's no longer the case

#

just remove the comma

fossil inlet
#

how is this not signed wires

limber skiff
#

it is signed

#

the commit wasnt tested by workflow

#

because you pushed more than one at once

fossil inlet
#

😭

#

ima go eat, be back soonish

limber skiff
#

ughh

#

I swear they are gonna end up reverting this

fossil inlet
limber skiff
#

I'm adding a shouldSkip prop to patches

#

then we can match a random module that has this weird spread

fossil inlet
limber skiff
#

keep both versions of patches

fossil inlet
#

Ah

limber skiff
#

and apply the correct one depending on it

#

sadly cant rely on build numbers for this

fossil inlet
#

Sounds good

charred monolithBOT
limber skiff
#

hmm

#

that's gonna make some horrible reporter logs

charred monolithBOT
nova agate
charred monolithBOT
limber skiff
#

no one saw it

#

oh my god that's still wrong

fossil inlet
#

@limber skiff what if one if the fixes is also compatable with stable before they pushed these changes

#

how would it handle that

limber skiff
#

dont define shouldSkip

#

lol

limber skiff
#

ill steal your branch real quick

fossil inlet
charred monolithBOT
#
[Vendicated/Vencord] New branch created: test
limber skiff
#

vtest test

nimble pendantBOT
limber skiff
#

cool it didnt work

charred monolithBOT
#

This plugin is in progress, and should add the possibility to let user create their own voices from the Flamingo experiment.

image

No simple slash command plugins like /cat. Instead, make a user installable Discord bot ✅
No simple text replace plugins like Let me Google that for you. The TextReplace plugin can do this ✅
No raw DOM manipulation. Use proper patches and React ✅
No FakeDeafen or FakeMu...

limber skiff
#

circular dep my beloved

charred monolithBOT
limber skiff
#

vtest test

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
austere talon
limber skiff
#

have duplicate patches

#

for different builds

#

(when we cant rely on build number)

fossil inlet
#

wait

charred monolithBOT
fossil inlet
#

why is that the old one wires

nova agate
limber skiff
#

vtest test

nimble pendantBOT
nova agate
fossil inlet
nova agate
#

think_pika interesting

fossil inlet
#

the code for it is open source if you want to take a look

nimble pendantBOT
nimble pendantBOT
nova agate
fossil inlet
nova agate
fossil inlet
nova agate
glass jasper
austere talon
#

minus logging in but we should add it back

glass jasper
#

leak that token prayingcar
/j

fossil inlet
nova agate
glass jasper
#

I just had that screenshot on my phone and I reminded me of it

nova agate
#

is the linter workflow automated ?

fossil inlet
#

it has all the info you need

nova agate
fossil inlet
#

if you have already made your plugin, just pr it

fossil inlet
#

okay, now just be paitent and wait

#

it can take a long time to get reviews

nova agate
nova agate
charred monolithBOT
limber skiff
#

@fossil inlet pick that to your branch and convert the others too

#

I cant help you right now, sorry

shut vineBOT
#

@fossil inlet, <t:1739985789:R>: do that

limber skiff
limber skiff
#

ya

fossil inlet
limber skiff
#

the patches

fossil inlet
#

so add shouldSkip to all of them

limber skiff
#

most

#

dynamic image doesnt need it

#

neither does the mapMangledModule of course

#

ohhh that's kinda shit

#

I didnt think of finds

fossil inlet
limber skiff
#

nahh

#

ill fix it

nova agate
limber skiff
#

there you go

charred monolithBOT
limber skiff
#

I lied

charred monolithBOT
nova agate
#

git push --force

#

is this a rebase ?

fossil inlet
nova agate
fossil inlet
#

force push

nova agate
fossil inlet
glass jasper
nova agate
#

i was afraid to dev plugins before

#

i though this was difficult

#

but no MeguSip

limber skiff
#

@fossil inlet you will not believe it

#

I have to force push again

#

just realized reporter can now test for buildNumber too

nova agate
fossil inlet
nova agate
charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
nova agate
#

vtest

fossil inlet
limber skiff
#

MINUS ONE?

nova agate
limber skiff
#

It didn't work

fossil inlet
limber skiff
#

Discord Stable (-1)

fossil inlet
#

😭

limber skiff
#

I know why

#

easy fix

charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
scenic brook
limber skiff
#

holy shit I broke it

fossil inlet
#

@scenic brook did you ever add anything like this?

limber skiff
#

woahh

#

how did I break it

fossil inlet
scenic brook
limber skiff
fossil inlet
limber skiff
#

and it now breaks vencord completely

#

it shouldnt tho

glass jasper
nova agate
limber skiff
#

how did it break....

fossil inlet
#

@limber skiff is this a better find?

limber skiff
#

duplicate

fossil inlet
#

compatable with both before and after

idle fossil
#

vext

nimble pendantBOT
idle fossil
#

holy moly

limber skiff
#

somehow swapping one line is changing the order things are required?

#

how...

#

nvm

#

ohh

#

some are running without the wrapper

fossil inlet
#

@limber skiff do you want to do the same or a different identifier for let/var

#

or do you want to do something else for that

#

or just ignore it

limber skiff
#

do the same for now

fossil inlet
limber skiff
#

ya

fossil inlet
#

alr

limber skiff
#

okay I finally understood the problem

charred monolithBOT
limber skiff
#

vtest dev2

nimble pendantBOT
nimble pendantBOT
# limber skiff vtest dev2
Bad Patches

Decor (had no effect):
ID: 818611
Match: ```
/(?<==)\i=>{let{children.{20,100}decorationGridItem/


**__Decor (had no effect):__**
ID: `818611`
Match: ```
/(?<==)\i=>{let{user:\i,avatarDecoration/

RoleColorEverywhere (had no effect):
ID: 819366
Match: ```
/onContextMenu:\i,color:\i,...\i(?=,children:)(?<=user:(\i),channel:(\i).{0,500}?)/


**__ViewIcons (had no effect):__**
ID: `899007`
Match: ```
/avatarSrc:(\i),eventHandlers:(\i).+?"div",{...\2,/

MemberCount (had no effect):
ID: 915287
Match: ```
/(?<=let{className:(\i),.+?children):[(\i.useMemo[^}]+"aria-multiselectable")/


**__UserMessagesPronouns (had no effect):__**
ID: `421399`
Match: ```
/className:\i\(\)\(\i\.className(?:,\i\.clickable)?,\i\)}\),(?=\i)/g

StartupTimings (had no effect):
ID: 991346
Match: ```
/(?<=})([,;])(\i.settings).forEach.+?(\i).push.+})}))/


**__DynamicImageModalAPI (had no effect):__**
ID: `341176`
Match: ```
/!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/

BetterUploadButton (had no effect):
ID: 974251
Match: ```
/.attachButtonInner,"aria-label":.{0,50},onDoubleClick:(.+?:void 0),.{0,30}?...(\i),/


**__ImplicitRelationships (had no effect):__**
ID: `270759`
Match: ```
/,{id:(\i\.\i)\.BLOCKED,show:.+?className:(\i\.item)/

ImplicitRelationships (had no effect):
ID: 596957
Match: ```
/toString()});case (\i.\i).BLOCKED/


**__ImplicitRelationships (had no effect):__**
ID: `974042`
Match: ```
/(?<=case (\i\.\i)\.BLOCKED:return (\i)\.type===\i\.\i\.BLOCKED)/

ShowHiddenChannels (found no module):
ID: -
Match: ```
="NowPlayingViewStore",

Bad Webpack Finds
mapMangledModule(".tooltipTop,bottom:", {
	TooltipContainer: (m) => {
            let inner = m;
            while (inner != null) {
              if (byCodeFilter(inner)) return true;
              else if (...
})
nimble pendantBOT
# limber skiff vtest dev2
Bad Patches

Decor (had no effect):
ID: 818611
Match: ```
/(?<==)\i=>{let{children.{20,100}decorationGridItem/


**__Decor (had no effect):__**
ID: `818611`
Match: ```
/(?<==)\i=>{let{user:\i,avatarDecoration/

RoleColorEverywhere (had no effect):
ID: 819366
Match: ```
/onContextMenu:\i,color:\i,...\i(?=,children:)(?<=user:(\i),channel:(\i).{0,500}?)/


**__ViewIcons (had no effect):__**
ID: `899007`
Match: ```
/avatarSrc:(\i),eventHandlers:(\i).+?"div",{...\2,/

MemberCount (had no effect):
ID: 915287
Match: ```
/(?<=let{className:(\i),.+?children):[(\i.useMemo[^}]+"aria-multiselectable")/


**__UserMessagesPronouns (had no effect):__**
ID: `421399`
Match: ```
/className:\i\(\)\(\i\.className(?:,\i\.clickable)?,\i\)}\),(?=\i)/g

StartupTimings (had no effect):
ID: 991346
Match: ```
/(?<=})([,;])(\i.settings).forEach.+?(\i).push.+})}))/


**__DynamicImageModalAPI (had no effect):__**
ID: `341176`
Match: ```
/!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/

BetterUploadButton (had no effect):
ID: 974251
Match: ```
/.attachButtonInner,"aria-label":.{0,50},onDoubleClick:(.+?:void 0),.{0,30}?...(\i),/


**__ShowHiddenChannels (found no module):__**
ID: `-`
Match: ```
="NowPlayingViewStore",
Bad Webpack Finds
mapMangledModule(".tooltipTop,bottom:", {
	TooltipContainer: (m) => {
            let inner = m;
            while (inner != null) {
              if (byCodeFilter(inner)) return true;
              else if (...
})
limber skiff
#

🙏

#

finally got it

#

@fossil inlet pull it again

jolly egret
#

uh oh

fossil inlet
charred monolithBOT
austere talon
#

insane 😭

fossil inlet
#

Why did he downvote 😭

#

@sudden fog insane

limber skiff
#

they just got banned from support lol

dusk blaze
#

he has been warned, he kept being "erm ashktually" so i banned

charred monolithBOT
fossil inlet
#
javascript:(function()%7Bconst URL_VSIX_PATTERN %3D 'https%3A%2F%2Fmarketplace.visualstudio.com%2F_apis%2Fpublic%2Fgallery%2Fpublishers%2F%24%7Bpublisher%7D%2Fvsextensions%2F%24%7Bextension%7D%2F%24%7Bversion%7D%2Fvspackage'%3B%0A%0Alet itemName %3D new URL(window.location.href).searchParams.get('itemName')%3B%0Alet %5Bpublisher%2C extension%5D %3D itemName.split('.')%3B%0Alet version %3D document.querySelector('%23versionHistoryTab tbody tr .version-history-container-column').textContent%3B%0A%0Alet url %3D URL_VSIX_PATTERN.replace('%24%7Bpublisher%7D'%2C publisher)%0A%09%09%09%09%09%09  .replace('%24%7Bextension%7D'%2C extension)%0A%09%09%09%09%09%09  .replace('%24%7Bversion%7D'%2C version)%3B%0A%0Awindow.open(url%2C '_blank')%3B%7D)()%3B
#

DONT HUSK

#

so good

limber skiff
#

more unreadable than discord code

fossil inlet
#

guhhhh the g key is broken on my keyboard

#

sometimes sends twice

#

@limber skiff my pr should be good, i think i got everythingg

#

nevermind, how??

#

i think your commit broken something

charred monolithBOT
#

You're not real for downvoting that

This ui you're looking at is Discord's UI, NOT our UI
This switch you're looking at is Discord's Switch, NOT our switch
This feature is Discord's feature, NOT our feature

This switch does nothing because Discord removed the code for it so it's unused. It's also entirely useless. If you want requests to go to the canary domain, just use Canary?

You also completely ignored the issue rules that require you to be a contributor to open...

limber skiff
fossil inlet
#

why does spread disabled mean use spread

limber skiff
#

LMAOO

#

are you sure?

#

well you inverted those

limber skiff