#πŸ‘Ύ-core-development

1 messages Β· Page 197 of 1

tulip radish
#

people don't read.
better would be if you forced them to write "I read and checked the known issues"

limber skiff
#

that too haha

#

but what I said still applies

tulip radish
#

or hide some key for them to copy in the channel that's unique every time

austere talon
#

it's equivalent to LazyComponent(() => findByProps("banana").banana)

limber skiff
#

rendering () => null just does nothing

#

trying to render undefined makes it error

#

which is another reason the wrapper component is better

rugged spire
# tulip radish people don't read. better would be if you forced them to write "I read and check...

You will go and read in #πŸ—³-plugin-requests and your eyes will gravitate to someone saying "was i not meant to click the retard option?" and realise they will blindly do it without understanding what it means

GitHub

Plugin Description the ability to add and change server banners, to venchord users without the need to boost the server? is that even possible? :) just purely for smaller channels of people who lik...

#

oh yeah i got a dm about my channeltabs fork being busted again

#

is burnout from making client mods normal @austere talon@limber skiff

limber skiff
#

yes it is

charred monolithBOT
rugged spire
#

born to add a message into a first time run modal telling people to fuck off stop complaining forced to write a polite message instead

limber skiff
#

I love what you did here vee

rugged spire
#

i love and hate this

austere talon
#

do you have any better idea how to do it 😭

#

i wanted to follow the spirit of the new profiles

#

keep it minimal

#

putting that entire permissions block into the main profile would have ruined it

limber skiff
#

yep that's what we should keep doing

rugged spire
#

the love is smart place to put it
the hate is how much stuff there is combined with how it's just flexy

limber skiff
#

I need better ideas to rename findByProps

#

if nothing good comes out it's staying as is

rugged spire
#

Put a tab in the full UI as well

#

also

woeful sleet
#

Does it really need to be there at all? Does the full profile not show all roles?

rugged spire
#

like how the permissions are grouped in the official UIs

limber skiff
#

I tried my best, I dont know how to make this more clear without emitting information

charred monolithBOT
limber skiff
#

we only have like 6 top level destructuring

#

maybe I can do some magic to still allow mapMangledModule for it

rugged spire
#

trol my old branch doesnt even work

#

at all

prime dew
#

As if you simply fully opened someone's profile

#

But instead of details such as bio and connected accounts, woah, perms

charred monolithBOT
limber skiff
#

I should allow it for mapMangledModule but I need to change the approach I took so will do it another time

rugged spire
# limber skiff

@austere talon now that i have actually tried this, would it be possible to make the background for this the same as the profile itself?

#

erm not really what I meant but ok

charred monolithBOT
rugged spire
#

if it isnt possible, can the background be given more contrast

#

blends in with the regular discord background behind it

frail skyBOT
#
Bad Patches

UserVoiceShow (had no effect):
ID: 192133
Match: ```
/applicationId:\i.id}),(?=.{0,50}setNote:\i)/

Bad Webpack Finds
findComponentByCode("isTryItOutFlow:", "pendingThemeColors:", "avatarDecorationOverride:", ".CUSTOM_STATUS")
Bad Starts

None

Discord Errors

None

#
Bad Patches

UserVoiceShow (had no effect):
ID: 192133
Match: ```
/applicationId:\i.id}),(?=.{0,50}setNote:\i)/

Bad Webpack Finds
findComponentByCode("isTryItOutFlow:", "pendingThemeColors:", "avatarDecorationOverride:", ".CUSTOM_STATUS")
Bad Starts

None

Discord Errors

None

rugged spire
#

old profiles are Gone

limber skiff
#

I dont know what the old find is supposed to be :)

rugged spire
#

Just nuke the code from existence

limber skiff
#

I mean the webpack find

rugged spire
#

oh

#

uh

#

FakeProfileThemes

#

its used to render a "ProfileModal"

charred monolithBOT
limber skiff
#

