#πΎ-core-development
1 messages Β· Page 200 of 1
I might be stupid and forgot to see if this was even fixed
turns out this wasn't entirely needed, at this point idk if this actually improves consistency or not
None
None
None
None
None
None
None
None
This pull request is 6 months old today! π
Wait i'm sorry i realized i can't do math and it was actually only 5 months old when I said this π
damn early bday
That will either be used as an actual fork or be left there to rot idk which yet
Idrk why none our stuff was forked to begin with
press view profile patch also blocks open profile from small profile popout, maybe we should drop it
the patch for dm profile avatar was added by me because i didnt know new profile makes it clickale to open profile lol, i thought it still does nothing, like old profile
yeah this is pretty annoying, since you can't view profiles without having to click profile from the context menu
0a2dd7b [WIP] add MentionAvatars plugin - Vendicated
need to make avatars centered. it's surprisingly hard because it's in an inline context (span) and none of the vertical-aligns seem to work. using flex isn't an option cause it messes up alignment with other types of mentions like role mentions
@Vendicated, or @Nuckyz may you please do a review of ExtraConnectionLinks when you guys have time?
actually nvm i just found out there is way you can view epic games profiles! (Thanks Guilded!)
None
None
None
None
None
None
None
None
conflioct with RCE its over
14e940e ViewIcons: don't override profile open - Vendicated
e1fb54d ShowHiddenThings: fix options not requiring res... - Vendicated
92ae626 new plugin MentionAvatars: Shows user avatars i... - Vendicated
0e7570a InvisibleChat: fix embeds missing decrypted con... - henmalib
new update soon
can you add noprofilethemes next to norpc in vencord debug π
actually ill do it myself
there's already BetterNotesBox plugin - it could be merged with that
imo, a pluggin like BetterProfile(s)(Notes) or smth, and in there have settings for each
imo, a pluggin like
BetterProfile(s)(Notes)or smth, and in there have settings for each
I like this idea, although I'm not entirely sure how I'd deal with the restart requirement to apply patches, especially if I have a multi-choice setting to configure how notes will appear in simplified profiles, considering not every value in the multi-choice is for an independent patch
None
None
None
None
None
None
None
None
92ae626 new plugin MentionAvatars: Shows user avatars i... - Vendicated
0e7570a InvisibleChat: fix embeds missing decrypted con... - henmalib
bbf43c3 fix(FakeNitro): do not convert applicable twitc... - Vendicated
2b99f4e Merge branch 'dev' into immediate-finds - Nuckyz
187ece1 Merge branch 'dev' into modules-proxy-patches - Nuckyz
Yeah. I made a fix for this (but people misunderstood it ig), but this pr broke it.
Vee loves causing merge conflicts confirmed
Explode https://github.com/Vendicated/Vencord/pull/2652/commits/07f031b8e2e5fcb4c62fd8fb0e77063c73f86889
@rugged spire
@rugged spire
@rugged spire
@austere talon will make less ugly by adding option to disable @ and patch chatbox mentions too
other than that I think this plugin will stay on and I am confused why this isnt a stock discord feature
there is now types of message references, maybe because of the new experimental feature?
yes likely because of forwarding
yes
forwarding is type 1
reply is type 0
Alright @rugged spire, in 2 hours, 36 minutes and 25 seconds: resizablesidebar crashes on mobile web
@rugged spire, <t:1720941815:R>: resizablesidebar crashes on mobile web
Content
Add the Auto Invisible Status Time, almost exactly the same as idle status
Request Agreement
- [X] I have read the requirements for opening an issue above
Whats the use case though? kind seem unnecessary
enchancement
challenge people read request agreement (IMPOSSIBLE)
Turns out it's probably not too niche, but too confusing π€ since it can override your theme settings even if you change them directly. It might fly as a third-party thing, but definitely not for direct inclusion to Vencord π °οΈ
None
None
None
None
None
None
None
None
what if there was /vencord-themes so we could see if someone actually has themes on or not
thought this was a good idea, so i made this as a proof of concept
THAT'S HOW YOU BROKE YOUR DISCORD π
i didnt thing example.com would do anything π
quickcss beign 1000+ lines for me:
its uploaded as a file
its also optionally uploaded, not automatically
oh?
after you run the command, it is prompted as a file upload
None
None
None
None
None
None
None
None
2b273d9 fix(MessageLogger edits): render with proper gu... - Vendicated
please continue this pr
this condition is always true
obsolete .test() and regexes should be stored in a constant
don't pollute the user object
i'm unsure if this is a good addition. it might look better for your badge, but some people have badges where the crop is beneficial. it would be useful to compare a good portion of existing badges with and without this filter and see if it's really better overall
but it would be best to simply ensure badge images are proper squares
could you show a screenshot please?
sorry but this is too niche.. and quite a lot of code for that
why can't you just use https://github.com/phin05/discord-rich-presence-plex ?
i'll be rejecting this, but thanks for your efforts!
it would be much better to use Discord's TabBar component for this. Check out the Themes settings component for an example
actually maybe i might do it myself
681cb73 MessageLogger: add compact display of history &... - Kyuuhachi
None
None
None
None
None
None
None
None
92ae626 new plugin MentionAvatars: Shows user avatars i... - Vendicated
0e7570a InvisibleChat: fix embeds missing decrypted con... - henmalib
bbf43c3 fix(FakeNitro): do not convert applicable twitc... - Vendicated
71977f0 fix(ShowMeYourName) - proper case insensitive n... - Jono997
2b273d9 fix(MessageLogger edits): render with proper gu... - Vendicated
I'd assume the channel object isn't any better
5bd10c8 MessageLogger: fix edit modal close button - Vendicated
why was globalbadges never a plugin built into vencord

