#๐Ÿ‘พ-core-development

1 messages ยท Page 180 of 1

tropic wagon
#

yeah

#

well, can we turn it off

#

out of 1000 dms, i get 0.01 for support lmao

woeful sable
#

peak

austere talon
#

now just need to test what this looks like if youre not in the server

rugged spire
#

hide it if the user is friends

austere talon
#

hmm this doesnt work

#

okay got it

#

need to use link instead

charred monolithBOT
#

Content

I want to use Vencord. But there's one small problem. My friend and I tested the FakeNitro plugin and it actually streams in Nitro quality, so it's not only client side, so how does it work? That's one of the reasons I want to use Vencord. Also, I've heard that Message Logger is bannable on Better Discord. Is it the same on Vencord, or are the messages stored entirely client-side so that I cannot get banned for it?

Also, can I view the source code of some plugins that are not ...

desert cosmos
# charred monolith

"Also, I've heard that Message Logger is bannable on Better Discord"

me when I use a client modification which is bannable in the first place: WHAT

charred monolithBOT
charred monolithBOT
#

My friend and I tested the FakeNitro plugin and it actually streams in Nitro quality, so it's not only client side, so how does it work?

discord just doesn't check on the server side for stream quality. they do check for bitrate afaik

Is it the same on Vencord, or are the messages stored entirely client-side so that I cannot get banned for it?

MessageLogger does not actually "save" messages by design

charred monolithBOT
median rapids
#

nah p sure it does do a couple things wrong

#

the way member lists work is complicated

austere talon
#

yeah

#

i rewrote the logic a few times

#

its pain

#

if u feel u know better please pr aliening

median rapids
#

will doo

austere talon
#

this is the logic rn

rugged spire
#

me sitting here cozy running my own fucked up branch not having any issues loading stuff somehow

austere talon
grave mangoBOT
austere talon
#

if the first viewable channel is a private channel only you can read it gives very wrong results

rugged spire
#

stupid question

#

do you NEED to relate the online count to a channel

#

or is there a query online members thing for entire server

shell shuttle
#

absolutely

austere talon
median rapids
austere talon
#

count on invites

rugged spire
#

oh?

austere talon
#

and on mobile it shows count too

#

can we use that in some way

rugged spire
#

not online afaik

median rapids
#

they use an alg to calculate it but because you're just checking for "everyone" you can skip half of it for perf reasons

rugged spire
#

hold on

median rapids
austere talon
median rapids
#

not the same as online count

#

yeah same with that

median rapids
#

that uses GET /guilds/:id/preview

#

same thing

rugged spire
#

nono it includes members online

austere talon
#

i mean discord does it that way, maybe we can just do it too

#

good enough for discord, good enough for us

median rapids
austere talon
#

true

median rapids
#

what i would want to do is change this one to reflect the channel's member/online count

austere talon
#

yeah that is it

#

well the second number is always total guild count

median rapids
#

and change this one to be the full server count

austere talon
#

the first number is online members in the current channel

median rapids
median rapids
grave mangoBOT
# austere talon https://github.com/Vendicated/Vencord/blob/main/src/plugins/memberCount/OnlineMe...

**OnlineMemberCountStore.ts: **Lines 41-51

return new OnlineMemberCountStore(FluxDispatcher, {
    GUILD_MEMBER_LIST_UPDATE({ guildId, groups }: { guildId: string, groups: { count: number; id: string; }[]; }) {
        onlineMemberMap.set(
            guildId,
            groups.reduce((total, curr) => total + (curr.id === "offline" ? 0 : curr.count), 0)
        );
    },
    ONLINE_GUILD_MEMBER_COUNT_UPDATE({ guildId, count }) {
        onlineMemberMap.set(guildId, count);
    }
});
austere talon
#

well this is the current logic

median rapids
#

also the member/online count is also in home

#

which uses /preview

rugged spire
#

ok stupid question

median rapids
rugged spire
#

how does the tooltip online count work then

median rapids
#

blehh

median rapids
austere talon
rugged spire
#

