#πΎ-core-development
1 messages Β· Page 78 of 1
and too lazy to look into it
oki ty 
Full disclaimer: I have not checked this code nor am I strong in Golang. I simply asked ChatGPT to include application home folder search as that's where I have my discord installed and the home user's Application directory is a standard directory in macOS that exists when you first initialize your machine.
chatgpt
i tried installing it but i get this can somebody help me
`
Actual HOME is /home/nik
Using UserConfig
Checking if /home/nik/.config/Vencord/dist exists: Yes
Is Dev Install: false
Fetching https://api.github.com/repos/Vendicated/Vencord/releases/latest
Checking if /usr/share/discord/resources exists: Yes
Checking if /usr/share/discord/resources/app exists: No
Checking if /usr/share/discord/resources/app.asar is directory: No
Found Discord install at /usr/share/discord
Checking ...
This means that your account can be disabled ig
how do I know if vencord has installed?
if it says patched on installer
vns
What's the benefit using vencord?

No like fr though, what's the benefit using it?
compare it to normal discord and see
vns #π§-off-topic-iceman-only chit chat here | dev chat
I see no diff
oh
wake up
chatgpt pr
day ruined
so true
Scoop is a windows package manager widely used by the more techy windows folks.
I have no idea what their stance is on these kinds of apps in official buckets (repos), but a bucket is just a git repo and anyone can host one on github. so it would be nice to have a official scoop bucket or package in one of the existing buckets.
I have seen the comment on https://github.com/Vencord/Vesktop/issues/29, so I could try to help out with making the manifest or even creating a sample bucket repo...
Is this the first one
no
doesn't every michaelsoft binbows user just use winget
winget or chocolaty
never heard of scoop
I know of scoop, I just remember it's like snap as in its its quite terrible
scoop is good

its also easy to add to winget
really, the more you know
i think its also just a gh repo
scoop is automatically better than choco because it's community maintained instead of being owned by some weird company
I feel like package managers are still just used by a minority amongst windows users
sadge
winget is the "official" one
i don't think its preinstalled though
eat it
it is
Microsoft App Installer for Windows 10 makes sideloading Windows 10 apps easy: Just double-click the app package, and you won't have to run PowerShell to install apps. App Installer presents the package information like app name, publisher, version, display logo, and the capabilities requested by the app. Get right into the app, no hassles--and ...
actually you need this installed
but I think it's preinstalled
i installed it back when it was still in beta
this shit makes discord even more laggy, might wait a few years for electron to be good in term of
performance aka never to make this possible.
Im on the newest version, already tried to reinstall.
This is the first time i encountered it, not sure if its a 2.8 issue or the updates since then did this. Or maybe its just a me issue for some reason.
shouldn't happen, make sure you fully restarted vesktop
@Vendicated I did.
I quit Vesktop completly, made sure its not running anymore, reinstalled the deb, started again, and same issue.
could you please try right clicking the tray icon > redownload vencord files
There is no such option, i only have the following:
Update Vencord is what I meant!
Can we bring back issues on vencord for it's entertainment value
not worth the brain rot
not funny
im not google
That fixed it weirdly enough. Is that button doing something else than the "Updater" Tab? If so, that's really confusing, and one of them should probably be renamed.
it just force redownloads vencord's files, which likely means the updater somehow only partially upgraded your files
Weird, If something like this happens again, I will mention it here. Hopefully, it was a one-time thing.
VENCORD RCE BADGES SOOOOON LETS GOOOOOOOOOOOO
this is why you only apply it to the modal
Fix Settings Text to say 'Vesktop' instead of 'Vencord', as per 87595deae749a856dccc115f7a3c32dd759ec537
some people don't want to use the nsis-based portable executable to run vesktop, so give them the option of using a zip-based version
findByCode('playWithListener')('message1', 0.4)
i don't like having two different portable builds. removing the portable exe is probably better
i should add file previews as a shiki feature to make discord's performance better
fear
apparently was pr'ed before but i couldnt find it?
cooked this up. please do give me criticism and tell me how to improve my code
maybe just name it Highlight, would be my main suggestion
isnt this a dupe of https://github.com/Vendicated/Vencord/pull/1621
BLEHHHHHHH
which is named just higlight like castdrian said lmao
adrian is fine I'm not too picky about usernames
I WAS SO HAPPY AS WELL
I WAS LIKE I FINALLY MADE SOMETHING USEFUL
THEN BOOM
reality is a chainsaw
average echo loop
get idea > make it into something > someone already did it > loop restarts
LOL
i do no t
ignore platform emulator i was testing it and forgot to remove lol
keyword alerts will be cool
yea
i am butthurt
NoSentryConsole: Disables the sentry console log hook to return breadcrumbs to console. Very useful for development and reporting issues alike.
The problem
Discord uses Sentry and it will install a hook into the console object.
Doesn't seem that bad, right?
Well, it makes the breadcrumbs/origin in the console from the file that installs that hook,
which ends up making it very hard to tell where non-error logs are coming from!
The solution
So this plugin just deletes tha...
hmm, I'm not sure how useful this is, considering it only supports js and css. Perhaps there is a formatter that supports more languages? I also feel like a lot of times people will post only a part of the code, and often times this will not be fully valid (since there's parts missing) which means this will fail, so I think Unindent is more useful?
prettier supports a lot more languages
Prettier is an opinionated code formatter with support for:
- JavaScript (including experimental...
all of these are just markup, none of those an actual coding lang
because i dont like it
is there an existing module for adding a new button when you right click a user from the server's members list?
vns
you sure? im trying to write a plugin, not ask for plugin
no worries, cheers
just to double check, contextmenu api is for the members list on the right, where you see who's online and stuffs, right?
it's for contextmenus overall, be that user, channel or message
any reason why my editor tells me it cannot find the namespace 'Menu' that should be coming from <@&1118512959350644746>ebpack/common?
and is there maybe like a guide/documentation im missing where i can find answers to these questions?
good enough, anyways, is there anything else i need to do before i can start coding becuz i cant use some of the modules i imported which is werid becuz all the other plugins that use the same module are fine
I love this
prettier supports a lot more languages!
prettier supports:
- Javascript
- Javascript
- Javascript
- Javascript
- Javascript
- markup language
- markup language
- markup language
- javascript
- markup language
- markup language
xD
nobody needs c, c++, java, c# or kotlin
just use 50 different types of javascript for everything
reinstalled multiple times. uninstalled and then installed.
Reflect.get called on non-object
what 'api'/module should i use to move files in vencord? console says that 'fs' is undefined
*unless you find an electron/chromium zero-day and use it on a vencord plugin for some reason
π€
lmao that would be funny
I like vscode's formatter more
I like the 4-space tabs
is it possible to somehow add >5 accounts to the alternative accounts list? (can't give an image because of the permissions)
(ping reply)
Hey ! Can you add ping about unread messages in bookmarks tab?
it might be able to make a plugin that does it
(just removes the limit)
has anyone made such a plugin already
no
fair enough
yes
it was rejected because it's useless + sussy
noone needs more than 5 accounts unless you're doing bad things
like some kind of crazy manual raid? lol
hoarding usernames probably
a
hoarding usernames (that's literally the use case the pr stated), stealing accounts, etc
just all malicious so i rejected it
which fuck you if you do that
lol
the pr containing the reason not to merge the pr is impressive
i do
i have an old account, this account, an alternative account, two paired accounts and an extra account
that's six already
aka, this account and five alts
why do you need them?
do they just exist or do you need to switch between them regularly?
well it depends really
ok
how can i apply a patch to a js file only when it's loaded instead of when the app starts? the code related to the account switcher is only fetched when you pull up the account switcher modal manually, so it errors when you start
nvm ignore me i did an oopsie and it works now
what does 'zero-day' mean
google :)
why everyone stopped use betterdiscord at some point? because discord started ban for using it?
no
or it was unstable?
betterdiscord is still widely used
hmm, is vencord better?
that is an opinion
I like that vencord has browser extensions, it's better for me
which is faster btw?
discord takes 800+ ram in my browser....
it depends how you use them both / what plugins you use
without any plugins do you know the margin?
vencord, probably, as it has the least stuff built-in/on by default
okay, thanks a lot! π
0101482 [WIP] Port Discord's windows title bar - Vendicated
[Vencord/Vesktop] New branch created: windows-discord-titlebar
TODO:
- [ ] Make min/max button work correctly
- [ ] Add switch
- [ ] Properly hide native titlebar if applicable
- [ ] edit platformClass to add proper windows class to document
made and tested successfully a plugin to remove the acc switcher's 5 accounts limit altogether, can i pr it or does it go into #1032200195582197831
i think it be mergeable
off by default pls
it is
basered
porting it was so easy
its crazy
addPatch({
patches: [
{
find: ".wordmarkWindows",
replacement: [
{
// TODO: Fix eslint rule
// eslint-disable-next-line no-useless-escape
match: /case \i\.\i\.WINDOWS:/,
replace: 'case "WEB":'
},
...["close", "minimize", "maximize"].map(op => ({
match: new RegExp(String.raw`\i\.default\.${op}\b`),
replace: `VesktopNative.win.${op}`
}))
]
}
]
});
k, just gotta fix some things first, will prob make the PR tomorrow
current problem: it doesn't store the 6th account 
and i have no idea where the code that adds accs to the acc switcher store is
no
that was not in reply to you
^
did u not read chat at all
nope
b87bcae Wayland: Skip our screenshare screen picker - Vendicated
I just pushed https://github.com/Vencord/Vesktop/commit/b87bcaefe9fbcc4bbcd0c3ab06e50b331369afd1 which should skip the screen picker inside Discord entirely. Please let me know if this works properly for you!
I have started working on a Flatpak version of this software, and am hoping to get a version released in a week or so. Not able to guarantee great maintenance but it will be enough to get the software running.
they are different
bypass the soundboards pls
ayo
Send some LaTeX images without a bot. Uses a web request to https://latex.codecogs.com/ to render and then canvas to invert colours.
Example
Might be a better way to send it but I don't know how, I mainly copied /petpet.
Might have to change the LaTeX renderer API now that I'm double-checking terms of usage and fair usage. Need someone to help me out here.
It still asks for it twice before and also I can do with half a chance a window screen share or a full screen screen share.
I can't choose it depends on what does the last picker do.
the two first picker are useless.
https://github.com/Vencord/Vesktop/assets/52078885/0163f154-a50a-418a-a35f-386850688b52
what happened to vencord discussions?
nowhere to be seen
(and the issues tab)
did ven just nuke them?
yop
Waiting for the day, this will get reviewed https://github.com/Vendicated/Vencord/pull/1448
and if the issue is custom colorways, I have something on the roadmap for both this and the BD plugin
other than that, the plugin works fine
Oof, I wanted to look at plugin requests but alas
Can I get my contributor role back?
It feels so limiting to not be able to post images
I've never posted inappropriate images when I had the role
Hey ! Can you add ping about unread messages in bookmarks tab?
still can't see ping
I updated BookmarkContainer.tsx
Is it possible you can add NotificationDot and Typing indicator functions in the bookmarks?(not only in tabs).
It will be a very useful feature
Armcord had a combined picker working in the newest version yesterday. Think they had to revert it because it would crash for some people, but for me it worked fine.
No extra questions, no endless repicking, no picking screen and window, just one of them.
yes these are electron issues we need to wait for them to fix. but based on your video it no longer shows the screen picker inside discord, so that's good
It crashes for me :(
Armcord had a combined picker working in the newest version yesterday. Think they had to revert it because it would crash for some people, but for me it worked fine. No extra questions, no endless repicking, no picking screen and window, just one of them.
It crashes for me :(
yes these are electron issues we need to wait for them to fix. but based on your video it no longer shows the screen picker inside discord, so that's good
We'll see, I'm just confused that it happens here since it doesn't on teams, skype, zoom, webcord.
these are all electron based applications but they prompt the screen picker correctly.
you can genuinely use a npm module lmao
whar
no you can't?
completely unrelated, you simply can't do fs ops
how is it possible that you can import 'fs' in main/index.ts but not in /components/

different contexts
you dont understand how electron process isolation works
it has three different environments, main preload & renderer
real node modules are only accessible in the first two
electron has multiple processes
the main process which is a native nodejs process and can access fs and other system stuff
and the renderer process which is just a web browser and has no system access whatsoever
the two processes can communicate via IPC
everything in src/main runs in the main process aka nodejs
everything else runs in the browser
if you absolutely need system access you can introduce some IPC channels for it
but you generally shouldn't need it
i get it thx
@turbid hatch
wahey
^ this is what i get for immediately pushing commits because of my bad habits on doing so before im actually finished with the commits
wait
why did two people both do it at the same time
oh theyre friends lmao
i dont understand why people even pr entire refactors to repos they never contributed to
at least open an issue asking for green light first
A simple plugin to disguise links with a slash command.
Example:
ehhhhh

why do people add useless comments
const variable; // Initialize variable
ew
this will create a horrifying https://ftp:// link for example
yet httpz:// will be left alone
wait until elon introduces x://
copilot
hnnooo
this is definitely copilot written code
:/
it writes those sorts of comments every now and then to explain its own thinking, or its the dev writing the comments to get copilot to do stuff
overall feels like lazy code
thats why its so badly written too
imo things like startsWith("http") are the sort of things which may create bugs
probably won't here though since nobody is going to input httpaaktrhghhh://

chatgpt
that aint chatgpt
well it does add comments for everything
just make your own protocol, toad://
ven://
totally overly awesome data, toad
toad://explode
joever

1984
thatβs just user agent
this is at the bottom of the side nav of user settings
yes because it's based off the user agent
what?
yes letβs base the string at the bottom of user settings off of useragent instead of properly using some APIs to get the true OS versions
macosβs user agent still says users run catalina even on more modern OS versions
Time to start using ftp links to break their code
Darn you toad, you made the same joke
why?
it doesnt matter much
@placid hinge does it also look like this for u? https://cdn.discordapp.com/attachments/1015931590741872712/1138308860638146580/image.png
we could just make discord use the native mac titlebar
i already made it use the windows one
so mac shouldnt be hard either
huhh
why does urs look so different
@shut ridge do u have any idea why it looks bad for u
could be my theme being icky i guess but it behaves just fine on normal discord
well like i said discord uses like a custom titlebar on mac
we could make it use that
and it might fix it
but you'll have to help me test it
because what other theme is suitable for macos really
clearly the macos theme is the way to go
would be willing to yeah
okay ill ping u whenever
it's 4am rn though so like
(not now)
me has mac too 
cursed
if that works then they use the custom title bar
you cant click it with the element picker
but u can find it on top of the element tree inside the app-mount div
this one
what app
vesktop or discord desktop
$("[class*=macButtonClose]")
WhatsApp moment
well that makes no sense
search for .windowsWordmark and you'll find the file
it has a mac specific titlebar
no.
you should put breakpoints inside the function, especially the switch, and figure out why it's not using it
try this
It would be cool if vesktop could have the (.) indicator for when there are unread messages (not pings) like the official client does
using vesktop 0.2.8 on intel macos 13.4.1
i thought this existed already, it works for me if i have it on in the Notification settings and the Desktop Settings
I have both settings on:
<img width="720" alt="image" src="https://github.com/Vencord/Vesktop/assets/98863820/b783357d-a5b7-4819-8081-966be2ff5d64">
<img width="700" alt="image" src="https://github.com/Vencord/Vesktop/assets/98863820/a1d7fb60-12d5-46d3-a5c6-c1d72b1f2520">
yet it still doesn't show up:
<img width="82" alt="image" src="https://github.com/Vencord/Vesktop/assets/98863820/e6c550c0-bca0-4d27-b612-9f61885a0ee3">
i was literally the only person using this im going to cry
oh mac
you can add a upload plugins from a computer files for all version of vencord plssss
lore
that person really wanted to upload plugins from files
This PR has been in limbo cus my friend told me my mic was crackly with this plugin and not with discord desktop, what I didnt realize is that my mic had insane feedback from something and Krisp is just really good at removing it.
So fixed my mic and sat in a call with myself for like an hour singing and playing a cpu intensive game and it was fine so imma assume this pr is working
@austere talon is there a reason vesktop loads renderer.css instead of vencordDesktopRenderer.css
it seems unintentional
oof
pain
Vencord on Linux doesn't work due to unsupported RegEx. In order for this to work, Webkit2GTK needs to update to support it, or I need to rewrite all RegEx in Vencord to not use lookbehind/ahead (there is a lot).
troll
@austere talon dont want to write this on github but this is a tactic my dad came up with, where we purposefully mention their site somewhere on our page as text (in this case, faq) which ends up boosting our own when people try to search for theirs
but also it doubles as a warning for the faq
huge
pov no sleep for 3 days and copilot
the entire function is unecessary
lol
sendMessage(ctx.channel.id, {
content: wrapLink(RealLink) + spoilerString + RealLink
});
would suffice. As for ftp:// links handling those is unnecessary lol
that it would lol although it wouldn't affect functionality, I suppose
you probably shouldn't be using the bar spam bug in a plugin x3
what?
its from the repo that mentioned the rnnoise pr in the feed thing
lol why were you using this? just grab the normal exe instead
@placid hinge is this broken on mac or just issue on that guys end?
also sorry for pinging you so much but idk who else to ask lmao
designated mac tester
why tf it broken on mac
it should work fine
someone buy me a mac so i can properly test mac
this fix might be easy
there's like dock.setBadge as well
maybe we have to use that instead
wait a sec
it does work on normal canary
i'll try that one
i hate electron already
app.dock.
why
ye app.dock
and yeah lmao
the dot looks kinda weird but we could just use any unicode character
β’
letsgo
oh
thank you
it's weird that the app one doesn't work
cause the docs literally say it sets the dock badge
can anyone else repro this btw? with this theme https://github.com/SlippingGittys-Discord-Themes/surCord
at 75% zoom yes
ohhh
can someone do this please
π€¨ this?
my guess here is that it depends on your macOS version
oh i see
i didnt see that
ill check what that's defined as later
or you could check
just extract discord desktop core.asar
never heard of core.asar π€¨
someone forgor to remove their debug test line π
nah its probably like a define or smth
that's silly tho
then it should work fine
i wonder if the drag area matters at all
what styles does macDragRegion have
that's probably why then
can u change this line to DARWIN
and see if it fixes the bug
oh wait, and remove the if on top
what even is the bug
^
a

or OSX idk what it's called
just look at the switch case and see
well this is embarrasing
you need to replace that Z.window.USE....
with true
add another patch
{
match: /\i\.\i\.window\.USE_OSX_NATIVE_TRAFFIC_LIGHTS/,
replace: "true"
}```
ignore the lint error
i love writing vencord patches on phone
wow that looks like shit
huhh
lmfao the buttonf on the right work
can u show the full thing
windowsww
lol
macOS was never meant to have this abomination
and yeah ofc
no
unlucky
tbf even without any theme it breaks
at 75%
or less
even the official client gives up
the devs once tried to make a div just for it but they removed it after a few days of bugs and it not working at all
is this the official one?
yes
afaik you cant change the size of the traffic lights. only the position
πΏ
check colorway plugin... I can wait to try that
I SUGGESTED THAT AND U SAID
CLOUD SETTING
LETS DO IT
Venstaller
Vinstaller
nah
it would be funny to have all repos start with Ve
but i think we cant
lol renaming repos messes up index
This repository's code is being indexed right now. Try again in a few minutes.
this is way too friendly and formal, i would just be more blunt and call them phishing/malware
NO
THIS IS CALLED A LEGAL ISSUE
I PHRASED IT VERY CAREFULLY TO PREVENT THAT
how so lol
venstaller
if we say anything like that, because they technically aren't malware, it's slander
they can unironically take us to court for it
The only official website is vencord.dev, which can be confirmed on GitHub and the installer itself.
Any other site claiming to be us is fake and thus very likely malicious. Do not download anything from them.
Known fake sites: vencord.app
easy

