#๐พ-core-development
1 messages ยท Page 80 of 1
real
also happens for me (although i am using a somewhat cursed build), however clicking on the tray icon makes the main window actually appear
idk much about electron stuff but it seems to be the same issue as in https://github.com/signalapp/Signal-Desktop/issues/6368, and i found https://github.com/electron/electron/issues/25253#issuecomment-691624779, which (while being an unrelated root issue) has a fix that seems to work on my machine
yeah my vps just exploded

What's the point of that
i just had to restart the network manager service lmao
and fixed
thank god oracle cloud shell exists
cause ssh was just fucked
Like if the source gets nuked via dmca or some shit don't all forks also get nuked
oh boy i sure hope this doesnt break the updater
i know im scared
i am very scared changing the updater in any way
cause if it breaks its tragic
and testing it is so hard
narrator: it broke
let me just brain it a little for a sec
actually one thing
this pr sooooooo unmeargeable because
oh nvm
u should change this tho
if (IS_DISCORD_DESKTOP)
mm i didnt cus its already behind a preload check
true if discord desktop preload real
--watch
oh wait
yeah real
it doesnt minify renderer
but it does minify the others
thats bug
i wanna read the preload code unminify
wait
shebangerang
just delete minify from here
she bangerang
+x ing
just delete minify and bundle
soooo obosolete
oki i fix
:3
just ignore first line if it starts with shebang
u almost made me delete
thats how node does too
wdym
minify and bundle are already in commonOpts
just remove from node opts
oh node common
yeee
bundle is important
worth it? 
what
if true mfs
oh my message didnt send what
always
im saying this isnt even bad
i mean i dont need .*?
just .*
I'm literally semi allergic to eggs and thus in extension mayonnaise but I eat so much of that shit anyway
too delicious to pass on
my body will simply cope
does plugin use src variable to replace when it inserts header
I picked up a habit of always just using *? cause there is virtually no reason not to
and it's important in venchord
greedy is cooler
lazy is probably more performant
i mean lazy does two checks each consume right
I'm greedy send me all your cookies
sung
ok its looksing based
pull the trigger
so so real
uhhh
i dont think thats how the header is supposed to work
oki i fixed
god i hate tsserver
after using rust-analyzer
type script server
transsuperserver
theres a lot of cool code actions
inline function, extract into var etc
tsserver has NOTHIGN
it has some...
to fix shebang
did u fix what the patch was for @olive aurora
du
oh guh
bump eslint
it's only outdated cause of the patch we apply to it
and I was lazy to update the patch

oh real
i tried bumping but i couldnt do it im too stupid
what version must it be
i have no idea
probably latest
fix: switch to println!
me bumping dependencies be like bump everything to absolutely latest including majors and if it still compiles we ball
if anyone wants to pick this task up (i couldn't seem to make both move on vencord's side), i modified oneko.js so it works with multiple cats: https://github.com/Korbaux/oneko.js
viewing the diff of a diff file is very confusing
true
wait
@spark cove does that make it so that you can add custom allowed chars
oh wait i get it
vm
ya
we use it for \i
yeah yeah i know i just got confused
diff diff ๐ฅ
cause i didnt see \i in there specifically
true
but then i remenrerd we have it in the eslint config
true true
whar
lot of girl ik lol
lmao that was kinda cute
are they french
i think i got it working
u should pr to the orgiianl repo
i did put a pr
i dont think they have ever been here
the thing that broke multiple cats was there for internet explorer support if they remember correctly
they tend to clump together it seems
oh they havent im thinking of another similar person
i wish i could send images because the cats are a pixel apart
aint no way youre still supporting ie11
ah well i cant think of a way to make them not combine other than just refreshing the page
wait
what if i randomized the size
time to get hacky
actually i could porbably just add random offsets to left and top
fa124d8 build: split preload & renderer.css into D. des... - Vap0r1ze
looks good, thank you!
@spark cove you
no
rnnoise sendvoicemessages integration WHEN
yeah lmao
just esdit it now
if u want to
but also take ur time no worries
we can also add it later
i think will be easy
probably
but
considering we have full control over the audio stream already
RNNoiseAPI will be real
fear
i mean
<@&1118512699836481547>pi/RNNoise
I DID IT
yea it could
one sec gotta eat
its cursed that some random shit is just thrown into utils
like wtf is quickCss and theme loader doing in there
??
yea true lol
api
1984
Oh my God voice typing is so bad like it's ******* slow it's so bad
bump
on macos you press the microphone button for siri so perhaps windows has a similar key combo
LOLL
IT CENSORED MY PROFANITY
AHHAHAHAHAHHA
i was trying to say as many slurs as possible
im not good at this profanity thing....
samsung keyboard accepts all my slurs, English, Spanish, Korean, German
multi cursing