if thats the case then why is it that when i hover over my friends server it is definitely showing for not the first channel in the list

#

first channel is mod only channel and it shows 9 people in there online on the guild tooltip

austere talon
#

also that name is clearly wrong cause its not just private channels and its not a store

#

ChannelRestUtils or smth

median rapids
#

yeah smh

#

how could u do that

#

literally unusable

rugged spire
charred monolithBOT
rugged spire
#

approximate husk

median rapids
#

it's not very approximate

#

also why is that husk worthy

rugged spire
#

what huskworthy

austere talon
#

wait so that means there are 3k invisible people online rn?

rugged spire
#

what is discord smoking

#

WHERE DOES GUILD DISCOVERY GET IT FROM THEN

median rapids
#

it's in the discoverable guild object

#

ooh a good plugin would be removing the forced requirements for guilds to appear in discovery

#

actually i could add that to ShowHiddenThings

rugged spire
#

isn't it a query param

median rapids
#

yes

rugged spire
#

for the agolia search

austere talon
#

what forced requirements

median rapids
#

it hides autoremoved guilds

#

and guilds with less than 0 members blobcatcozy

austere talon
#

whats autoremoved

#

why do guilds get autoremoved

median rapids
#

(it used to be a higher number and they decreased it to 0 for some reason)

median rapids
rugged spire
median rapids
#

what

median rapids
rugged spire
#

is it even possible to use the endpoint without those 2 fields

median rapids
#

where you could race condition the approx member count

#

and get it negative

#

and hide guilds from discovery

rugged spire
#

how

rugged spire
charred monolithBOT
shell shuttle
#

omg thank god for the badge overflow change

#

also uhh

#

anyone else have discord freeze whenever screemnshares occurr?

austere talon
#

holy fuck i know why

rugged spire
#

wtf?

#

explain in simple words what happened and why it breaks stuff

austere talon
#

no

spark pivot
#

what is going on lol

charred monolithBOT
austere talon
#

@mortal forum why would a client still be using discordapp.com? is it just very old installs?

#

we've had quite a good number of people with this issue so it seems fairly common

mortal forum
#

what the fuck

mortal forum
#

discord has a thing in desktop_core to auto migrate

#

unless the install is super super old

austere talon
#

no its someone else

#

i teamviewed them

mortal forum
#

lol

austere talon
#

and there were at least 15 people with this issue so far

mortal forum
#

is this a recent thing or always been a thing

#

the actual code is ```js
function checkCanMigrate() {
return _fs.default.existsSync(_path.default.join(_paths.paths.getUserData(), 'userDataCache.json'));
}
function checkAlreadyMigrated() {
return _fs.default.existsSync(_path.default.join(_paths.paths.getUserData(), 'domainMigrated'));
}

const canMigrate = checkCanMigrate();
const alreadyMigrated = checkAlreadyMigrated();
if (canMigrate || alreadyMigrated) {
endpoint = 'https://discord.com';
} else {
endpoint = 'https://discordapp.com';
}```

#

(how migration works is more complicated)

median rapids
#

that happens sometimes for unknown reasons

#

i'm pretty sure they broke migration now

austere talon
mortal forum
#

welp

#

it is weird for sure

#

i presume they just deleted/broke migration at some point

austere talon
#

it loads discordapp.com/app instead of discord.com/app

charred monolithBOT
mortal fractal
charred monolithBOT
austere talon
#

naaah xd people should just reinstall

austere talon
median rapids
#

how did the install even work

austere talon
#

idk blud

#

LOL

median rapids
#

oh my god

#

the user agent

#

are you fucking serious

mortal fractal
#

discord...

median rapids
#

you could just make vencor migrate automatically

#

just update settings.json

austere talon
glass jasper
mortal fractal
#

closed this by deleting the head repository

#

lmao

#

oh they made that username an archive org

#

and archived it

#

wild

limber skiff
#

what about the other place it checks for discord.com @austere talon

austere talon
#

two commits

limber skiff
#

ahh

charred monolithBOT
mortal fractal
#