image keeps breaking :(

charred monolithBOT
limber skiff
#

this is more smart lol

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
lofty helm
#

did you do some arcane magic where it thinks it is a bot profile?

lost smelt
lofty helm
#

huh

#

can i have

lost smelt
charred monolithBOT
desert cosmos
#

am i stupid or arent usernames always lowercase

austere talon
#

should be

#

ig bot usernames

fallen vale
austere talon
#

@limber skiff 😭

fallen vale
#

πŸ’€

charred monolithBOT
fallen vale
charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.9.2
hexed star
jolly egret
charred monolithBOT
silk cypress
#

great plugin ngl

charred monolithBOT
limber skiff
austere talon
#

nuckyz casually breaking enabled by default feature πŸ˜”

limber skiff
#

how did we not notice this before lmao

austere talon
#

well it only broke when you added that IS_REPORTER which was fairly recent

#

3 weeks ago

fair wolf
#

I want no blocked users to get merged already /silly 😭

austere talon
fair wolf
charred monolithBOT
fallen vale
#

@hard rune

charred monolithBOT
charred monolithBOT
#
rugged spire
#

yea

charred monolithBOT
silk cypress
#

the owner is a deleted user πŸ’€

fallen vale
#

this is the stupidest thing ive ever seen

charred monolithBOT
fallen vale
silk cypress
#

wonder why it got termed huh

fallen vale
#

real head scratcher that one

silk cypress
#

so true

silk cypress
#

hey so I have a plugin that leaves new group chats automatically, and I know this probably is API abuse and probably won't get merged into the main vencord repo (although I could do some things like add a small delay of 2-3 seconds before leaving to decrease the risk maybe) but what's the policy about what is accepted into #1032200195582197831 and how can I submit a third party plugin? I don't see any info on how to get a plugin in there

#

(or if this is somehow not sufficiently API abuse, maybe it can get merged into main vencord lol, but I doubt it)

prime dew
#

Looks like selfbot behaviour tbh

#

And I think there was a plugin request for it that got closed for that reason

fallen vale
#

it 100% is a selfbot

silk cypress
austere talon
#

and don't add people you don't know well

fallen vale
#

^

silk cypress
#

that's another option lol

#

was a fun exercise anyway even if it's not useful

#

there's one guy who somehow adds me to group chats despite having him blocked but whatever lol idc much

fallen vale
#

that is literally not possible.

silk cypress
#

that's what I thought too, idk what's going on

#

maybe I developed schizophrenia a year ago

#

that's besides the point though

austere talon
#

the lines i commented on

fallen vale
#

lol

austere talon
#

i don't think that does what you expect

jagged reef
austere talon
#

well it works but

#

it's weird

#

a bit misleading

#

just do /\[\{name:\i\.\i\.Messages\.BAN_REASON_OPTION_SPAM_ACCOUNT.+?\}\]/

jagged reef
#

doesn't work

austere talon
#

use patch helper if you want a visualiser

jagged reef
austere talon
#

because you need a dev build to get it

#

pnpm watch not pnpm build

jagged reef
#

yeah I am

#

it's working now

austere talon
#

then it would show up

jagged reef
#

how would I go about doing the second regex?

austere talon
#

not lik that

#

ur match needs to be specific enough so if they add smth similar it wont match that

#

useState(0) is WAAAAAYYY too generic

#

as is matching any array

jagged reef
#

ok, but like it's in (at least to me) a really bad place to get a good match

#

I could maybe try to patch the switches instead?

austere talon
#

for example /useState\(0\)(?=.{0,100}targetUserId:)/

jagged reef
#

ok, so just make sure we're between some points?

jagged reef
# austere talon ^

How does /(?!.{0,100}canBulkBan:)useState\(0\)(?=.{0,100}targetUserId:)/ look?

austere talon
#

that negative lookahead at the start makes little sense

austere talon
jagged reef
#

ok

#

pushed

#

tysm, I'm so sorry that I'm so garbage at regexes

fallen vale
#

(shut up nerds)

vague ridge
#

regex is the type of tool u never learn, u just search it up when u need πŸ˜‚

#

even if u learn, youll forget it after a few weeks of not using it. unless ofc if u use it on daily basis

jagged reef
#

the replace was wrong 😭 (fixed now)

fallen vale
fossil inlet
fallen vale
#

πŸ€“ 🚨

vague ridge
#

u got too much time on your hand mate

crude hearth
#

writing regex is not so hard tbh

#

but debugging later when patch breaks dread

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
#

cooked

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

oops broke it

charred monolithBOT
#
[Vendicated/Vencord] branch deleted: main-world-extension
crude hearth
#

one day nuckyz will delete main branch

limber skiff
#

won't happen

#

I deleted that in purpose

crude hearth
#

why not

charred monolithBOT
crude hearth
#

why

shy veldt
#

why

somber thorn
#

why ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

fallen vale
#

why

nimble plaza
#

why

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
icy quest
charred monolithBOT
median rapids
#

why would the comparison be case insentitive

austere talon
#

cause if your username is dolfies and your display name is Dolfies, it's pointless to show both

median rapids
#

i disagree

#

that's a difference

charred monolithBOT
icy quest
#

arent all usernames lowercase?

austere talon
#

non pomelo

fallen vale
#

look at what "username" is defined as jesus

icy quest
#

ah i see

#

myb i didnt see the displaynames option

#

thats why its giving bad results

fallen vale
icy quest
#

wym

opaque silo
#

Shouldn't message requests be included in Vencord.Webpack.Common.RelationshipStore.getPendingCount();

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

@austere talon WREQ.O IS GONE

#

they are chunking css hardly now

#

and the webpack entry point file is fucking huge

#

the sentry webpack has a billion pre populated modules too

long stream
#

oh i can't embed that message at all

#

sob

limber skiff
#

okay let me see what I need to do

spark pivot
#

wtf is this regex

limber skiff
#

I can cook a quick fix

charred monolithBOT
limber skiff
#

fucking sentry webpack doesnt have .m

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenThings (had no effect):
ID: 231338
Match: ```
/?["pepe",.+?]/


**__NoTrack (found no module):__**
ID: `-`
Match: ```
window.DiscordSentry=
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

unpatchable cool

charred monolithBOT
limber skiff
#

thank you github

#

oh my god I can't commit because this workflow is still running

charred monolithBOT
long stream
# charred monolith

wait i thought discord already disabled sentry if it detected a client mod?

limber skiff
#

they ignore errors of some client mods

#

however not by vencord

long stream
#

o they just ignore errors

#

ic

limber skiff
#

probably because we already disable sentry so they didnt add us to ignore list

charred monolithBOT
long stream
#

will there ever be a single day where dev didn't get force-pushed

limber skiff
#

I had to.

long stream
#

xd

limber skiff
#

I couldnt push to main cuz a test never ended

charred monolithBOT
limber skiff
#

okay now I can work with calm

long stream
#

im kidding btw 😭 i didnt mean to judge you for it or anything

limber skiff
#

no need to rush anything anymore

shell shuttle
#

AAAH

#

SENTRY'

limber skiff
#

I'm genuinely surprised

#

I never thought wreq.O would not be a thing anymore

glass jasper
limber skiff
#

okay so this is very interesting

#

I'm guessing sentry is now a complete separate thing which includes a copy of everything it needs to function

#

it has absolutely no logic for webpack chunk loading

#

and everything it probably needs is already placed inside it's webpack instance

#

that's just a guess though

#

which raises the question, do we need webpack patching on those

limber skiff
#

I am checking the modules that only exist in the sentry webpack, and they are all sentry related

#

the rest are just copies which are only used internally by it

long stream
# charred monolith

hey nookie, did you know that you have incomplete url substring sanitization? blobcatcozy

spark pivot
charred monolithBOT
limber skiff
#

okay everything is fixed now

charred monolithBOT
frail skyBOT
#
Bad Patches

None

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

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

@austere talon do you know if this is enough to stop the sentry?

#

or we need to fully avoid calling the init function of it

limber skiff
limber skiff
#

I'm still debating how to handle this, if you have any idea vee lmk

austere talon
#

wtf happened

#

guhhh i alr bumped extension so we can't release new one yet

limber skiff
#

wreq.O is gone, initial scripts needed are all together inside the pre populated modules now

#

sentry is complicated independent and has a copy of every modules it needs, along with it's own scripts

#

but by being independent it's webpack instance no longer exports wreq.m

shy veldt
#

cute

limber skiff
#

and the initialization of it is placed inside of the webpack script instead of being inside a module

charred monolithBOT
limber skiff
#

everything is working fine already

#

the only issue is the sentry

charred monolithBOT
austere talon
#

is the anti sentry working?

charred monolithBOT
austere talon
#

@limber skiff is there still any changes needed or is this fine for now

rugged spire
# charred monolith

@sterile oak stupid question but considering you are doing stuff related to markdown rendering, how do I render markdown explicitly including header tags in the format the whats new modal uses (paragraphs, 2nd arg is false in the render function)\

#

also at the same time, how do I hack single new lines into the paragraph rendering mode

sterile oak
rugged spire
#

Parser.parse is FUCKING USELESS for anything useful

rugged spire
sterile oak
rugged spire
#

tl;dr: how do I use the built-in markdown parser to render headers and links

sterile oak
#

that what I understood

rugged spire
#

yes

#

also do you know what the state (3rd) argument is even used for

sterile oak
# rugged spire yes

lemme see how Parser.parse works, does it uses the discord markdown rules or is everything hardcoded?

rugged spire
#

well

sterile oak
rugged spire
#

more specifically

#

how do I render just like a message would render

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

google will love immediate next update

fallen vale
austere talon
fallen vale
#

ahhh

#

if its a fix for canary and ptb, do you really need to push it to the web version?

austere talon
#

yes???? because it will eventually be pushed to stable

fallen vale
#

eventually
so do it then?
idk, your project, up ta you. im just pointing it out

sterile oak
# rugged spire how do I render just like a message would render

this looks like your answer, you use Parser.parse as its probably what the message component uses. the problem is it would uses all the message rules and can't be limited for two rules, so you should find a way to create your own set of rules.

what you can do is emulate the markdown parser

    while (index < message.length) {
        const char = message[index];
        if (parser.requiredFirstCharacters.includes(char)) {
            const l = message.slice(index);
            const matched = parser.match(l);
            if (matched) {
                console.log(matched[0]);
                index = index + (matched[0].length);
            }
        }
        index++;
    }

how the rule parse works idk, but what I saw that its mapping all the possible rules by checking char by char, than use the match method to see which rule matchs and based on order but that would be the worst option to create the parser from scratch

for (var i = new Map, a = [], o = 0; o < r.length; o++) {
    var s = r[o]
      , u = e[s].requiredFirstCharacters;
    null == u ? a.push(s) : u.map(e=>{
        let t = e.charCodeAt(0);
        !i.has(t) && i.set(t, []),
        i.get(t).push(s)
    }
    )
}

or the solution I found now (gimme a sec)

austere talon
#

google takes days to approve the update

fallen vale
#

that i didnt know

austere talon
#

and we should fix things ahead of time to minimise people affected

sterile oak
# rugged spire uses the markdown rules

those functions are responsible to create ast parser and react parser, what you looking for is probably the react perser. it takes one argument which is the rules, you can look for examples from the prs that patchs the rules (or the Minecraft format codes plugin), or from the library discord uses simple-markdown

#

@rugged spire
here a guess of how its being used


const COOKIE_RULES = {
    Cookie: {
        order: 25,
        requiredFirstCharacters: ["C"],
        match(source, state, prev) {
            return /^COOKIE/i.exec(source);
        },
        parse(capture, nastedParse, state) {
            return {
                content: capture[0]
            };
        },
        react(node: { content: string; }, recurseOutput, state) {
            return <div className="vc-cookie-rule">{node.content}</div>;
        }
    }
};
const parsers = findByProps("reactParserFor");
const myReactParser = parsers.reactParserFor(COOKIE_RULES);

function CookieRule({ content }: { content: string; }) {
    return <div className="vc-cookie-rule">{myReactParser(content)}</div>;
}

we should probably move this somewhere else.. this is feels too much to document in #πŸ‘Ύ-core-development

#

so that how you would make your own rules or limit your component to use a set of rules

limber skiff
#

the rest is okay so a release shouldn't hurt

granite sky
# sterile oak <@259558259491340288> here a guess of how its being used ```tsx const COOKIE_R...

match by non-special character will often result in weird behavior when it doesn't matches at all if chunk doesn't start with this character. Which is caused of text rule, so it requires some changes as well to work properly. Cookies are tasty will work, but are cookies tasty? will not by default.... at least it was for my case

Also requiredFirstCharacters seems to be able to handle multiple characters, so it's possible to just make requiredFirstCharacters: ["cookie"] if you require specific case

rugged spire
#

my brain is a bit cat_explosion right now

#

i'm busy building something else anyways (fun game, guess what I'm building based on the screenshot)