REAL
wait actually nvm,,
I'm so **** dark shade rn
IDK AHHAHA
discord
๐ญ
oh maybe cause its not actually ogg
its some other format idk which
oh
webm
wtfffffffffffffffff
ven can you give me image perms so i can show my accomplishments
wait @austere talon @austere talon @austere talon
i cant
do it on
desktop
cus it uses native voice engine
desktop uses krisp for recording
vban vap spam
Gimme some users silly
i have a oneko horde rn (12)
yea i made a new pot
u should have seen how bad my coffee consumption was in proportion to my calories
when i was tracking
๐
wait the wave generation here is even worse lmao
3 am cofe ๐ฅ
WHY SEND THAT
FYM
fooga yooga moog
play privileges removed
I CANT PLAY ANYTHING ON FIREFOX EITHER
Notice that stylelint is deprecating the indentation option in favor of using an external formatter, with their recommendation being Prettier. I've drafted a patch stack integrating both eslint and stylelint with Prettier. Is this worth submitting?
no? i had to add in eslint-plugin-prettier, unless this was committed in the last 12 hours
there's no Prettier stuff in the main Vencord repo currently
it is in vesktop
Vencord currently configures VS Code to explicitly use its built-in TypeScript formatter
ye
that's going to stop working for formatting rules for stylelint
wdym
those are deprecated in favor of Prettier
ohh the css thing
i swear prettier was in vencord at some point
This release contains significant or breaking changes.
oh thas what i remembered
is there a way to reset a plugin after a setting in it has changed
shoutout to git log -S
true
but if it can be css only that would be so fire
i treat prettier like black mostly. even if i dislike a few bits, it's worth it for the standardization
virus
i dont know how i would manage to access start() and stop() from the settings
m idk what black is but that makes sense
python formatter
but the standardization often makes a lot of things less readable imo
nothing like black
wait im in the wrong channel
prettier is much more opinionated i hate it
i find myself prettier-ignoring so much
i'd still rather that than an inconsistent formatting experience between editors
if you want this to be just CSS i can PR that and drop the TS reformatting
i should use dprint again
yea that'd be fire
idk why i stopped using it
TS reformatting wasn't bad IMO, esp. if we run a 120 printWidth
the 4 wide indentation really hurts on deeply nested JSX
and its gonna be hell
there is that thing for ignoring certain commits in blame
not really a blame thing
ya
just will make so many conflicts
the issue is that lint won't stop yelling at you if you don't fix the style stuff
dont add it 
but yeah the conflicts for the next week are unavoidable
am i in the wrong channel?
yea which is why prob bad idea
i couldve updated every header but vee didnt want that imagine reformatting everything
that and also its gonna make a lot of things less readable
noop
do they not see me
is this a good time to mention that I had to do that first because prettier fixed the lack of a leading space on the last line of the old copyright header
thats so silly
thanks a lot, you all have been very helpful
it makes sense, and the headers don't really cause conflicts at least
i don't know what you're asking
uhh
becoming #1 contributor in diffs speedrun
i dont know what the message means but someone will ask u to elaborate there prob
this channel is usually talking about core vencord dev and PRs
i am planning on submitting this as a PR
not real
its a change to a plugin already in vencord
i wish GitHub supported a standard ignore revs file location so those numbers wouldn't inflate from reformatting. they already exclude stuff marked generated via .gitattributes (or otherwise detected as generated via linguist)
honestly tho my opinions on prettier dont really matter
Vencord.plugins.fooBar.start
the big issue is mainly the conflicts
thanks a lot, i was stuck on this :)
that should work unless the Vencord plugin loader does funky stuff to functions with those names on the object; otherwise they'd just be normal and you can call them like normal
i absolutely despise prettier but i do regret not using it for vencord
the fact that it just works and theres no discussion about formatting is nice
hence why vesktop uses it
i think its ready to go
why don't you change then lol
switching sucks for a week as people have to rebase around it, but after that you're done
oh right...
I forgot about prs โ ๏ธ
but to be fair vencord needs stricter styling rules
This is my first time using typescript so please spare me
๐ค
reformatting the entiere codebase is horrid
ruins history, git blame, merge conflicts
not doing that

