#๐พ-core-development
1 messages ยท Page 99 of 1
theyre 12.5% vietnamese
at least the last pic is like you would expect ig
is that a pic in their office???
anti leak 
I just realised I didn't read before posting again
that it why i deleted the virustotal screenshot ๐ญ
in 2021 their vpn server got sql injection
and when some dude on raidforum is going to livestream about it, they just shutdown the server 
it really is
YEP
cry about it
i WILL

uhhhh @austere talon i know you mentioned it being an electron issue
i just wanted to further elaborate on it incase it isnt fully known
as far as i can tell vesktop's icon issue comes from the fact that instead of linking the path of the icon in the .desktop file
it just says vencorddesktop (as opposed to path/to/icon.png)
i altered that line to be Icon=/usr/share/icons/hicolor/0x0/apps/vencorddesktop.png and it works fine
i dont know if that can be migrated into the code itself or if that's all on electron
i thought so at first but it might actually be their janky way of having multiple captchas
:shrug: you may know something i don't
serious question: is this code too cursed
I'm guessing _audio is meant to be private
BKAV? All the people I know don't use it (although myself and them don't use it)
i wonder how hard would it be
like do you just need to recreate BdApi or do you need to remake a lot of dumb shit too
it wouldnt be too difficult per se, just stupix
not that hard
in theory
bdapi isnt really even that big
because plugin libraries are what most people use
might try it eventually tbh
if you remade bdapi why wouldn't libraries just work
:O https://github.com/BetterDiscord/BetterDiscord/pull/1663 this is actually cool
whatever i shouldn't ask this
of course it has a prefix though guh
doesnt
you also need to completely fuck up security
yeah i think plugins are able to use require("fs")
bd is very insecure currently
you can easily run arbitrary code on the system with BD
anyway the pr seems broken
oh, i was reading the title
getAccentColor returns RRGGBBAA string according to electron docs and color: abcdef12 isnt valid css
they need to prepend # but dont
oh damn i just found something i might be able to use
https://www.npmjs.com/package/node-pipewire/v/1.0.8
because unix better
its not that difficult, single api call or read the registry
its a neat idea but if it starts becoming a standard its going to be annoying
but ig i can implement it (with better support xd)
?
what are u talking about
getAccentColor() is available on windows
so they're right aligned and have the switch style title
i think that'd be nice
would look a bit less jank than it is now
lets try that when im home
thats what i was saying
bdcompat is super easy because bdapi has a relatively small api surface to reimplement
antifeature
and plugin libraries are used for a lot of the higher level stuff
yes but its still the case
this is a discussion in theory i dont think anyone wants to actually make bdfdb
brb
horror
idk why i didnt do this earlier
before it would just have an error handler in the root find function which would 99% of the time give you the generic filter that doesnt tell u anything
oh wait
thats more like it
This API is only available on macOS 10.14 Mojave or newer.
@platform โ win32,darwin
how does it behave on platforms that sont support it?
does it return null/undefined, method doesnt exist, error?
yeah but linux
// test.js
console.log("color", require("electron").systemPreferences.getAccentColor());
then run it with electron
via /usr/bin/electron test.js or pnpx electron test.js
alr
it should either error or print something like this but null/undefined after the color
(then just ctrl c it)
brb
// test.js
console.log("color", require("electron").systemPreferences.getAccentColor?.());
oh okay no worries take ur time
yo, sorry for the kind of stupid question, but how do i make my own plugin? i read the plugin guide on github but it's just a bit confusing to me, since i have close to no experience w github
do you know how to code in typescript
no crash just color undefined
i have the tiniest bit of experience with js and a lot in python, im sure i can learn
gonna ping u for emotional support
do you have git installed?
yeah
have you cloned the repository
no[e
@austere talon venvennnn
are you planning on submitting the plugin as a PR to vencord
heii
not really just trying to have my own plugin
:3
okiii
make sure its desktop only :3
and armcord too mm
src/userplugins/
i'll write some flagsss
okay and in there my plugin and index.ts with the template
make a folder with that stuff in there
,,,,,, whats usercss 
user defined css rules
stylesheets but with configuration options
:3
so instead of using css vars to configure, you get a UI
The 'Stylus' extension is a fork of the popular Stylish extension which can be used to restyle the web. Not 'ish', but 'us', as in 'us' the actual users. Stylus is a fork of Stylish that is based on the source code of version 1.5.2, which was the most up-to-date version before the original developer stopped working on the project. The objective ...
userstyles
OH THAT
its like userscript but for css instead
and they have a special syntax for making conditional css based on settings
ye!
we implement all the compilers too so you can use less and stuff which means you get if statements
fun
im having a fit
xd
github says this is too complex to resolve on the web editor but i cant quite see how to uhhh
oh i see
okay all done, now what?
am i on my own xD
make the plugin
np
feel free to take a look at other plugins
theyre the only good docs atm
there's also CONTRIBUTING.md but that's pretty outdated
yep, will do since i can't find anything else
?
oh deleted
?
ah, brain fart
I read
This API is only available on macOS 10.14 Mojave or newer.

been there, done that
au chocolat
actually in theory
mf eats bread with chocolate
usercss is already not-available for anything that doesnt support the proper vencord natives
so it should work ok?
i'll check
im gonna try and implement the screensharing with audio userscript first, and have users just use the virtmic binary that was originally used before discord-screenaudio until i figure out how to go further
this doesn't seem too hard to do
we shall see
oh god that's cool and pretty
hmm looks kind of weird
it looked weirder before imo
caues it was one of the form headers
and then a color swatch
it didnt look good at all
maybe add a hex code next to it
ooh yeah
thats the size of the actual discord color swatch
i could though for this
its a complete reimplementation
so i could do this
though i will make this as part of the component itself rather than css
@lime stone
hmm
same height and width as a switch
too smol
i'll push leave feedback :P
I like it
- the checkbox is already an exception isn't it?
que
i like the idea of having it 4x the size of a switch
so 2 switches wide and 2 switches tall
everything else is headered at least in plugin settings
so 80x48
but i'm guessing this is theme settings
switches are 20x12?
ven
in my very next message divided by 4 instead of 2
thats 2x2 switches
bambik
real
is this guy bambik
yeah
you are bambik @graceful hedge
why did you randomly think of bambik
in the past
insane
๐
jestes bambik@graceful hedge
whats that
@austere talon okiii ready :3
i fixed up the pr
cuz merge conflicts and stuff brokey
o wait
is_web guards
I saw .shop and my mind instantly went "YOO VENCORD MERCH"
shiggy plush when
ignoring the copyright issues they do not exist
how would it ... animate?
its imbued with the soul of the shiggies
yo any documentation for making a plugin?
oki @austere talon i added guards for you :333
https://github.com/Vendicated/Vencord/blob/main/CONTRIBUTING.md though it's a bit outdated
there's also https://gist.github.com/sunnniee/28bd595f8c07992f6d03289911289ba8 which is a bit more up to date but harder to follow
alr i appreciate it fr ๐
wait did you make that?
or are the names just a coincidence
yeah
progress is being made 
if i didnt have work there'd be a chance i could have rudimentary audio support done by tonight
uhhh
@austere talon uhhm
is this still supposed to be there
nah
the date is irrelevant i just added it as a general idea of when it is safe to remove
it's a legacy thing
The screenshare is much improved, but the popup shows twice before the screenshare works, only the second popups settings apply.
If you press "cancel" you have to restart the app to screenshare again.
tested on fedora 38.
Screencast from 2023-09-25 15-45-40.webm
can yall add a sound board plugin ??
no
ok
i know the double opening thing is part of electron
but
hmm
i might look into the cancel issue
i think i figured out what's wrong
just need to locate it
fixed in 0.3.2 which will be out in ~10 mins
freezes have higher priority than inconvenient streaming
but u can just keep using 0.3.1 if youre worried
ofc
i might look into the stream issues anyways while im doing this
im already looking at the
pressing cancel breaks streaming
pointless
we just need to wait for electron to fix
the cancel might be vesktop related
duinno
i think it has to do with not handling the nulltype properly but i cant tell
i think its related to calling callback with an empty object and discord not liking that
but quite frankly idk how to do it correctly
so getSources throws?
yeah that's what im seeing
try this
const sources = await desktopCapturer.getSources({
types: ["window", "screen"],
thumbnailSize: {
width: 176,
height: 99
}
}).catch(() => null);
if (sources === null) return callback({})
might work
i think it may
glad so many people actually help out
oh
omw to convince you to push an update that'll nuke every mac ever (world peace would be achieved)
interesting
the error is gone
or half of it at least
but
one moment let me test
mhm
errors are fine
it can be restarted infinitely
no need for client reset
it just froze the client for like 5s the first time
and now doesnt freeze it
that's why i wanna try and fix it incase that is what caused that

:D
arrpc finally knows cookie clicker
wtf is this https://github.com/kaitlynkittyy/cursed-html
i remember looking into that once
do NOT take your time. if you don't do it in the next 5 minutes your PR will not be accepted
its painful that's what it is
it looks funny lmao
i will star this and the repo
make a discord client in it
nvm it's a fork
can i ask questions here?
- dont ask to ask, just ask
- depends. development questions yes, other questions go in #๐ฅ-vencord-support-๐ฅ
okay, I think I'm in the wrong chat
lewiiii
wing releaser
@swift fjord
its u
Unfortunately I still have 3 popups like in the original issue on v0.3.2...
hmmmm?
ogh
ye it should
i also still get two separate popups, one for window, one for screen.
Meanwhile Armcord has a combined picker. So its definitely possible to get this into one picker.
i made sure to use the same PAT
can u give it a manual trigger
to see if it works
:3
?
you need to add it to the workflow file
we will just test next tag
no as in
run it
it has a trigger
xd
i want u to run it so it creates a pr for 0.3.2
i cant because i have no rights to the repo
ahhh!?
Content
Sometimes the codeblocks I want to send are over the 2k message limit. However, when trimmed, the total character count would be under the 2k message limit. Here's an example:
Untrimmed, 2,436 characters:
method = default;
route = default;
version = default;
SequenceReader sequenceReader = new(result.Buffer);
if (!sequenceReader.TryReadTo(out ReadOnlySpan startLine, "\r\n"u8, advancePastDelimiter: ...
@nimble plaza can i create a bug report for this cause " ONLY USE THIS FORM IF YOU ARE A CONTRIBUTOR OR WERE TOLD TO DO SO IN THE SUPPORT CHANNEL."
lol
no it cant...
it needs workflow-dispatch to be able to call it
nah just fix it

rules
yup
ha im an idiot
they look fine tho
oh my god I'm so bored of work I wanna go home and finish the screen audio thinggggg
I had an idea to fix what I was dealing with and now I wannaaaaaa

lmao
uhhh for now I'm planning on just making it so it works with the virtmic binary
what do u do for work
r e t a i l
horror
later I'm gonna try and use node-pipewire to implement SOME sort of automatic source selection
why does it tell me i can manually run it even without a dispatch trigger
๐ซฃ
congrations,,
ah whatever
i dont know why it didnt work initially xd
i assume it tried downloading the blockmaps and got confused
ye]
because github supports a limited subset of merge capability
and requires you to perform more complicated operations yourself
because it doesnt know if this is what you actually want to do
it can safely do relatively simple things
the mergeing lmao
but for operations like this it will refuse to to prevent stuff
lmao that is a painful merge
what pr is that?
vencord still doesn't work on firefox right?
first i merged main then i changed to dev
aha
now i had to manually merge cause renames
then i also had to merge main into dev cause main had newer commits so it was weird
and then merge the pr again
and would have squashed the issue templates changes into autumns pr
heh
damn git is weird
tsk tsk tsk @austere talon
?
blame torvalds
that site is fake
after committing and pull requests and all that you've lost me
cant u take it down or something
you think we didnt try? :P
Id assume not cuz vencord isn't copyrighted
it does but mozilla has not reviewed our extension in 4 days :)
i spent multiple weeks of my time crusading against that website
got it taken down once, they came back up again same day
tradmarked is what you mean
we got them suspended from their old hosting provider (hetzner)
the links to download seem to have disappeared from it
technically it links to a legit page

taking a site down is impossible if theyre dedicated
DAMN okay that's impressive
its a wordpress site so mabye
last i checked that page was empty
shh it's impressive to me :(
I'm no dev
I'm just someone who fixes random shit that bothers me
by that I mean my ac broke and I fixed it
screensharing has no audio so I'm gonna try and fix it, etc.
eep
nini lewEE
btw did y'all contact namecheap about the fake site
it just links to github
ohh
if yall are dedicated https://wordpress.com/abuse/
Please use this form to report abuse on WordPress.com. Before reporting a site with this form please verify that the blog in question is hosted by Automattic. ย We have no control over blogs that saโฆ
its not hosted on wordpress.com
why does it have the wp content? was that before or something
wordpress is a self hostable software packagw
it just uses wp lol
i-
@long heart fake red panda
is someone just re-hosting the website?
โผ๏ธ
no
its a shit wordpressed version
yes but ugly
why
idk
email farm probs
whats an email farm
welp my break's over y'all have fun wordpressing or whatever
mass collecting emails or something
btw @turbid hatch did u see this cute userscript badge i made
take care!!
omg based timezone
mobile icon not on complete left?
?
the mobile indicator, its usually the first badge on the left
ye :3
is very cute
:3
i wanna use it on github too but i kinda made the badge with html & css
thats okay!
does github support that
it works in github readmes
ye
you can use it to animate stuff
most common use case at least
heh

yes they are official
horror
anyway yes i really need to sleep
well they're supposed to be displayed small
gnn
gnnn lewi

that looks better than the screenshot
@austere talonend times are here
copy link on the image you just posted
discord added telemetry to media links
nah
they already did this a while ago
just them being dumb
theyre meant for smth else not normal cdn
but they dumb dumb
why doesn't clearurls remove them ๐ญ
they already fucked it up the second time now lolol
cant wait for firefox to remove the extension
they have nothing to do with telemetry
what are they for
cynie 
hi
its not telemetry
it was originally added for server shops but they might or might not roll it out for all

someone else said it was telemetry so that's what I went with wording wise
its not, its basically an access token and expiry
bruh what
its gonna piss off so many people if they actually go through with it
which is why they keep testing the waters with experiments instead of just saying fuck it
imagine how much their gcp bill is
TLEMTEYT
trol
gonna modify the badge (remake from scratch)
make it the primary element
put the firefox and opera logo right next to it, actually on top of it
gonna put gay porn and gamblinb and liveleak videos and embed some tobacco shop
and when you click it will open the firefox store
KILL TELEETRY
shut up

please
when i sent the channel i meant they should read 
bounce :D
rude..
make sure to add kiwifarms or 4chan or the vencord discord server for the hate speech
or the vencord discord server ๐
the latter may seem odd however you havent seen the secret german channel
where they all say german slurs on repeat
https://docs.clearurls.xyz/1.26.1/ for vencord ๐ฅ
ClearURLs Documentation
nop
would work
vencord needs microsoft edge add on
never
vencord version is actually based on neat url but i think its dead
as in hasnt been updated in a year
also why do bots following like 3k people keep following me on gh lol
i love how edge stole mozillas design
anything to remove telemetry 
might aswell change it
yea
implying its even official
and the opera store
is it not?
idk for sure
ui looks funky
man did anyone even know telemetry was coming
READ
how hard is it to do that
I think add-on developers need a "Get the add-on" badge to promote the Edge extension. The following badges are available in Chrome, Firefox and Microsoft store: https://developer.chrome....
ah its not
read a bit meor then
I know the situation stop smart talking me
i didnt KNOW there was a channel for this
you should use this usually
ok anywaysy
I'm dumb talking B)
"i know the situation"
"why is there telemetry"
you dont
.
jesus christ edge is invasive
add the extension but make it only display like "change browsers"
vencord for galaxy
i think it has one
can we put it on blackberry browser
but u have to apply to get some proprietary docs or something
i would genuinely want this
"we have created a work item in our backlog"
closes issue
refuses to elaborate
gonna start doing this in vencord
did that guy ever finish their audit

vencord issues comeback???
never send that emote again ruthenic
vencord for samsung internet would be great
theyre open
Store badges for different app stores, including the Google Play Store, Samsung Galaxy Store, Apple App Store, One Store, Huawei AppGallery, Microsoft Store, Amazon Appstore, F-Droid repository*, Chrome Web Store, Firefox Browser Add-ons, and Opera add-ons
Do you find this useful? Support my wor...
.automod add :torvaldchad:
how'd that audit go
would commenting this be too annoying
dewit
you wont
wait how dead is it
eh
that's just spam
lmao
BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/
BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/
IgnoreActivities (had no effect):
ID: 216272
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
Party mode ๐:
S0.__getLocalVars is not a function
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
pain
uh oh
๐
d0e2a32 VcNarrator: Ignore multiple underscores (#1748) - example-git
30ac256 migrate all plugins to folders - Vendicated
0b7fca8 plugin READMEs: migrate from imgur to github as... - Vendicated
044f64e Improve permission checks on several plugins (#... - lumap
376aaf3 fix SearchReply filter - Vendicated
BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/
BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/
IgnoreActivities (had no effect):
ID: 216272
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
Party mode ๐:
S0.__getLocalVars is not a function
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
where am I reading
i can only find you berating some guy about it
nvm
im blind
yep
I know globalbadges relies on discord as a CDN
so this is something they are implementing at some point
i need my plugin to search for a specific keyword in any message that is sent, not sure how to do that in typescript and in the way vencord plugins work. anyone able to help?
search for flux: {
just wait for if and when they announce it publicly tbh
isnt the bar supposed to move or smthing
ye

is it on 0? but that should hide the bar iirc
This is supposed to be windows latest
no
no
running ci on windows 
what!?!?!?! you can submit to a windows package manager while running linux!?!?!?!?!? 
i mean unless that action only runs on windows
That's the thing.
I have informed the creater of the action. If there is any changes, he might make a pr
???
whar

i also still get two separate popups, one for window, one for screen.
Meanwhile Armcord has a combined picker. So its definitely possible to get this into one picker.
because we had to downgrade electron again (0.3.2) since it was causing freezes. it's fixed in newer electron (0.3.1) but we cannot use it in this state
@austere talon i slightly looked at the issue with white screens caused by newer electron rq and i get the same error message as the issue mentioned but no crash/white screen
im wondering what else could have been different and causing that
is it possible to make the text replace plugin work on input boxes of slash commands?
or itโs impossible
i got stuck on step 1 ๐ญ
i enabled react dev tools
restarted discord
but components isnt showing up
supposed to show up here, right?
Discord Account
lon3ly_but_not_alone
What happens when the bug or crash occurs?
Whenever i try to open the Themes tab in the settings, i get an error message saying the tab couldn't be loaded. I had tried uploading a theme from BetterDiscord, and when i did i got the error message.
What is the expected behaviour?
The tab should just be loaded, there shouldnt be an error saying it couldnt render the tab.
How do you recreate this bug or crash?
- Open settings
- Select ...
ALWAYS FIRST USE OUR SUPPORT CHANNEL! ONLY USE THIS FORM IF YOU ARE A CONTRIBUTOR OR WERE TOLD TO DO SO IN THE SUPPORT CHANNEL.
no...
Browser devtools
ctrl shift i
no
this is already aging so well
why dont dms have permissions wtf
everything seems to be according you should fix and communicate with VirusTotal to fix such false flags
virus
virustotal is known to be bad, these bfs even flag the firefox installer as a virus. a simple solution would be to not trust virus total (the right choice) and to not worry. if you really think something has a virus, use a VM.
my head hurts reading that issue
virustotal is known to be bad, these bfs even flag the firefox installer as a virus. a simple solution would be to not trust virus total (the right choice) and to not worry. if you really think something has a virus, use a VM.
virustotal is not bad and its totally fine, it scans the file you uploaded using different antivirusses and out of 72 antivirusses only one random antivirus flagged vencord, which is totally normal
everything seems to be according you should fix and communicate with VirusTotal to fix such false flags
We are not going to reach out to multiple antivirus vendors to resolve a false flag that realistically very few random antiviruses actually flag it for (wtf is Bkav Pro??). It's not something we can just 'fix' and it's not a VirusTotal thing - blame the random antiviruses that flag loads of things for no reason.

๐
god these issues seem like a nightmare lmao
were discussions reopened?
if not then it's fair to use issues
i think another repo called Plugin-Requests would be better than discussions since i'm not a fan tbh
could also limit access to the repo
Please mail in plugin requests to our P.o. box
good idea
to e.g. contributors lol (or maybe that's silly)
contributors/donors?
biased

where do i find the devcompanion plugin ๐ญ
you need a devbuild (and to not be using a web browser) to see the plugin
build with pnpm watch instead of pnpm build
pnpm watch is just pnpm build --watch isn't it?
which just watches the files and rebuilds
nope, just press Ctrl+R
wait
but that doesnt run the app
do i run that in a different terminal and then run the app with pnpx or somethin?
i am NOT a js dev
lmao
wdym? afaik pnpm is just a package manager
i use pnpm run start:dev to run it
so
if i could do
pnpm --parallel run start:dev watch
oh i dont need the run part
oh wait are you talking about vesktop
that doesn't exist on vencord
yeah and i don't think watch is too useful either
lol
you do need to relaunch the whole application in that case afaik
why do i get confused between iirc and afaik
i forgot vencord was a thing for a minute
LMAO
oh huh
watch actually gives me more debug info
wtf
that's nice
i need like
verbose
i feel like im lacking debug info
yeah interesting using watch also gives me openh264 errors when i stream instead of nothing
also console.log prints to the stdout right?
oh damn i think im stupid
no way
removed for bypassing paywalled features
uh
so they have no reason to remove us other than hating us
I was using an outdated version of the extension, but I enabled all plugins to see what happened ๐ญ
and vencloud isn't working :/
(the usual csp issue)
iirc you had to remove the workaround (which didn't work half of the time LOL)
would it be possible to hide the cloud tab
hey uhhhhhhhhhhhh btw cuz im bad at reading console errors
(yes this is custom code and not default vesktop so it might not be recreateable)
how do i read this?
you ignore the stacktrace and just read the first line
NO_DEVICES_FOUND
should be pretty self explanatory
ohhhhhh
i assumed
also uhhh
the @ me:1
is that something i could trace to an actual file or
well the blue things link you to code
try jumping to them
@ me is just the url of the current page (dms)
ohhh
hmm
is there a way to link it back to my own code or is it just something i have to deal with
check the stacktrace for where its thrown and why




