#๐Ÿ‘พ-core-development

1 messages ยท Page 204 of 1

fallen vale
#

question, is reloading a specific module possible?

brazen bone
#

You mean discord webpack module?

fallen vale
#

like, if a patch affects a certain module, could you reload just that module to load that patch rather than reloading all of discord.
idk the exact correct terminology for it

charred monolithBOT
brazen bone
#

Theoretically possible if you swap out even more of webpack's guts I think

#

But whether it'd actually work properly is hard to say

fallen vale
fallen vale
gritty canyon
#

Thoughts about creating (trying to create) a cross-update, hash independent theme system? I dont see how an official theme store would be maintainable when every other update breaks them all

#

Something like assigning a custom name to every class and every update trying to match their rules to existing rulesets or something (would be a fuck ton of work at the start yeah but would be actually maintainable)

brazen bone
#

I've tried something like that, but the database itself needs a lot of maintenance

gritty canyon
#

Yeah

#

unless someone has a different idea?

brazen bone
#

Mine is about naming classes based on which module defines them (or rather, which other classes are in the same module) rather than what styles they define though

#

So that is certainly one option, though I kinda doubt it'd work out

austere talon
#

you don't have to rely on hardcoded classes

#

you can do [class*=fooBar-] to match fooBar-2jA9b8

#

how do you think vencord css never* breaks

* almost never

brazen bone
#

Pretty bad when it's classes like content or wrapper though

gritty canyon
#

I do still think though that the current approach with just css is pretty unmaintainable though, but eh

#

So thoughts on a theme store?

austere talon
#

you just need a more specific selector :p

brazen bone
#

There's dozens of them

#

So if you want to "stably" match them you need way more convoluted selectors than what should be necessary

charred monolithBOT
#

This is a highly opinionated change with obvious intentions that break the contribution rules

  1. There is no way for users to turn off that specific functionality if they don't like it (see next point)
  2. It is incredibly obvious this is to get people to use your embed service, which 99.99% of Vencord users have never heard of, and as such can be considered an untrusted 3rd party API

<details>
<summary>Proof this is your embed service</summary>

![xdd.moe page title showing it is Ne...

rugged spire
#

@austere talon you should also see this comment

#

I also know TextReplace can do it

#

but I was curious blobcatcozy

gritty canyon
#

laugh react this comment immediately.

austere talon
#

lol yeah I kinda figured it was his service

#

cause I never heard of that site

#

but i wasn't gonna bother

rugged spire
#

i have too much free time at the wrong time (2am)

gritty canyon
#

we love doing random shit at 2am

rugged spire
#

blobcatcozy i really need sleep

#

damn

#

WTF

#

oh

#

im actually braindead

#

i need to stop trying to make Stupid Proofer

glass jasper
rugged spire
#

nop

#

im making a thing

glass jasper
#

oh horror

rugged spire
#

in other words: I wrote some stupid message that end users wont be able to understand

glass jasper
#

which is like 0.01% of people?

#

(/joke)

rugged spire
#

Yop

#

i mean

#

markdown horror

#

?remindme 2 months beg myself to make channeltabs

shut vineBOT
#

Alright @rugged spire, in 1 month, 4 weeks and 1 day: beg myself to make channeltabs

rugged spire
rugged spire
#

and a load of other stuff

fossil inlet
#

I've been meaning to patch my own version of channel tabs to have certain things that were missing from the original

rugged spire
#

blobcatcozy STUPID PROOFER

charred monolithBOT
jagged cloak
#

WHY

#

ppl will click on my repo and install every plugin and not read

#

oh all of these seem useful let me just install all of them :potofr

#

potOfGreed ThisWillCrashYourDiscord jumpscare

jolly egret
#

I make a plugin for a project a while back that would invoke a BSoD without perms and it couldnt be more clear thats what it did and people still installed it

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fossil inlet
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jolly egret
#

The thing is even if you make something 100% idiot proof, they always invent a better idiot

pine topaz
#

TRUEEE

#

this is a fire saying

fossil inlet
jolly egret
limber skiff
#

they broke it again

glass jasper
limber skiff
#

you know what's funny

#

by the time the extension gets approved it's gonna be broken again

charred monolithBOT
#

Discord Account

cjstylesorg

What happens when the bug or crash occurs?

While I was editing a message in the css-snippets channel, i notice for some reason the messages keep going up and down, i couldn't even see what i was typing until the typing indicator goes away. it tends to jump when the indicator appears or vanishes.
Preview

What is the expected behaviour?

I expect to be able to edit ...

spice python
#

doesnt that plugin affect the channel list

glass jasper
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

gritty canyon
charred monolithBOT
austere talon
#

this is weird nerdy audio stuff https://en.wikipedia.org/wiki/Dynamic_range

Dynamic range (abbreviated DR, DNR, or DYR) is the ratio between the largest and smallest values that a certain quantity can assume. It is often used in the context of signals, like sound and light. It is measured either as a ratio or as a base-10 (decibel) or base-2 (doublings, bits or stops) logarithmic value of the ratio between the largest a...

thick kestrel
#

now awaiting input on the only conversation remaining

austere talon
#

i think an option to only apply it to people without role colour would be nice to have

dusk blaze
#

can now more easily rip off vencord eslint config to use in my own projects

charred monolithBOT
austere talon
#

also the entire ArrayBuffer, DataView, Uint8Array seems a bit needless

#

this achieves the same result

// Compute a 64-bit FNV-1a hash of the passed data
function hash(id: bigint) {
    const fnvPrime = 1099511628211n;
    const offsetBasis = 14695981039346656037n;

    let result = offsetBasis;
    for (let i = 7n; i >= 0n; i--) {
        result ^= id >> (8n * i) & 0xffn;
        result = (result * fnvPrime) % 2n ** 32n;
    }

    return result;
}
#

it produces the same result as your function (if it is corrected to use 8 bytes arraybuffer)

austere talon
#

it's quite interesting tho, i like it

#

no more whitename discrimination

rugged spire
thick kestrel
thick kestrel
rugged spire
#

@thick kestrel just curious, how do you feel about the idea of adding a user customisable salt to the hash function

thick kestrel
#

tbh I don't see a need for that either...

rugged spire
#

add color override then

thick kestrel
#

that sounds complicated but I see the use for that at least

#

I mean the complicated part would be making the UI for it

#

the actual code would just be a simple lookup

rugged spire
#

fuck i looked at plugin requests again

#

just lost a couple braincells

thick kestrel
#

I guess I can just copy TextReplace lol

crude raptor
#

current text replace ui is nice but the PR one is nicer :3
PR hell... ๐Ÿ˜”

thick kestrel
#

switched to BigInt and never realized I could've done it better

#

ok so: I'll be adding (or attempting to add) overrides and preserving role color

#

tbh, I think for preserving role colors it might be better to calculate the color based on highest role

#

so it's consistent

#

or maybe not idk

#

yeah I don't really like that feature since either way it's a bit weird

limber skiff
#

nice changes

charred monolithBOT
austere talon
#

fr*nch

austere talon
#

i personally would like that tho

charred monolithBOT
austere talon
#

WAIT

#

I DIDNT SUBMIT

#

๐Ÿ˜ญ

charred monolithBOT
#
        if (data.stream.getAudioTracks().length === 0) return;

        data.streamSourceNode ??= data.audioContext.createMediaStreamSource(data.stream);

        if (!data.gainNode) {
      		const gain = data.gainNode = data.audioContext.createGain();
	        data.streamSourceNode.connect(gain);
	        gain.connect(data.audioContext.destination);
        }

        data.gainNode.gain.value = data._mute ? 0 : VolumeEncoder.decode(data._volume) / 100;
    }