it does work in terms of scrollig, however it still pastes in the clipboard content. any fix for that?
.wk
๐โโ
โฆtheโฉ - 3259 plays
โ
2.โโ
โฆcarbon_nitro cellโฉ - 1001 plays
โ
3.โโ
โฆrelyqโฉ - 954 plays
โ
4.โโ
โฆkohaiโฉ - 562 plays
โ
5.โโ
โฆdechairโฉ - 548 plays
โ
6.โโ
โฆColormanโฉ - 491 plays
โ
7.โโโฆeeaโฉ - 490 plays
โ
8.โโ
โฆDen Chornyiโฉ - 445 plays
โ
9.โโโฆmatthewโฉ - 415 plays
โ
10.โโฆCynthiaโฉ - 385 plays
โ
11.โโ
โฆVoroโฉ - 348 plays
โ
12.โโ
โฆFatNinjaBoi69โฉ - 342 plays
โ
13.โโ
โฆLuckyโฉ - 330 plays
โ
14.โโ
โฆcraigโฉ - 312 plays
**โ
273.โ
โโฆHoney Nutted Cheeriosโฉ** - 0 plays
can anyone confirm discord compresses images when uploading from desktop too
okay cool
I might try to find where it does that and make a plugin to disable

surprised no one hasnt done that
ya its so bad
do it twice and compare both versions downloaded from discord
Discord Account
No response
What is it that you'd like to see?
I don't know if this counts as plugin request or not. I can't find the discussions tab (my bad).
I think a way to block/hide emoji is a great feature. Some emoji are downright vulgar, ugly, and ruins the chat. I don't want to block the users who use them. I'd rather see the text :emoji_name: than the emoji itself.
Thanks!
Request Agreement
- [X] This is not a plugin request
ingore 
typo ๐ญ
ingore
how do i apply discord's css in my code?
do i just paste these goofy ass class names?
findByProps("anchorUnderlineOnHover")
and then?
const styles = findByPropsLazy("anchorUnderlineOnHover")
return <a className={classes(styles.anchor, styles.anchorUnderlineOnHover)}>
classes is from some util
idk which
ty <3
hey idk why but when i downloaded on mac, it says they dont trust the dev
vns
shows you the corresponding youtube link of a spotify song
TODO:
- add settings for invidious instances
- make it look nicer
most sane echo code
anyone can tell Me how to start the vencord github folder
bc like i cloned the git and now what comand to start
kek
the what now
Hi.
The ShowMeYourName plugin replaces the author's name with Discord username (server nickname).
It's not a bug and this is how the plugin was meant to be.
whar
Yes, but now there are two different usernames to choose from. I don't care what someone's username is, I only want to see the difference between the server name and display name. Consider this a feature request if necessary.
it's actually a "bug" in that this plugin was made before the username change but i like the current behaviour so i haven't changed it

