#๐พ-core-development
1 messages ยท Page 83 of 1
@austere talon if i rewrite the daemon in rust would you accept
nuh uh
it's not much different from electron
it doesnt make it less cursed
just that ipc is over websocket instead of via electron api
the alternatives would be
- electron with massive binary and cursed or no linux support
- gluon which isn't very production ready so bundling for all platforms and guaranteeing support will be pain
- keep old gui which has a lot of limitations
- some other gui lib which just no
the file browser will use the system native?
wdym
yeah that'll be for custom dir picker
thats what you wanted the gui lib for right
no
it looks native
it uses the native stuff
on linux it uses the gtk file picker
cant it use this one for windows
no
well it could but then that's extra work for us
thats probably the winforms one
I see
makes sense
fear
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
they'll probably approve it
oh wait
avoiding firewall jumpscare is so easy
this
lol
yeah that fixed
cozy
fire
that's so real
alternative: every account gets its own settings file based on user ID, which provides full separation as part of the mod itself. but this requires the user to be logged in, and if they aren't settings can't be loaded. for example, see this from the cloud settings:
https://github.com/Vendicated/Vencord/blob/3e732646e5ab83f76b34ec7fdb3d9d8c68faca8d/src/utils/cloud.tsx#L32-L36
we have to throw here if the user id isnt available otherwise... we don't know who's logged in and what to sync.
i see this as a feature
it is the bane of my fucking existence, and is the WORST dialog you can use for folderpicking
oh no it is a feature, im just saying that we cant reasonably do this unless we rework stuff
because with local based account settings
if someone logs out, and logs in to another account, they would have to fully restart their client
also thats not a thing xd
it's part of win32
called the common dialogs
let me get it
the win32 libs should implement it methinks
but yeah please dont use that folder picker, it is genuinely awful to use
you cant manually type paths, you have to expand every node, and for "deeply" nested paths like C:\users\user\documents\ it becomes unbearable
no modern app uses it for good reason
Could you not implement an event around this? Tell a plugin that an account has been switched?
I don't know how your plugin arch works, so this is obviously a wild guess
nto really
plugins have to run when the client starts
so if the enabled state of a plugin changes, you have to restart
having entirely separate settings per account would be an anti feature imo, and also not really work well with the way vencord works. the most sensible solution would be to have plugins that do have account specific settings handle it correctly. relationship notifier for example correctly stores settings by User id
ya i got distracted working on music stuff yesterday, imma try to get it functional and push today
you can just push now even if not functional
maybe i can make functional
oo ok
i'll do but i might work on the functionality too wouldnt i be duplicating work
or should i push and just let u do
just push and we see
@austere talon@austere talon@austere talon
realed
im prob gonna keep watching this thing for like an hour and then work on it
so lmk if u do anyhing
also i decided
im gonna put shiggy clicker in the the installer
welcome to marketing
FIRE
umm can u
set up a linter or something
the formatter became insane when i transferred it
i think i forgot to transfer the linter actually
do
ok i will do
yea real
idk how tod o that
private repo ... .. .
conditionall
LET ME IN THE REPO
i dont touch linters
push to burger
@austere talon YOU
hi
pub
{
"overrides": [{
"files": ["**/*.svelte"],
"rules": {
"simple-header/header": ["error", {
"syntax": ["<!--", "-->"],
"decor": ["\n", "", "\n"],
// etc
}]
}
}]
}
@spark cove
you might be cracked
does it wor
nor
cracked like on crack or cracked like cracked
rel
why is the header multiple times ehre
idk it does the thing where save and go big
i didnt do this ven did
@austere talon VEEE
they are too cracked
let me uhh
check if i can change
@olive auroraDefinition for rule 'simple-header/header' was not found.eslint(simple-header/header)
i installed
webinst
push to epic-broken-branch
yop
whar
trying to get license headers to be real
IgnoreActivities (had no effect):
ID: 508898
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD 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 ```
ys
IgnoreActivities (had no effect):
ID: 133881
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD 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 ```
<!--
Vinstaller, a cross platform installer for vim
Copyright (c) 2023 Gaming
SPDX-License-Identifier: GPL-3.0-or-later
-->
lil indent ?
yop
Vinstaller, a cross-platform gui/cli for injecting Vencord
Copyright (c) {year} {author}
SPDX-License-Identifier: GPL-3.0-or-later