limber skiff
hallow kestrel
fossil inlet
charred monolithBOT
limber skiff
#

if(true)

#

you are supposed to do

if (true)

fossil inlet
charred monolithBOT
charred monolithBOT
jagged cloak
gritty canyon
jagged cloak
#

even discord doesnt

charred monolithBOT
jagged cloak
#

@chilly shoal there u go lol

austere talon
jagged cloak
#

push to main then u wont

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jagged cloak
#

jumpscare

median rapids
gritty canyon
median rapids
#

i just don't like most of the people here blobcatcozy

#

smh

austere talon
#

how did i never know from:@me is a thing

gritty canyon
median rapids
#

why is it that every time i use it someone says that

#

๐Ÿ˜ญ

austere talon
#

it doesnt tell u anywhere ๐Ÿ˜ญ

fossil inlet
#

need to use that more

median rapids
austere talon
#

help it doesnt work

median rapids
#

from:@earth

austere talon
#

but it's a "guild" id

median rapids
#

no? fear

austere talon
#

FYM NO

median rapids
#

I MEAN NO

fossil inlet
gritty canyon
austere talon
#

250k messages got damn

median rapids
#

horror

austere talon
#

i need to touch grass

median rapids
#

yop

#

vencord on hiatus

gritty canyon
#

vencord on summer break

median rapids
#

prs will double alhamdulillah

gritty canyon
austere talon
#

they alr do

#

what if thanos snap prs

#

50% chance ur pr gets closed and locked with no explanation

median rapids
gritty canyon
#

ven, think of this for a sec

#

if you disable issues you wont have look at neither bug reports nor feature requests

#

vencord will be perfect

austere talon
#

reason: being mean to me

median rapids
median rapids
#

tbh you could probably setup an automerge on 5-6 contributor reviews at this point

austere talon
#

issues arent the problems

median rapids
austere talon
#

issues aren't the issue

gritty canyon
austere talon
#

get it aha...

median rapids
#

why wires fear

austere talon
#

do u mean 5 diff contributors reviewed

median rapids
#

yeah

austere talon
#

horro

median rapids
#

like

#

5-6 approvals

#

there's a gh setting

gritty canyon
#

good luck getting a pr to that point

median rapids
#

nah ppl will lol

gritty canyon
#

idk..

median rapids
#