๐Ÿค“ it could be made simpler if you checked with /discord(app)?\.com/

austere talon
#

why'd the uvpote that reply but not fix it

charred monolithBOT
still wasp
#

Maybe fixyoutubeembeds could remove age restrictions too

austere talon
#

probably not

charred monolithBOT
mortal fractal
still wasp
#

It might be different for embeds

mortal fractal
#

idk i dont look into this shit cause i have an 18+ account and live in the US

mortal fractal
charred monolithBOT
austere talon
#

oh thanks for rebase

rugged spire
#

thats insane as fuck for a discord client mod though

austere talon
#

we already do

#

but age restriction bypass is hard

#

ofc nico is here

limber skiff
#

what if we eval the userscript of the extension

median rapids
#

there's an easier way

austere talon
#

it doesn't

median rapids
#

huh

limber skiff
#

it's saying it uses as a fallback

austere talon
#

this extension uses some API tricks to access age-restricted videos from YouTube anonymously. as a fallback (in case that the API bypass methods does not work) an open source account proxy server is used

median rapids
#

ohh

#

fallback

#

i missed that

limber skiff
median rapids
mortal fractal
median rapids
#

which bypasses all age restrictions

#

innertube api is absolutely terrifying

limber skiff
#

wait you are right

median rapids
#

@dapper tiger knows

limber skiff
#

I remember seeing this

mortal fractal
median rapids
#

oh same guy

median rapids
#

i gave up pretty quickly because it was impossible to be thorough

#

and i don't like leaving stuff out

jagged cloak
#

zt tried innertubing it did not go well

median rapids
#

some things are like impossible to figure out

mortal fractal
#

thats why you just use youtubei.js tr

median rapids
#

none of the wrappers are very good

mortal fractal
limber skiff
mortal fractal
#

it works for the most part ยฏ_(ใƒ„)_/ยฏ

mortal fractal
median rapids
limber skiff
#

oh

#

lmaoo

#

so you need to change these 3 things

charred monolithBOT
mortal fractal
#

real

median rapids
#

oh i should rename it

limber skiff
#

idk enough to be able to patch this in the youtube embed

#

but it seems pretty doable

median rapids
#

it'd be cooler to have adblock

limber skiff
#

needs to change this

#

and in some other places

median rapids
#

age restriction bypass isnt that huge

mortal fractal
limber skiff
mortal fractal
#

since theres no way to inject into iframes on web

median rapids
#

who tf uses discord web

#

with vencord

limber skiff
#

but it's okay

dapper tiger
#

.

mortal fractal
limber skiff
#

if anyone that actually knows how to do it wanna do, have fun

mortal fractal
#

as far as regularly i couldnt tell you

median rapids
#

venlytics when

mortal fractal
#

(we should do it if it means culling the userbase)

dapper tiger
#

@median rapids :c

median rapids
austere talon
#

anyway we need to fix relationshipnotifier falsely saying you got kicked when a server goes unavailable

#

but it's hard to debug / test cause it's so rare xd

lime stone
#

post bee movie emojis

rugged spire
mortal fractal
#

but idk if thats sent to user accounts

#

i assume it is

limber skiff
limber skiff
#

so idk if it's because of that

austere talon
#

yeah it has a check alr

#

but doesn't work

median rapids
#

some check is broken

grave mangoBOT
austere talon
#

is there a way to fake a guild outage

#

dolfer

#

or can u trigger one somehow

median rapids
#

not anymore ๐Ÿ˜”

austere talon
#

i feel like that'd give good money on h1

median rapids
#

it does

austere talon
median rapids
#

usually a high

median rapids
#

because then there's not an event

#

it's shrimply missing from the guild store

mortal fractal
median rapids
mortal fractal
#

bruh

median rapids
#

have i not shown you

austere talon
#

how is their program so chaotic

median rapids
#

ofc

charred monolithBOT
jagged cloak
#

i love opening vesktop to a reminder that i left like 20 servers or that 3 people unfriended me in the laast month

austere talon
#

