#👾-core-development

1 messages · Page 90 of 1

olive barn
#

my discord installation's permissions

#

i cant figure out how to expand the window :(

#
async function expand() {
    const windows = $windowStore;
    windows[_windowId].props.height = 510;
    windowStore.set(windows);
    return true;
}```
this is a horrible solution
#

also its barely offcenter

turbid hatch
#

hm okay so that's not too bad, just need to fix the list

#

got it

#

also hmmmm

olive barn
#

idk what could be breaking it

#

the uid is right

charred monolithBOT
olive barn
#

nothings been edited since i tested it

#

idk

turbid hatch
#

try those changes

#

they should just be UI

olive barn
#

no i mean ive pulled

#

nothings changed in bindings.go

turbid hatch
charred monolithBOT
turbid hatch
#

"operation not permitted"

#

even with sudo?

olive barn
#

thats what it gave before

#

doesnt do that with sudo

#

it still breaks when i run in terminal

turbid hatch
#

which shouldnt matter because we're using "with administrator privileges"

olive barn
#

wtf it still breaks if i do this

turbid hatch
#

does terminal have full disk access

#

apparently that might do it

olive barn
#

uhh i mightve turned it off in my testing

#

still does it

turbid hatch
#

holy shit mechite

#

you're still going on about this

#

please

#

shut the fuck up

#

fucking hell

#

that's from ages ago

olive barn
hollow mason
#

you have to edit the message to have my name in it so everyone knows

turbid hatch
#

yes, because out of context it looks like im cussing out luna

hollow mason
#

you cant simply research something before literally hating on everything

turbid hatch
#

and you cant simply follow the rules and shut up

olive aurora
#

ban this mf

hollow mason
#

where does it say in the rules i cant simply talk about something

olive aurora
#

shrimple

hollow mason
#

ah yes support censorship

turbid hatch
#

it is

#

LITERALLY

#

A BANNED WORD

hollow mason
#

blue isnt

olive barn
#

homophobia

#

ban

hollow mason
#

EVERYONE HERE IS GAY

#

not sure what is homophobic sure

turbid hatch
#

timed him out for a week poi_shrug

olive barn
#

thank fuck

#

lmao

turbid hatch
#

genuinely tired lol

#

right back to work

#

oh its because i stopped accepting it as a prop

#

right

olive barn
#

i cant figure out why the script isnt working

#

im just gonna ignore it until i have time

turbid hatch
#

i dont have a mac so i cant test it xd

#

but anyway

olive barn
#

waaa

turbid hatch
#

@olive barn i've done a massive hack

olive barn
#

oo?

turbid hatch
#

this is really silly

olive barn
#

oo

turbid hatch
#

we need a way of fitting windows to content

charred monolithBOT
austere talon
#

vban 713212769570127935 weird, annoying, keeps defending malware

olive barn
#

real

austere talon
turbid hatch
#

after this check

#

and windows cant resize themselves to fit

#

and the content is very big

#

so i just dynamically resize it based on the condition

charred monolithBOT
olive barn
#

are you fucking kidding me

turbid hatch
#

wtf?

charred monolithBOT
tawny cipher
olive barn
#

waaa

#

im used to windows so i bound screenshot area to cmd+shift+s

charred monolithBOT
tawny cipher
olive barn
#

no screenshot in readme, bad tool trolley

austere talon
tawny cipher
#

just sharex but less shitty qnd bloated

#

because sharex sucks ass

olive barn
tawny cipher
olive barn
#

it has to exist right?????

#

haha you havent paid apple $100 point and laugh

austere talon
olive barn
tawny cipher
#

yes I am quite okay when I put some effort into something

teal halo
olive barn
#

i mean if u host the domain urself it wont die

#

also i dont think the base screenshot tool can capture just a window

#

like

#

vs

nimble pendantBOT
olive barn
teal halo
#

which one is ishare

olive barn
#

ishare is first

teal halo
#

base macos moment

olive barn
#

whar

#

oh

teal halo
#

can't even screenshot the screenshot tool wtf

charred monolithBOT
tawny cipher
teal halo
charred monolithBOT
short bridge
#

Looking for someone who can add our plug-in to vencord

olive barn
#

learn to code trolley

austere talon
mortal fractal
#

but considering your persistence on having someone else doing it for you

limber skiff
#

what's our plugin lol

short bridge
mortal fractal
#

...then just import the css file?

austere talon
#

the plugin is really dumb / pointless and just use the css

short bridge
#

Yup but we wanted to make it easier for vencord users to find it by making it a searchable plug-in on it

mortal fractal
sharp venture
#

Anyone have any recs for editing plugins on the fly? Think I'm gonna fix the GameActivityToggle red line:

#

got the repo cloned and yarn etc

olive barn
#

pnpm watch

#

and just ctrl+r

sharp venture
#

Thanks! On it

turbid hatch
charred monolithBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 897060
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'lde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 897060
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'lde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
sharp venture
limber skiff
#

beautiful

torn knot
charred monolithBOT
limber skiff
torn knot
#

I would imagine a simple clip path or mask would be enough

manic plinth
#

hi this must be plugin suggestions and is definitely the correct channeli would like to submit a plugin idea:
automatic goodnight /goodmorning responder
sometimes i dont want to respond to all twenty of the basic women i talk to on discord, i need a plugin to do it for me! additionally it could message them all goodnight and goodmorning for me with some random delay so i could pretend to be a good person

#

the real joke is that i dont talk to women im on discord

limber skiff
charred monolithBOT
limber skiff
#

@sharp venture can you change width and height to 24 and screenshot

limber skiff
#

I feel like controller is too smol

sharp venture
#

I was gonna ask, do you have source of original controller SVG?

limber skiff
#

nah I got it from google fonts

sharp venture
#

If you want the controller to have this size ratio, I can resize the SVG from your original, which has dimension made for 960

#

Just putting it to 24 will cause the red slash to be too big

#

(and it is a stock element)

limber skiff
#

oh

sharp venture
#

Brb ill get a screenshot

limber skiff
#

love the work either way PES_Heart

manic plinth
#

(in seriousness ty this client is awesome and u guys do awesome work on plugins and the client itself)

#

bye bye

manic plinth
sharp venture
#

this makes the slash equal to stock, but the controller equal to your previous size

#

one design i had to interpolate is that i made the mask extend further or else it wouldnt cover the controller at the bottom bit

#

to better show what i mean:

limber skiff
#

can you screenshot with the whole user menu

sharp venture
limber skiff
#

can we make the slash go further

sharp venture
#

maybe 2 units longer than this? or this is good not sure

limber skiff
#

yeah

#

try 2 units

past olive
#

would be cool if the slash turned into like a really cool red sword or smt idk

sharp venture
#

i guess this is something more than 2 units....uh 2.82 units lmao

limber skiff
#

that's better

#

very nice

sharp venture
#

okie i commit

limber skiff
#

god when you zoom in the old it's so bad ☠️

sharp venture
#

haha i got higher dpi display recently and had to fix

limber skiff
#

oh...

#

@sharp venture you should prob not pr from main

sharp venture
#

is there a OE thing which will block? I can move to other branch

#

i dont intend to use my fork beyond deleting it and creating it again as needed

limber skiff
#

nothing will block but it makes testing harder

#

though I don't think this requires testing

#

It's prob fine for this case but that's just a tip

sharp venture
#

ty

charred monolithBOT
torn knot
sharp venture
#

yeah i just changed its length accordingly, i don’t recall if it matches either of the other two, but i think not

#

originally was just a dupe of mic icon slash, i lengthened

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Changes up/down arrow functionality to cycle through previously sent messages like in a terminal instead of editing the previous message.

This does present issues with multi-line messages in that use can't use up/down arrow as usual, if anyone has a good workaround, I'd appreciate it but it isn't a main concern.

Only main issue currently is that using ComponentDispatch.dispatchToLastSubscribed("CLEAR_TEXT") as in discord's own code seems to mess with `ComponentDispatch.dispatchToLastS...

teal halo
#

🤓

teal halo
tawny cipher
#

reading the prompt is hard

teal halo
#

thanks automod

tawny cipher
#

vencordinstaller.app, ez

teal halo
tawny cipher
#

you can capitalize it

#

but no smol s

teal halo
#

macOS (; previously OS X and originally Mac OS X) is an operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and laptop computers, it is the second most widely used desktop OS, after Microsoft Windows and ahead of Linux (including ChromeOS).
m...

tawny cipher
#

pain

teal halo
#

how high r u

swift lark
#

mACoS

tawny cipher
#

says MacOS in the title

teal halo
#

the readme says MacOs

#

so technically this pr is useful

#

but the quarantine thing isnt

tawny cipher
#

oh I misread the diff

cunning canyon
#

i remember there's a pr change it to macOS and ven "nuh uh" *closed*

tawny cipher
#

I read it at changing it to Os

#

green red moment

charred monolithBOT
teal halo
#

i dont see the appeal for that plugin cta_think like you can just see your previous messages by staring at them? and almost no one wants to send a message they already sent a few messages ago

cunning canyon
#

probably they play some discord bot game

cunning canyon
austere talon
#

^

#

not to mention if you pr from main you make it much harder on yourself to open multiple prs at once

austere talon
#

having it stylised as MacOs is funny cause it makes the blood of hardcode apple fans boil

#

same as Github

#

idk why people care so much about proper capitalisation of brand names like god damn get that boot off your tongue

teal halo
#

windoWs

charred monolithBOT
sharp venture
austere talon
#

no

#

Read the thing i ^'d

sharp venture
#

i don’t have multiple prs or more than single change so its moot

austere talon
#

you're inconveniencing the maintainers

sharp venture
#

i dont actually know how but sure ill make a feature branch

austere talon
charred monolithBOT
lime stone
charred monolithBOT
teal halo
#

W

woeful sable
#

shift + up

proven ermine
#

Not sure if this is the best place to ask for this but is there a tutorial or some place to start to try and write a plugin?

proven ermine
#

thanks!!

charred monolithBOT
charred monolithBOT
charred monolithBOT
stark flint
#

can you not just turn on frameless

oak hull
#

isnt there some css for this

#

to bring the buttons to the sidebar and hide the winbar

olive barn
#

yeah

sharp venture
#

Is there a screenshot attached? Happy to suggest some CSS

#

Oh I see, its just super narrow on my phone

crude hearth
#

waiting it to get merged

charred monolithBOT
charred monolithBOT
charred monolithBOT
azure jay
crude hearth
#

timedones plugin

fleet depot
#

Oh no

#

Not the timedones

austere talon
#

3k stars soon? 👀

stark flint
#

omg already

charred monolithBOT
charred monolithBOT
round gust
#

rip relationship viewer

#

😭

charred monolithBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 592037
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'lde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 592037
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'ude' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
limber skiff
#

good catch btw

austere talon
#

i did that mistake too many times

#

wont happen anymore

limber skiff
#

lol

charred monolithBOT
#

Full log:

Downloading Installer...
X11 detected

Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> y
Running with sudo
VencordInstaller was run with root privileges, actual user is madeline
Looking up HOME of madeline
Actual HOME is /home/madeline
Using UserConfig
Checking if /home/madeline/.config/Vencord/dist exists: Yes
Is Dev Install:  false
Found existing Vencord Install....
olive barn
#

going thru my email for the first time in ages, wtf happened here

charred monolithBOT
spark cove
#

This is the email I wake up to

manic plinth
#

is there a vencord mod that autocompletes words for you or something

charred monolithBOT
mortal fractal
strange wadi
#

Vencord

stuck finch
#

Vencord

ruby coyote
#

Bencord

woeful sable
#

I need help in support

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

This morning when i opened discord it got stuck on the 'Starting...' screen. When i restarted my pc i still had the same problem.
I figured that vencord could be causing the issue so i uninstalled it and discord started up completely fine.
I reinstalled vencord hoping that it would work fine but when i opened discord, vencord was not there. I dont know whats going on.

charred monolithBOT
charred monolithBOT
verbal pumice
#

why are people starring vesktop

teal halo
#

i told them to

lime stone
charred monolithBOT
charred monolithBOT
teal halo
#

i'm trying to add a button next to this one, but i've never done react with vencord. any tip on what I am supposed to patch in order to call my own react function?

#

note: i never added anything in react with vencord before, currently trying to see how plugins such as calltimer do it but it's kinda confusing

limber skiff
#

uh kinda hard to explain but

charred monolithBOT
limber skiff
#

try first with react devtools, select the button and then select the most top element that still represents the button

#

then you can try two approaches

#

if it's an exported button you can search which modules use it

#

else you can search in that module what uses that button component

#

this might not work very nicely though if discord uses a generic button component

#

then you can go back to the react tree and find the parent of that button, inspect the source code and find where the button is being created with react

woeful sable
#

where can i remove a review on me?

teal halo
#

vns

nimble pendantBOT
woeful sable
#

it is a malicious and false and offensive review

limber skiff
sharp venture
woeful sable
#

termed a lot

teal halo
#

or well, add something at first

limber skiff
#

when you hover over a component it highlights it in the app

#

check if the button or parent is getting highlighted

teal halo
#

highlighted as is? it gets visually highlighted but nothing in the DOM changes

limber skiff
#

yes, visually highlighted

#

just like the normal devtools selector

teal halo
#

found this code, where should I tell it to render the button exactly? I want to have it between the download button's code and after the checks that make the download button render

limber skiff
#

screenshot more of the code

teal halo
austere talon
#

maybe that review is true afterall

austere talon
# teal halo

you need to write a patch that adds ur own component in the middle

#
}));
$self.renderButton(arguments[0]), 
null != s && (n = (0
#

pretty simple

teal halo
#

k

limber skiff
#

nah ven

austere talon
#

whar

limber skiff
#

@teal halo it's right under

#

you need to render your component in the children array

austere talon
#

oh im drunk

#

yeah

#

I just now realised the top part is assigning variables

teal halo
#

looks like i am blind

#

ty

limber skiff
#

also might need to remove this ternary

austere talon
limber skiff
#

else sometimes your button might not exist, unsure in what case

teal halo
#

never saw it fail so far so idk

austere talon
#

but yeah now you would just do

children: [t, $self.renderButton(), n]
limber skiff
austere talon
#

even simpler

teal halo
#

i want to make it show only if the download button is also shown, do i just do the same checks it does?

austere talon
#

and you even get a nice anchor in .nonMediaAttachment

austere talon
#

shrimple

teal halo
#

kk

limber skiff
#

match: ``/().nonMediaAttachment.+?children:[(\i),/replace:$&$1&&self.renderButton(),`

austere talon
#

why spoonfeed patch

#

let him try himself pleading

#

and tbh i don't like using .+? it's kinda lazy

lime stone
#

or completely opt-out

austere talon
#

he got banned you're talking to a wall

lime stone
#

oh

limber skiff
lime stone
#

hi wall

teal halo
lime stone
#

ouch

limber skiff
austere talon
#

bad

#

.{0,10} works fine here

limber skiff
#

well yeah

austere talon
#

.+? always dangerous if they add more code in the middle

#

cause it could eat half the file

limber skiff
#

ye but then the patch will just select the wrong place or fail

#

it wont timeout

#

I'm just so used to fixing patches because discord added code in the middle that I avoid doing selectors with max length

teal halo
#

regex101 sucks so much with big texts

limber skiff
#

I love regex101

teal halo
#

impossible to know where ur line is in the substitution field

lime stone
#

i can't remember when and how i found regex101, but i always use it

limber skiff
#

I just restart my discord and test

turbid hatch
#

oh btw

teal halo
#

mfw devcompanion doesnt work anyway

#

based choice

turbid hatch
#

in case you didnt see ven

#

vesktop was approved for distribution on winget

#

vencord itself has not yet been approved because the person writing the manifests doesn't know what they're doing...

#

so i might

#

just do it myself

#

(again)

austere talon
#

imagine like

function a() {
   return r.jsx("div", {
       className: A.nonMediaAttachment
    })
}

function b() {
}

function c() {
    return r.jsx("div", { children: [n] })
}```
austere talon
#

your patch will entirely yeet b and merge c into a

#

and it will crash discord

teal halo
#

rip b

turbid hatch
#

in theory btw

#

the CI stuff should just work

limber skiff
#

that will likely error

turbid hatch
#

especialyl when you merge uhhh

#

winget releaser

#

because it will just update the existing manifests

austere talon
turbid hatch
#

winget releaser is pretty pog

limber skiff
#

ya it's not but what are the odds

turbid hatch
#

speaking of

#

i need to update to the latest commit of winget erleaser

#

cause it has a komac update

austere talon
#

I'd rather have patches break fully slightly more often than break and crash discord on rare occurrence

#

So i usually avoid .+ if I can

teal halo
#

amazing

limber skiff
#

we could do a lookbehind in that case

teal halo
#

i am bad at coding

limber skiff
#

match: ``/(?<=().nonMediaAttachment.+?children:[(\i),)/replace:$1&&self.renderButton(),`

austere talon
limber skiff
#

lol

austere talon
#

I'd just do .{0,10}

#

I think it's fine

charred monolithBOT
teal halo
#

me when the cta_dies_dead

turbid hatch
# charred monolith

^ ironically, i don't actually know where the WM class gets set nor do i know where it's generating the .desktop file

#

so not only is the build process getting it wrong, it's getting its own generation wrong!

lime stone
limber skiff
lime stone
teal halo
#

i have a few braincells missing

turbid hatch
#

yeah but it's using "vesktop" in the desktop file and "vencorddesktop" in the WM class

#

that doesn't make sense

#

it should be deriving it from the same area no?

#

in which case it'd be one or the other

turbid hatch
#

lol?

#

apparently arRPC is now linked to vencord on google

limber skiff
lime stone
#

the productName is Vesktop

teal halo
limber skiff
#

your plugin needs a method that returns a react component

charred monolithBOT
turbid hatch
#

oh @austere talon we can actually publish snaps/flatpaks via electron builder

#

so if we ever want to support that in the future it's convenient

turbid hatch
austere talon
#

probably

turbid hatch
#

so i don't understand the feature request

#

vesktop already runs an arRPC instance so if discover can use it i don't understand why it's not

lime stone
#

pretty sure arRPC provides a different RPC

turbid hatch
#

in which case that's not something we can support

lime stone
#

i can't words

turbid hatch
#

so it'd be up to discover to add

#

not us

lime stone
#

what are they supposed to add

turbid hatch
#

support for arRPC

lime stone
#

uh

turbid hatch
#

we aren't going to add a fake discord RPC server that just reexposes what we gather from arRPC

lime stone
turbid hatch
#

that's completely redundant and a minority of usecases

lime stone
turbid hatch
#

well yeah

#

because it requires access to the discord IPC

austere talon
turbid hatch
#

which doesnt exist on vesktop

teal halo
#

i figured it out

lime stone
#

no it's RPC

#

that's what the docs call it

teal halo
#

forgot to add a $ before the self

lime stone
#

(Discord is so confusing)

turbid hatch
#

RPC

#

whatever

#

the IPC is the pipe probably

lime stone
#

well, it uses the same thing as Discover

teal halo
#

now i'm just trying to ✨ make it do what I want ✨

lime stone
#

yeah

#

discover doesn't use the pipe thingy or whatever the word is

turbid hatch
#

and again we aren't going to set up a fake RPC just to reexpose what arRPC is giving us

lime stone
#

that's why arRPC doesn't fix it

turbid hatch
#

that'd be up to arRPC to do, or for discover to add support for

lime stone
#

no you can't use the pipe-based ipc to see members of a vc

charred monolithBOT
lime stone
#

won't fix this :/

turbid hatch
#

no it wont, but i believe renaming the package will cause more issues

#

unfortunately that's electron builder stupidity

#

we already define a product name

#

so if it's not using it then i don't know

#

although it might do it because it might map the .desktop file to that WMClass

#

right i've understood the RPC issue

#

but that means we'd have to implement the full RPC API and expose it like discord does

#

if we only implement a partial set we could crash other apps (admittedly these would be badly written ones but still)

lime stone
#

i've only seen that been properly used by streamkit and some mouse software/driver lol

turbid hatch
#

yeah its' because it's in a private beta

#

but that can change at any time

#

so if we only implement a part of the RPC API we will break loads of stuff

#

also this means we have to implement the entire RPC authentication flow

charred monolithBOT
charred monolithBOT
teal halo
#

i am a god at graphgic design

torn knot
#

take your hands off that icon

teal halo
#

feel free to make it not look like ugly black squares

torn knot
#

is it svg?

teal halo
#

yes

#

i yoinked it off of a random website since i was too laey to try to remake YouTube's one in figma (or yeet youtube's one directly)

#

but even then i have no idea how to edit the colors to make it look decent

torn knot
#

set the svg fill to currentcolor and add this to the button:

var(--interactive-normal)
#

this is for unclicked, unhovered

#

on hover it's -hover, and so on for active

#

it is a component/element, right?

teal halo
#

go take a look at the code yourself and make your eyes bleed

#

i did it really dirty

#

discord's implementation of the download/remove buttons are even worse

torn knot
#

can't be that bad

#

If I know one thing, it's that no one can write shittier code than me

teal halo
torn knot
#

oh

torn knot
#

may I ask

#

why no pointer events

#

hmm

#

nvm, the color is var(--white-500)

teal halo
torn knot
#

no

teal halo
#

look at this ugly onclick event

torn knot
teal halo
#

yes

#

functional but oh boy does the code sucks

torn knot
#

for the love of god use currentTarget

#

I think it was that

#

yes

#

so that's how you add a tooltip, huh

teal halo
#

this is how you apparently do

#

but it's also how you don't make it work

#

for some reason

#

even tho discord does that for the divs next to that

limber skiff
#

don't copy discord code for react elements lol

#

copy how we do it

teal halo
#

i refuse to (i pushed a commit to make it actually work)

austere talon
#

what

teal halo
#

replaced it

teal halo
#

works way better when you use what you're supposed to use kek

teal halo
#

i dont understand that one

austere talon
#

g in svg is a group

#

it's useless here

teal halo
#

ah

#

me: does all the changes
git: nuh uh

tawny cipher
#

resolving conversations does not change review status

#

only an approving review will

teal halo
#

github is amazing

tawny cipher
#

it is a review that requests changes, so that's the status it has

charred monolithBOT
torn knot
#

eyyy finally

lime stone
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'fde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
olive barn
#

Objects are not valid as a React child (found: object with keys {children}). If you meant to render a collection of children, use an array instead. when i use tsx renderCodeBlock: (code: string) => { return ( <div className="monaco-code-block"> <div className="monaco-code-block__code"> {code} </div> </div> ); }
in a patch

#

do i need to return it as an array?

limber skiff
#

show patched code

charred monolithBOT
charred monolithBOT
proven wren
#

Is #🔧-discord-changes message voice channel statuses "leaked" in the api like how hidden/non perm to view channels are?
Tried testing around and didnt seem like it did.

charred monolithBOT
crude hearth
#

they even exist now

proven wren
#

cool story

#

but its not what i asked

tawny cipher
keen fog
#

not that i know anything about discord plugin making, so that's just a stupid guess

jagged cloak
#

tias

charred monolithBOT
charred monolithBOT
hazy steeple
#

BRU

pine topaz
#

TALITY

olive barn
#

what does this mean

olive barn
#

nvm

charred monolithBOT
olive barn
#

what happened to that one asset viewer plugin

#

oh it was a pr

crude hearth
#

a wise man said 90% of vencord prs stay as prs

charred monolithBOT
olive barn
#

just changes vencord/desktop to vencord/vesktop

charred monolithBOT
teal halo
charred monolithBOT
olive barn
#

would it be considered selfbotting to make a emoji/sticker cloner

stark flint
#

that’s already a plugin tho

#

unless you mean mass cloning then you’d probably be ratelimited to hell

teal halo
#

cant you upload multiple emojis at once already

#

by dragging them in the server settings -> emotes page

#

stickers require more configuration so that would require botting

stark flint
olive barn
austere talon
#

yeah it's already a plugin

#

if u want to automate cloning a bunch of emotes, use a bot

#

i made one ages ago but the rate limit on emote create is insane for some reason

#

like you can create like 30 emotes then u need to wait an hour

olive barn
#

@austere talon you better dm quick

#

before he gets banned

lime stone
#

uh seriously

#

if you mimic the behaviour it should be fine, right?

charred monolithBOT
teal halo
#

id rather try to get rid of it

austere talon
#

it shouldn't be too hard

#

you can use a react effect to detect unmount

#

and just stop pip

teal halo
#

react is great

austere talon
#

change it to console.log(tooltipRef.current)

#

otherwise you get the live ref which is likely cleaned up after unmount

teal halo
#

that logs just null

austere talon
#

unlucky

#

try to log it outside of cleanup

#

is it defined there

teal halo
#

yes

austere talon
#

okay so

#

capture it inside closure

#

and use that in your cleanup

teal halo
austere talon
#

nohusk

#

wtf

teal halo
#

im surprised it even works lmfao

austere talon
#
useEffect(() => {
    const { current } = theRef;
    return () => {
        current?.explode();
    }
}, [theRef]);
cunning bobcat
#

you saw nothing

teal halo
#

just need to tell ts to shut up

austere talon
#

fix ur code

#

useRef<HTMLDivElement>(null);

#

and passing null is obsolete iirc

teal halo
#

bruh moment

#

me when i check the mdn docs realizing i wasted 15 minutes of my time

#

nvm 30

#

didn't even need a ref lmfao

median rapids
charred monolithBOT
pine topaz
charred monolithBOT
frail skyBOT
#
Bad Patches

CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/

OpenInApp (had no effect):
ID: 757817
Match: /return (([A-Za-z_$][\w$]*)\.apply\(this,arguments\))(?=\}function [A-Za-z_$][\w$]*.{0,200}\.trusted)/

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
burnt ridge
#

Hi

charred monolithBOT
charred monolithBOT
charred monolithBOT
stark flint
#

what

lime stone
#

what

stark flint
#

most sane pr

verbal pumice
#

merge this immedeatly

lime stone
verbal pumice
lime stone
#

it was probably a mistake

#

right?

verbal pumice
#

no

#

they replace dthe author

#

for all of them

#

2 of them are obviously echo plugins 🔥

#

ones also stolen and ones just a js snippet thrown in start()

stark flint
#

what

azure jay
lime stone
stark flint
#

unnecessary :p

azure jay
lime stone
#

why don't you wait until it's just closed and locked

azure jay
#

i thought it would just say [Vendicated/Vencord] Pull request review submitted: #one699 zet

lime stone
azure jay
#

its not gonna get merged anyways

lime stone
#

it emails people

lime stone
#

tbf i sometimes send stupid stuff on github lol

lime stone
#

not usually several comments on a pr though

azure jay
stark flint
#

looks terrible to me

#

probably

azure jay
#

LGTM trolley

lime stone
stark flint
#

bad bad

lime stone
#

this always happens lol

austere talon
#

flag so smort

stark flint
teal halo
#

lmao

tawny cipher
#

horrifying

austere talon
#

who wrote that

#

that would literally be easier with a proper patch

tawny cipher
#

snupai guy whose pr you closed

verbal pumice
verbal pumice
tawny cipher
charred monolithBOT
austere talon
olive barn
charred monolithBOT
teal halo
charred monolithBOT
olive barn
#

who up forking they installer 😂😂😂😂😂😂😂😂

charred monolithBOT
charred monolithBOT
mortal fractal
verbal pumice
#

yes like 3 people mentioned that

lime stone
tawny cipher
#

believe it or not delete is an actual keyword

#

never seen it used tho

lime stone
#

i think i was aware of it

#

but why is it different to = undefined?

nocturne haven
#

It deletes entries from an object

#

Setting it to undefined keeps the key stored

tawny cipher
olive aurora
charred monolithBOT
austere talon
#

if you write good js in a normal app, you should essentially never need delete

charred monolithBOT
austere talon
#

delete use cases:

  • deleting object properties: generally an indicator you're doing something wrong
  • deleting globals or properties of prototypes you polluted: just don't pollute them in the first place
  • storing and deleting dynamic keys: use a map, it's more performant and for most use cases offers a better api
nocturne haven
#

2nd point is basically 1st point

I mean it's pretty much just old leftovers at this point

austere talon
#

well yeah

#

obviously all this only applies if you have proper control over the stuff you're working with

#

and in the case of client modding we have to do a lot of cursed shit

#

so that makes delete more useful

olive aurora
#

deleting variables: explode

austere talon
#

so that'd be a decent future refactor

#

someone should make an eslint plugin for that

#

"no-object-as-map": "error"

#

soon

#

🔥

verbal pumice
olive aurora
#

structs when

austere talon
tawny cipher
#

why would you not want rosetta though

#

overall

teal halo
#

me when copy paste

charred monolithBOT
charred monolithBOT
charred monolithBOT
radiant granite
#

what's the best way to get started with plugin dev for intelisense and shit

mortal fractal
#

wdym "for intelisense and shit", all of that is automatic

austere talon
#

vscode

radiant granite
#

is there any "public wishlist"?

mortal fractal
#

not anymore tr

tawny cipher
#

if something annoys you, fix it kyujinkek that's usually how that goes

#

don't think requests were ever really taken seriously

charred monolithBOT
formal turtle
#

Dose this work for phones to right?

teal halo
#

no

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
frail skyBOT
#
Bad Patches

CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/

OpenInApp (had no effect):
ID: 757817
Match: /return (([A-Za-z_$][\w$]*)\.apply\(this,arguments\))(?=\}function [A-Za-z_$][\w$]*.{0,200}\.trusted)/

IgnoreActivities (had no effect):
ID: 492000
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
olive aurora
#

@austere talon merge in 5 picoseconds i hate being teleported to a server

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
next abyss
#

i made a flatpak build manifest

#

testing it now, it even opened invite links from the web which i did not expect

#

dunno how it will update itself or how rpc should work

charred monolithBOT
charred monolithBOT
charred monolithBOT
grizzled halo
#

👹

#

i hate to see it yfm

#

scrape all repos on gh to find where it's wrong and create a pr accordingly 😃

stark flint
#

🔥

stark flint
grizzled halo
#

pls save me my write access was revoked i wanna push a fix of message loggerrrrrrrrrrrrr

austere talon
#

and then you beg me to unblock you

#

when this is what you pr

grizzled halo
#

yes

#

what

austere talon
#

stop making useless prs

grizzled halo
#

ok ig

charred monolithBOT
grizzled halo
#

rude

austere talon
#

every pr you have made this far has been spam

grizzled halo
#

no?

#

ok sure the adding myself to the devs is unnecessary, i admit, but..

grizzled halo
austere talon
#

redundant micro commits = spam

grizzled halo
#

want me to pr them together?

#

thanks for the info, no more micro commits?

#

rhetorical question