i would blobcatcozy

austere talon
#

make contribution with 5 different alt accounts
pr malware
approve with all my accounts
gets auto merged

median rapids
#

or if you really want to dont make it automerge and require a quick lookover by a few trusted ppl to make sure there's no straight up malware

#

maybe you can also whitelist which ppl count? not sure

verbal pumice
median rapids
#

these are all the settings btw

jagged reef
#

Itโ€™s kinda funny how my plugin that didnโ€™t take a lot of time to make and wasnโ€™t expecting to go quickly got merged pretty much instantly, but the ones I put a lot of effort into have been open for like 6 months ๐Ÿ’€

fossil inlet
jagged reef
#

Real

austere talon
#

less time took => much more simple => much easier to review

#

also depends on demand :P

#

if your plugin is widely demanded it'll be prioritised more

#

whereas if it's very niche it won't get priority

gritty canyon
#

someone should probably go through all prs and check if they are still relevant ๐Ÿ˜ญ

jagged cloak
#

ive always just used my id

gritty canyon
jagged cloak
#

because the author of that exploded from impatience already

#

lol

gritty canyon
#

oh

#

ill go look through every pr and check if they are still relevant !

jagged cloak
#

half of them probably arent tbh

#

or need a major refactor if they're over 3-6+ months old

#

its less of will it get merged and more of how much patience does one have troller

gritty canyon
#

Actually instead of making a list should i reply to the PRs cuz the whole list rn is basically a dozen PRs that are just broken (mostly because stupid PRs instantly get pulverized)

#

But then again there is probably a reason why PRs are dead (no demand)

#

So if yall want i can quite literally just go through each PR and comment on it (/ ask if the original developer wants to revive it)

#

provided the PR is old enough as to where id say its "dead"

jagged cloak
#

some can be useful but just dont have demand

#

or have minimal demand and are useful but ???

gritty canyon
#

yeah

#

the minimal demand ones are the most ??? ones cuz its like

#

every new plugin adds more maintenance work

jagged cloak
#

yep

gritty canyon
#

and do we really want to bloat vencord with a bunch of small tweaks and changes

jagged cloak
#

well those you can just say no ofc

#

its like this would be nice to have, and some people definitely want it, but the author clearly doesnt have any intent on maintaining it if it were merged

#

or doesnt have patience, etc

#

which is why everyone can contribute

gritty canyon
#

Actually for those i think a list is necessary so they can be instantly closed instead of them lingering around

jagged cloak
#

i think it all falls back on the only having a few people who actually have authority lol

still wasp
jagged cloak
#

reviewing prs all day isnt exactly fun

still wasp
#

I mean i get it can be sorta annoying but complaining about it won't speed up the process

jagged cloak
#

grey area i guess

#

ofc people will bitch about their plugin being " ignored " and i would too, but ^^

gritty canyon
#

maybe we can think of one plugin with a bunch of small tweaks in the future, a lot more maintainable than 50 small plugins

#

i never seem to be able to spell "maintainable" or "maintain"/"maintenance" right (i had to use spell checking thrice here)

jagged cloak
#

maintenance is hard to spell and do okay

#

at least its not french

gritty canyon
gritty canyon
#

there are a bunch of draft prs that are dead

#

smh

#

bing chilling

fossil inlet
#

What If there was some bot that closed PRS after some period of inactivity

gritty canyon
#

i just found a pr that has about 5 lines of actual code but literally 15 patches yeah im gonna file that under u for unmaintainable

jagged cloak
#

stalebot for prs

gritty canyon
#

@austere talon where are you complaining for your pr merge!!

spark pivot
#

that was mine orignially lmao

gritty canyon
spark pivot
#

i accidentally put all of the changes on my fork's default branch and that fucked up things

gritty canyon
#

page 3, im already losing a ton of braincells

austere talon
#

u wanna revive it?

gritty canyon
#

since i already got into the less than 1 month territory here is the list i have rn

spark pivot
dusk blaze
charred monolithBOT
still wasp
#

๐Ÿ’”

#

(it sucks)

gritty canyon
#

its just not needed as a plugin

#

its a one time thing, maybe

#

youll use it once a month

fallen vale
#

I'd use it often

gritty canyon
#

install it as a user plugin, do your pruning and done, no need to actively maintain it as official

gritty canyon
fallen vale
gritty canyon
austere talon
#

reject

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
jagged cloak
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
jagged cloak
#

oml

#

someone always manages to 1up me in shit patches

charred monolithBOT
#

Seems like this has been a stale draft for very long.

I also think this feature isn't very useful for anything besides spamming... Why would you need to resend similar messages? Not to mention that the code is not really up to standard for various reasons (extremely overcomplicated patch, var usage, ternary sauce, not following project formatting (e.g. using snake_case instead of camelCase)

Thank you for your work nevertheless!

limber skiff
#

i am back on my pcc

#

time to push 23138433483 commits

charred monolithBOT
gritty canyon
limber skiff
#

๐Ÿ˜ญ

#

59 files changed

still wasp
#