yeah but that's not fixable

#

just a limitation with the plugin

#

unless you like cloud sync it but don't think people would want to upload info on who they're friends with and what servers they're in to our server

nor would i feel comfortable storing that data

jagged cloak
#

yeah i wouldnt lol

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
desert cosmos
limber skiff
#

the setting should just not be private

grave mangoBOT
limber skiff
#

let me cook real quick

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

btw @limber skiff this discordapp.com fiasco was an immediate example of it being a bad idea to skip webpack patching if webpack init failed xd

#

cause it made webpack init fail entirely which broke a shit ton of stuff, but the updater tab still worked

charred monolithBOT
charred monolithBOT
crude hearth
#

how was it even working

median rapids
crude hearth
charred monolithBOT
crude hearth
#

@median rapids WHY DID YOU REACT SKULL

crude hearth
#

๐Ÿ˜ข ๐Ÿ˜ข ๐Ÿ˜ข ๐Ÿ˜ข

charred monolithBOT
topaz thistle
#

Sacrifice 10 goats first

#

Too bad

#

>Pull Request closed

charred monolithBOT
#

i am kinda concerned about the scam / selfXSS potential with this
โ€“ @Vendicated

yeah this came to mind while i was writing the settings, i was considering adding some kind of riddle to solve like AliucordManager (where you had to type 'i am a developer' or smth like it) or adding a huge warning the first time a user runs a command

i think the sheer amount of steps to register a snippet would probably deter a few scam victims but idk

limber skiff
#

those would not let the person access discord

quaint sapphire
#

oooooh what happened? give me the juice

charred monolithBOT
charred monolithBOT
rugged spire
median rapids
#

wdym

austere talon
#

and people apparently got scammed from that too

#

even though it prints a horror banner

#

they disabled devtools on stable cause of it kabel

#

and nah i wouldn't say so, people are gonna be much more inclined to paste something into discord ui than in a nerdy looking console that screams at you that you're getting scammed

rugged spire
#

end users are stupid

median rapids
#

you have to enable a plugin whose whole purpose is running code first lol

austere talon
#

"omg i found a vencord nitro script!! enable the scriptrunner plugin and paste this code"

#

some people have the iq of a carpet my friend

#

i lost fate in the users' intelligence ages ago

median rapids
#

pov: natural selection

rugged spire
#

natural selection is when i tell users to run a script that wipes their computer and don't even hide what it does

austere talon
#

also even besides selfXss im also worried that people will paste dumb shit then cry for help why their discord is crashlooping ๐Ÿ˜ญ

#

will definitely happen

rugged spire
median rapids
austere talon
#

yeah and we get so many of those, we have a dedicated bot tag for it SKULL_SKELETON

rugged spire
austere talon
#

anyway im not generally opposed to the plugin, there's just a lot of potential risks/caveats to consider

rugged spire
#

just make it work only in dev builds

median rapids
#

true

median rapids
rugged spire
#

the challenge is installing node and git and not fucking up the installation

#

users fail at this step

#

someone DMed me today about why pnpm version mismatch

prime dew
#

Isn't this also similar to the old "add snippet to quickcss" button plugin someone tried to make a few months ago (I think?) ?

median rapids
#

or just require enabling from console or something

rugged spire
#

how tf do you fuck up that bad

rugged spire
median rapids
#

cuz nodejs package management sucks lol

austere talon
rugged spire
prime dew
rugged spire
#

thats different

prime dew
#

But I remember someone had proposed it already a few months ago

rugged spire
#

my idea is effectively depreciating quick css

#

quickcss turns into horror very quick

prime dew
#

Can relate

austere talon
#

we definitely need to add a fat red warning in the plugin

and maybe hide it if you don't have discord developer mode enabled

rugged spire
#

the concept has reached its "well it's good enough for me i'm gonna forget about it for 3 weeks until i can be bothered fixing it fully" stage though

#

we love

#

my problem is making the uh monaco editor load properly

#

i will fix eventually

rugged spire
#

and then

#

because too easy and they will fuck up

#