sterile oak
sterile oak
rugged spire
#

Nope

#

The markdown stuff is for something else (more specifically, a way to inform people my code exploded)

#

Hint: this component is what I'm looking at

sterile oak
#

I am squeezing my brain hard

rugged spire
#

ok fine

#

I'm re-adding the notes box to the popout

sterile oak
#

ohh, yeah better than opening a popup

rugged spire
#

@uneven needle btw, thanks for fixing ShowConnections so I can easily hook in there ❀️

uneven needle
#

Yeah πŸ‘

#

Actually the current patch isnt even mine lol

rugged spire
#

insane

#

blame git for saying you did this

charred monolithBOT
charred monolithBOT
charred monolithBOT
verbal pumice
austere talon
#

horror

rugged spire
#

can you fuck off honestly

charred monolithBOT
rugged spire
#

wtf

#

5 month old PR

fossil inlet
#

How do people not see that it's creepy

glass jasper
#

So once a PR closed, it should be locked so you don’t have people like this reviving them

rugged spire
#

closed PRs having comments could be useful

#

unlike plugin requests

glass jasper
rugged spire
#

manually

median rapids
#

if you think it's creepy get discord to fix it (they won't)

#

how is this different from being invisible

austere talon
rugged spire
#

I used to think server deafening a bot would work Trollged