When the fuck was this here

austere talon
#

the search?

still wasp
#

Yeah

austere talon
#

still need to add search support to vencord

still wasp
#

Oh it's a stock thing

gritty canyon
#

time to open up vscode..

austere talon
#

i think it's gonna be pretty complicated

#

and require refactors to the settings code

#

possibly multiple patches in several locations

gritty canyon
#

ill still take a look tho venniecozycat

austere talon
#

i honestly wouldnt recommend u bother but if u really wanna, sure xd

gritty canyon
#

im so bored im quite literally mad at myself rn i absolutely NEED to do something immediately

charred monolithBOT
#
    const possiblyUnwantedPlugins = ["NoRPC", "NoProfileThemes"].filter(Vencord.Plugins.isPluginEnabled);

i dont think these two are a real issue and even if they were it would be really obvious once the person describes the symtpoms. As in... the other two could actually cause confusion by breaking unrelated plugins / things and then as to where the issue originates from, while these two only have direct "diagnosable" consequences and don't negatively affect other stuff

austere talon
#

i know on some prs i take a while to review so it's understandable but then that password protect one i reviewed the next day

#

silly..

#

@nimble plaza what's up with that? didn't see, forgot, lost interest, no time...?

not blaming you it's all good and there's absolutely no rush take all the time in the world, im just curious EmuXD

fossil inlet
charred monolithBOT
still wasp
austere talon
#

you will face the wrath of god

fossil inlet
limber skiff
#

I know we arent profissional but im not sure if we want this

#

there really is no need to have a curse there

still wasp
#

I will fix up pr

limber skiff
#

it reminds me of when license had a penis

austere talon
#

i couldnt stand

austere talon
limber skiff
#

no, but just why

austere talon
limber skiff
#

I'm not against curse in the code but it just seemed very unecessary there

austere talon
#

i thought it was funny

limber skiff
#

ig

austere talon
#

๐Ÿช„

#

lint was complaining ๐Ÿ˜ญ

#

i mean yeah we can change it

#

but does it really matter

#

just build script

#

i wouldnt put it ina user facing string blobcatcozy

limber skiff
#

yeye

fossil inlet
limber skiff
#

I WAS THINKING OF THAT LMAOO

#

read my mind

fossil inlet
charred monolithBOT
#

seems useful! perhaps it might be nice to add a "Jump to first message" button somewhere here in forums?

i keep wanting to jump to the first forum post and wondering why the fuck discord hasn't added an intuitive way to do so