i don't mind teaching support users how to setup dev build from a guide because they can fail

prime dew
#

It would be a good idea, too bad that the average ntts viewers learned how to enable dev mode ages ago

rugged spire
#

ntts users husk

prime dew
#

Unironically

rugged spire
#

Is it a good thing I didn't join the NTTS server

#

how fucking brainrot is it there

prime dew
#

I'm not in there

rugged spire
#

oh

austere talon
#

we can make it more modular

#

like the ipc call

prime dew
rugged spire
#

how would you suggest making the Ipc call more modular

#

half my stuff is figuring out why you built the ipc for quickcss the way you did

#

lmao

prime dew
rugged spire
#

NTTS makes good content

#

but viewers love doing things blindly and carelessly

prime dew
#

Wouldn't it be funnier if it was like on mobile phones, where you have to tap on the build version multiple times before unlocking the dev options?

rugged spire
#

nah

#

devmode on discord doesnt unlock that much stuff

long heart
prime dew
#

Scary

#

Truly a horror plugin

rugged spire
#

It really is cursed. Don't look into it

#

And no it doesn't work fully (yet)

#

i wrote half of this dead as fuck at 7am after staying awake overnight

prime dew
#

It might be a cool, although niche, plugin when it's done though

rugged spire
#

This isn't a plugin this is actual core changes

#

Okay fine

#

It edits VencordToolbox plugin

prime dew
#

I like the idea, but it's like having css files in the themes folder

#

Pretty much the same thing

rugged spire
prime dew
#

True

median rapids
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

real flower
charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
#

peak webpack testing

#

at least I can see the logging that isnt right this way

#

cuz this clearly isnt MASKED_LINK

#

this is more like it

charred monolithBOT
fleet depot
#

oh that's why my patch broke

limber skiff
#

no

#

because of how early that's executing

fleet depot
#

? i also was getting undefined tho

limber skiff
#

it still works

fleet depot
#

and then discord was crashing-

limber skiff
#

show the code that was failing

fleet depot
# limber skiff show the code that was failing

it's my very badly coded dev build so who knows what i could be doing wrong here but here goes nothing:

i added a new patch to rolecoloreverywhere and yes I know that i shouldn't use variable names in my find it's just such a tiny module there are no other unique strings to distinguish it. Here's the module if you want to check it out: #๐Ÿงฉ-plugin-development message

there's almost certainly a better way but I haven't found it yet:

   {
        find: "className:s()(r.title,n),",
        replacement: [
            {
                match: /color:"none"/,
                replace: "color:\"roleColor\""
            },
            {
                match: /variant:"text-sm\/normal"/,
                replace: "variant:\"text-sm/medium\""
            },
        ]
    },
    {
        find: "default.colors).map(",
        replacement: {
            match: /case"none.{0,15};/,
            replace: "case\"roleColor\":t=$self.getGuildChannelId();"
        }
    }

getGuildChannelId() {
    return this.getColor(UserStore.getCurrentUser().id, {
        channelId: SelectedChannelStore.getChannelId(),
        guildId: SelectedGuildStore.getGuildId(),
    });
},

getGuildChannelId uses UserStore.getCurrentUser() as you can see and the error I'm getting is that t=$self.getGuildChannelId(); is undefined.

This code worked before but the most recent update it's now causing a crash.

#

here's what the patched module looks like pretty printed

#

and this is more specifically the error i'm getting

fleet depot
charred monolithBOT
fleet depot
#

It still crashes if i hard code the ids

#

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

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

everyday I think of improvements

#

but this is pretty much finished, if not finished

charred monolithBOT
charred monolithBOT
austere talon
#

and didn't even use webpack version

limber skiff
#

oh fuck

#

forgot to use the webpack version

limber skiff
#

that was the cleanest other way

#

but yeah I used wrong method

#

in like 8+ hours I fix it and force push

#

now I sleep

austere talon
#

xd

charred monolithBOT
#