yeah it's okay-ish
maybe there should be an option
I only use a display name for capitilisation
There are a lot of places where this plugin doesn't apply :/
or rather, a lot of places where display names appear
bots may or may not have it indefinitely
You can't
Yeah that's what I meant.
But that's not what I meant. You can't choose Display name instead of username
yeah i've made a thing which should work
Discord Account
gamerwabbit212
What is it that you'd like to see?
A wallpaper changer.
You see how popular wallpaper engine is?
Imagine the dopeness, sry, cuteness, it would add to Vencord
I found this one for powercord: https://github.com/powercord-community/wallpaper-changer
It uses sources like wallhaven...
Is very nice
This is most likely totally a plugin request
Thank you, yours truly
-THEwabbit
Request Agreement
- [X] This is not a plugin request
Looks like they didn't realise
guh
With OpenSSL 3 (unsure about previous versions), the -hex flag must be put before the number of bytes to generate.
version 1.1.1000
why is the check only running occasionally
since you are a first time contributor, i have to manually approve workflow runs https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks
this :is() is obsolete, since there is only one selector. :is is used to group multiple selectors
anyone else crashes when right clicking an image with vesktop and only vesktop?
for some reason
nope
Mhm,
I get a 'discord has crashed' message in the topright but not an actual crash
just show the second
ok
uh
what branch
oh canary
try stable
oh i see the issue
it changed from .default.canCopyImage to .ZP.canCopyImage
i will fix
yeah I use canary too, probably shouldn't
not sure if there's anything canary/ptb ever do that stable doesn't except cause issues with mods
I'm just the kind of person who always uses the most bleeding edge everything I can for no good reason
having crashes/features a day or two early
havent had a crash on startup on canary for a while
you shouldnt use canary imo
discord bricks it pretty often and you have a terrible experience with mods
stable is way better
they fuck the api more often than the desktop clients
the mobile clients are another story
does the branch switch in vesktop's desktop settings do the trick
or do I need to do anything else
it does the trick after a full restart
oop
bunch of broken patches we dont know about
including one which is the whole plugin ๐
guess I will fix the patches, though I don't know how to fix reporter
i'll check
ye which is weird
i will debug it
W fix
real
yeah lmao
same fix for webcontextmenus
ig we should stop using .default
\i prob works for default anyways lol
wtf windows insane
i did esbuild source > dist/thing.mjs
and it saved it as utf-16 little endian
FIRE
oh yea i guess the reporter will enable all plugins
cause the chunks are fetched without auth
i just used the easiest token i could get
worst case scenario u get cloudflare rate limited (happened to me while i made the workflow ๐ฅ )
oh real
opening devtols on vesktop >>> opening devtools on desktop
LOL
unblurring ur image w ai
you are soooo weird why did you hardcode the values instead of setting env var
ojhhhhhh
real
$env:banana = "hi"
real
yea i ran vencord just check the token db
ok discord
is there a plugin that like
uses staging or smth
cus
like what is this
i feel like this is realated
nah
it's an experiments plugin patch
that just enables the banner
for no reason other than cosmetic
it's togglable
we should remove it lmaoooo
its so stupid
why did u even add it ๐ญ
OH
real
oh
this is broken?
i dont get why its erroring
cause its not meant to be loaded in main thread
its meant to be loaded inside a worker thread
thius one
just ignore that chunk
why does it even error its such a baby
const isWasm = await fetch(wreq.p + wreq.u(id))
.then(r => r.text())
.then(t => t.includes(".module.wasm") || t.includes("wasm lottie"));
DO
NOW

ignore this chunk
so bad
worst chunbk in the world
we hate trhat chunk
do we just ignore anything that loads workers
try this
uit should work

it doesnt make SENSE
IT DOESSS
the first one is also some wasm loader
stilll loads https://discord.com/assets/2f241e1e3cd9af06ab44.js
which makes sense cus it doesnt contain wasm lottie in it
:sob
why does it say missing its literally
ignore new Worker as well?
not missing
or .worker.js
that llooked like a good idea but
mm i think the main big chunk has
a module that loads a worker
this one
understanding regenerator runtime is a pain
lolol real
eh its fine
just ignore most of it and only look at the body
WHY IOS IT STILL BROKEN
im lost here
LOL WAIT I JUST REALIZED
@austere talon
LOOK AT THIS CHUNK
its not being pushed to the jsonp
lmfao
lmfao how does this even happen
im so lost like what is going on in this file
anyways
fire
@austere talon !t.includes("(this.webpackChunkdiscord_app=this.webpackChunkdiscord_app||[]).push")
real ?
might just be a broken chunk or smth
like
its normally never loaded so it works fore discord
yea
but we load it so explosion happens
maybe mm
how many chunks does that affect
fake
why it take so long
to load all chunkjs
@austere talon ok done
it was just that module
fire
cause i literally added a delay
oh lmao
without it u get rate limited
cause youre not supposed to load hundreds of chunks at once
thats not normal