austere talon
#

yeah lol there are a bunch of music bots that deafen themselves "for privacy"

#

/were

median rapids
#

but it's a client-side indicator so no not really

austere talon
#

any normal discord user thinks if you're deafened you can't hear them

#

that's how it should work

#

if discord wasn't insane

charred monolithBOT
median rapids
charred monolithBOT
charred monolithBOT
hexed blade
#

РусскиС Π΅ΡΡ‚ΡŒ?

#

О ΠœΠ°Ρ€ΠΈΡ Ρ‡Π΅ это Ρ‚Π°ΠΊΠΎΠ΅

#

Блава России

spark pivot
#

??

charred monolithBOT
fallen vale
hollow epoch
spark pivot
#

yeah i could tell

weary cave
#

@austere talon have you had a chance to look at that PR? do you want changes made?

fallen vale
weary cave
#

i check peoples profiels too

#

i havent talked to root in a while

fallen vale
#

im talkin to them right now lol

weary cave
#

tell them aspy says hi

fallen vale
#

will do

weary cave
#

:3

austere talon
#

i'll look soon

weary cave
#

yup

#

take ur time

austere talon
#

ive been really sick for the past few weeks

#

it sucks ass

#

i had a bad cold

then i recovered. and literally the next day it came back???? this time with a fever too