Did some testing with this and feel itโ€™s ready for use. Vesktop currently does not handle Idling very well and this as a workaround seems like a fair consideration to me. Could not produce any bugs with this branch. At this time, I have to run four Discord tabs, instead of two to keep my Discord online at all times, which is incredibly inefficient. How ready would you say this is or whatโ€™s blocking this from being added to the plugin library, @Vendicated?

charred monolithBOT
median rapids
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

well yeah just .prop instead of destructure

limber skiff
#

shocked

austere talon
#

so its a plain variable

limber skiff
#

yep

mortal fractal
#

* @param idk some thing, idk just pass null

austere talon
#

useless param is useless

mortal fractal
#

nuh uh

austere talon
#

so i wanna work on list api... does this api look good?

const lists = defineLists({
  ignoredUsers: {
    type: "user",
    name: "Users to ignore messages from"
  },
  ignoredChannels: {
    type: "channel",
    name: "Channels to ignore messages from"
  },
  ignoredGuilds: {
    type: "guild",
    name: "Guilds to ignore messages from"
  }
})

export default definePlugin({
  name: "MessageLogger",
  
  lists,

  shouldLog(message) {
    if (
      lists.ignoredUsers.has(message.author.id)
      || lists.ignoredChannels.has(message.channel_id)
      || lists.ignoredGuilds.has(message.guild_id)
    ) return false;
  }
})
#

would auto-generate context menu entries like this and also settings ui

#

i dont like having to put it on ur plugin instance but otherwise you'd need to do like

const lists = defineLists("MessageLogger", {
})
#

which is imo worse and has potential to get out of sync with the plugin name

#

well maybe we could make you just export it instead?

export const lists = defineLists({})

export default definePlugin({})
silk cypress
#

the context menu entry should maybe be changed though to say something like "Add to plugin list"

charred monolithBOT
mortal fractal
#

i will wait for this api before i work on highlight again tr

austere talon
shell shuttle
#

anyone know how to fix a random conflict

#

i never edited a certain file but it shows it's conflicting

charred monolithBOT
silk cypress
mortal fractal
#

just checkout the file if you know you never edited it

shell shuttle
silk cypress
shell shuttle
#

oh

charred monolithBOT
charred monolithBOT
charred monolithBOT
odd heath
#

HORROR

desert cosmos
#

we love force pushing

real flower
#

get mlem'd

#

okay I'll stop being annoying tho

austere talon
#

im gonna debug why this shit happens

real flower
#

whar

odd heath
#

thanks

#

i was gonna ask if smth is known about that lmao

austere talon
#

its hard to reproduce

odd heath
rugged spire
#

does it happen when you right click messages?

charred monolithBOT
odd heath
#

okay but how does that do that

#

what

austere talon
#

because edits arent just used for content edits

odd heath
#

oih

#

embed render

#

true

desert cosmos
charred monolithBOT
rugged spire
midnight raven
#

fire

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

BetterFolders (had no effect):
ID: 416568
Match: /unreadMentionsIndicatorBottom,barClassName.+?}\)\]/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
charred monolithBOT
limber skiff
#

I love the branch name

rugged spire
austere talon
#

unless its on my laptop

#

but that screen looks like my pc

mortal fractal
#

just make it again it isnt that hard tr

austere talon
mortal fractal
#

literally just a div, some css, markdown parser, errorboundary for sanity, checking user id from props of the header

austere talon
#

yeah um it was on my pc i still have the compiled code

austere talon
#

bro knows too much

mortal fractal
#

cause its not rocket science

austere talon
#

even the ErrorBoundary detail..

limber skiff
#

lmaooo

charred monolithBOT
austere talon
mortal fractal
#

