#๐พ-core-development
1 messages ยท Page 86 of 1
@spark cove nerd
Discord Account
masalaking
What is it that you'd like to see?
An additional setting option on the BetterFolders plugin, where the folder sidebar will automatically close once you select a server within that folder.
The BetterFolders offers extreme convenience for folder navigation, but it does take up some screen real estate. It could feel unnatural to have the folder sidebar visible at all times, especially for new Vencord users coming from regular Discord, so some users would prefer to have it closed, when on a server. As of now, to close the folder sidebar, when you are on a server within a folder, you have to click on the folder icon again.
For users who tend not to navigate much between folders and within folders, this option would offer that extra bit of convenience by clearing some of that taken-up screen real estate by the folder sidebar, by automatically closing whenever you select a server within a folder.
As for the setting option title and description, I propose the following:
- Title: Auto-Close
- Description: Close the folder sidebar when selecting a server
NOTE: Apologies if this doesn't fit the feature request requirements. I was unable to locate where the discussions tab was located on the repo.
Request Agreement
- [ ] This is not a plugin request
Discord Account
masalaking
What is it that you'd like to see?
An additional setting option on the BetterFolders plugin, where the folder sidebar will automatically close once you select a server within that folder.
The BetterFolders offers extreme convenience for folder navigation, but it does take up some screen real estate. It could feel unnatural to have the folder sidebar visible at all times, especially for new Vencord users coming from regular Discord, so some users would prefer to have it closed, when on a server. As of now, to close the folder sidebar, when you are on a server within a folder, you have to click on the folder icon again.
For users who tend not to navigate much between folders and within folders, this option would offer that extra bit of convenience by clearing some of that taken-up screen real estate by the folder sidebar, by automatically closing whenever you select a server within a folder.
As for the setting option title and description, I propose the following:
- Title: Auto-Close
- Description: Close the folder sidebar when selecting a server
NOTE: Apologies if this doesn't fit the feature request requirements. I was unable to locate where the discussions tab was located on the repo.
Request Agreement
- [x] This is not a plugin request
Discord Account
masalaking
What is it that you'd like to see?
An additional setting option on the BetterFolders plugin, where the folder sidebar will automatically close once you select a server within that folder.
The BetterFolders offers extreme convenience for folder navigation, but it does take up some screen real estate. It could feel unnatural to have the folder sidebar visible at all times, especially for new Vencord users coming from regular Discord, so some users would prefer to have it closed, when on a server. As of now, to close the folder sidebar, when you are on a server within a folder, you have to click on the folder icon again.
For users who tend not to navigate much between folders and within folders, this option would offer that extra bit of convenience by clearing some of that taken-up screen real estate by the folder sidebar, by automatically closing whenever you select a server within a folder.
As for the setting option title and description, I propose the following:
- Title: Auto-Close
- Description: Close the folder sidebar when selecting a server
NOTE: Apologies if this doesn't fit the feature request requirements. I was unable to locate where the discussions tab was located on the repo.
Request Agreement
- [ ] This is not a plugin request
bro really opened issues on codeburger cause closed on github
why does it send edits horror
Discord Account
masalaking
What is it that you'd like to see?
An additional setting option on the BetterFolders plugin, where the folder sidebar will automatically close once you select a server within that folder.
The BetterFolders offers extreme convenience for folder navigation, but it does take up some screen real estate. It could feel unnatural to have the folder sidebar visible at all times, especially for new Vencord users coming from regular Discord, so some users would prefer to have it closed, when on a server. As of now, to close the folder sidebar, when you are on a server within a folder, you have to click on the folder icon again.
For users who tend not to navigate much between folders and within folders, this option would offer that extra bit of convenience by clearing some of that taken-up screen real estate by the folder sidebar, by automatically closing whenever you select a server within a folder.
As for the setting option title and description, I propose the following:
- Title: Auto-Close
- Description: Close the folder sidebar when selecting a server
NOTE: Apologies if this doesn't fit the feature request requirements. I was unable to locate where the discussions tab was located on the repo.
Request Agreement
- [x] This is not a plugin request
move this to its own channel 
veeeeeen
i made it workie
:3
well
i embedded the installer site
i havent actually made the installer work though
i'll leave it as is as a proof of concept, so if we want to carry on with it we can, but the shell app works now just fine
wails is actually super cool
it literally is just tauri but in go
and if you dont have a webview installed it will install it for you, which is ace
you can embed a version as well but its a bit eh
https://x.lewisakura.moe/23/08/DiscordCanary_2023-08-17_19-38-31.png does immediately work after you install a webview runtime tho
but yeah it shouldnt be too difficult to port this tbh
I mean this is normal
but uh
and i've CIed it
๐ช
so now we can autobuild the wails version of the installer
very hot
how to build?
go: downloading github.com/wailsapp/wails/v2 v2.5.1
go: downloading github.com/leaanthony/slicer v1.5.0
go: downloading github.com/leaanthony/go-ansi-parser v1.0.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/sys v0.5.0
main.go:16:12: pattern all:frontend/dist: no matching files found
it's not usable as an installer yet
but you need to use wails build to compile it
its a custom cli
Oh ok thanks
@turbid hatch h - do you have those repos yet
?
wth is wails
oh based
i kinda thought of rails
xD
yeah its named after the ruby on rails thing
When I saw WebView, I thought "What I really want is tooling around building a WebView app, a bit like Rails is to Ruby". So initially it was a play on words (Webview on Rails). It just so happened to also be a homophone of the English name for the Country I am from. So it stuck.
Ayyyy nice
wales
ye
tauri does that
oh i didnt know that
i finally did it
interesting, the text goes higher than neko
and so does the badge and arrow
also now neko is an HTML element
hi, i need some help creating my own plugin. i dont really understand where do i find the source code to match and replace
github
do i j open the current.js from discordscrapping and scroll till i find the needed functions or what
expect coding to be harder than you think it will be
because it almost always will https://cdn.discordapp.com/emojis/1061116154850054154.webp?size=48&name=COUSIN&quality=lossless
Depends on #1661 for pnpm run lint:fix to fix all files, including ESM source files.
Depends on #1662 (due to use of the node: module prefix). Hard depends on #1661 (due to use of the .mts file extension).
got damn
pull request opened #878924 depends on #878923 depends on #878922 depends on #878921 depends on #878920
what's the point of all these changes
don't fix what's not broken
and node: import prefix is kinda obsolete
u keep saying obsolete instead of redundant
sorry
smh
is funny i remember u replying a while ago "oh i kept saying obsolete but it sounded weird"
reduntsolete
๐ฅ
tiny
runInstaller now avoids a possible race condition around the ETag cache file.
my god
i think my PR should be good now
please avoid redundant style changes / unnecessary refactors, this contributes nothing relevant and just pollutes history and wastes both of our time
please avoid redundant style changes / unnecessary refactors, this contributes nothing relevant and just pollutes history and wastes both of our time
before making major style changes / refactors, you should bring it up first
the build warning seems to not be related to my code
so it can be discussed
it still gives the warning without the plugin
See https://github.com/nodejs/node/issues/36098 and https://github.com/nodejs/node/pull/37246 . The node URL scheme has been supported for builtin module imports since v16.0.0. Per the first linked issue, any future builtโin modules may use the node: prefix to not risk ecosystem breakage. Transitioning now means we're consistent. Additionally, outside of Node.js proper, JavaScript runtimes like Deno require the node scheme for their Node compatibility modules. Additionally, Node can throw slightly nicer errors:
Welcome to Node.js v20.2.0.
Type ".help" for more information.
> require("internal/test/binding")
Uncaught Error: Cannot find module 'internal/test/binding'
Require stack:
- <repl>
at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
at Module._load (node:internal/modules/cjs/loader:923:27)
at Module.require (node:internal/modules/cjs/loader:1137:19)
at require (node:internal/modules/helpers:121:18) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '<repl>' ]
}
> require("node:internal/test/binding")
Uncaught:
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:internal/test/binding
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at new NodeError (node:internal/errors:399:5)
at Module._load (node:internal/modules/cjs/loader:916:13)
at Module.require (node:internal/modules/cjs/loader:1137:19)
at require (node:internal/modules/helpers:121:18) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}
You can also see Node preferring the node URL scheme in these errors when talking about its builtin modules.
See the 2020โ10โ29 TSC Meeting notes, where it was decided that CommonJS should also support node:โprefixed imports, so that any future builtโin modules (e.g.: diagnostics_channel) donโt risk possi...
none of that is relevant
this code will never run outside of node and there is no risk of ecosystem breakage
i was hacking around on runInstaller because the Node process keeps hanging for me after running a reinstall of Vencord & exiting. haven't figured out what's wrong yet but that's why I've been cleaning up the script
it might be correct style by modern standard but we dont really have a reason to do so
yeah ik im teasing xd
no theyre a preference
we do use ESM scripts though, and the node scheme is preferred for those: https://github.com/nodejs/node/blob/c021b27221dbf65ea23a570d9df91bfdac4b3196/doc/api/esm.md
literally all their examples use node:
okay and
so?
anyway
lets move the topic
wails!
i will begin porting the go daemon tomorrow
well
no i'll port the daemon and webinstaller
and we can play around with it more
linux has issues with execution except on ubuntu so i'll investigate trying to move to appimages
or using a static build
(i know static builds are possible so)
issues with execution?
couldnt get it to run how
as in
why not
no such file or directory
fuill error
taht is the full error lol
it's the library missing error on linux
linux just worksโข๏ธ
alright. the project did not document whether the avoidance of node: was intentional, so I at least wanted to offer what I believed to be best practice. i'm fine with the project style taking a position against it
double quotes are always correct because its easier for me to type them and everyone else is WRONG
like 1% easier
wins
shifft + 2 vs shift + 7
just make a lang that uses chevrons for strings ๐
double quotes are better cause in languages with chars ' is char and " is string
real
i like backticks as the default string literal in JavaScript but i'm also a weirdo. they work pretty nicely for CSS selectors to sidestep escaping issues almost entirely
husk
also it's easy to drop in interpolations later
I get internal agressive tendencies when I see backticks without any string interpolation
so true
alias ld (laserdisc) into cd
compilers will love
wtf
Replacement for #1662 after discussion on Discord.
i just want to be consistent with whatever the project style is. "we are informed and intentionally have no preference" is fine but it's alsoโฆnot documented to my knowledge anywhere. this is a good thing to document in your style guide
yes but we said multiple times not to change it
so i dont understand why you keep opening prs
use existing code as style guide
hmm..
im trying to work out how to fix wails for multilinux
ah well
i'll do it tomorrow
if i do a static build it'll work fine most likely so
^
that is definitely not the full error
i opened the PR for node: because i started debugging a .mjs script that used node builtin imports. it's the same reason i opened the PR for linting .mjs filesโI discovered they were missing from the script and wanted to make sure I wasn't accidentally deviating from what style is enforced.
then they should get the full error
"bash: ./VencordInstaller: no such file or directory"
I JUST DID IT MYSELF VEN
PLS
chmod +x it
VEN
I BEG OF YOU
LISTEN
THAT IS THE ERROR
***THAT IS IT ***
I ALREADY MADE IT EXECUTABLE
ldd VencordInstaller
you are probably missing a lib
libgtk-3.so.0 => not found
IgnoreActivities (had no effect):
ID: 614711
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 ```
so ur missing webview lib
sir
no im missing gtk apparently
lol
oh and webkit2
hm
static build would fix that but eh..
that would make it quite large
also this is nixos so its stupid
ah fuck it i'll static build it
fix ur system
this is your issue
you need to specify gtk as a dep or sm
please avoid redundant style changes / unnecessary refactors, this contributes nothing relevant and just pollutes history and wastes both of our time
Could this be reopened? It actually fixes a handful of bugs, or at least brings a few things to type compliance. It's also been refactored to no longer land on top of on #1662.
Ideally, this would also fix hang I'm running into with this script on Windows, but I'm still debugging that.
nix my beloved
try tossing it in a buildFHSEnv
IgnoreActivities (had no effect):
ID: 614711
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 ```
i can give you a Nixpkgs-based thing for the installer later if you're fine with waiting
Sure. Would you count moving runInstaller to TypeScript as a part of the debugging process as a major style change / refactor? Other scripts already use TypeScript & I'm running through the scripts porting stuff just because
yes
yeah but it doesnt work on fedora either
xd
so i need to work it out a different way
i dont actually care about nix so
send link
that was because of https://github.com/Vendicated/Vencord/pull/1662. GitHub offers no built-in support for PR stacks. I'd love if they did! (See https://sapling-scm.com/docs/git/intro/ for discussion of this; Sapling offers multiple options to get around GitHub's lack of support. Vencord is not using Sapling.) The best I can do here is document that this is a stacked PR in its description. The commits unique to https://github.com/Vendicated/Vencord/pull/1663 change 1 file.
Because you have now closed the PR, these statistics won't update until it's re-opened.
discord truly is incredible at parsing
https://github.com/ezyang/ghstack produces stacked PRs with (more) normal Git that look better in GitHub's UI, but you have to merge those PRs using ghstack land $PR_URL. again, this project doesn't use ghstack and i doubt you want to start right now.
i would have made these changes on top of main but then my commits wouldn't be linted by CI, even without the change from .mjs โ .mts.
random but this sapling thing seems kinda fire
sapling is indeed neat
i scrolled down to the bottom of the page for the first time and got meta open source jumpscared
yeah that's my biggest concern about it. meta open-source can be weird to depend on
HOW
lewi why is your system so broken
also DO NOT
as for why this was on top of https://github.com/Vendicated/Vencord/pull/1662 at all, that's because I didn't want my commits to cause the node module scheme to be introduced just for this file. the changes i was making in the build/tsScripts patch stack did not logically depend on node:, so that change wasn't made within that patch stack. my default for style changes like that is to introduce them properly, project-wide, so that they can get properly reviewed, like what happened here. when the style changes got refused, removing them from the build/tsScripts patch stack was a matter of rebasing, removing node: in the merge conflicts, & testing again to ensure that nothing I introduced depended on node:. i am trying very hard to make things clear, easy to review, & not slip things by you all.
thanks lewi!
ofc :D
I initially split this over multiple lines, but Stylelint's indentation rule required 0 leading spaces for each subsequent line of the same rule, which reads the same as multiple rules (separated by ,) would, so I avoided that for clarity.
@quiet arrow when I tried to do this a few months ago it was inexplicably incredibly laggy
I ended up binding it to a keybind instead
Would you be interested in that?
I have a gif of it somewhere if you wanna see
But I also wanted that
@austere talon what luna said!
:D
Alternate Name Ideas That Don't Include Profanity:
SpoTubefy
I don't use Spotify
Spotifyn't
SpotifYT Music
I dunno, not that good at names
ok so im doing a different feature instead of that now
the code should simply skip rendering the irrelevant permissions
Done. While handling this I realized that the list rendering wasn't keyed, which gets more relevant when adding/removing classes from a list, so that's done for both listings now.
The nesting got severe after introducing <Fragment> to handle permissions that aren't rendered, so permission item display has been factored out to a standalone PermissionItem component.
also, in case you're wondering why getPermissionValue and getOverwriteValue have explicit return types on the final declaration, those are required for TypeScript override sets.
Depends on #1661 due to modifying .mts a source file. When reviewing this before depended-upon PRs are merged, please review each commit individually, as the overall files changed view will include changes from those PRs.