weary cave
#

dont put too much effort into vencord when you aren't feeling well

#

theres always time for it later

rugged spire
fallen vale
weary cave
#

root

#

ooops

#

wrong reply

sweet karma
weary cave
#

will do :3

sweet karma
#

q:

rugged spire
sweet karma
#

how you been?

weary cave
#

we should take this to dms or general

limber skiff
#

electron devtools keep freezing when debugging

#

cool

#

hmmm

nimble plaza
#

@turbid hatch what happened to wailsinstaller ?

nimble plaza
#

I havent seen u in ages

sweet karma
#

gods, it has been a while

turbid hatch
nimble plaza
#

aw oki

charred monolithBOT
frail skyBOT
#
Bad Patches

ReviewDB (had no effect):
ID: 103113
Match: ```
/(?<=.BITE_SIZE,children:[)(0,\i.jsx)(\i.\i,{user:(\i),/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ReviewDB (had no effect):
ID: 103113
Match: ```
/(?<=.BITE_SIZE,children:[)(0,\i.jsx)(\i.\i,{user:(\i),/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

guhhh

#

reviewdb explosion

#

already

limber skiff
#

yep

#

dupe find only

charred monolithBOT
limber skiff
#

here we go again

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
nimble plaza
#

look mom, im on tv!

charred monolithBOT
silk cypress
#

and instead your raw username in block capitals lol

#

btw @nimble plaza thanks, this is the plugin I always knew I needed but the muscle memory made me always forget that I needed it

nimble plaza
#

ofc :D

charred monolithBOT
rugged spire
charred monolithBOT
charred monolithBOT
pine topaz
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

spark pivot
charred monolithBOT
charred monolithBOT
still wasp
#

What's the polar opposite of eyegasm

stark flint
#

Eyeneurysm

charred monolithBOT
still wasp
limber skiff
#

react devtools:
c, d, m, n, o, p, r, s (entry point), t

shiki:
c, d, m, n, o, p, r, s (entry point), t

discord workers:
d, e, f, g, m, n, o, p, u, x (entry point), O (onChunksLoaded)
entry point not exported, includes chunk loading functionality

sentry:
d, g, hmd, n, nmd, o, r
entry point not exported, no chunk loading functionality

discord main:
a, b, c, d, e, f, g, hmd, j, k, l, m, n, nmd, o, p, r, t, u, v
entry point not exported, includes chunk loading functionality

#

(ignore this)

charred monolithBOT
limber skiff
#

did I ask

charred monolithBOT
charred monolithBOT
swift fjord
#

nuckyz you should sleep

glass jasper
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

I'm finished blobcatcozy

limber skiff
#

yall wanna see a funny

#

sentry disabled in the discord developer docs

#

it requires a different patch but it works

austere talon
charred monolithBOT
charred monolithBOT
limber skiff
verbal pumice
limber skiff
#

people

#

we did it

#

πŸ₯³πŸ₯³

hexed star
#

I remembered a time when I used bd, it was hell.. a steady 10+ crashes every day

hexed star
#

I'm so happy that saw vencord in some video

#

can get crash only while creating plugins

limber skiff
#

@austere talon I think we need to change the min chrome version in the manifest

#

idk what that does but it should be useful

austere talon
#

ye

#

i alr did

#

just haven't pushed

limber skiff
#

okay okay nice

#

can we specify min firefox version too?

austere talon
#

yes

#

also did that :p

limber skiff
#

lmao

#

thank you

#

god so many people using stuff too old for this new api

#

maybe we should use the other hack I found?

austere talon
#

nah

#

don't bother supporting windows 7

#

it's dead

#

people should upgrade

verbal pumice
#

millions must upgrade

limber skiff
#

not even discord supports it lol

verbal pumice
#

how can a computer that cant run w10 even handle discord

#

most optimised app ever

glass jasper
#

shoot I use ReactOS for my server unit and i don’t even think Win7 is a good thing to use

charred monolithBOT
austere talon
#

idk if i like that sentry commit

#

sync xhr

#

well it gets from cache

#

but also that error is ugly 😭

#

so bad

woeful sable
#

πŸ”₯

sterile oak
charred monolithBOT
sterile oak
#

i have notice a problem on my naming convention, keenelge suggested to name Rules to MarkDownRules and MarkDownRules to MarkDownRulesType. is there any third opinions before I apply?

austere talon
#

SHOWCONNECTIONS HORROR

long stream
charred monolithBOT
uneven needle
austere talon
#

wrong word

#

it's over

uneven needle
#

joever

limber skiff
#

and the sync is too make 100% we dont target the wrong thing

long stream
limber skiff
#

lol

charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

Whenever I enable ShowHiddenChannels plugin, I can't move categories above other categories in my server and I also can't move categories blow or above certain channels or move those channels below or above the category. There's always conflicts.

What is the expected behaviour?

The expected behavior is that I can freely move channels and categories in my own server.

How do you recreate this bug or c...

charred monolithBOT
austere talon
#

could u bring this back as a proper pr?

charred monolithBOT
austere talon
#

finally fixed these being misaligned / uneven height

austere talon
limber skiff
#

but it's the best

#

just ignore it

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

it's way easier than monkey patching every part of the sentry manually

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

and more reliable

charred monolithBOT
fiery jungle
charred monolithBOT
rugged spire
jagged reef
#

How do I patch a lazy loaded module?

austere talon
#

it doesnt matter

jagged reef
austere talon
#

patches have no idea whether a module is lazy loaded or not

#

they get applied whenever the module is loaded

#

whether that's instantly or lazily

jagged reef
#

bc patch helper says it should work

#

but it isn't

#
{
    find: ".CUSTOM_STATUS_MODAL_BODY",
    replacement: {
        match: /(?<=\.renderStatusInput().{0,100})]/,
        replace: ",$self.renderCustomStatusPicker()]",
    },
}```
austere talon
#

well check errors

jagged reef
austere talon
#

not possible

jagged reef
austere talon
#

there are three cases:

  • it applies successfully
  • it fails to apply
  • it doesn't find module
jagged reef
austere talon
#

did you enable ur plugin..

jagged reef
#

holy shit

#

I'm an idiot

#

I'm so used to them always being enabled

#

W

charred monolithBOT
#
[Vendicated/Vencord] New branch created: console-janitor
limber skiff
austere talon
#

horror

still wasp
#

Notosans-400 will no longer torment me

rugged spire
#

@limber skiff can this be its own toggleable option

limber skiff
#

maybe yeah

rugged spire
#

i have found Routing/Utils stuff useful in the past

austere talon
#

yeah

#

it's not bad

#

but usually it should shut up

rugged spire
#

usually

limber skiff
#

should we make the gateway logger shut up too

#

I feel like no for that one

austere talon
#

tbh the main annoyance is shit u cant stop

#

fucking chromium itself

limber skiff
#

yeah

austere talon
#

uuuuuaaaaaaahhh we hit a 404 πŸ₯Ί

limber skiff
austere talon
#

and this fucking shit from react devtools

#

i think third party cookies might be blocked. not sure though

limber skiff
#

I think its not actually from react devtools

austere talon
#

oh

#

it hooks console or smth

limber skiff
#

it just messes up the log location

austere talon
#

insane

austere talon
#

my hatred

limber skiff
#

horror

austere talon
#

😭

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

omg rightt there's the super noisy logger when you are in voice chats

#

so many

rugged spire
#

what a horrible unsearchable setting name

#

thanks microshit

charred monolithBOT
limber skiff
#

if only the patch could simply be not added if it's false

#

we need to make settings available sync

rugged spire
rugged spire
charred monolithBOT
limber skiff
#

we need to make that possible it opens more possibilities

rugged spire
#

i still don't understand

#

give example

limber skiff
#

you cant do this

rugged spire
#

OH

limber skiff
#

it's even another problem in this case lol

still wasp
rugged spire
#

how are you thinking of solving this

#

explicitly define the plugin name in the definePluginSettings call?

limber skiff
#

this doesnt work either

limber skiff
still wasp
#

We need to undefined

austere talon
#

but no defaults

#

not possible

limber skiff
#

why?

austere talon
#

circular dependency

limber skiff
#

always that shit

austere talon
#

anyway you should be able to call the predicate inside the function that initialises patches

#

aka pushes them to array

#

it should be ready there

limber skiff
#

hmm I should be able to do something then

austere talon
# austere talon circular dependency

Settings api requires your plugin to be initialised to be able to read its options/settings property to resolve default values

if you use a setting inside your plugin file it has not been initialised yet

#

it's impossible to solve

#

unless we require plugins to export their settings from src/plugin/name/settings.ts

rugged spire
limber skiff
#

nice we can just do this

#

wrong logic there but shh

charred monolithBOT
rugged spire
# austere talon ?

How are you expecting to get the saved settings if you don't know what plugin they're for

charred monolithBOT
rugged spire
limber skiff
#

good catch vee

#

this works way better now

rugged spire
#

i do make sense I am just wording it badly

still wasp
austere talon
#

ahahahhaa
meanwhile vencord

rugged spire
#

bd hotpatching hollow

charred monolithBOT
#

why dont we combine all this stuff into 1 plugin?

what do you mean?

theres some other things people have written to improve the simplified profiles, i feel like they should all be in one plugin, and have settings to toggle them on/off

at this point I have no idea. I saw @sunnniee made a BetterBios plugin for simplified profiles, then I see @Vendicated posting about @Luna-devv's ShowAllRoles plugin (which does something similar to @sunnniee's BetterBios plugin)

rugged spire
#

trol

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

cerulean helm
charred monolithBOT
jagged cloak
#

very wordy description half of that u can put in about component or something

austere talon
#

nope

#

about component is deprecated

#

use readme

jagged reef
charred monolithBOT
rugged spire
#

0% of end users will read the readme

austere talon
#

because it is currently not accessible

#

which will be fixed

sterile oak
#

If you have any ideas on how to improve Vencord itself, or want to propose a new plugin API, feel free to open a feature request so we can discuss.

I already created two APIs, should I open a feature request?

charred monolithBOT
median rapids
limber skiff
elfin basalt
#

on KDE Plasma, when I click "Open Settings Directory", it highlights the folder on Dolphin instead of opening directly inside it

charred monolithBOT
rugged spire
#

what

charred monolithBOT
charred monolithBOT
loud lotus
#

Github is currently throwing 422s at me when trying to reply, so I will just send my final response here:

From past experience, some projects just occasionally raise minimum versions to stay mostly up-to-date, i was just curious if that was the case here, because it currently prevents me from using this on stable Firefox. Thanks for the answer, I will find a workaround for this for the time being.

tropic wagon
#

@ vee @ vee please release vesktop build pleadey

#

i be needing that new screenshare improvements

#

and more

#

please a tasty rpm build

charred monolithBOT
verbal pumice
#

waiter!! waiter!! one vesktop please

charred monolithBOT
charred monolithBOT
blazing dome
#

ven, is it possible to turn this mode on for all vesktop installs on linux in electron?

elfin basalt
#

very simple suggestion for Vencord: when there are new plugins (or updates to existing ones), show "NEW" in RED in the user settings next to "Plugins" in the same way Discord does for new settings

grave mangoBOT
# rugged spire Technically yes. The flatpak does it for you however https://github.com/flathub/...

startvesktop:

#!/usr/bin/env bash

export TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-dev.vencord.Vesktop}"

declare -a FLAGS=(--ozone-platform-hint=auto)

if [[ $XDG_SESSION_TYPE == "wayland" ]] && [[ -c /dev/nvidia0 ]]
then
    echo "Using NVIDIA on Wayland, disabling gpu sandbox"
    FLAGS+=(--disable-gpu-sandbox)
fi

echo "Passing the following arguments to Electron:" "${FLAGS[@]}"
zypak-wrapper /app/bin/vesktop/vesktop.bin "${FLAGS[@]}" "$@"

charred monolithBOT
spice python
#

my guy I didnt even press send

quick merlin
#

That was you ?

spice python
#

how does deleting a draft log it

#

yes

#

stupid webhook

quick merlin
#

What did you mean by unnecessary logs

spice python
#

line 29

#

line 70

#

line 60

quick merlin
#

Oh I see what you mean now

#

Why did my internet just come back

#

Weird

spice python
#

anyways this isn't getting merged anyway

quick merlin
spice python
#

exactly

quick merlin
#

Im aware its some crap in the CONTRIBUTING about "no raw DOM"

spice python
#

that too

charred monolithBOT
desert cosmos
desert cosmos
charred monolithBOT
fallen vale
charred monolithBOT
spice python
charred monolithBOT
charred monolithBOT
#

Discord Account

wgrav @wgrav

What happens when the bug or crash occurs?

When decrypting a message, the modal to enter the password works but just shows the "Made with ❀️ by c0dine and Sammy!" embed without the decrypted message.

What is the expected behaviour?

InvisibleChat shows the decrypted message alongside the embed.

How do you recreate this bug or crash?

  1. Enable InvisibleChat (In this scenario I used Vesktop but my friend confirmed it wasn't working on the Windo...
charred monolithBOT
#

When installing Vencord a pop up shows saying it was successfully patched.

However it says in first line "If discord is still open, fully close it first" and this is a bit confusing and I actually thought the pop up was error.

While you could say this is my fault, my friend who installed before me and did not tell me anything about this pop up told me the same thing happened to him after I installed

I think it's important to have a good UX.

This PR will add option for color in ...

verbal pumice
#

lgtm

fossil inlet
#

Could that not be done in CSS

verbal pumice
#

it can

verbal pumice
#

and its way easier

desert cosmos
charred monolithBOT
#

I was really tired but, I am going to make it open a data uri because the service for PSN profiles I will be using is a third party service called psnprofiles.com. But the website will show a not found error for accounts that have not been looked at yet. So I am going to create a data uri that requests psnprofiles.com to load the profile automatically and waits for psnprofiles.com to be done loading the profile.

shell shuttle
glass jasper
charred monolithBOT
austere talon
#

the \d in question

jagged cloak
charred monolithBOT
#

navigator.platform should almost always be avoided in favor of feature detection. But there is one case where, among the options you could use, navigator.platform may be the least-bad option: When you need to show users advice about whether the modifier key for keyboard shortcuts is the ⌘ command key (found on Apple systems) rather than the βŒƒ control key (on non-Apple systems):

charred monolithBOT
charred monolithBOT
#

This plugin allows you to add custom profile effects on your Discord profile
You just simply create an effect, submit it and wait for approval

Everything about CustomEffects including the guidelines are on the organization https://github.com/CustomEffects
And no we do not allow Discord's profile effects
Originally the project was in CSS but plugin is also useful and it made it look better and fixed some issues (not showing on big profile view and looking off from the profile)

htt...

fossil inlet
#

why is the second one just the game windowkill