what doesnt use errorbounary in vencord (dont look cause then you're going to have to fix it tr)

limber skiff
#

a lot of things dont use

#

and they still cause crashes ๐Ÿ˜”

austere talon
#

most things use them

limber skiff
#

yeah but not all

mortal fractal
#

i need to use errorboundaries more in hh

limber skiff
#

also when we patch discord component code and something errors it causes crashes too

#

but not much we can do about that

mortal fractal
#

sadly other than adding something like patch grouping

charred monolithBOT
mortal fractal
#

but thats rare cases

#

thats something i would need more because of some old ass patches that have things split

austere talon
#

we have patch grouping

#

mainly for when patches want to introduce variables

limber skiff
#

oh yeah I had done this

#
for (const pluginName in plugins) {
    const plugin = plugins[pluginName];

    for (const prop in plugin) {
        const value = plugin[prop];
        if (value == null) continue;

        const valueStr = value.toString();
        if (valueStr.includes("VencordCreateElement") && !valueStr.includes("ErrorBoundary")) {
            console.log("plugin:", pluginName, "prop:", prop, "=", value);
        }
    }
}
#

to check what didnt use error boundary

limber skiff
#

handling all those errors would suck so much

mortal fractal
#

inevitibilitiy

rugged spire
mortal fractal
#

how does it work

rugged spire
charred monolithBOT
austere talon
#

okay done

charred monolithBOT
lost smelt
#

meow meow purrr

austere talon
#

this time i wont accidently delete it

real flower
austere talon
#

yes

real flower
#

that is so cool

austere talon
charred monolithBOT
austere talon
#

next i wanna improve /vencord-debug

#

i alr reduced info to

#๐Ÿค–-bot-commands message

#

but if someone has a loooooott of plugins

#

enjoy 2k char limit

limber skiff
#

holy fuck

austere talon
#

LOL

#

did u add new flux events

limber skiff
#

yep

austere talon
#

are u sure thats right

#

did u use the same snippet i commented

limber skiff
#

I used your script

#

yee

austere talon
#

๐Ÿ˜ญ

#

how much size is it

limber skiff
#

57kb

austere talon
#

omg it grew by 11kb

rugged spire
austere talon
#

we need just 1 more event to fix this app

limber skiff
#

I updated the comment too lmao

lost smelt
#

wtf

limber skiff
#

I added the new permissions too

charred monolithBOT
rugged spire
# rugged spire cba making a PR for this
diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx
index 078efd99..31a414cc 100644
--- a/src/plugins/_core/supportHelper.tsx
+++ b/src/plugins/_core/supportHelper.tsx
@@ -152,9 +152,13 @@ ${makeCodeblock(enabledPlugins.join(", "))}
                         <Forms.FormText>You are using a fork of Vencord, which we do not provide support for!</Forms.FormText>
                         <Forms.FormText className={Margins.top8}>
                             Please either switch to an <Link href="https://vencord.dev/download">officially supported version of Vencord</Link>, or
-                            contact your package maintainer for support instead.
+                            contact your fork maintainer for support instead.
                         </Forms.FormText>
                     </div>,
+                    confirmText: "View fork information",
+                    onConfirm() {
+                        VencordNative.native.openExternal(repo.value);
+                    },
                     onCloseCallback: () => setTimeout(() => NavigationRouter.back(), 50)
                 });
             }
lost smelt
rugged spire
#

could we do this maybe?

lost smelt
#

will it show as #Unknown

rugged spire
#

Yop MenheraNod

limber skiff
#

should I update i18nMessages?

lost smelt
#

rip

austere talon
#

why rip

#

if u click it starts lurking support channel

lost smelt
#

oh

#

wait how

charred monolithBOT
lost smelt
#

is it not <#channelid>

lost smelt
#

ohh

#

didn't even know that was a feature

limber skiff
granite wharf
#

happens with discoverable servers I think

lost smelt
#

fr

granite wharf
#

any ordinary server wouldn't work

austere talon
#

ye u can lurk discoverable servers only

austere talon
charred monolithBOT
limber skiff
#

only 255?

charred monolithBOT
austere talon
#

wha

#

oh

#

sync

#

lmao

mortal fractal
#

meow meow purr

charred monolithBOT
limber skiff
#

@austere talon im gonna document the messages!!!!

austere talon
#

WHAAAT

#

fear this is gonna be a massive type xd

limber skiff
austere talon
#

LMAOO

limber skiff
#

jk I'm not