i forgot
and if not globalbadges
at least badges from other clients
like imagine being able to see aliuxord contributor, other client badges, etc
cause misleading and against the point
71977f0 fix(ShowMeYourName) - proper case insensitive n... - Jono997
2b273d9 fix(MessageLogger edits): render with proper gu... - Vendicated
ea746f6 MessageLogger: add compact display of history &... - Kyuuhachi
62d4add Merge branch 'dev' into immediate-finds - Nuckyz
bd25e0c Merge branch 'dev' into modules-proxy-patches - Nuckyz
5bd10c8 MessageLogger: fix edit modal close button - Vendicated
fb3ae98 Merge branch 'dev' into immediate-finds - Nuckyz
d869b2d Merge branch 'dev' into modules-proxy-patches - Nuckyz
3bc71c6 Merge branch 'immediate-finds' into immediate-f... - Nuckyz
27fd143 Merge branch 'modules-proxy-patches' into immed... - Nuckyz
92ae626 new plugin MentionAvatars: Shows user avatars i... - Vendicated
0e7570a InvisibleChat: fix embeds missing decrypted con... - henmalib
bbf43c3 fix(FakeNitro): do not convert applicable twitc... - Vendicated
71977f0 fix(ShowMeYourName) - proper case insensitive n... - Jono997
2b273d9 fix(MessageLogger edits): render with proper gu... - Vendicated
I use it on my daily basis
and to also avoid having to fix so many conflicts in the future
a lot of times a conflict emerges
could you show a screenshot please?
yup, added into main pr message
it takes up too much space. the header should probably be removed in the small profile and replaced with a vc icon
as for the large profile, the header style is inconsistent with discord
it takes up too much space. the header should probably be removed in the small profile and replaced with a vc icon
as for the large profile, the header style is inconsistent with discord
popout: will replace header by vc icon on left side of button
modal: will change text style
btw as nino-dev said bots still uses old profiles. does plugin have to have patches for them?
Then I guess we should just replace my badge image and close this? π
I'm not sure! like I said, it would be beneficial to look at a bunch of badges and see if it's overall better
maybe it is, i have no idea :3
Mentions don't have the deleted color tint added to it, making it hard to tell if messages have been deleted if the content only consists of a mention only. This pull request will fix that.

as for the large profile, the header style is inconsistent with discord
I know I've been talking about this a lot (and even opened a technically redundant PR related to it #2690 ), but you can use the Section component I found (see the previously linked PR and #2635 for examples)
btw as nino-dev said bots still uses old profiles. does plugin have to have patches for them?
enable the experiment for simplified bot profiles. i would ideally make sure it works there
also, not enti...
don't we all?
is there something already in place for doing a setting value isValid check only once the user stops typing? or do I need to do it myself
I don't think sending a web request on each keystroke would be the best idea...
what are you trying to validate
if the user has this setting toggled on it just... doesn't work
get's a 403
and never reports that to the user of the plugin
maybe settings isnt the best way of validating and displaying that info?
it would be really intuitive to have it just... tell you if it's wrong though
and it could probably also be easily made to report an invalid api key for those who are incapable of reading and copy paste the client secret instead of the key
I don't think this is a real use case
such a rare edge case
noone turns that off or if they do they should realise
and no one has ever complained about it
just a note should be enough
fair
just modal first time it is detected and save to datastore that the warning has been seen
I had it off for ages and completely forgot about it when enabling the plugin, but an addition to the settings info card is probably more than enough
Same problem here, no fix found yet
Currently, it is hard (impossible?) to reliably detect if Streamer Mode is enabled or not, because the warning notice bar can be dismissed. This injects a streamer-mode class into the root HTML element to make this detection reliable from within themes.
ailucord plugins repo jumpscare
Adds a warning to the last.fm plugin settings telling the user to disable the "Hide recent listening information" setting for the plugin to work
send a private message to .canery. on discord and explain the problem, he will help you
Insane