- refresh rpc when hit save, dont need to restart whole discord anymore
- make isValid not prevent user input
- fix some of my silly mistake :p
I applied the suggested change. Ternary seems like it would make the line too long, or split into multiple lines which is generally discouraged for a ternary, so idk.
He has a point
If its gonna be multiple lines why use ternary ๐ฅด
@spark cove you free to join vc and dev for a bit
kek, 700 forks, farm acc
const stuff = boolean
? ifTrue
: ifFalse;
Fair
Hi

niiice good job
we added a loader because we got bored xd
oh i see
because i have windows terminal not to close on failure
- we can probably make it kill using winapi or smth to avoid popup maybe?
and because discord dev isnt running it fails
xd
and yeah probs
but the installer does work
which is the bit im happy about
why tho
trying to add error handling to api requests
so like if you update a channel and it 403s
its just like "lol didn't work"
so im adding a way for people to see that error
patch discords rest api module then
on the topic of the terminal
cant you kill discord with taskkill instead of powershell command so you dont have to wait 6 years for powershell to start on older pcs
can anyone help me i want to download vencord
vns
i am yt a content creater
read
could someone check my oneko PR, i made some pretty drastic changes
i dont think that the build warning is related to my code, as deleting the plugin entirely still gives the same warning
and the only other thing i did was add myself to the contributor list
new installer finally
Yeah, sure! Let me know how I can do that!
it does that now for me too, with the old? normal? regular installer
the powershell goes away quick but it's still a bit of a jumpscare
are you on windows, linux, or mac?
i ask because on windows i have it bound it escape and on linux i bind it to win+escape
also do you have any experience with the dev build of vencord?
i can walk you through it, it's pretty easy. but every time vencord updates you'll have to repull
yeah it's normal
first plugin looking sick so far ๐ https://img.sticks.ovh/4WIzdbGm3.gif
is this a thing
epic why not show that on da website
I have the same error. When running vencord on terminal, I get ths.
[9489:0818/193802.709839:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Nรฃo existe o ambiente โorg.freedesktop.portal.FileChooserโ
[9489:0818/193802.709894:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
(node:9489) UnhandledPromiseRejectionWarning: Error [ER...
Windows
are you familiar with building a dev version of vencord?
Vencord/WailsInstaller
cuz there are two ways we can do this:
-
you make your own fork and i tell you what to change
(you'll have to maintain it and make sure it syncs every so often) -
you use my fork with my changes but then you'll have to rely on me for maintaining it and making sure it syncs. which for the forseeable future id do but the point is you have less control
i mean (3) i make a PR for it but then id have to figure out how to make it work with a mac tho i do not have a mac
sooo i never bothered
this will likely be made irrelevant by Vencord/WailsInstaller
oh i just probably look here before responding to github stuff
@spark cove im so confused how the go installer even works lol
find_discord_* doesn't have conditional compilation, so how does it know which file to include in the build
ah well
i've added conditional compilation to it now
same idk
yes
i couldnt find that behaviour in the compiler docs
huh
i.. actually really dislike that as a feature lol
why?
it's intuitive
i dont like stuff being conditionally compiled based on file names, i much prefer explicitly defining the go:build condition
ah i couldnt find that doc page
i was reading something else then
now
next order of business
working out whatever the hell is wrong with the go compiler
well
more specifically
ld
these dependencies are present
oh
wait im dumb
you cant static build those lol
annoying
also i mainly guess this is because i come from other languages that require it so i guess its more intuitive for me to explicitly define conditions
just leave it the way it is :p
aaaaand also it means that file names have meaning, which is not a good idea ("find_windows.go" wouldn't be compiled on other operating systems besides windows)
don't fix what's not broken
ye i will
shrug
well anyway linux is a bit of a fucky build
because gtk 
mac and windows should work fine
so all we have to do really is just actually finish the installer
since it's a directly 1:1 port of the websocket based system to the IPC based system there's not really much different atm
go also uses filename for test files
check filenames here 
tbf that is a universal convention at this point, every language uses that
ye i know
So did you get rid of the websocket again?
yeah

I guess porting it was trivial cause its just the same shit but via ipc instead of socket
pretty much
all i had to do was
this
and then tell wails that i wanted thees bound to the frontend app
like this
the porting was funny how drop-in it was
where?
and i got yelled at by the language server when i used +
because it said i should just use errorf
I always just use + and it never complained
shrug
that's cozy tho
it gets upset with your error names btw
because they violate go error convention
xd
indeed
i literally have to do no work, it just works
[]any{installer}
the typedefs are a little funny though
wdym
instead of interface{}
any is new thing introduced in go 18 that's the same but less confusing
because any is just interface{}
I find interface{} kinda confusing lol
well not anymore but the first time I used it

its surprising how little effort all of this was
as vap said it was quite literally drag and drop for the most part
most of the effort was me putting the installer into its own module
funny how? they look fine to me other than nonsense arg names
yeah thats what i mean
lol
it cant get the arg name
and also the generated code is horror
lol wtf is that comment on the first line
it's ugly but who care
can u rename the global?
no

go
well
agony
that's pretty cool tho
tho if we're gonna need the typings generated by the installer
it might be better to make a monorepo after all
yea you cant
it is ye
i copied and pasted the installer code in, and webinstaller too
but this is quite a modified webinstaller anyway
so
oh also
yea im probably gonna add back the installer as a window
but with the title bar like
a lot more hidden so it doesnt look weird with 2
ye if u want
i have to
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
TitlebarAppearsTransparent: true,
HideTitle: false,
HideTitleBar: false,
FullSizeContent: false,
UseToolbar: false,
HideToolbarSeparator: true,
},
Appearance: mac.NSAppearanceNameDarkAqua,
WebviewIsTransparent: true,
WindowIsTranslucent: false,
About: &mac.AboutInfo{
Title: "My Application",
Message: "ยฉ 2021 Me",
Icon: icon,
},
},
Linux: &linux.Options{
Icon: icon,
WindowIsTranslucent: false,
WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
},
or else no shiggy clicker
we have these options to fiddle with
so we can make the mac version look nicer
by removing the titlebar and inlaying it
which might be fancy
but of course i dont have a mac so i cant test it
anyway
the Future Of Vencord Installer
DEB | Invalid JSON passed to callback: Expected double-quoted property name in JSON at position 87. Message: {"result":[{"branch":"canary","path":"C:\\Users\\super\\AppData\\Local\\DiscordCanary",```
Encountering the same issue here a fresh install just today. Verified using nestat that vesktop is in fact using the port for it however it just fails to connect.
something I noticed between vesktop and discord, vesktop is top
discord uses its own user agent, but that makes me wonder if that would make any difference
hey, could please add NotificationsDot component to BookmarksContainer.tsx
Hi
hi
nothing actually, I just modified vesktop to use discord's user agent, just to see if anything would change
nothing did
so forget I even mentioned UAs
it breaks voice chat
we deliberately spoof the user agent to a browser user agent as otherwise vc is just broken
ah, didn't know that could happen
also, a plugin/setting for auto unmute on app startup would be nice, saving a few clicks here and there (my ocd is going crazy seeing myself muted whenever I start the app)
having electron user agent makes discord assume you support their custom voice chat thingie instead of using webrtc
since that's just not supported on web you get weird errors
This is more generic rewrite allowing for more paths to be added in the future for whatever reason (like a rename in future Discord versions).
(The "OpenAsar" code previously was completely wrong lol!)
d582e61 Fix patching Win32 updater with OpenAsar (#1667) - CanadaHonk
does this not let you save a setting that is invalid? that would be undesired
hmm, something seems wrong here, there's a lot of type errors
"$1$self.normalizeResourceHost($2)$3",
try to avoid redundant groups, it makes patches way harder to read. just repeat short constant strings or use lookarounds
97e1e9e messageLogger: apply deleted style to ephemeral... - VMGuy23
Yeah I'll take a look tomorrow, I didn't have a local TS linting environment set up but the code seemed to work.
d582e61 Fix patching Win32 updater with OpenAsar (#1667) - CanadaHonk
4c40365 new plugin: NormalizeMessageLinks (#1641) - bb010g
97e1e9e messageLogger: apply deleted style to ephemeral... - VMGuy23
e699ea6 feat(plugin): PreviewMessage (#1607) - Syncxv
72ce7a5 themes: ignore non theme files - Vendicated
as i remember i tested yesterday it still prevent save button, just let you change the input while it invalid.
IgnoreActivities (had no effect):
ID: 770343
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;
resetSocketOnError Cannot access 'pfe' before initialization
%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 ```
IgnoreActivities (had no effect):
ID: 12422
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 ```
I am not unfortunately
@austere talon aaaa im just checking out this merge queue feature, its genuinely a shame its only for orgs because it would be so useful for the main vencord repo
it really does work just like bors, you add a bunch of PRs to the queue and it'll run them all at once and remove the ones that fail
also lol "only merge non-failing pull requests" being an option is so funny
message preview button makes me uncomfortable
Vencord has more stars than Aliucord 
horror
ugly please?
?
youโve been asking multiple times a day, be more patient
if everyone that had a pending PR did the same thing this channel would be chaos
ok
seriously
prs taking time to be reviewed is pretty normal lol
On an active repo, your time shall come
on an inactive repo, your pr will sit there for three years
@woeful sable you

So I am trying to update my vencord build but everytime I run pnpm build I get Build failed with 1 error: src/plugins/rnnoise.web/index.tsx:24:48: ERROR: Could not resolve "@sapphi-red/web-noise-suppressor" does anyone know how to fix this?
IgnoreActivities (had no effect):
ID: 770343
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;
resetSocketOnError Cannot access 'pfe' before initialization
%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 ```
IgnoreActivities (had no effect):
ID: 913184
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 ```
This simple plugin replaces all twitter.com URLs to vxtwitter.com to make it more friendly with discord embeds.
This can and has been done with textreplace, see [this](#๐-textreplace-rules message)
rip the old fxtwitter plugin
2749
never
Surely it wouldn't be too hard to make this without copying parts of it?
This is kind of weird. First of all, the url should obviously be https://gh.lewisakura.moe/timedone/ :trollface: Secondly, is this needed..?
My question is maybe dumb, but why? His licence states that the code can be reused.
speaker icon next to the nickname with hover to see where he is would be great
My question is maybe dumb, but why? His licence states that the code can be reused.
That doesn't mean you should just take it (I didn't look too closely though)
can someone build for me dev/beta release of Vencord? with this plugin? i tried it by myself and i got bunch of errors /platform: windows
That doesn't mean you should just take it (I didn't look too closely though)
Why not?
speaker icon next to the nickname with hover to see where he is would be great
Where should the icon be? (Maybe a screenshot?)
When the --ozone-platform-hint=auto parameter is added, the client crashes when mouse points over the window. This doesn't happen in Discord and Discord Canary. I'm using vencord-desktop-git package from AUR.
OS: Arch Linux
Kernel: 6.4.11-zen2-1-zen
WM: sway
Video of the problem:
https://github.com/Vencord/Vesktop/assets/84603004/bbe5203a-f5a1-426a-b9a6-030e3e8bd61a
electron issue we can't do anything
ok everyone, sorry if this is not the right place, can i ask, i wanted to change the sprite sheet for oneko plugin ( https:// raw.githubusercontent.com/adryd325/oneko.js/5977144dce83e4d71af1de005d16e38eebeb7b72/oneko.gif ) but it seems like everyng is hosted and fetch()ed from the web, so i cant just change the code. so far i was spending hours, trying to trace the way vencord loads and download everything to my pc and have it fetch() from a path instead of url, but it struck me that that 1) might not even work 2) there's a radically easier way, so here i am. asking: " is there an easier way to do the things i have described ? "
can't you just swap it out with a css snippet
huhhh ???
but the image is on the internet and the code that loads the image as well
*images
answer is yes
#๐ง-off-topic-iceman-only message
ah damn
i feel stupid now
thanks lol
no idea how thats possible but thanks
it just replaces the url
ok ok, im here again, is there an equally magical line of css to change the dimensions of the sprites on the spritesheet ?
IgnoreActivities (had no effect):
ID: 770343
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;
resetSocketOnError Cannot access 'pfe' before initialization
%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 ```
IgnoreActivities (had no effect):
ID: 913184
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 ```
oh they left lmao
How would I store user inputted data, not settings, but like the user clicks something, opens a modal, types some string in and it saves?
thank you
F in chat for the person that wastes all their time on something that can be done with #oneko {
background-Image: url(LINK);}
what ๐ญ
๐คจ
If a message has a button which its style is DANGER (red), make the text white instead of deleted red (#f04747)
any way to see if the user has compact mode or cozy mode selected?
u can grab the compact mode class and check if the app has it
k
Tried to find a solution with the Embed type but I didn't find anything

IgnoreActivities (had no effect):
ID: 870640
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;
resetSocketOnError Cannot access 'xfe' before initialization
%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 ```
IgnoreActivities (had no effect):
ID: 870640
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;
resetSocketOnError Cannot access 'xfe' before initialization
%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 ```
import { getSettingStoreLazy } from "@api/SettingsStore";
import definePlugin from "@utils/types";
const IsCompact = getSettingStoreLazy<boolean>("textAndImages", "messageDisplayCompact");
export default definePlugin({
name: "IsCompact",
description: "",
authors: [],
dependencies: ["SettingsStoreAPI"],
start: () => {
// there's also the useSetting hook
// https://github.com/Vendicated/Vencord/blob/main/src/plugins/gameActivityToggle/index.tsx#L46-L58
console.info("messageDisplayCompact:", IsCompact?.getSetting());
}
});
implemented into this
why so many stars did anything happen
new vencord tiktok video ๐ฅ
star
bach hummus
๐จ
@austere talon o ye can you add the webhook to wails
i dont know what the url is that you use

I have no idea what their stance is on these kinds of apps in official buckets (repos)
armcord's already in scoop/extras so vesktop should be fine. assuming it works fine, you could probably just copy the dev-tools manifest into a pr for scoop/extras and it'll eventually get merged.
hi >.<
npm ERR! While resolving: vencord@1.4.5
npm ERR! Found: eslint@8.47.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^8.46.0" from the root project``` during `npm i`
use pnpm
would a plugin with hacky importing be accepted
and once its loaded
otherwise it throws this, presumably because its loading the list of plugins while its still null
pascal case jumpscare
dynamic import it
cant use async in a component https://cdn.discordapp.com/emojis/1102371462934962187.webp?size=48&name=pureagony&quality=lossless
you can
lazycomponent is uir friend
const PluginCard = LazyComponent(() => require("@components/PluginSettings").PluginCard as typeof import("@components/PluginSettings)".PluginCard);
ahhhh tysm
const PluginCard = LazyComponent(() => require("@components/PluginSettings").PluginCard as
// @ts-ignore
typeof import("@components/PluginSettings)").PluginCard);```

iirc just get rid of the typeof should fix it โข๏ธ
not a huge fan of the bracket notation but I don't have any better idea either
stole bracket notation from ios jailbreaking servers
make it a link such as vencord://plugin/FakeNitro
too convoluted
vencord://settings when
well it's more descriptive imo
wouldnt work because spaces in plugin names
not a problem, the only one with a space is ai suppression and honestly who cares about it
We fixed this for bd by using a placeholder such as Some_Plugin_Name
real
alr
but you can also optionally urlencode, but that seems complicated
the [[ is cool
also would be really easy to make that real
oh wait is that what youre making
yeah
yep !
checks if the plugin exists :3
nice
Embeds the plugin card
Based on bracket notation: [[Plugin Name]]
:D
me when i click on codeberg: damn nice github theme

actually, easy fix for the notation, could you add a setting to not render the notation in messages when used
thats the old header
disable the plugin at this point
dont do that





