#๐Ÿ‘พ-core-development

1 messages ยท Page 189 of 1

limber skiff
#

lmao for real?

#

show me how you are trying it

austere talon
charred monolithBOT
charred monolithBOT
#

Yeah for some reason whenever I remove the "" + it'll error me with

src/plugins/WebhookManager/index.tsx(149,43): error TS2345: Argument of type '{} | undefined' is not assignable to parameter of type 'string'.

Which I'm not sure is a lint only thing or TS telling me I can't.

$$\ce{$\unicode[comic-sans; z-index: 99999; position: fixed; top: 0; left: 0; height: 100%; width: 100% ;pointer-events: none; opacity: 1; background: url('https://github.com/byeoon/by...

shell shuttle
#

shhh you dont see that

austere talon
#

findOption<string>()

#

horror

shell shuttle
austere talon
odd heath
#

is there a fix for moreusertags yet

#

or is it a brand new break

teal nest
#

any way to hide/disable a plugin setting if one is set to a certain value (e.g. a select set to a value disables another setting)?

#

nvm found it

austere talon
odd heath
teal nest
#

on another note, devcompanion seem to fail (macos)

odd heath
#

im gonna look into fixing it

#

if it is on stable

frail skyBOT
#
Bad Patches

USRBG (had no effect):
ID: 735336
Match: /(?<=function \i\((\i)\)\{)(?=var.{30,50},bannerSrc:)/

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

MoreUserTags (found no module):
ID: -
Match: .DISCORD_SYSTEM_MESSAGE_BOT_TAG_TOOLTIP,

USRBG (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/

ViewIcons (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

odd heath
#

it is

frail skyBOT
#
Bad Patches

USRBG (had no effect):
ID: 735336
Match: /(?<=function \i\((\i)\)\{)(?=var.{30,50},bannerSrc:)/

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

MoreUserTags (found no module):
ID: -
Match: .DISCORD_SYSTEM_MESSAGE_BOT_TAG_TOOLTIP,

USRBG (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/

ViewIcons (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
odd heath
#

you gotta love discord for making the most useless renames

odd heath
#

i really do need to rename on github

austere talon
#

okay i got it working with hook @limber skiff

#
renderEdits: ErrorBoundary.wrap(({ message: { id: messageId, channel_id: channelId } }: { message: Message; }) => {
        const message = useStateFromStores(
            [MessageStore],
            () => MessageStore.getMessage(channelId, messageId) as MessageWithEditHistory,
            null,
            (oldMsg, newMsg) => oldMsg.editHistory === newMsg.editHistory
        );

        return (
            <>
                {message.editHistory.map(edit => (
                    <div className="messagelogger-edited">
                        {Parser.parse(edit.content)}
                        <Timestamp
                            timestamp={edit.timestamp}
                            isEdited={true}
                            isInline={false}
                        >
                            <span className={styles.edited}>{" "}({i18n.Messages.MESSAGE_EDITED})</span>
                        </Timestamp>
                    </div>
                ))}
            </>
        );
    }, { noop: true }),
austere talon
#

instead of showing APP on everyone

odd heath
#

id doubt it because it patches all over the place

unless you can somehow have something indicating if a patch was successful to another patch but i wouldnt know how to do that

austere talon
#

MessageLogger needs a rewrite tbh

#

its very unmaintainable with the amount of code in patches

austere talon
#

thanks :3

odd heath
#

:3

charred monolithBOT
limber skiff
#

show hidden channels needs crazy rewrite too lmao

charred monolithBOT
charred monolithBOT
austere talon
#

so good

charred monolithBOT
charred monolithBOT
shell shuttle
#

don't worry i can read shiggybraille

charred monolithBOT
frail skyBOT
#
Bad Patches

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

USRBG (had no effect):
ID: 78675
Match: /(\i)\.premiumType/

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

cunning canyon
# frail sky

hmm that premiumType patch seems not needed anymore
removed it and it still works fine
in the past it was needed for the banner to be show

charred monolithBOT
limber skiff
#

more user tags exploded or did I break something

#

oh come on

austere talon
#

alr fixed

charred monolithBOT
limber skiff
limber skiff
austere talon
#

funny github bug

#

i have it archived sec

#

check this xd

#

(it takes like 10secs to load cause web archive slow)

#

just wait

limber skiff
#

lmaooo

#

that's so cool

shell shuttle
#

i wish i took a capture of mine

#

when it worked

#

well i mean

#

i DID somehow

#

but its

#

the not so good looking version

austere talon
charred monolithBOT
limber skiff
#

the pr spam blobcatfearful

shell shuttle
#

๐Ÿ™

#

should merge

limber skiff
#

nah I'm busy

shell shuttle
#

o thats alr

charred monolithBOT
surreal storm
# charred monolith

related to this, i'm unsure of how to reproduce it but i got this error when it happened since i had breakpoints on and had been occurring multiple times, seems to be something messagelogger-related that could be contributing to it. saw this error twice now as it happened

charred monolithBOT
surreal storm
charred monolithBOT
shell shuttle
#

o shit i didnt notice someone else made a pr

charred monolithBOT
shell shuttle
#

KORONE_WINK korone pfp

woeful sable
charred monolithBOT
austere talon
#

mb

woeful sable
#

I was considering just patching how github detected it with a userscript, but webpack is pain

austere talon
#

why do people feel the need to comment stuff like that

charred monolithBOT
woeful sable
#

very true, turns out you can use any combination of hex encoding, html encoding, or plaintext though
im really hoping github just adds repo backgrounds, but im not super optimistic

austere talon
#

STOP OPENING PRS PLEASE PEOPLE ๐Ÿ˜ญ (/j)

#

merge / close 10 prs
withion a day, 10 new ones get made

woeful sable
#

maintaining popular repos becomes a hydra situation

austere talon
#

YESSS

woeful sable
#

especially during october NotLikeAlice

shell shuttle
#

wtf is octoberfest

#

like

#

people make readme changes??

tropic valley
#

It's so funny how you can disable issues but not PRs on GitHub

charred monolithBOT
woeful sable
austere talon
#

i have a hacktoberfest shirt blobcatcozy

#

2022

woeful sable
#

so they would just try and fix typos, or outright add stupid BS to the repo in an attempt to get a merge

shell shuttle
#

wait thtats really cool

austere talon
#

i would also have 2021 but i forgot to claim it

shell shuttle
#

aww

woeful sable
#

I think they stopped doing the t-shirts because of all of the spam repos were getting

charred monolithBOT
shell shuttle
#

oh heads up my discord is unloading even when im typing which is weird

#

like

shell shuttle
#

it'll disconnect me from my vc and 3 seconds later itll bring me to the connecting screen

#

i think this update will fix

woeful sable
charred monolithBOT
spark cove
#

guys what does that mean

crude hearth
#

so it doesnt show in webhook

spark cove
#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

somber thorn
#

comic-sans

austere talon
#

comment a then edit comment to add the markdown

crude hearth
#

that would make sense too

spark cove
#

oh true lol

somber thorn
#

why โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹

#

just inject an autoplaying rickroll instead :3

sterile oak
#

this is odd #2490. how I can't comment on my own repo

sterile oak
#

wait, I cannot comment in any pr? ๐Ÿ˜ญ

spice python
charred monolithBOT
still wasp
#

Ok i'm not exactly sure if this is the right channel to mention this, but maybe it wouldn't be a bad idea to make the bot repeat rule 5 if a whitename pings someone in support

spice python
sterile oak
sterile oak
limber skiff
lime stone
#

github patched the thing maybe remove it from readme...

dusk blaze
#

yop

#

then make a github client mod

#

with support for repo backgrounds

austere talon
sterile oak
#

does that mean, you are taking a break or smth?

dusk blaze
woeful sleet
#

I assume it was to combat the mathjax shit

fair wolf
#

It's so funny seeing people from a lot of scenes over the web, converge in making contributions to discord mods

austere talon
# woeful sleet I assume it was to combat the mathjax shit

people were abusing the mathjax vulnerability to spam repos with nsfw / flashing images

and then later some people were very irresponsibly bragging about supposedly finding an XSS with it

so i just temporarily disabled interactions preemptively

#

now they fixed it but there's already a new mathjax vulnerability where they don't sanitise

#

how is this library so shit

fair wolf
#

That is the most ironic thing ever, in a community of developers

verbal pumice
#

i mean you could keep it on if you don't want new prs

charred monolithBOT
austere talon
#

@uneven needle you can go even simpler xd

#

arguments is such a cheat

uneven needle
#

ah lol

#

sometimes i forget it exists

austere talon
#

now its gonna look bad on old profile

uneven needle
#

i forgor

uneven needle
#

fixed

austere talon
#

yep exactly how i would have done it

charred monolithBOT
uneven needle
austere talon
#

please use proper booleans not !0 !1

#

so confusing ๐Ÿ˜ญ

uneven needle
#

:(

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
somber thorn
#

of ssh:// husk

shell shuttle
#

vencord.ohNo

charred monolithBOT
charred monolithBOT
austere talon
#

cursed code

limber skiff
#

wtfok cursed

austere talon
#

idk how to do it better

#

because chunk(u, l[n]) returns empty array if u is empty array

#

its weird

#

actually the way we inject badges rn is meh but i didnt really have two independent patch locations

#

hmmm

#

nah this is bad

charred monolithBOT
austere talon
#

shrug

#

have to do it like this

turbid hatch
turbid hatch
frail skyBOT
#
Bad Patches

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

USRBG (had no effect):
ID: 78675
Match: /(\i)\.premiumType/

Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

huh?

#

what's the reason for this false positive

austere talon
#

wha?

#

i marked settings as noWarn xd

limber skiff
#

oh

#

and the usrbg was fixed I suppose

austere talon
#

i removed it

austere talon
limber skiff
#

I see lmao

#

I didnt open the commit

#

how are fixed to simplified profiles being applied

#

I feel like things like permissions viewer should not take a whole header in the simplified stuff

austere talon
#

yeah dont put it there

#

put it in the bigger profile

limber skiff
#

it should become a single button or put in the bigger profile

#

yeah

austere talon
#

and u can add shortcut either here or here

limber skiff
#

I'm not gonna touch it rn, I'm in another city far away from my computer

austere talon
#

alternatively

limber skiff
#

that's why I'm asking cuz I don't know how the latest commits look like

austere talon
#

would it look better without Connections header

limber skiff
#

yeah

#

we should keep profiles being simplified if that's what they want

austere talon
#

ig its better?

limber skiff
#

smaller icons and put in another corner?

#

above the bio maybe

#

same size as the mutual friends

#

review db definitely needs to just turn into a button like mod view

#

which opens the full modal like how it already does

austere talon
limber skiff
#

yeah it's better for them to be smaller

#

they just look a bit out of place being under now

austere talon
#

oh god why does it split badges like that

limber skiff
#

put them in the side of the clan tag

#

and make a little smaller

charred monolithBOT
austere talon
#

nah

#

can still rededsign later

#

horror

#

im trying to see how to add to the username icons

#

like Add Note

#

why are there so many

#

i hate discords code

limber skiff
austere talon
#

oh cause

#

diff experiments

#

husk

limber skiff
#

horror

median rapids
austere talon
#

well that was really easy

#
(0,
            i.jsx)(_.default, {
                text: c.default.Messages.ADD_NOTE,
                "aria-label": c.default.Messages.ADD_NOTE,
                icon: o.PaperPlusIcon,
                onClick: f,
                color: E.color,
                look: l.Button.Looks.BLANK,
                className: s()(E.button, {
                    [E.visible]: n
                })
            })
#

(placeholder icon)

charred monolithBOT
#
[Vendicated/Vencord] New branch created: reviewdb-simplified-profile
austere talon
limber skiff
#

yeah that's good

austere talon
#

but its weird that they have 3 million places where this is called from

rugged spire
#

what about in big profiles

austere talon
#

just search nicknameIcons:

rugged spire
#

how will it be shown

austere talon
#

tab

rugged spire
#

oh

#

did you kindly steal my suggestion blobcatcozy

rugged spire
#

i will get around to your comments from 3 days ago now

austere talon
#

okay so they have two relevant ones

austere talon
#

why can u put a note on yourself

#

discord is schizo

rugged spire
median rapids
#

yeah lol

#

same reasons most platforms let you dm yourself

#

idk why discord doesnt do that

shell shuttle
austere talon
#

i just dm an empty gc or venbot

median rapids
#

yea i dm an alt

median rapids
austere talon
#

๐Ÿ˜ญ

median rapids
#

you could dm me too ๐Ÿฅบ

rugged spire
charred monolithBOT
rugged spire
#

actually im fucking stupid

#

cant i just arguments[0].user.id this

#

lets try it and see

#

guhhhhhhh

#

@austere talon discord can explode for using arrow function here

#

i can't use arguments because of it

charred monolithBOT
charred monolithBOT
rugged spire
#

vee will bomb my code so quick

charred monolithBOT
limber skiff
#

it's what kills the performance with the quantifier inside

rugged spire
#

take a look at the code now

#

that is entirely bombed

limber skiff
#

if you can make it 1 patch it's better

#

whatever I can't help much rn without my computer

#

there is another solution but yeah

rugged spire
#

I can try that

#

but then theres like a 1000 chars quantifier

limber skiff
#

yeah but there is a trick

rugged spire
#

hm?

#

blobcatcozy small essay on regex magic time

limber skiff
#

UserProfileSections\.MUTUAL_GUILDS,text:{0,250}}\)\)}\)(?<=user:(\i),.+?(\i)\.push.+?)

#

keep full match with $&, user is $1, array is $2

#

this is too complicated to explain how it works rn

#

but basically matches the first part, then looks behind after doing it just to capture the variables

jagged cloak
charred monolithBOT
somber thorn
#

how many more people can approve this :3

spice python
#

me :3

solid roost
#

did I do it right

solid roost
#

Oh I did it I think

sterile oak
#

question, using a patch to wrap a hook to be able to use it is bad?

charred monolithBOT
rugged spire
sterile oak
# rugged spire what are you trying to do

remember the betterAutomod plugin? the way it gets the rules hasn't satisfied me nor it's ideal, I know exactly where the rules global hook but I haven't find an module or smth to get it so thinking to wrap it with a patch instead

still wasp
#

Gif stealer

#

Smh

sterile oak
#

I am using:
idk how to listen to changes with useAutomodRulesList

#

gtg

rugged spire
#

github UX so bad

rugged spire
limber skiff
#

why?

rugged spire
#

there is no user property assignment immediately before the array

limber skiff
#

it's a look behind

#

I told you it's a trick

rugged spire
#

well

#

i dont think the first part works

limber skiff
#

did you even test it

#

okay then fix the first part

rugged spire
#

I dumped the thing into regex101 blobcatcozy

limber skiff
#

I copied that from my phone and could have made a mistake

turbid hatch
#

remember \i is our made up thing

limber skiff
#

yeah

rugged spire
#

Yes I did

limber skiff
#

run canonicalizeMatch in the console

#

with the regex

#

then paste that in regex 101

#

also switch to ecmascript regex engine

rugged spire
#

I'm not stupid

limber skiff
#

okay then figure it out

#

I gave you the recipe

#

now cook

rugged spire
#

I fixed it

#

you

#

missed

#

1

#

. character

limber skiff
#

right

#

behind {0,250}

rugged spire
#

yes

limber skiff
#

send me a screenshot

rugged spire
limber skiff
#

I wanna see how far away the user captured is from the match

rugged spire
#

eh only almost 1k chars away

limber skiff
#

weird code

#

it's okay keep it like that

#

and by doing that method the regex is also super fast

rugged spire
#

ugh

#

ive just realised

#

you want me

#

to put a hook in a condition that never changes

limber skiff
#

I meann you originally had a single patch

#

I made it single again

rugged spire
#

it was not a single patch

limber skiff
#

if it doesn't work then it wouldn't work before either

rugged spire
#

i split it into 2 at one point then nuked something redundant

limber skiff
#

are those pushes always executed

#

or sometimes not

#

if they are you can put the hook in place

rugged spire
#

if they are the same it doesnt put them in

limber skiff
rugged spire
#

however user should never change

#

i want @austere talon's opinion

limber skiff
#

in that case there is nothing you can do

rugged spire
#

I can try it in the meantime :)

limber skiff
#

you need to keep the hook behind the predicates

#

however you can still make it a single patch

rugged spire
#

in that case idk if I can use your fast lookbehind thing

limber skiff
#

you can actually

#

but also it may not be worth the trouble

#

if you do it, it will work fine and be realiable, it's just a little more complicated to make

rugged spire
#

so what i'm getting from this is

charred monolithBOT
limber skiff
#

you can make a match -> lookbehind capture user, add match and hook, match rest -> lookbehind capture array, apply rest and your code that uses hook

rugged spire
#

try turning your 2 split patches into 1 again with quantifier just dont make a lookback quantifier at the start?

limber skiff
#

(...)(?<=user)(...)(?<=array)

$1hook($2)$3codethatusesarraywith$4

#

but at this point just keep it two patches with group

rugged spire
#

eh

#

i can try shoving it all together into 1 thing trolley

#

and see what is faster

limber skiff
#

the point of this trick is that the actual part that matches will be specific and fast (like matching .Messages) , and then the lookbehind allows you to capture what you need without making the initial match slow

#

because if you do normally you need to capture the variables then match what you need

#

and capturing the variables will most of the time attempt to match a lot of things

#

a user: is very generic for example

charred monolithBOT
charred monolithBOT
jagged reef
#

> Making a plugin
> Changes setting
> Presses save settings
> Checks in server, the setting saved
> Restarts
> Setting reverts to random value from 45 mins ago

turbid hatch
#

cloud maybe?

jagged reef
#

maybe

#

lemme turn that off rq

#

noipe

#

still broke

turbid hatch
#

unsure

jagged reef
#

yeah

#

turns out settings aren't being saved to the settings.json

#

grah

#

So fun

#

after restart

#

just gonna forcibly bye bye that field from settings to see if that works

#

huh?!?!

#

it's still there (the setting)

fair wolf
jagged reef
#

yes

#

like it's not being written to the settings json file

jagged reef
#

the only way it saves is if I edit any other plugin lmao

#

then it updates the json

Fixed the issue now lol

charred monolithBOT
charred monolithBOT
austere talon
rugged spire
#

Discord loves unloading

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
# charred monolith

it's not even semantics, it's that __proto__ is discouraged and deprecated

charred monolithBOT
turbid hatch
#

they're equivalent but object.create is the better version

#

since its more optimized

austere talon
#

๐Ÿ˜ญ __proto__ might not work everywhere

#

i mean in reality it does

#

but

turbid hatch
#

"equivalent" i.e. you get the same result

austere talon
#

badddd

turbid hatch
#

yes yes

#

ill defenestrate myself now

#

oh right i have to update the script

#

to support reading translation strings

#

๐Ÿ˜ญ

austere talon
#

its fine

#

i will do it

turbid hatch
#

okieee

median rapids
jagged reef
#

Yeah, not working

#
const defaultReasons = [
    i18n.Messages.BAN_REASON_OPTION_SPAM_ACCOUNT,
    i18n.Messages.BAN_REASON_OPTION_HACKED_ACCOUNT,
    i18n.Messages.BAN_REASON_OPTION_BREAKING_RULES
];
austere talon
#

because you cant use webpack modules on the top level, they are not loaded yet

jagged reef
#

I'm stupid today, sorry

#

Done!

odd heath
#

this looks so horrid

jagged reef
#

lmao

odd heath
#

i hope they dont push new profiles

median rapids
#

they are pushed lol

median rapids
#

which isnt a big issue

odd heath
median rapids
#

but the implementation shouldnt be that hard to change

#

to just dynamically show the locale strings if the settings value is empty

median rapids
odd heath
#

damn

jagged reef
#

oh wait I understand now

#

I don't want to do that bc someone might want to have no default options

median rapids
#

lile it used to be

#

imo that is more useful than what the plugin currently does

jagged reef
#

(whch shows the textbox)

rugged flume
#

Is there even anything that was emoved fom js except actually dangerous things?

jagged reef
median rapids
#

did you change the i18n stuff too

jagged reef
jagged reef
jagged reef
median rapids
#

yeah im saying dont store the default reasons cuz they might change

jagged reef
charred monolithBOT
jagged reef
#

or just remove that button maybe

#

done

median rapids
#

nice

jagged reef
median rapids
#

yea

jagged reef
#

alr

#

pushing

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fiery jungle
#

why lock just delete the spam @austere talon

rugged spire
#

insane

jagged cloak
#

lol

#

timedones will be a pr forever

median rapids
#

why lock just merge smh

charred monolithBOT
#

Hello, I'm unsure if this is working or not, if it is:
I would love to download it, however I'm not sure how :[ I have already done vencord dev tool but whatever I do doesn't work (that being cmd or putting into the folder as said from the vencord/docs/plugin and restarting it). But other folders have worked, they just need to be already within folders. Which I've put them into folders, still nothing, so I'm confused. (After already moving the plugin into the userplugins)

Unsure if it's a...

crude hearth
#

WHAT

#

WHY MY PR GOT LOCKED

charred monolithBOT
charred monolithBOT
#

@Z4ne4what are you doing pnpm build before restarting?

I am! And pnpm inject just in case, isn't working... :[ (tried both times, with and without doing pnpm inject)

I'll send what I have here:
image

The ones in green are the ones that are working, I was told that it could also work if I made a folder for it and then placed index tsx/whatever other plugin was in there. As told by the...

charred monolithBOT
charred monolithBOT
#
  • Wdym devtools?

    • Try cloning the repo instead of manually assigning files, and see if that works

    • The could not resolve suggests that those folders do not in fact contain an index.tsx

I'm probably saying it wrong bc I'm tired, and it's 4am. But it's used for third party plugins, enabling vencord into dev mode so it works, which is how I got timezones and fake profile. Apparently by some lucky miracle...

![image](https://github.com/Vendicated/Vencord/assets/1...

iron barn
#

Co

somber thorn
#

cobalt

desert cosmos
#

noticed that #2555 explodes your emoji picker search

  1. drag your favs
  2. search something random
  3. remove your search query (press backspace until the search is empty again)
desert cosmos
woeful sable
desert cosmos
#

wtf

woeful sable
#

it did crash once out of like 10+ times of me opening emoji picker

#

(on first enable of plugin)

#

haven't had it since

#

so there is still some case where it crashes, but its not constant

desert cosmos
#

now I cant reproduce it anymore either

charred monolithBOT
fair wolf
charred monolithBOT
fair wolf
#

Initial crash is generally here or could be here
With the error Error: Invalid hook call.

and search crash is Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.

austere talon
#

because you're using react wrong

fair wolf
#

I realized

#

reading the error

#

Again, per last time I fucked up this plugin
I still don't know react

#

but i fixed it already

shell shuttle
#

would native cuztom plugin support require the user to always do pnpm jnject every time

#

like

#

how would that hypothetically work

#

i want to concept an idea like that

#

except the concept would stay true to vencord

#

so like

#

"Enabling custom plugins is a very risky feature as people can put malicious plugins for people to download and we are not liable for the damages you receive by taking this risk. We will NOT give support for custom plugins either, talk to the plugin developer about it."

#

behind 7 different warning prompts lmao

granite sky
#

Isn't it just userplugins with extra steps?

shell shuttle
verbal pumice
#

wait nvm

#

i read wrong

granite sky
#

You need to build it anyway

shell shuttle
#

and i have like 3 different dev versions

verbal pumice
#

not a thing cause ven really like the current first party only model

#

everything just works

rancid dragon
#

build every time you launch vencord :3

granite sky
shell shuttle
#

dev builds only have support for it

shell shuttle
long stream
#

y not just open a terminal window

granite sky
verbal pumice
#

first up why switch branch

granite sky
verbal pumice
#

you know the userplugin folder exists right

shell shuttle
shell shuttle
granite sky
shell shuttle
granite sky
#

What's wrong with it

shell shuttle
#

idk

#

never done that before

#

is there a way to programmatically change branches

granite sky
#

child process trolley

charred monolithBOT
shell shuttle
#

me when i'm limited to web vsc

charred monolithBOT
fair wolf
charred monolithBOT
austere talon
#

i already added external plugin loading ages ago but decided against it

fair wolf
shell shuttle
#

what the

#

i cant run build

austere talon
#

owned

#

wait

#

why are u managing pnpm with pnpm itself lmao

#

either use their install script or manage it with npm or use corepack xd

shell shuttle
#

i used npm instead blehhhh

#

oh shit im a little lost on showing a modal

#

making it seems easy but acutally getting it to appear

fair wolf
shell shuttle
#

wtf is corepack

verbal pumice
#

the not shit way of using third party package managers

#

just corepack enable pnpm

fair wolf
#

it also makes it so per project package managers are easy

fair wolf
shell shuttle
#

what does this mean

#
// TODO: Create Modal and add stuff
function webhookMessageModal(props: ModalProps) {
    return <ModalRoot {...props} size={ModalSize.MEDIUM} className={"wm-send-webhook"} >
        <ModalContent className="wm-send-webhook-content">
            <Forms.FormTitle className={Margins.top20}>Send Webhook Message</Forms.FormTitle>
            <TextInput
                value={""}
                onChange={v => {

                }}
            />
        </ModalContent>
    </ModalRoot>;
}```
#
   openModal(props => <webhookMessageModal {...props} />);```
uneven needle
#

Capitalize the w in webhook

shell shuttle
#

WHY IS THAT A THING

#

HOW DID THAT FIX IT

#

WHAT

#

we are getting somewheres ๐Ÿ”ฅ

#

ok so i cant change the placeholder values wtf

#

Do you know if there's a checkbox for modals?

uneven needle
#

Ctrl shift f checkbox

odd heath
#

is there any function that returns mutual guild count from cache

#

oh there is i was just blind

shell shuttle
shell shuttle
uneven needle
woeful sable
austere talon
#

you want the forms module for most things

odd heath
#

can this be like that or should I add like a text somewhere that says what exactly it is

#

any text i put looked extremely ugly

#

so the only thing i can imagine is making it show when hovered or something but idk

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ResurrectHome (found no module):
ID: -
Match: GuildHomeFeedbackExperiment.definition.id

ResurrectHome (found no module):
ID: -
Match: 487e85_1

ResurrectHome (found no module):
ID: -
Match: 69386d_5

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

they killed it..

limber skiff
#

NO FUCKING WAY

median rapids
#

yeah :((

#

well

#

the endpoints are all active!!

#

we just need to remake the ui

austere talon
#

๐Ÿ˜ญ

#

insane

limber skiff
#

they probably did this because of us

median rapids
#

lmao

#

no way

austere talon
#

discord removing the old home but somehow still haven't removed the 2022 april fools joke

limber skiff
#

there is no way they didnt notice home suddenly being used

#

dang :(

#

this sucks

rugged spire
#

๐Ÿ˜ญ

median rapids
austere talon
#

they will dmca

median rapids
#

im gonna dmca you

#

does not dispense snacks

lapis cedar
#

im just puting everything into 1 thing i never said i made it ๐Ÿ’€

dusk blaze
lapis cedar
dusk blaze
# lapis cedar

okay thats your own issue, if you're pissed off delete review and block user

#

thats a little off topic tho so

nimble pendantBOT
lapis cedar
#

nvm

charred monolithBOT
glass jasper
charred monolithBOT
#

How do you isntall this in Vencord? I don't see it on the default list in the app

Until it is merged, you have to build and install it manually (linux-specific instructions):

  1. Uninject upstream Vencord with the installer.
  2. Download the fork (git clone https://github.com/camila314/Vencord-fork && cd Vencord-fork)
  3. Build the fork (pnpm run build)
  4. Inject the fork (sudo pnpm run inject and follow the menu)
jagged cloak
charred monolithBOT
jagged cloak
#

oh wow

#

i dont think anyone would have noticed that cause idk anyone that uses the notes

#

for me its a "whens this user's birthday" slot

#

this isnt how i would do it though

spark pivot
#

when did this happen

charred monolithBOT
jagged cloak
#

probably a repo setting changed cause of spam lol

#

free thinkers when approve button

spark pivot
#

the spam in question

jagged cloak
#

spam is subjective

spark pivot
#

it did get the pr locked

charred monolithBOT
#

I would keep the Discord notes system and this plugin tied together so there aren't two different places for notes

Basically just put the notes from the plugin in the normal Discord notes box, and add the notes to the plugin when you type in the normal notes box

yea, I thought about it and decided to do it that way cos I feel like the default notes box isn't really convenient due to it being so small

charred monolithBOT
charred monolithBOT
tulip radish
#

Are we any closer to figuring out the freezing of vencord?

austere talon
#

?

tulip radish
#

after a while of not interacting with Vencord Vencord just freezes

#

becomes entirely uninteractable and you either have to wait and hope it resolves itself or hard kill vencord and restart it

#

I swear I saw others talk about it, it's not just me is it?

austere talon
#

build latest master

#

should be fixed there

tulip radish
#

like the latest master

charred monolithBOT
#

Unfortunately due to the limitations of await fetch I'm not fully sure if I'm able to add advanced error checking / filtering. On my other iteration of the plugin I was able to use REST commands, but since Vencord doesn't support REST I don't think I can.

(example of the past code I had used)
` const res = await REST.delete(webhookUrl);
console.log("[WebhookManager] Webhook deletion response: " + JSON.stringify(res));
if (res.ok == true) {
sen...

shell shuttle
#

wtf

#

github just bumped so many review responses

austere talon
#

what?

#

discord blocks requests to webhooks from discord domains so that's likely why RestAPI is not working

#

but you can still check errors

charred monolithBOT
desert cosmos
# charred monolith

what if discord gonna change this again in the future, wouldnt this plugin be useless in that case

#

after all the favourites thingy is an experiment

charred monolithBOT
nimble plaza
desert cosmos
#

isStaff is enabled by default now iirc

nimble plaza
#

i thought we killed it because it was breaking stuff

dapper crest
nimble plaza
austere talon
desert cosmos
nimble plaza
#

isstaff yeah

dapper crest
#

isStaff has to be true in that context I guess because the patch works without me forcing isStaff to true

austere talon
#

no it doesnt

#

else you wouldnt need the plugin

dapper crest
#

oh I am dumb

#

true

charred monolithBOT
nimble plaza
#

@austere talon whenever u do a commit soon can u slip in renaming me to lillith <3 instead of luna <3

austere talon
#

oki

nimble plaza
#

tysmm

#

<@&1237381028662874123>ending.machine what if we add extension.ts that gets added to extensions

austere talon
#

fear

#

what for

nimble plaza
#

certian cors things

#

plus we could watchtogetheradblock web

austere talon
nimble plaza
#

thats

#

true

#

nvm

austere talon
#

xd

austere talon
#

so i decided to debug why this still happened

#

guild.joinedAt is undefined

#

that's whats leading to it

#

its smth to do with invites

#

oh literally when you view an invite

#

like

#

oh wait no

#

im dum

#

something with editedTimestamp

#

so ML afterall?

#

something with edits for links

somber thorn
#

oh god โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹

#

since when can whitenames post here???

glass jasper
somber thorn
#

@ everyone has send messages unset instead of denied

verbal pumice
fair wolf
glass jasper
fair wolf
somber thorn
#

ยฏ_(ใƒ„)_/ยฏ

fair wolf
spark pivot
odd heath
austere talon
somber thorn
#

I just switched to #๐Ÿค–-bot-commands, didn't even send anything and it's the same error ||okay Imma shut up now||

limber skiff
#

proxy for objects?

charred monolithBOT
somber thorn
#

husk is it that minecraft server ad

somber thorn
#

it wasn't actually but ยฏ_(ใƒ„)_/ยฏ too lazy to track it down

austere talon
#

it just monkey patches Date

#

to log the input whenever a date is invalid

limber skiff
#

yeye i was just curious on what it did haha

#

i see

austere talon
#
globalThis.Date = new Proxy(Date, {
    construct(...args) {
        const res = Reflect.construct(...args);
        if (isNaN(res.getTime()))
            new Logger("Timestamp bug").error(new Error("Invalid Date"), args);
        return res;
    }
});
limber skiff
#

smart

#

feels bad for home

#

obviously it's possible to re-implement but holy shit that's a lot of work

#

and they probably removed all the ui for it

charred monolithBOT
long stream
#

the food recipe one

#

since thats edited in the same way afaik

charred monolithBOT
#

c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN

somber thorn
#

o7 (never used it)

limber skiff
#

I didn't use much either but I had it enabled

#

it was cool regardless

#

(I honestly forgot about it most of the time)

charred monolithBOT
somber thorn
charred monolithBOT
turbid hatch
#

@austere talon i've very crudely done it for now

#

it parses the $t call expression and loads it from the correct bundle

#

xd

austere talon
#

$t is such a weird name