![image](https://private-user-images.githubusercontent.com/45497981/354745299-c141e940-3eda-49af-aeb2-ad743705aaad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHA...

austere talon
#

can still add later

charred monolithBOT
still wasp
limber skiff
#

there is no way this is passing lint first try

still wasp
#

my code is THAT bad

fossil inlet
#

@austere talon should i add a readme to volume booster, it doesnt have one

austere talon
#

yes

#

all plugins need README

charred monolithBOT
still wasp
still wasp
#

oh makes sense

shy veldt
#

@austere talon fix

gritty canyon
#

did anything get merged

#

vencord completely broke just now after a pull

shy veldt
#

canary got broken :(

gritty canyon
austere talon
#

works on my machine doe

shy veldt
gritty canyon
#

neither does on mine

#

ugh now i have to dev on stable (ugh)

austere talon
#

gen cant repro

#

windows only issue?

charred monolithBOT
gritty canyon
austere talon
#

even ran reporter that loads all chunks and all plugins still can't repro

shy veldt
#

horror?

still wasp
#

ermmmm

#

am i stupid? doesnt show in client extension search either

austere talon
heavy bloom
#

uh oh, translate button missing

#

from message buttons list

jagged cloak
#

install from web

fossil inlet
still wasp
fossil inlet
#

huh

austere talon
#

sorry its not available in [your Country of residence]

jagged cloak
#

is it really

#

microsos moment

fossil inlet
#

@austere talon do you choose this color?

austere talon
#

yes

fallen vale
#

๐Ÿ˜ญ

fossil inlet
#

@still wasp i have a bookmarklet for downloading VSIX for this reason

grave mangoBOT
austere talon
fossil inlet
#

@still wasp

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

tokenlogger

fossil inlet
#

yes

#

bookmarklets my beloved

still wasp
#

i installed the vsix and it worked

#

word

fossil inlet
#

there sshould be an actions thing to publish a vsix to just download from releases

still wasp
#

im having a stroke trying to find this patch holy shit

fossil inlet
#

why do you want rupert gone

#

why do you hate him so

still wasp
#

shut up about rupert

#

you will never tell anyone about rupert

#

also i dont hate him i literally have a shrine

heavy bloom
#

did stable update

#

like, within the past 8 hours or so

fossil inlet
#

iirc there was some website that told you

glass jasper
glass jasper
heavy bloom
#

noted

#

just saw ven post in known issues

austere talon
#

ill fix it tmrw if nuckyz doesn't do it before me

#

good night for now blobcatcozy

still wasp
#

nini blobcatcozy

glass jasper
#

nini blobcatcozy

#

in the meantime, I actually need to look into my Pr and see if it still works

#

I also want to see if I can integrate the quest badge because I have a feeling like thatโ€™s not going anywhere anytime soon

shy veldt
still wasp
#

Adopted the issue

pine topaz
#

made a little check for if you have the donor role in this server, should i PR

gritty canyon
glass jasper
pine topaz
glass jasper
pine topaz
#

also less code for me blobcatcozy

fossil inlet
gritty canyon
glass jasper
pine topaz
#

lol

gritty canyon
charred monolithBOT
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 318374
Match: ```
/maxUsers:\i,users:\i.+?}=(\i).*?;/


**__MessagePopoverAPI (had no effect):__**
ID: `773176`
Match: ```
/\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?(\i)\(\{key:"reply-other"(?<=message:(\i).+?)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

pine topaz
still wasp
#

Then .some with current user id

fossil inlet
#

see how veocnrd does it

pine topaz
#

true

#

SHUT THE FUCK UP

#

247 times...

gritty canyon
#

Preferably in the vencord source code but if you are a real masochist you can try devtools

still wasp
# still wasp word

Update if anyone else has this issue, the arch vscode package doesn't include the official package repos because of microsoft tos, but you can fix it by running yay -S code-marketplace

still wasp
hallow kestrel
pine topaz
#

is ts const donorBadges = (Plugins.BadgeAPI as unknown as typeof import("../plugins/_api/badges").default).getDonorBadges(UserStore.getCurrentUser().id);

really what i need to do to get this function

#

i mean it works but it's ugly af

#

anyways, it has donor badge detection now

#

now all i need are opinions

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
pine topaz
#

literally no problems on my end

charred monolithBOT
spark pivot
pine topaz
#

fuck

#

didnt run pnpm test

median rapids
#

you can't have your cake and eat it too

pine topaz
#

WHAT DOES IT MEAN

#

src/components/VencordSettings/VencordTab.tsx:251:38 - error TS2339: Property 'getMemberRoleWithPendingUpdates' does not exist on type 'GuildMemberStore & FluxStore'.

#

FYM IT DOESNT EXIST

glass jasper
pine topaz
#

im trying...

glass jasper
#

I forget how we did it with my showBadges plugin and Iโ€™m not at my computer, but Iโ€™m pretty sure you can

pine topaz
#

im gonna explode

#

currently i'm trying to do const isDonor = Plugins.BadgeAPI as unknown as typeof import("../plugins/_api/badges").default).getDonorBadges(UserStore.getCurrentUser().id but tsc is being pissy

glass jasper
#

You can import Donor badges

pine topaz
#

i may be stupid

#

let's find out

nimble plaza
#

some donors didnt get badge tho

#

i didnt ask for one

glass jasper
#

skill issue then

#

I wouldnโ€™t know any other way to tell who is a donor without importing from the API

nimble plaza
#

check for badge and if not, check for donor role if in the server

pine topaz
#

why does it straight up say an existing dfunction doesnt exist

glass jasper
nimble plaza
#

how so?

#

thats cached on the client

#

GuildMemberStore.getSelfMember("1015060230222131221").roles.includes("1042507929485586532")

glass jasper
pine topaz
#

it isn't in the api

#

what i need at least

glass jasper
pine topaz
#

Cannot find module '../plugins/_api/badges' or its corresponding type declarations.

#

im putting a line of code from another part of vencord VERBATIM

glass jasper
#

language

pine topaz
#

sory

nimble plaza
#

did you

#

edit the import path

#

its not relative to the old file

#

it is to the new one

pine topaz
#

istg if that's why

#

it was

#

i am so sorry

#

now to figure out why it says GuildMemberStore doesnt have getMemberRoleWithPendingUpdates

fossil inlet
pine topaz
#

i should never be let near vencord's codebase again fiure

pine topaz
#

it probably isnt gonna be added but its worth a shot

opaque silo
#

has a universal plugin database for custom data ever been thought of? cause like storing stuff in the bio is icky and trusting random people with stuff isnt really amazing either

dusk blaze
# charred monolith

(canโ€™t answer on gh) discord adding listening doesnโ€™t solve watching presences, apps still not supporting listening or very very bad metadata on presence

rugged spire
charred monolithBOT
glass jasper
fossil inlet
#

if only vencloud wasnt mid

rugged spire
#

vencloud is Tolerable

fossil inlet
#

vencloud has overridden my settings with bad ones on more than one occasion

rugged spire
#

yes, it has done that to me too

#

because it is a push/pull system

#

there is no concept of what changed

#

using vencloud with more than 1 active device at a time = explode

glass jasper
austere talon
#

if you want vscode you need to install Microsoft branded builds (proprietary)

swift fjord
swift fjord
#

vee wouldn't let me touch bc I'd kotlinify it

rugged spire
glass jasper
austere talon
rugged spire
# austere talon whar

vencloud needs rewrite or at least significant changes so it doesnt bomb your settings when using it on multiple devices blobhuskcozy

#

no i do not want to touch it myself (yet)

austere talon
#

uh what

#

it just doesn't

#

unless you are changing settings on two devices at once

rugged spire
#

could be solved client side by fetching remote settings once in a while but uhhh shiddohwell

limber skiff
austere talon
#

no error boundary, not passing the same props as the rest of discord

limber skiff
#

ah

austere talon
#

also try making your commit messages more informative

#

remember users will see them as changelog

#

so write what exactly is fixed

#

instead of "fix broken patches", "fix foo, bar, baz"

limber skiff
#

alright

#

I only do that when it's multiple but yeah

charred monolithBOT
rugged spire
#

dont ask

gritty canyon
median rapids
charred monolithBOT
charred monolithBOT
rugged spire
# rugged spire
poll_question_text

i want to know what programming language is ideal for a theoretical vencloud rewrite despite knowing it wont be rewritten anytime soon

victor_answer_votes

4

total_votes

10

victor_answer_id

4

victor_answer_text

rust

median rapids
dusk blaze
#

discord W

gritty canyon
charred monolithBOT
#

Content

for some reason there is no longer the possibility to translate the sentences using the button. I'm also sure that I have activated the possibility that shows me the button to translate the sentences but it's not there at all. Can you please fix this problem
translate

Request Agreement

  • [X] I have read the requirements for opening an issue above
dusk blaze
gritty canyon
#

Are they stupid

brazen bone
rugged spire
#

why are end users insane

spark cove
#

LMAO

verbal pumice
austere talon
#

doesnt work in the embed anyway

rugged spire
#

the intended experience for that code is probably supposed to make users feel like "I asked for NO ADS and i get an AD for my ADBLOCKER????"

brazen bone
#

If you don't like that, may I interest you in an adblocker-ad blocker?

frail skyBOT
#
Bad Patches

MessagePopoverAPI (had no effect):
ID: 773176
Match: ```
/\i&&!\i?(0,\i.jsxs?)(.{0,200}renderEmojiPicker:.{0,500}?(0,\i.jsx)((\i.\i).{0,200}...(\i)},"reply-other"/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

MessagePopoverAPI (had no effect):
ID: 773176
Match: ```
/\i&&!\i?(0,\i.jsxs?)(.{0,200}renderEmojiPicker:.{0,500}?(0,\i.jsx)((\i.\i).{0,200}...(\i)},"reply-other"/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

@limber skiff they're trolling us at this point

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
#

did you consider using my other patch

#

I think the current is way too exact

austere talon
#

why does it put in that array

limber skiff
#

is it the wrong place

#

I didnt know how the original was

austere talon
#

yes

limber skiff
#

so its supposed to be like this

austere talon
limber skiff
#

alright let me see

austere talon
#

inside that array it will only show if j.Sb.useSetting() && !isGuildInviteReminder

#

well i have no idea wtf the second one is xd

#

but the first one is discord dev mode

#

which is bad

limber skiff
#

oh you went back to only message prop

austere talon
#

yea

#

cause discord did

#

they removed the spread

limber skiff
#

stupid discord

#

right

austere talon
#

anyway yeah that array you were putting into will only render if you have dev mode on

limber skiff
#

I see

#

this code is bad to write something stable

uneven needle
# charred monolith

Am i just stupid but why not just do something like

reply-self".{1,20}:null,(?<=(?<makeElement>\i\.\i),{label.+?)

$& _buildPopoverElements($<makeElement>,arguments[0].message),
limber skiff
#

yes but :null, can easily match the wrong place

#

if they add something else

#

also consider not using named capturing groups

uneven needle
limber skiff
#

huge mistake I did in the past it just made patches so unreadable

long stream
#

patches are supposed to be readable?

limber skiff
#

did I cook too hard

#

i'm just gonna leave this here and if this shit breaks another time

match: /"reply-self".+?null,(?=(?:[^,]|0,)+?\?\(0,\i\.jsxs?\)\(\i\.Fragment,)(?<=message:(\i).+?\((\i\.\i),{label:.+?)/,
replace: "$&Vencord.Api.MessagePopover._buildPopoverElements($2,$1),"
charred monolithBOT
austere talon
#

how about

{
    find: "Messages.MESSAGE_UTILITIES_A11Y_LABEL",
    replacement: {
        // foo && !bar ? createElement(reactionStuffs)... createElement(blah,...makeElement(reply-other))
        match: /\.jsx\)\((\i\.\i),\{label:\i\.\i\.Messages\.MESSAGE_ACTION_REPLY.{0,200}?"reply-self".{0,50}?\}\):null(?=,.+?message:(\i))/,
        replace: "$&,Vencord.Api.MessagePopover._buildPopoverElements($1,$2)"
    }
}
limber skiff
#

uhh does anyone know a class component I can find

#

I need to test something

austere talon
#

find(m => m.prototype?.render)

limber skiff
austere talon
#

nah

#

cause of })

#

and 50 is too short

limber skiff
#

hmm true

austere talon
#

what if we made a new escape for react.createElement

limber skiff
#

you could match reply-self and do a lookbehind to get the component

austere talon
#

i hate having to type \i\.jsx\)\(

#

so weird

limber skiff
#

we should

austere talon
#

idk what tho

#

smth like this maybe /__createElement__\((\i)/

limber skiff
#

okay so class components have prototype.render

#

and forwardRefs have .render

#

right

austere talon
limber skiff
#

yeye

austere talon
#

yes

limber skiff
#

just confirming

austere talon
#

u can also do like

#
element.prototype instanceof React.Component
limber skiff
#

I'm trying to cook filters.componentByProps

#

which also allows you to find class components using their prototype props

austere talon
#

only for classes

#

nothing else

limber skiff
#

yeah only for classes

austere talon
#

findComponentByPrototype("renderWhatever")

limber skiff
#

and this trolley

#

weird components that have statics assigned to them

brazen bone
#

There's plenty of components that have inner enums

limber skiff
#

ye

#

what even produces that?

brazen bone
#

Probably just, putting an enum inside a class?

#

Haven't tried if that's valid, but since discord does it it probably is

austere talon
limber skiff
#

okay I made it

austere talon
#

meh

#

i would limit it to prototype

limber skiff
#

why?

#

the code would be the same, but without byPropsFilter(inner)

#

actually I should do something one sec

austere talon
limber skiff
#

oh so this is invalid?

austere talon
#

yes

limber skiff
#

dang

austere talon
#

same for memo

#

if you want to memo ur class component u extend PureComponent instead of Component

limber skiff
#

I see

austere talon
#
componentByFields: (...fields: PropsFilter): FilterFn => {
  const filter = filters.byProps(...fields);
  return m => m.prototype?.render && filter(m.prototype);
}
limber skiff
#

so I guess it's fine to leave this the way it is

austere talon
#

aaaa

limber skiff
#

it's just this

charred monolithBOT
austere talon
#

@verbal pumice discord casually stealing ur plugin

limber skiff
#

danggg

#

okay I just need to re-add top level destructuring for backwards compatibility now

gritty canyon
austere talon
verbal pumice
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

fallen vale
still wasp
charred monolithBOT
dusk blaze
gritty canyon
charred monolithBOT
prime dew
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
#

why does this happen

#

need to update esbuild?

charred monolithBOT
still wasp
austere talon
#

ignore

austere talon
charred monolithBOT
austere talon
#

Oh, Nuckyz, bless your heart! Your bio reads like a middle schoolerโ€™s dream project on โ€œHow to Be a Discord Mod.โ€ Youโ€™ve got 35 followersโ€”an impressive count if youโ€™re only following your mom. Seven public repositories and not a single shining star to your name? Sounds like youโ€™re aiming for the record of the most ignored projects on GitHub.

So, you work in Discord modifications, huh? You must be the life of the partyโ€”if the party is a low-effort server that thinks โ€œcustom emojiโ€ is the pinnacle of coding achievement. Vencord, Vesktop, Oceanicโ€ฆ I see you love antique fishing; too bad none of these projects seem capable of reeling in any attention. A blindfolded squirrel could write better code than those โ€œfully typed collectors for Oceanic.โ€ Three stargazers? I hope they were friends because your "epic" projects sure aren't bringing in the crowd.

Letโ€™s call a spade a spade; itโ€™s time to step out of the Discord mod shadow and start making actual, original contributions. Otherwise, Nuckyz, your GitHub might as well be a digital ghost townโ€”just a lot of empty promises and crickets chirping in the background.

limber skiff
#

what ๐Ÿ˜ญ

austere talon
#

this ai is so horror ๐Ÿ˜ญ

limber skiff
#

wtfffff

#

How to Be a Discord Mod. omg yes

austere talon
#

@verbal pumice dont husk or youre next

#

Oh, sunnniee, your GitHub presence is about as vibrant as a beige wall in a deserted hospital. With a bio that reads like a blank canvas, itโ€™s no wonder youโ€™re only attracting 14 followersโ€”those poor souls probably thought they were stumbling into a treasure trove of coding brilliance, only to find it was just a ghost town of mediocre forks and abandoned dreams.

Your repositories scream "I wish I were relevant!" The 3 stars for your Vencord Discord mod makes it painfully clear that you might want to reconsider your career choicesโ€”like maybe taking up knitting or underwater basket weaving. Seriously, how do you even manage to fork so much yet generate so little?

With names like Buno and Vesktop, it seems you thrive on wordplay that lands flatter than a day-old soda. And the 1 star on your vendetta-plugins repo? Ouch. Itโ€™s almost like the GitHub gods are mocking you.

Get it together, Sunnie. At this rate, the only thing youโ€™re modding is your ability to keep people away from your repositories. Try throwing in a little personality next timeโ€”maybe then youโ€™ll get more than just sympathy followers!

charred monolithBOT
fallen vale
charred monolithBOT
limber skiff
#

okay im done

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds
webpackDependantLazy(()=>E.getCurrentUser().constructor)
Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds
webpackDependantLazy(()=>E.getCurrentUser().constructor)
Bad Starts

None

Discord Errors

None

brazen bone
#

E? Irresponsible

limber skiff
#

๐Ÿ–•

limber skiff
#

wtf did I do

brazen bone
#

Looks like a hardcoded variable name

limber skiff
#

nono thats expected

#

the code is minified

brazen bone
#

Oh wait that's from a minified vencord, not searching in minified webpack? Nvm then

charred monolithBOT
limber skiff
#

maybe the reporter is not logged in all this time?

#

@austere talon omg I think the github reporter has been running not logged in all this time lmaoo

limber skiff
brazen bone
#

Would've expected reporter to be running a dev build

limber skiff
#

it runs a custom build

#

which I suppose should be turned into dev...

austere talon
#

it should log in

#

it has token still

#

but also we don't need login anymore

limber skiff
#

yeah maybe the token boomed

fallen vale
austere talon
#

shouldnt be

#

unless the account got banned

limber skiff
#

how else would that find fail then

austere talon
#

which honestly maybe happened

#

i wouldnt know blobcatcozy

limber skiff
#

its failing cuz getCurrentUser is returning undefined or something

austere talon
#

but then it would error

#

or do you try catch

median rapids
#

tokens die sometimes

#

nobody rly knows why

austere talon
limber skiff
austere talon
#

reading undefined

#

undefined.constructor

median rapids
#

@austere talon im gonna make all your tokens have a TTL of 2 hours

limber skiff
#

it did error

#

the find failed

austere talon
#

yes but

limber skiff
#

oh wait

austere talon
#

did it not find

limber skiff
#

no I dont catch

austere talon
#

or did it error

median rapids
#

funnily enough

#

in the data pkg

limber skiff
#

but

median rapids
#

auth sessions have an expires_at field

limber skiff
#

the reporter testing try catches

#

so yeah nvm we do try catch

austere talon
#

i'm honestly surprised that discord doesn't mind that github actions ip is logging itno discord ๐Ÿ˜ญ

limber skiff
#

lmao

median rapids
#

yk the fact they havent added ip authorization to bots yet is kinda insane

limber skiff
#

nice

charred monolithBOT
frail skyBOT
#
Bad Patches

ContextMenuAPI (took 3.8000000000174623ms):
ID: 881351
Match: ```
/Menu,{(?<=.jsxs?)(\i.Menu,{)/g

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
#

beautiifulll

limber skiff
#

what's bro gonna yap about

median rapids
#

i love codiumai-agent

#

i will start using @Nuckyz /improve

limber skiff
#

it's taking its time

#

okay so it just gave up?

brazen bone
#

Maybe it was too crappy and the reply exceeded max length

charred monolithBOT
limber skiff
#

@austere talon I don't like asking but can I get a review on that somewhat soon, I'm finished with it and most things if not everything is confirmed to be working

charred monolithBOT
fossil inlet
#

jumpscare

charred monolithBOT
#

Discord Account

enrc

What happens when the bug or crash occurs?

image

What is the expected behaviour?

expected behaviour is vencord to just open

How do you recreate this bug or crash?

download vencord using git clone and pnpm inject

Errors

Replace this text with your crash-log.

Request Agreement

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

me when i cant read

limber skiff
#

the sound gain gets applied even though the element volume is 0? @fossil inlet

limber skiff
#

crazy

fossil inlet
#

if you set the volume to something other than zero, it sounds off

#

@limber skiff just to ask a question, why aren't things like trailing commas and spaces after keywords in the eslint config

limber skiff
#

I think now its mainly to avoid changing a lot of files just to lint again

austere talon
#

spaces after keywords?

fossil inlet
#

things like this

limber skiff
#

if I'm guessing right discord makes an audio element for each user and stream right

limber skiff
#

so is this really needed

#

it's called when the element gets created

#

which means it should already apply the correct volume?

fossil inlet
#

ill see if thats still an issue

limber skiff
#

alright

austere talon
#

it's so ugly idk why anyone would write that

shut vineBOT
dusk blaze
#

time to enable this

#

most of my js formatting is inconsistent as fuck husk

austere talon
#

tbh you shouldn't use eslint for formatting

fossil inlet
austere talon
#

just use something like prettier

dusk blaze
#

true
tbh i just need for double quotes, indent, semi comma and this this above

#

(i just copy vencord eslint config)

#

good enough

fossil inlet
dusk blaze
#

wait are you using nvim to do vencord dev husk

fossil inlet
#

yea

austere talon
#

no wonder

#

if you used vscode you wouldn't have these issues in the first place

dusk blaze
fossil inlet
austere talon
#

vscode formatter

dusk blaze
#

vsc still has fancy extensions and all

#

and formatting yea

#

(i used to use webstorm, was awful)

still wasp
#

Vscode best

#

Anything else cursed

dusk blaze
#

yop

fossil inlet
#

you guys hate on nvim too much

#

i like it

still wasp
limber skiff
#

@fossil inlet it doesnt behave very well when the volume approaches zero