DO NOT THE PARSER OPTIONS
u have to
this is real
why cant author have more than 2 items
read the docs
u gotta put spaced comment back

true
funny thing discord own thing to disable detection for a game once you enable you cant disable
if you click the button again to disable it doesnt actually work
I had to manually clear it from my local storage horror
the reporter?
im gonna send u a patch
Vencord Reporter
how long has it been broken ๐ญ
hope I answered your question
yes but wqhat does it do
I dont quite understand
USE MY PATCH
do you even know what patches are
IMMEDIA
ik but ur patch is what im tlaking about
not exactly, but I assume they update discord functions to add functionality
that the text and templates has to be repeated
yeah it's the way vencord edits discord code to change it's behavior
I've never really dug into the insides of discord, vencord, or electron
e.g. add a custom button
guh svelte prettier
this is making the
indents show invalid header
wait im on crack
TY RINI
DID U FIGURE OUT @spark cove
the linting?
yea i merged
its fixed but i have to setup a svelte prettier thing later
cus normal prettier doesnt work on svelte files and u need a specific plugin for svelte prettier
doesnt that come out of the box
wdym
with template
idk what template is
oh u mean svelte-ts vite template
probably but i didnt use
i used ur eslint config from electron installer repo
yeah that
that would have been easier probably
but too late we lit ๐ฅ
nah i just checked and the template has no linting
it uses svelte-check
or somethingh
i mean linting kinda whatever imo
its not that important if u have ts
just ts and prettier
hmm
u need a special eslint plugin for it
it works flawlessly with astro
prettier racist
we will astro (real)
astro + svelte 
cursed
like
i wonder if vite actually supports breakpoint debugging yet
pages/index.astro is just ```html
<head>
stuffs
</head>
<body>
<MainComponent client:load />
</body>
do
^
but why
its just a vite wrapper
and we're already using vite
i mean like what does it have built in
that is useful
do i do now
wrong
which
go run -tags web .
svelter comments so ugly what
you should stop misusing h tags
h tags should be descending properly with no skips
this should be a h1
this shouldnt be a h6
๐ฅ
oh ok i'll move them to like a class
btw u can change the header if uwant i just made it like this cause i saw u use that name in other headers of urs
and use p or something
bad
<main>
<h2></h2>
<section>
<h6></h6>
</section>
</main>
good
<main>
<h1></h1>
<section>
<h2></h2>
</section>
</main>
what if h1 is used somewhere else o.o
yeah but using h1-h6 for text size is an anti pattern
yea thats why ii will just move to p
im gonna explode
using fully correct headers is hard with components tbf
thats bad
you should drop that habit
nah idc about any of that stuff unless it hurts a11y
oh how
because
screen readers use heading level to infer where sections begin and start and which headings are the most important
ooo
that makes sense
ok i will make a header component
that checks its own depth
and uses class for size
epic moment
<Forms.FormTitle tag="h5" />
this is what discord has
the tag prop is actually just for style
it will use whatever level is appropriate
BASED
its ok it ended up making sense but at first i was confused cus u didnt explain yet
oh yea that was in Main.svelte originally i forgot to refactor
ah ok
Vencord WebInstaller, a web frontend for the Vencord Installer
does this sound good
ye
or how else
that makes sense
cause the current one is kinda wrong
yealoll
ill push rn
fire
i changed these to rem too
cause otherwise if you zoom the font size wont properly scale
or rather
the default font size is 16px, so 1rem is usually 16px
but users can make it bigger or smaller
if you use px it ignores their choice if you use rem it scales with their preference
1
but yeah basically this is why
yaa i rember
px is kinda bad bad for most things
like if you use rem and em for everything then if the user makes their font size bigger the entire site becomes bigger
oh yeahh thats fair
figma usually uses px which is bad
yea silly
i will fix
ok real
i will untouch
also fira mono is probably overkill cause doubt we will need monospace stuff
but tgats fine we will see later
๐ฅ
i think a store is pretty good for this
cause u can sub from anywhere
and get the full message stream and stuff
using a store as stream is kinda cursed but i think it will work
honestly that is real
its a little cursed but i doubt we'll get two responses in the same tick
cus there shouldnt even be 2 requests
REAL
its coming along
svelte ๐
okay
i didnt know handling promises was so hot in svelte
this scteen already looks nice tbh
there we will have like info
downlaod button
reconnect button
and some info
tbh i didnt even use much svelte yet yet i keep shilling it
๐ฅ
mainly cause from the small bits i used it for it made me fall in love so fast
its like when u meet a guy and love on first sighteven tho i dont even know his name yet
u know
so joever
pretty nice
<3 huge thanks to @stuck mesa for the based designs
true true
i felt kinda bad that they made such a nice like draft and i couldnt really implement it cause old gui so limited
so now we can finally give it justice
and implement it
yes we are giving it me finally
tbh now we aren't far from it being functional
just make the radio work, pass choice to actions component and make the buttons send proper websocket messages
then it's just about making the UX better
radio should work
nah i broke it lolol
silly
mm its working for me
want me to do that?
rn
nah i have some changes
oh okay real
yeah thats what i was gonna do
fire
just need to edit Actions.svelte
im gonna get rid of mono cus it looks so much better with just sans serif
idk why i didnt check first
yea i have a funny idea
thats related to the shiggy clicker easter egg
i'll use it for popups
HUH???
now need to find a way to refresh installs
but it should probably be ezzz
i wont do now
maybe u do
or i do later
ok sound ez
LOL
so will it open a terminal for people
nonoon
what is svelte extension smoking
i may be smoking a little too but
i fixed the label insanity
i think u dont export let class
cause u cant do that
actually yeah u just cant
do u already use $$props.class
no i export className as class
but i actually
stopped using class
im using css vars instead
i just didnt update
but i think svelte is just being insane cus look at that highlighting
oh u can restart svelte language server
ok that fixed it lol
b2b0a12 revised semantics, fix patch select - Vap0r1ze
999809b Merge branch 'main' of https://github.com/Venco... - Vap0r1ze
lol why is the patch order random
ya
will simply sort
if you watch this you can tell how confused I got cause order changed
const branches = ["stable", "canary", "ptb", "development"];
.sort((a, b) => branches.indexOf(a) - branches.indexOf(b))
pronably works
might have to swap a and b I can never remember which order
yea ur order is real
i just know for numbers incr its b-a
which is weird that here its a-b cus i think its increasing indexes
does ptb have a color
I never used ptb in my life
development didnt even load when I tried it
you will install it

fake
oh yea ptb is its own web channel now too
lemme check that
oh its just blue
boring
true
btw you don't have to stick to the old installer design
we could like entirely redesign some parts of it as well
yea i just used it as a base cus its fire
like we could kill radio and instead make like ultra thick buttons for each branch
and background is the branch colour
avoid using discord logo tho
where is the part where we have to agree to terms and conditions
missing that checkbox tbhhh
mm
make it jumpscare text on you
gpl jumpscare
radio makes most sense
dropdown select would also made sense
but that sounds more annoying
ptb will get grey becuase if u use ptb u suckk
so true
i had to make an accessible drop down for a code challenge for a job i never even got ๐ฅ
good you didn't get it
if they use drop down they're evil
you would have HATED that job
is drop down not a native html thing
wdym accessible
nah i would have liked the job tbh
i knew some ppl on the dev team and it was discord related
unfortunate that i wasnt needed
i had to use those aria groups
so that it looked like a certain style on all devices
aria roles*
also the screen reader stuff
honestly i really like making accessibility components i think its fun
whar
im web dev pilled
aria-* is purely accessibility and doesn't change style, no?
am i misunderstanding
well the amount of styling ability you have using aria roles vs native html elements
is a big difference
you are able to change styling with aria roles
do you mean like
<div aria-role="button" >```
yea
button isnt a good example cus its just a block
and allows html inside it
think like <select> <option> stuff
those u cannot put html inside of
yeah and also div button is very bad cause you also have to manually implement stuff like keyboard focus, keyboard click etc
ah I see
nah i think aria role will implement that stuff for u
if u set tab index
it did for me with most things
I think you're confusing it with something else
yea maybe
cause aria properties only add the semantics not functionality
mm i dont think thats true
but im prob smoking
but i think i get what you mean, just reimplementing some html elements yourself for more customisation and then using aria role to give it the proper semantics
yea idk what im thinking of but i remember when i was working on it i felt like something implemented itself
but yeah so real
i hated webdev when I was using react
but astro and svelte make it so fun to me
thats so epic
well back then I was terrible at it so maybe that's also why
mine was js but I didn't do webdev until much later
i only did nodejs
discord bots
my first like 10 projects were all discord bots ๐
i wonder what the experience was switching from nodejs to webjs
cus i had to switch from webjs to nodejs when i was learning how to discord bots
imagine not running the bot in ur browser
it was weird learning that some things didnt exist in node
and having to abstractify js in my head
for me it was the other way round having to learn that most node apis don't exist in browser
and failing miserably trying to make a web dashboard for my bot
cause I had like no idea how to share state at all