i can rephrase it but eh
i dont like having to keep a list
i was just using it as an example
also that message is lewidad approved
who has done this thing before
then whats the point of this pr :P
i also don't really like linking to them
it doesnt link to them
this is the fun bit
they gain no SEO and we gain the SEO of their domain name
there shouldn't be any need for this and it is terrible security practice so I don't want to encourage it. Thanks anyway!
so if someone types "vencord app" or "vencord.app" its even more seo for us
well i dont wanna add it unless its made very clear that its malware
so smth like this
it doesnt matter
no ti wouldnt
i can rephrase it to include "malicious" stuff but i phrased it friendly to keep us out of trouble entirely
why does ven\cord.app even exist?
we dont know
people are losers
probably future phishing/redirect or email harvester
this is fine tho
in no way does it call them malware :P
it just states that its a fake site
whcih is true!
The only official website is
vencord.dev, which can be confirmed on GitHub and the installer itself. We are not
affiliated with any other website, and therefore we urge you to exercise caution when visiting sites that offer Vencord
that aren't owned by us. They are fake sites that are highly likely to be malicious.We are aware of another website,
vencord.app, that currently looks like our site and offers our download links. We are
unsure why it exists, and have attempted to contact the site's owners to no avail. If you have downloaded software from
there, please delete it and download it from our official sources instead as we cannot confirm the safety of the
software you have downloaded, and we are under the belief that the website may be used for nefarious purposes in future.
that would legally be fine
because we arent accusing them of them being malicious but we believe it might become malicious in future
i dont want that
venpls
im literally doing this to SEO boost ourselves
when people search for their link
the actual text content doesnt matter and its meant to be informative whilst still being an SEO boost
the textual content does matter because people read it
ok well
The only official website is
vencord.dev, which can be confirmed on GitHub and the installer itself. We are not
affiliated with any other website, and therefore we urge you to exercise caution when visiting sites that offer Vencord
that aren't owned by us. They are fake sites that are highly likely to be malicious.We are currently aware of the following sites:
vencord.app
If you have downloaded software offered by these sites, please remove it as soon as possible as we cannot guarantee the safety of anything distributed via them.
that
then
thats basically just the same as this
yeah but not as short because it being short kills seo
π€
thats why i wrote so much flavour lol
this is fine
more generic? π
i just didnt like the previous one because it was so positive
i just want to make it veeeery clear that they are malicious
my commit messages are braindead
ignore them
xd
also pls turn off branch prot π
i think this sounds better?
affiliated with any other website, and therefore urge you to exercise caution when visiting sites not owned by us that offer Vencord
its kinda useful usually
but cf cant deploy from forks
you could push to a branch in the main repo
(u also have to edit the line below)
lmao what π
GIRL
WDYMYMMMM
AHAHAHAH WHY
tada~
isnt that the same shit i said
IT IS
sunnie this is normal lewi-ven dev session
π π π
god why am i wheezing so hard from this
SJKDFIJKASHDF79UASH89DAH9IOSD
i love u lewi
my bad
I MUST COMMIT WARCRIMES.MD
i booked a cruise with ur card
IH MY GOD
GIRL
AHAHAHAH
i hope saying they will combust is up to your legal standard
you knwo whta