what gets ratelimited?
like what does it need to fetch
there are 786 chunks
insane
where is the commit ๐ข
๐ it's up to you vap
btw @spark cove
idk if u started yet on installer svelte m
but let's use prettier
cause it just works
there i pushed
i will merge into main soon and run
svelte kinda overrated we will vanilla html ๐ฅ
oh btw we don't even need to do ipc we can just enable nodeIntegration
nvm
lets not
well actually yes
lets
nuhuh use astro components ๐ฅ
did i do it right orrrr
vap ignoring me so hard rn its over (theyre probably just busy)
c79e065 ShowMeYourName: Option to use display names ins... - TheKodeToad
it would probably be better to edit the script to have this logic instead of running it 10 times
this is a backdoor since you could edit the script at any time to add malicious code. Pin it to specific long commit hash
actually, maybe deduplicate this code by move this to a shared file and import, i think src/main/constants
my english good (i reworded first half of the sentence was too lazy to fix grammar)
OMG I GRAMMAREN'T again

or maybe keep type check but there are also other types you can reply to, i think you can actually reply to all types (?)
I wonder the performance impact of putting ? on every expression
this will add the button in channels you don't have send message perms in, please add a permission check
very low if not 0
TODO: refactor slate rules (from ur message on discord)
๐ค
my brain went "wtf is this regex" then i read the variable name and hahahah
What would be better is making a folder for the plugin and including the script in the repo itself instead of fetching it every time
why are you even matching so much only to $& it? you can likely remove most of this match, and I also recommend using a lookaround to avoid matching stuff you don't need matched
I'm not sure what content could be, but react nodes could be null, strings, etc, so checking .props.children might be unsafe
oh wait its still a draft
Is this wrong?
omg we really need to make an api for this hahaha this is getting ridiculous how many plugins have this patch copy pasted
oops i will fix this immediately
looks good other than these mostly nitpicks
might be worthwhile to move this to commons since I think this is used by multiple plugins?
why the any type here? this is already strongly typed so this shouldn't be necessary. If ts is complaining about Button not taking some of these props, you could just pick the specific ones you want, usually onMouseEnter and onMouseLeave
maybe return null would be better? to keep the bar less bloated
(not saying you should do it in this pr (unless you would like to), just a general comment)
maybe make the botmessage have your pfp and name? For the most complete โจ immersion โจ
3b3da90 feat(VencordToolbox): add quickcss toggle (#1604) - fawni
what exactly is this matching? Matching exactly n chars is not robust and matching 13 of any character at the beginning is pretty meaningless. Please rewrite this regex to be more precise
description: 'Adds relative time ("time from now") to chat message timestamps.',
match: "84a1b4e11d634dbfa1e5dd97a96de3ad.mp3",
description: "Always play the secret version of the discord ringtone",
742f5cf feat(plugin): SecretRingToneEnabler (#1570) - Andrew-DLO
ehh
I feel like this plugin should modify the place where it chooses the ringtone
not the asset url
true i went to grocery store and macdonl
macdonnal
i ded and i setup prettier ya
yoppers
@austere talon did u mean userProfile?.themeColors?.length
mcchicken is so good
oh im stupid i gave the wrong suggestion i meant userProfile?.themeColors?.length >= 2
fe80b8c AnonymiseFileNames: Properly keep .tar.* extens... - Vendicated
54cbdfd MemberCount: Remove negative margin, fixes issu... - Vendicated
if you still need help, ask in the discord server. The docs cover everything though, so you shouldn't need any help
no issues/prs when
im tired i forgot what this is for but merge
did a thing
I ALREADY PUSHEDDD
vap insane
in dev
yeah haha
cause i looked it up to add u as coauthor
real realr eal
fa124d8 build: split preload & renderer.css into D. des... - Vap0r1ze
abdf4eb feat(plugin): NoSentryConsole (#1623) - WorriedArrow
6e79966 messageLogger: fix ingore guild (#1632) - AutumnVN
3b8b43c ci: Fix reporter - Vendicated
c79e065 ShowMeYourName: Option to use display names ins... - TheKodeToad
fire
updater explosion
lolol
wait how



You can't