austere talon
#

ts will die

limber skiff
#

lmao

lost smelt
#

680 kb of events WTF

#

oh nvm

#

its strings

#

string keys

mortal fractal
austere talon
#

im so confused

#

they still havent enabled it

rugged spire
austere talon
#

oh no

#

rip

limber skiff
#

what happen?

austere talon
#

push two braches at once

#

well seems like no conflict

limber skiff
#

ah

mortal fractal
charred monolithBOT
limber skiff
#

@austere talon btw when you want to do a initial review in immediate finds, I recommend reading the pr description, as I explain what I did that and also point out the most important files for a review

#

but no worries

glass jasper
#

one can only hope my PR will get noticed

charred monolithBOT
mortal fractal
charred monolithBOT
lost smelt
#

@austere talon

#

actually fix messageLogger

austere talon
#

u dont have to ping me buddy

lost smelt
#

fr

mortal fractal
#

also god this patch sucks to read

#

(in general)

austere talon
#

yeah

#

too much code in patch

#

too lazy to rewrite

mortal fractal
#

not just that, i just hate string based replacements

austere talon
#

what do u prefer, functions?

mortal fractal
#

yeah just for the fact of named variables

austere talon
#

it depends how complex imo

charred monolithBOT
austere talon
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

mortal fractal
#

id prob do something cursed with my css and move it to the right with the other ones

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

it unbroke itself

#

oh nvm nuckyz fixed

charred monolithBOT
charred monolithBOT
real flower
#

hmm

#

idk if there's something that could cleanly be done

#

but

#

this is kinda bad looking imo

#

maybe make the title cut off like "StreamerModeOnStr..."

#

idk

real flower
austere talon
#

marquee

real flower
#

ahhhhhhhh that's fair

#

and good

#

jus wanted to make sure people knew :)

mortal fractal
#

its a shame discord just uses OverflowTooltip instead of marquees ๐Ÿ˜”

austere talon
#

the former are more accessible

#

:p

#

but marquee are cooler

real flower
#

marquee is far better imo
maybe not the easiest or nicest for accessibility sure

#

but way prettier

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
turbid hatch
#

using the text element

#

and then it forcefully resized the text as needed

#

it was quite funny

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
#

less explosions ๐Ÿ”ฅ

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
woeful sable
charred monolithBOT
somber ginkgo
#

just a thought, this checks for all contribs as if they were all plugin devs, so perhaps itd be an idea to either change the string to say contribs, or change the check to only include plugin devs?

charred monolithBOT
charred monolithBOT
shell shuttle
#

stars

charred monolithBOT
charred monolithBOT
austere talon
#

apparentlz u broke betterfolders nuckyz

charred monolithBOT
limber skiff
austere talon
#

idk

#

people in support complaining

#

i don't use the plugin

limber skiff
#

hmm

#

maybe I mesed up the patch

#

it was so simple I didnt test

#

but I double checked

#

welp let me see

#

the patch is in the place it wss supposed to be at least

#

easy fix

charred monolithBOT
limber skiff
#

a new component is decided with a predicate and they slapped a null here

#

the old method wasnt prepared for nulls

charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
mortal fractal
#

me too

charred monolithBOT
austere talon
#

horror

#

@limber skiff i cry

charred monolithBOT
limber skiff
#

oh god

austere talon
#

well its not a big deal lmao

#

just wait til it calmed down

#

how tf do we fix this

limber skiff
austere talon
#

i dont think it can be fixed

charred monolithBOT
limber skiff
#

work ๐Ÿ™

austere talon
#

NOOO

limber skiff
#

VENDICATEDDD

austere talon
limber skiff
#

SDFHDSFDSFS

austere talon
#

lmaooo

limber skiff
#

stop force pushing my branches!!!!

austere talon
#

my bad bro

charred monolithBOT
austere talon
#

was that manual

limber skiff
#

dont do it again.

austere talon
#

oh yeah it has to be

limber skiff
#

yeah

#

rebase

austere talon
#

it uses my credentials xd

#

so

austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None