fuck you
@Sqaaakoi Sqaaakoi closed this 2 minutes ago
hiiiiii!!!! did you know I love accidentally committing git submodules
why do you even have thirdpartyplugins folder
I have soft-fork with all of #1256395889354997771 imported as submodules
I'll probably come back with another PR to integrate "different light and dark themes" in theme settings directly, to make it less confusing. Rather than following its own schedule, it could just rely on the active Discord theme, and "sync with system" would give auto theme switching for free.
... But before I can personally use that, there's still the mystery of "why does 'sync with system' always end up setting the theme to Light on my computer" left to solve π€ It's either a Chromium bug o...
v+ programming @scenic fog
this will come back to bite me in 2 days
None
None
None
None
None
None
None
None
even nativeTheme.shouldUseDarkColors is false 
I'm resorting to an scheduled-dark-theme extension in VSCode as well, which makes me suspect this is a Chromium/Electron thing
tl;dr: chromium devs take 5 years to implement any semi-niche compatibility with modern protocols on linux
google employee will come to my house and kill me if i do it
google only cares about making wayland experience worse 
mfw newer chromium version adds MORE FUCKING BUGS RATHER THAN FIXING THEM
this has happened twice btw
specifically regarding wayland stuff when talking about this
Fork chromium and use a repo like a storage ππ½
sucks that you cant make forks private π
github issue
seems like a system issue
so I'm not changing whatever Chromium is looking at π€
Firefox is definitely dark though
in that case its a DE issue
discord sync also works
@scenic fog what DE are you using
Cinnamon (I'm using Linux Mint)
yeah thats your issue
i dont even need to be confident but
linux mint so out of date with modern anything protocols
its an xdg-desktop-portal thing that chromium is using
and i dont need to check to be confident that cinnamon does not support it
ah, seems like I found the setting
well, there's a thing in Themes that lets you pick between "Prefer dark mode", "Prefer light mode" and ... "Let the apps decide", I had that one selected
wait
it is supported
how
am i just assuming mint supports barely anything because of cinnamon wayland stuff taking so long and how they ship outdated stable kernels
so I'll be able to use the system theme option like a normal user now I guess :p
so, how would you make it so a certain online theme only applies on light or dark mode? two fields like I did for the auto theme switcher plugin, or just a prefix on the line like @light / @dark? (or is that already possible in some way :p)
html.theme-light html.theme-dark selectors
To put a condition on theme links I mean
(I could definitely download the css files and mess with them though, which makes that useless π
)
Oh
I just thought i had a good idea
then I remembered @import had to be at the top of the file
and isnt conditional
@scenic fog You have 2 options
Modify Vencord to add that conditional theme support
Modify your themes and wrap them in CSS selectors
Modify Vencord to add that conditional theme support
yes that's what they're talking about...
i need some fucking sleep π
@austere talon would this channel be the correct one, to talk about the installer rewrite?
yes
Discord Account
No response
What happens when the bug or crash occurs?
Whenever I do anything, this popup is being opened over and over again:
Also, you have to dismiss every popup before the app is accepting any further interactions.
What is the expected behaviour?
These popups should obviously not be there. I suppose Discord changed something about their Sentry packages.
How d...
Are you sure this is a Vencord issue? Does this only occur after injecting Vencord into the stock client? I didn't quickly find any native code relating to Sentry
Ah sorry, I should've checked. Let's hope that Discord fixes this soon.
something like this maybe? π€
For those after me who get here in search if a solution:
Here's the fix (Ubuntu/pop!os) by downgrading back to 0.0.59:
- Download https://dl.discordapp.net/apps/linux/0.0.59/discord-0.0.59.deb
- Install it:
sudo dpkg -i ~/Downloads/discord-0.0.59.deb - Disable immediate update:
open ~/.config/discord/settings.jsonand add one line at the bottom:
{
// ...
"MIN_HEIGHT": 500,
"chromiumSwitches": {}, // <- don't forget the ,
"SKIP_HOST_UPDATE": true // <- this l...
would not be surprised if people forgot they did this and came back to complain
Only remember after an hour long convo in #π₯-vencord-support-π₯
They closed an issue after a 27 minutes of it's existence
Whar
i'm braindead
there we go :thinking: badge-simulator.html.zip (cover on the left, contain on the right)
most badges, arent affected that much
a few look a lot worse, a few look a lot better
(from what was in the file)
is it reasonable to have the style per-badge? or is that too much
nah, just make a tool to preview badges
Yeah seems like it
It seems easier to make the badges square if they look better that way, than adding an option π€
(for people that care about that and ask for it, that is :p)
(hi ^^')
oh thats your badge lol
for some reason it looks more zoomed in when on light theme too π€
looks the same to me 
hm yeah, I was thinking that as I posted this
that'd explain why I couldn't quite figure why it was different ^^'
I noticed that LOL
same happens with the vencord badge
like the vencord logo
why tf is it that way
this plugin had potential until it didn't have setting to not upload file to some random file host
WHAT IS discord.new/PJ6VvgEJYg45 AND WHY DID I FIND IN SOURCE CODE
7150 PEOPLE USED THIS?
discord.new/UqzZCTj2zfwy
None
None
None
None
do ask what I am researching
discord.new/2TffvPucqHkN
34699 people used this template
https://tenor.com/view/lie-lie-detector-cap-you-are-lying-stop-lying-gif-12198388917433403789
None
None
None
None
Discord LOVES inconsistency
why is GuildTemplateStore absolutely useless for what I want to do?
@nova chasm
@discordapp my beloved
ok what the fuck...
Discord has 2 create server endpoints
the standard one
and the template one
both accept template codes
discord moment
FUCK THIS ENDPOINT IN PARTICULAR
Lmao
no but why does one endpoint ask you supply the channels/roles AND the template code
and the other endpoint asks you to submit just the template code in the URL
Discord shit code
Real
Whats even funnier is how the UI for the channels/roles isnt shown here where it is required
but the UI is shown here and the endpoint doesnt need it
Changes your status on Steam with protocol URIs:
Preview images
This works by using the Steam friends protocol: steam://friends/status/{online|away|invisible|offline} to change your status on Steam when your Discord status updates.
While it technically also could work on web, in my testing it crea...
closed, i merged around 100 commits and i know this wont be accepted anymore
Vee is giving everyone time to think about the uselessness of their pr
Mm maybe friendshipranks isn't a good plugin after all
this one's template field doesn't do anything
pretty sure it's analytics
i mean the guild_template_code field in POST /guilds
Does that really do nothing because the channels and roles are supplied in the request
the channels and roles are what actually do something lol
also for a while the default template was localized
so the server would create channels with spaces
when the locale had them
dont believe so
Or did they fix on client
wasnt client issue
You still send the channel list to the server
There is like no way it's gonna get merged lmao
Even if itβs still a good plugin
I love it very much
im writing a mildly insane plugin rn
From my knowledge/experience this makes a server with default channels and categories
yes
#general was localized
to #idk foreign lang where the word general has a space
I just had an idea
That probably sucks
Translate channel names / topics and cache them
DevilBro? Is that you?
Logic for this would be so good for those shitty servers that use unicode math symbols for channel names making them hard to mention and ugly
Incredible
Honestly maybe just a general cleaner ui plugin would be cool
Like, remove emojis/symbols from channel names and other places
i dont understand why they even allow those characters
unfortunately not π
discord too dum to allow space and caps in channel names for some reason but allows this
Content
A plugin to log all users you where in a voice call/channel with.
On public servers you sometimes want to know who just joined and instantly left your channel, or who you where talking to a few hours or even days ago. A plugin that logs all your voice channel history would be greatly helpful.
Request Agreement
- [X] I have read the requirements for opening an issue above
Horror
Adds the possibility to make an online theme only apply when Discord is in light or dark mode:
QuickCSS snippets can already be conditionally applied with the .theme-light and .theme-dark selectors.
This is what remains of the AutoThemeSwitcher idea... the light dark theme switching is better handled with the "system theme" option.
Wrong repository, read the Issue template descriptions.
Requests plugins here: https://github.com/Vencord/plugin-requests
Added a new Plugin called the Signature Plugin developed by @nin1275 and @immrb. on Discord. This plugin will add a small sub-text under every message you send. This is done by using the new Markdown Features in Discord, which means everyone on Discord will see your signature! This plugin will be useful for business using Discord that want to have their business signature under their messages.
textreplace
This plugin will be useful for business using Discord that want to have their business signature under their messages.
2 new devs for a preSend
Are they insane
actually true
forum signatures are back lmao
specifying addition of devs in the PR is crazy
corporate email signatures that say that the message of the employee does not represent the stance of the company, that it isn't guaranteed that the message is virus-free, that the message is only to be read by its intended recipient, etc
how would you use text replace for that?/genq
$ as regex
actually there was https://github.com/Vencord/plugin-requests/issues/883 that got rejected 5 days ago
Find: (*+)
Replace: $1\nsignature
And yes, that was on a plugin request the other day
This is too niche.
Use text replace
https://github.com/Vencord/plugin-requests/issues/883
also a bit weird that it was submitted as a PR by a third person π€
it looks like thats an org, that for some reason is using an account rather than an org.
π
poor self advertising attempt
awful grammar
clearly didn't have eslint
cant follow var naming conventions
wait was this person that you removed submission pass from

really bad attempt
oh god-
his site
ah
their dc banner is just... ew.
that banner, with
god got me here β
in the top of their bio is crazy
whats their discord
just click on their website
it opens up their profile
more specifically, on the discord thing on their website
im on mobile π
@stone falcon ignore
banner seems fine..?
bro puts his site and shit everywhere
self advert in his bio, pronouns, status and custom status
π
open the main profile
(nsfw)
π
you have to start dm and view profile from there
no need to send messages 
discord mobile my beloved
figured ye
the github on his website leads nowhere π
the other site (the one belonging to the opener of the PR) opens a 403 page lol
wait did he get termed maybe
i kinda wanna report that other account
because github doesnt allow having multiple accounts afaik
i use aliucord as well π
#πΎ-core-development message
#πΎ-core-development message
i mean he isnt exactly the least racist person ever
THEY HAVE A DISCORD
anyways we should probably stop before vee sees this 
we should hop on #πΊ-regulars 
nice channel
this can be accomplished with a user app
Content
I was sending messages in #support, and assisting people with their questions. A moderator showed up and purged my messages and the questions people asked, i asked why, they deleted that message aswell. So i said they are making it seem like only moderators are allowed to answer questions. Someone said "the morty guy is more helpful and nice" Then someone asked for their banner to be approved, so the moderator said "ask the morty guy to approve your banner if he is better than me...
this is completely unwelcoming behavior and shouldn't be endorsed
and what does that have to do with vencord?? we have no affiliation and even if we did, it wouldn't belong here
What is bro yapping about
me when i spread misinformation
taking a quick gander in the support channel shows no sign of this ever happening
this can be accomplished with a user app
You could say that about a lot of the Vencord plugins. Almost all plugins that interact with the way chat messages work could be apps, from custom application commands to message encryption to textReplace. This just skips the third party and does everything on-device, which is both beneficial for privacy reasons, allows for bigger filesizes and allows more customization and post-processi...
no they are right, this is indeed best done via a bot. TextReplace is different because you want it passive without a command, but this plugin already is a command. so bot better
i love this plugin idea!
Initial enthusiasm was really the only reason I developed this past a proof of concept to begin with, since I assumed it was the green light for the idea.
sorry about that, i didn't think about user apps being better. you can still turn this into a user app and you will have much more control over it cause you're not constrained to vencord limitations. put it into app directory and maybe it will become popular
no, love, no it doesnt.
what does this pr even do
i don't think this is very useful. also, please stick to the existing formatting and don't change it unnecessarily.
Should it be removed from this PR and placed there, or just copied over?
why does interacting with anything on a review say you submitted another review..
github webhooks are soooo bad
github are soooo bad
Github are soooo bad
Whyd you remove the image from the readme?
Got confused on the wording, I'll stick that back
None
None
None
None
BadgeAPI (found no module):
ID: -
Match: ```
.PANEL]:14
None
None
None

evil
We love Cancary 
None
None
None
None
None
None
None
None
67632ec MentionAvatars: fix mentions being ultra wide i... - Vendicated
use the asset link from what you posted on the issue, this wont do anything.
Maybe if you rebased the maintainer would be more willing to review it? There are a bunch of unrelated changes in here too.
this guy π
added support for the newly released sub-texts within discord.
Discord Canary shout-out 
debating weather adding tint support for spoilers cover in message logger is a good idea or not.
so far support for subtext, mention and codeblock are added to the PR.
catbox exposing me out here. π
nest.rip does the exact same thing too me
you can't regex patch the webpack loader, how do I hook into wreq.f.css then?
None
None
None
None
None
None
None
None
discord moment
might be a me moment
I see
idk how to reproduce it
neither am I
fake user?
I see
i think it could just remove that update
idk why i added it
wow it's your fault smh /s
omg
ah
should fix it
I made a disgusting fix for the issue when using the new deb package. It somehow works.
lmao now i get to try native streaming
it... doesn't work
I would add this to NoTrack but it needs to be done before renderer is even loaded
le native.ts
99% chance that is too late too.
This HAS to be done before Discord's own script even loads (I think?)
This just stops anything Sentry from loading
its not
when are native modules loaded
must be loaded before discord's own desktop script
any later and it's useless and discord error spam comes back I think
lol what
is vscode assuming my bashrc is malicious LMAO
wait
no
vscode inserts their own bashrc
thats why
which may or may not be safe
this native.ts doesn't run at all
idk if build script is set up to support folders in _core
Works for non-native.
no
they're asking if u trust the folder
you should only check it if u... trust the folder
yeah
u can create various config files that will execute code
but it's assuming their own bashrc will auto-run code there 
like .eslintrc.js
no?
there are so many config files that can run code
^
true
idk why vscode explicitly blocks terminal from even opening though
maybe it should warn you that your own config might run stuff
anyway
it has nothing to do with that
vscode restricts a lot of features in untrusted folders
Restricted Mode tries to prevent automatic code execution by disabling or limiting the operation of several VS Code features: tasks, debugging, workspace settings, and extensions.
I know what Restricted Mode is
I just feel like they didn't consider the built-in terminal extension integration and just blanket disabled it
anyway back to native code hell
yeah this is half the issue 
I need your advice
Do I
- Leave it in patcher.ts (benefit of not having to explicitly specify when to load in my own native.ts file)
- Edit the native loading code to load natives in src/_core (slightly more annoying but keeps code related to the same concept together)
lol what is discord smoking
^
no this is me smoking some git pull upstream dev and not merging on my other branch 
no one saw it
whats funny is that was actually being patched by ConsoleJanitor
shh
@limber skiff I saw it
saw what
actually no cuz then i wouldnt be able to run reporter

it is never too late to do so
needs token
see
USER_UPDATE expects an API user which is plain json
but the plugin was dispatching user class instances
which has getters and shit
including getter for clan
that's what caused the error
should I stop with my two pull requests and just merge them and make a single one
uhh idk
they are already huge it makes no difference π
yep
too much going on
to be fair I can give my word that they are stable
but I would want still want you to at least give an opinion on the changes
not that they work
send me a list of your enabled plugins vee
I wanna compare to mine
for?
to see if you use plugins differently from me which then you could use my branch a little to make sure no plugin is broken
not that you need to test, just use it normally and you would notice
simply daily drive all plugins enabled

Enabled Plugins (92):
AutomodContext, BetterGifAltText, BetterGifPicker, BetterRoleContext, BetterRoleDot, BetterSettings, BetterUploadButton, BiggerStreamPreview, CallTimer, ClearURLs, ClientTheme, ConsoleShortcuts, CopyEmojiMarkdown, CrashHandler, Dearrow, Decor, DevCompanion, EmoteCloner, Experiments, F8Break, FakeNitro, FavoriteGifSearch, FixCodeblockGap, FixSpotifyEmbeds, FixYoutubeEmbeds, FriendsSince, GameActivityToggle, GifPaste, GreetStickerPicker, HideAttachments, iLoveSpam, ImageZoom, KeepCurrentChannel, LastFMRichPresence, LoadingQuotes, MemberCount, MentionAvatars, MessageClickActions, MessageLatency, MessageLinkEmbeds, MessageLogger, MessageTags, MoreUserTags, MutualGroupDMs, NoDevtoolsWarning, NoF1, NoOnboardingDelay, NoReplyMention, OnePingPerDM, OpenInApp, PauseInvitesForever, PermissionFreeWill, PermissionsViewer, petpet, PictureInPicture, PlatformIndicators, QuickMention, QuickReply, ReactErrorDecoder, RelationshipNotifier, ReverseImageSearch, ReviewDB, RoleColorEverywhere, SearchReply, Summaries, SendTimestamps, ServerInfo, ShowConnections, ShowHiddenThings, ShowMeYourName, ShowTimeoutDuration, SpotifyControls, SpotifyCrack, ThemeAttributes, Translate, TypingIndicator, TypingTweaks, Unindent, UnsuppressEmbeds, USRBG, ValidReply, ValidUser, VcNarrator, VencordToolbox, ViewIcons, ViewRaw, VoiceDownload, VoiceMessages, WatchTogetherAdblock, WebKeybinds, WebScreenShareFixes, WhoReacted
```**Enabled UserPlugins (2):**
QuickReactFrequents, UnicodeInspector
what is UnicodeInspector userplugin and why isnt it included by default
I make another branch
which merges my two pull requests
and this
the biggest branch of vencord
I will steal your github access tokens and force push it and explode it
the conflicts are gonna be crazy
- too niche
- i am too lazy to make the ui not ugly
- can be done with user-app
so true
it's just plugin version of
vchars
ββ s β LATIN SMALL LETTER S
β o β LATIN SMALL LETTER O
β β SPACE
β t β LATIN SMALL LETTER T
β r β LATIN SMALL LETTER R
β u β LATIN SMALL LETTER U
β e β LATIN SMALL LETTER E
so are you going to port some of venbot to use slash commands and allow some of its functionality to be used as userapp?
(no)
no
there is already
what do you use it for
owo
only let people that don't use userapps use it as a userapp
i honestly thought this sent me "explode" in DMs when it was just vee
is /say ephemeral in servers?
yeah i meant like that
owo
okay now thats gonna get spammed to oblivion
done
owo
still deciding if this is a good idea or not.
owo
seems like a good idea to me
added spoiler support while preventing changing the entire spoiler's background color upon reveal. tbh it looks like someone is probably just using row of emojis until you actually click on it and it's a spoiler lmao.
is it just me or do i find it really fucking funny how discord already ignores VencordPatcher errors (and other client mods)?
what if I just uhhhhhhh
disabled the rest of their error logging
None
None
None
None
None
None
None
None
That is actually pretty hilarious
Vencord is discord canon
This also resolves the issue when using the Discord deb package where you'd get spammed with Sentry errors
why add so much code lol, just add plugins/_core to the pluginDirs array
i don't like monkey patching this. you can proabbly just patch the require cache for it
do you want me to switch it to be more like that?
I actually tried, however when I tried to, I was unable to require @sentry/electron as it was located inside of Discord's asar file
honestly it would probably just be simpler anyway
None
None
None
None
None
None
None
None
const sentryPath = require.resolve("@sentry/electron");
require.cache[sentryPath] = {
id: sentryPath,
loaded: true,
exports: null,
}

i was just about to say what is this psuedocode π
wdym pseudo code
it wasn't
it just added all fields, some of which aren't needed
?????
a function

see my issue
i originally tried this by replicating https://github.com/Sqaaakoi/Vencord/blob/078e89f77c56128c581a1d2b0285b4c17df68c20/src/main/patcher.ts#L112-L118
patcher.ts: Lines 112-118
// Replace electrons exports with our custom BrowserWindow
const electronPath = require.resolve("electron");
delete require.cache[electronPath]!.exports;
require.cache[electronPath]!.exports = {
...electron,
BrowserWindow
};
cause it doesnt have the asar in search path
import Module from "module";
const sentryPath = Module._resolveFilename("@sentry/electron", {
paths: require.main!.paths
})
troll
dont worry i figured it out just as you posted that
but what you have might be more reliable
whatd u come up with
something that didnt work
wdym "core"
it's in the node_modules of their asar
yes its in discord desktop core
thought thats what you meant
wait both have it
okay sorry
i forgot how my own code works
// @ts-ignore
import { _nodeModulePaths, _resolveFilename } from "module";
const sentryPath = _resolveFilename("@sentry/electron", {
paths: _nodeModulePaths(dirname(require.main!.filename))
});
require.cache[sentryPath] = {
loaded: true,
id: sentryPath,
exports: null
} as any;
try this
still doesnt work
just sends Error: Cannot find module '@sentry/electron' and a stack trace to the console
yeah skill issue im afraid
works for me
don't try to require it
copy code
anyway idek if this works or if the discord asar has a different require cache
it should work
cause electron also works
console log the path it returns
TODO:
- make git updater work
- test
- update installer

wait this is cool https://github.com/Kyuuhachi/VencordPlugins/blob/main/MessageLinkTooltip/index.tsx
should be added as an option of the messagelinkembeds plugin
in kyuu webpack tarball
Been a while since I wrote that code, but I think the intention was that it should throw an exception anyway to avoid running the function for real, so why not use the value as the exception for extra cursedness?
But since the function is just an object lookup there shouldn't really be any harm in running the actual thing
Now deleted media isn't logged at all
more info: #π₯-vencord-support-π₯ message
im pretty sure uploaded stuff expires after some time, is it really worth it to log anything media related
if your discord client caches the image/preview, yeah, it would still display
so I am currently trying to figure out the structure of the tauri installer rewrite, but bumped into some issues. From my understanding the appended code for the install function just reopens the installer with higher privileges with the install argument. So my question is, if I should follow the same structure for both the repair and uninstall functions and later parse the argumenst to run the actual install/uninstall functionality. My second question is, why you would reopen the installer with the argument, instead of directly running the code to patch/uninstall. Is it related to, the installer not having the privileges to manipulate the file system or something else?
if this works can you add it to unofficial plugins
me when i don't know how to git pull a pr
it's very unfinished I wouldn't pr to that
but yes it's to elevate to root
what does that mean?
It means being able to write to directories like /opt/discord, which are owned by root
@austere talon my idea was to:
- with an esbuild plugin, create a global similar to
Vencordbut it auto exports every exported value in the renderer build (excluding exports from plugins). - generate type information for that global every build, and publish the types to something like
@vencord/renderer - create an vite-based plugin dev cli tool, like
@vencord/cli. would have HMR support, and would transform imports into using the global. - plugins would be built targeting a specific vencord build version, and the build would include metadata about what imports it uses. when updating, the client could check the type signature differences and determine what plugins to disable due to breaking changes.
- the loading system would be as simple as u said, although probably using
new Functioninstead ofevalso v8 can still JIT it.
i've played with vite hmr a BUNCH lately, and I probably could just add plugin HMR to regular vencord tbh, if you wanted that
it would require switching from esbuild to vite tho, which would be pretty easy i think, i'd be very down to do it if you had any interest in it
first 3 were already done
Contribute to Vencord/plugin-template development by creating an account on GitHub.
this was already fully functional
the example plugin worked
but i scratched the entire idea because I simply don't want modularity
the entire point of vencord is that everything is inbuilt so we have full quality control and can make a functionality guarantee
with external plugins it's way worse
plugins get abandoned, people write bad code, etc
Also we can't provide support with plugins we don't control
Also always security aspect
yea pretty true, if it was added you'd want control over where they came from and stuff, rather than letting anything install them
i got the urge to do this because i had a plugin idea for the first time in a long time.. and it's been making me think about vencord again
idk how useful that would be
ig for ui code yeah but as soon as you change patches you need to reload
but i would hold out with it for a bit cause I'm currently reworking how vencord build works
^
oo interesting okay
im not opposed to using vite as long as you can replicate all plugins and such
What's hmr?
hot module replacement
hot module reload
yea
Oh, that's cool
like you change code and it hot reloads in place instead of needing to reload
we could absolutely hmr ui code
like your react components
yea but i think that's just patches, hmr could hot swap pretty much everything else
yeah
even the other stuff inside index.ts that isnt patches
and if the dev wanted,, hmr could help with patches by auto-refreshing on change
oh wow this is pretty sick
this
tbh i wish I had done that from the start
the current model makes it impossible to add new files
once we have asar we can add new files easily without having to make changes to the installer and updater
oh like css/main/preload/renderer currently
yea thats awesome
maybe bundle dependencies into the asar instead of loading from cdn
the entire reason we load from cdn is cause of this limitation
thats really cool wtf
yea that would be VERY sick
it's probably kinda pain to do with vencord tho
cause we don't control the react instance and such
what advantage does asar even give
they just said lolol
oh
no i havent really seen much from the last like year and a half
other than what you've dmed me
that sounds fire
vencord installer webapp
oh yea i did see that theres a cli installer binary now, that has been so awesome to use
truly sad piece of history is getting created
I still use this installer whenever vencord breaks 
with the asar thing, I think I definitely want to try switching to vite after the PR design is finalized
and i wanna review the asar PR when its undrafted
how will you even port our plugins
gonna have to port them to rollup plugins probably?
not really, the vite plugin api has enough to do it there
(i mean the bundler plugins)
yea
vite plugin api is capable of doing virtual modules in the same way
and can be designed with hmr in mind
oh nice
cant be just esbuild or rollup, cus vite uses esbuild in dev, and rollup in prod
(lol)
lmao
just make sure this won't make building much slower
well prod doesn't matter much
sure yea i'll include benchmarks or something when i get to it
naaaah u don't have to include benchmarks lmaooo
but it sounds fun :)
the motivation addreall gave to vap is increadible
LOL
the pr is kinda finished, just need to test and update installer and also update git updater
oh interesting its not a very big PR lol
does this apply to web?
ah true
the main obstacle with this shit is backwards compat
cause people will use ancient installers and take months to update
i feel like thats on them, no?
not really, good backwards compat should be expected tbh
kinda but it's our problem in the end
i think i see what u mean tho
like an old installer will not download the asar
but would try to fetch the legacy files on the latest release
yes
that's why it will still create the old files https://github.com/Vendicated/Vencord/pull/2707/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721R54
and the in-app updater needs to be aware
am i wrong in assuming those legacy files are trying to be working versions of vencord
i think the ideal solution would be to ship legacy files that just turn discord into a static window telling the user to use a newer installer version
or it could download and run the installer itself, since precense of legacy files indicates intent to update
yea exactly
the main reason I didn't is cause im scared of windows file locking
not sure if it can delete the directory nodejs files are being run from
i think there's probably a way for the main process to spawn another process without it being a child
so then the "child" can kill discord and do the installation
worst case scenario you simply have to guide to users to manually do it
i can already envision nixos users crying in support
i hate how painful testing updater stuff is tho
testing the git updater seems easy enough but yea http updater sounds pain
have to make a separate repo
yeah testing git updater just be like git reset --hard HEAD~1

couldnt you make a staging branch that makes releases under the staging tag
and tell the http updater to target that tag
i mean isnt latest just a reserved tag
nope i was remembering the URLs wrong
it does seem like u could replace "latest" with "tag/staging" though and it would work the same way
Can someone please explain the benefits of using Vendord as an asar file?
Right now Vencord loads uses multiple files to run: renderer.js, preload.js, main.js (per platform), renderer.css, etc.. (maybe more)
Every time Vencord needs a new file to run, the installers have to hardcode support for updating each file and mapping what platform (Vesktop / Discord Desktop / etc) each file is needed for. I remember how painful it was when we started using renderer.css (i think) lol
Shipping Vencord builds as an asar would de-couple the individual modules from the updater, and make adding new modules to builds in the future SO much safer & easier
Just to check if I got it right:
Every time a new file in vencord build is added - installer requires an update to map this file
Using asar makes sure that even old installers will have an ability to ship everything needed, which makes adding translation/new modules easier?
plus it means we can ship translations separately instead of baking them in to the js
Okay, thank you for the explanation!
question; does this only affect desktop, or does it also target browsers
(the .asar switch)
extensions already are build to .zip files, and also the updater doesnt deal with extensions anyways
i dont think web is affected
im not sure how the userscript handles files, iirc all it would use right now is renderer.js and renderer.css
yeah
userscript probably either won't support translations or have separate language builds
otherwise it will become massive
2mb userscript

seems fine π
we gotta make sure you can load vencord off a floppy disk
π
@timber bay
good
translations shouldnt take that much
load translations from server
wouldnt be too dumb actually
have english as default
and load language asynchoriously
You can trigger github workflows from personal access tokens.. Imagine on the site you could customize your own (cached) builds lmao
Hell with the size lmao, Couldn't care less if it were a half GB. I'd be ecstatic if it ran on a x86 only CPU with no x64, supreme bonus points if it ran on Windows 7. This next part may be far fetched, but even cooler if it were to be set up for SSE2 CPUs instead of SSE3.
I run on some ultimate potato computers over here lol.
okay so backwards compat with dev install is like impossible
i think that's acceptable
Dev installs are already I-know-what-I'm-doing mode


what was dirname()