good enough
"they added that qover is authorised and regulated by the FCA" implies that the people providing my insurance weren't regulated until they changed the text

OH NO
VEN
I NEED TO MAKE CHANGES
(for any legal purposes, this commit message does not reflect my true intentions and is only used for comedic effect. In no way am I threatening to explode third parties)
there we go
WHAT
wait whats that for
oh i see
i didnt notice
5ff444e docs: lewi seems to also want to COMBUST (#20) - lewisakura
docs: I'M GOING TO DO SOMETHING THAT GITHUB WOULD NOT TOLERATE ON THEIR PLATFORM
vf vencord.app
This is not the #π₯-vencord-support-π₯ channel.
fuck yourself
it be working
this is the best commit history ever
i love that i added these links
they cozy
i love hash
maybe we should make this use our accent colur
would be prettier
i dont blame it but ur ruining my formatting
wait what
oh i see now lmao
well actually
this seems morel ike a venbot bug?
its improperly displaying the markdown
too many prs... not enough time....
we could make venbot strip single newlines
i suppose but there's not really a way to fix
and replace double newlines with one
and also the rest of the faq is formatted like this
there is!!!
ok i'll pr VENBOT
remove single newlines
double newlines become 1
MAKE ACCOUNT
FUCK
can u start using branches on the main repo instead?
so cf can previoew deploy
idk if u do
can u show the silly
im too lazy to checkout pr
or do i just merge without lookie
how about light
also kinda unrelated but that contrast seems too low
yeah
we should fixit
could you fix the contrast as well in that pr?
we could just use the main text colour for it
i think
uhhhh