mine was CRA ๐
I wish I had chosen something like svelte or vue
react is terrible tbh it's my least favourite framework
cus hooks
idk why it became industry standard
So bloated and no fun to code
facebook + it wasnt as bad as angular
react hooks are so cool until you try a different framework and realise they have 10 times better stuff
like svelte stores and state is so good
yea observables are so hot]
after using svelte stores, having to use react state and effects and having no proper inbuilt stuff for shared state feels so bad
next time ur forced to use react u should try zustand
I used zustand ages ago
its sooo goood
real
I'm relatively new to coding compared to most other people, i only started sometime 2020
hello, any plugins that make you idle automatically when afk?
i wish i was like that
i learnt go in like 1 day 
i'm lazy progamming
can someone answer me please? i really need that
i'm a discord server owner ๐
yeah
i wasnt really good at learning til like 16 or 17
it's person to person
there isn't and you said it the wrong way round lolol
do they mean like for vesktop/web
no they mean instantly when u alt tab
i'm brazilian, my english is -2
wsg
-2
yes
no, i mean, when you are away too much from discord
so you can config a time setting
like 5 min
sou you got automatically put in the idle status
are u on vesktop or the website
desktop
desktop already does that tho
vesktop is desktop with ven?
it's not desktop exclusive
but i can't configure the time
it's just web discord in general
ohhh
you can it's in notification settings
i need to put to like 5/2 min
it does it for mobile push notifications
it does thats what im using rn
yeah, i see
that's really useful
for a discord owner like me that needs to use status to communicate with my members
so they can know if they can talk with me or not
yes
i wish mobile can have plugin and theme modifications
but no one did a vencord for mobile yet...
yea
"on vencord"
vesktop
ah
lol this is funny @austere talon
yeah, this is why you need to use both of them
but i don't see any problem with that
what's this
it happened when i signed out of discord on vesktop
where i found this?
oh it might only happen when u sign out of a second account
maybe
qr code login is working for me tho
its kinda weird tho its not previewing my account details
hmmmm
strange
so, any of you guys know any css that I can use to resize member list and channel list?
just improved my life
thanks
lol
I went to message someone, then discord asked me if I was a bot, and I was unable to send the message (this may be unrelated, but I'm not sure, it just happened to happen right before this,). So I restarted discord, and then not a single message in any DM, server channel, etc. would load. So I opened the vencord installer, and pressed reinstall/repair, and the installer froze and went into 'Not Responding'. I tried restarting discord and the installer a couple more times, and reintalling the ...
Discord Account
dumb#0712
What happens when the bug or crash occurs?
When I try and go to my settings to go turn off the Plugin in the vencord section, it wont let me choose any settings to go to and it keeps me stuck on the main screen of the settings
Screen recording 2023-08-14 1.25.58 AM.webm
What is the expected behaviour?
It's supposed to let me go into my settings and scro...
this is so funny
ah so vencord/installer is like a patcher for stock discord
ya
@spark cove hey, i think i discovered your issue, you need to enable this
no thats not related
thats for opening links in vesktop
like this link: https://github.com
im not sure why that option exists tbh it doesnt seem too useful
add this feature please!
Discord Account
No response
What is it that you'd like to see?
I couldn't find discussion tab on github
There is: Code, Issues, Pull requests, Actions, Projects, Security, Insights.
The plugin:
I would like to see plugin ChannelTabs On The top of app where i can Quick navigate to certain Channel on any server i'm in and if this Channel is a user dm i would See his avatar and status and if this Channel is a chat from one of servers i would like to See server logo and number o...

fr
โ This is not a plugin request
- A pull request for this exists already #499
- did you not read the text in the checkbox you clicked before submitting??
the pull request looks fire
Hello, everybody. Are there any resources about getting started creating Vencord themes?
the same as the resources for making bd themes pretty much
Oh, nice. Are there any specific resources you would recommend?
iโm not really into theming so no, better off asking in #๐จ-theme-development tbh
Oops, my bad, I didn't notice that channel.

@austere talon can you please lock the comments on the channeltabs pr to contributors only
oh rip
Discord Account
firedevilx
What is it that you'd like to see?
It would be nice if we could delete ReviewDB reviews that we don't want on our profiles
Request Agreement
- [X] This is not a plugin request
You can report reviews that are malicious / abusive / have slurs or something. If you mean being able to delete any review you don't, that kinda goes against what "reviews" are for
any review you don't
You can report reviews that are malicious / abusive / have slurs or something. If you mean being able to delete any review you don't, that kinda goes against what "reviews" are for
There's a person pretending to be a YouTuber asking for nitro
just report it ๐ญ
You can report reviews that are malicious / abusive / have slurs or something. If you mean being able to delete any review you don't, that kinda goes against what "reviews" are for
How do I opt-out then
@civic fossil https://reviewdb.mantikafasi.dev/dashboard/settings, login, toggle the setting off, save settings
Lmao
where is the discussions tab
it was disabled
y
because there were too many dumb submissions
they're just going to make their way over to the issues tab
issues tab was disabled too for a bit cus vee got annoyed with that 
im kinda being insane with these commits i should make a branch
too late u already broke everything
โ this is a plugin request
are you using a windopws theme?
true im silly
omg vee awake
about type imports?
I noticed that svelte or vite idk which is cringe with that
I had to make something a type import or it would error that there isn't such an export
yeah okay
this is so fake
but yea type imports were weird
button ugly
yea i fixed
and make it so that if you click the shiggy it shows a smaller shiggy where u clicked for a bit
yea true i must do the mouse and the background shig particles thing
wait this is cursed is this all the website?
yea LOL
that's so fire
hehe
the installer part will never be finished
too busy making shiggy clicker additions
and disable buttons when busy
yeah nice
and popups ya
maybe we can do like
since its only relevant in actions component i just made it a let variable
busy = true;
do().finally(() => {
busy = false;
});```
openWindow jumpscare
okay sure that works too
do you use .finally or
cause I can't see on screenshitter
yea
real
.finally unbusies
async
same thing? ??
i got 420 shiggies this is so lit
๐ญ
we can use like stripe to add micro transactions ๐ฅ
โค๏ธโค๏ธโค๏ธ
btw will we add light mode too
yea its added
I'm only a little mad
yeah it looks fire ๐ฅ
just needs a toggle button
but if ur system is light mode it already light modes
(jkjk i get it hehe)
good
oh nice
I think we don't need a switch
just use system pref
ez
but I mean we might as well add
Since when was i mod
so long ago
I gave u ages ago I think
Omg I've been so inactive and busy I had no idea








