#๐พ-core-development
1 messages ยท Page 87 of 1
reload, eslint server is funny most of the time
pnpm i
OH IM DUMB
trol
my brain defaults to yarn
ig it didnt install it
whar
what should i return instead, null seems to work fine
just make sure it can't be null where you want to use it
@olive barn make the plugin name PluginInfo
otherwise ts complains
do not return an array
use fragment
<></>
null is not the issue
ahhh tyty
im so confused
im sorry did i breathe incorrectly?
are you bullying me?
wadidido
eslint isnt saying anything about the header https://cdn.discordapp.com/emojis/1102371462934962187.webp?size=48&name=pureagony&quality=lossless
cuz both new and old headers are valid
ohhhhhhhh
Copyright (c) {year} {author}
SPDX-License-Identifier: GPL-3.0-or-later
``` right
i have an question can fake nitro plugin developers make a thing that allow to use profile deocorations for free? (it will be visible to persons that have enabled this plugin)
no
dpes pnpm i fix it
thats install
pnpm lint --fix
๐คจ
why?
jumpscare
if u accept this then accept https://github.com/Vendicated/Vencord/pull/1673 











stop spamming 
didnt install any extensions




PR closed for begging to merge it in the discord
thx it worked
mannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
gon cry in my pillow ig

ok two very nice questions
- How do I apply css and unapply it
depending on each setting
import Settings object from <@&1118512699836481547>pi/Settings
then do Settings.plugins.YourPluginName.PluginSetting1 to access it's value
nice ping
ok that easy
when you could put them in defineSettings
isnt the old settings deprecated
i got it
it yelled at me and stern told me to remove it
i think just without typeof
oh nvm i got it
import { type PluginCard as PluginCardType } from "@components/PluginSettings";
const PluginCard = LazyComponent(
() => require("@components/PluginSettings").PluginCard as typeof PluginCardType,
);```
Embeds the plugin card
Based on bracket notation: [[Plugin Name]]
Embeds the plugin card
Based on bracket notation: [[Plugin Name]]
๐ฅฐ
Embeds the plugin card
Based on bracket notation: [[Plugin Name]]
you dont
Great
the top is whats right
Plugin that allows you to remove either the gift, gif, sticker, or emoji button from the chat input bar
use css
elaborate 
button[aria-label="Open GIF picker"] {
display: none;
}```
Some people are peanut brained (me)
How can I fix that?

just add it to quickcss
yea
also this code is not sane
seems right
How to work it?
omg i found how i can do soundboard without nitro
i used rnnoise code to attach into getUserMedia and added another source from a sound
async connectSoundboard(stream: MediaStream): Promise<MediaStream> {
console.log("connectSoundboard", stream);
const audioCtx = new AudioContext();
const source = audioCtx.createMediaStreamSource(stream);
const dest = audioCtx.createMediaStreamDestination();
source.connect(dest);
window.playSound = async (url: string) => {
const res = await fetch(url);
const buffer = await res.arrayBuffer();
const audioBuffer = await audioCtx.decodeAudioData(buffer);
const source = audioCtx.createBufferSource();
source.buffer = audioBuffer;
source.connect(dest);
source.start();
};
// Cleanup
const onEnded = () => {
source.disconnect();
audioCtx.close();
};
stream.addEventListener("inactive", onEnded, { once: true });
return dest.stream;
},```
only works for web but real
yea ik
hmm should probably make an api for that stuff if more things start using it
Keep getting this error when using this patch, I have no clue why
find: "d:\"M20 7H12L10.553 5.106C10.214 4.428 9.521 4 8.764 4H3C2.447 4 2 4.447 2 5V19C2 20.104 2.895 21 4 21H20C21.104 21 22 20.104 22 19V9C22 7.896 21.104 7 20 7Z\"",
replacement: {
match: /;return(\(0,r.jsx\)\(")svg(.*)/,
replace: ";var img=$1img$2;console.log(img);return img;"
}
Patches into the audio stream the same way rnnoise does
Only works on web
:3
forgot to remove enabledByDefault when copying rnnoise whoops
@olive aurora pr to forgejo to make edit a separate event
or i will ignore edit in ghwp
๐ฅ
gteawp soon
does this work while rnnoise is enabled
it should
im using rnnoise rn
yea it does
"hey im testing something, can you hear this"
"UH"
real
oh ur hardcoding support for rnnoise
mm yea then def should move that into an api
yea
wrong
oh god

here lemme
oki
what
i was checking if it still did the pr synced webhook
vap do u want me to make the voice api
hey ven , do you mind if i edit your github actions to push the cli exe to winget-pkgs when there is a new version released?
@austere talon
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;
[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 ```
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;
[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 ```
Allows plugins to hook onto the voice stream, modifying it
The voice property in plugin definitions is a bit hacky, as i cannot access this. For now, it is an array of function names, that will be called by the api
you cant access the plugin's this from there, so my hacky fix is just giving a function name and just hoping it exists
?
the things you have to acces from this
move them out of the object
so you dont need to
I have the same issue on widows 10 (1809), i just installed it and vesktop is listening on 1337.
But it perfecly works on fedora 38
oh that works
oh yea
i dont think letting a plugin will ever need an array of callbacks, probably mostly just one. if a plugin needs to do multiple things it can do that within 1 function still.
though, you should make the api something like voice: { mic(stream)?: [whatever this tuple is] }, so that we can add other types of streams in the future (eg: user(id, stream))
Do not merege this pr untill the following have been merged
@blazing dome you might wanna wait a bit for vee to respond
cus the current installer is soon to be replaced
this runs on the cli one
i guess the versioning will be the same and it'll probably be on the same repo
so its probably fine
These patches mainly originate from the packaging in Nixpkgs
- Add two env vars to preset values that would otherwise be generated during build time
VENCORD_VERSIONcan be used to set the value ofgit-hashVENCORD_REMOTEcan be used to set the value ofgit-remote
- Add support for
SOURCE_DATE_EPOCHto improve reproducibility (See https://reproducible-builds.org/docs/source-date-epoch/)
3...
nit: i feel like something like --disable-updater would sound more intuitive and self explanatory
Number is preferred for parsing numbers
export const BUILD_TIMESTAMP = Number(process.env.SOURCE_DATE_EPOCH) || Date.now();
looks good mostly, though it would be better if you also used the IS_READONLY define inside ipcMain/updater to not even include the updater code
there's no reason for this to be a function, it'd be better to just have this be a constant
PackageIdentifier: Vendicated.Vencord.Canary
how do package identifiers work
why is it not reverse domain
wait what's scrumplex doing here
i haven't seen him since before i existed
back when the others were active in prism launcher discord
h-how lol
scrumplex uses vencord lol
me when existence started in april:
how did you see him before you existed
oh
typical
existence for me may have started yesterday tbh, i can't disprove that
not existing is pretty lame though
I would recommend existing
any way we could make clips work on web or not?
web and/or machines that donโt meet the minimum reqs
this is a FANTASTIC sentence
lol
ooh i see
it sees \/ as a regular slash

and thinks the regex ends there
that's dumb
installers-regex: 'VencordInstallerCli\.exe'
installers-regex: 'VencordInstallerCli\.exe'
installers-regex: 'VencordInstallerCli\.exe'
a856248 Fix parsing regex with escaped slashes - Vendicated
If you try to test a RegEx pattern that contains a slash character represented with \/, the RegEx tester thinks that this is the slash that ends the RegEx and treats everything else as the RegEx flag. This, of course, returns an "Invalid Flags" error in VSCode, as seen in #๐พ-core-development message
youre too slow ๐
no u
when update tho
2 business weeks
next year it is
๐ฅ
publiser.package.type
https://github.com/Vendicated/Vencord/issues/1655 why's this still open?
issues are turned off..?
how ๐ญ
Forgor 
i dont think letting a plugin will ever need an array of callbacks, probably mostly just one. if a plugin needs to do multiple things it can do that within 1 function still.
though, you should make the api something like
voice: { mic(stream)?: [whatever this tuple is] }, so that we can add other types of streams in the future (eg:user(id, stream))
Fixed!
wtf is HD
high quality moyai thud 
listen to it
I can't listen rn

simply blindly merge it
wav is lossless, so I guess that makes it hq
shit quality = funny tho
ye thats what the toggle is for 
best PR
its shit quality by default
its not like it increases vencords size anyways since the audio files are stored in a separate repo xd
oh yeah im not like criticising or anything im just curious
this is only complete if you add an ultra low quality option
8bit moyai
yuh uh
lmao
thats just gonna bring stupid users lmao
can vencord not apply for discovery again or is it just that no one cared enough to change shit up to discord's standards
lmao replugged not public enough to get on that list ๐ฑ
aren't the keywords chosen by the server
yea
it's the replugged server โ ๏ธ
yeah why is this server not on discovery
cuz uh
I think ven did a funny
it was before
I don't think discord gave us a reason they removed us from discovery
actually they did
lmoa
i forgot
@austere talon apply when
yeah see I told you ven did a funny
probably not possible from js
though if it is, it'll be inside the discord_voice native module
:3
Bad
you love discord voice being incredibly needlessly complicated
nowhere in the native module does it include ANY mention of audio input device D:
nah i doubt it's there
yeah it's compiled lol
const KrispModule = require('./discord_krisp.node');
console.info('Initializing krisp module');
KrispModule._initialize();
KrispModule.getNcModels = function () {
return new Promise((resolve) => {
KrispModule._getNcModels((models) => resolve(models));
});
};
KrispModule.getVadModels = function () {
return new Promise((resolve) => {
KrispModule._getVadModels((models) => resolve(models));
});
};
module.exports = KrispModule;
everythings in the c https://cdn.discordapp.com/emojis/1102371462934962187.webp?size=48&name=pureagony&quality=lossless
Its in discord_voice
i just checked there
But the audio device and webrtc connection happens in the native module
Native module meaning .node file
shrimply edit the compiled binary 
Trolley
Real solution: don't use native audio subsystem
But then u can't screenshare
So sad
it's better
webrtc isn't great
i know sob
i doubt the native modules src code gets seen by many people
fair ig
i can pr it to github if u want
no itsok
codeburtger
if (nodes.length || contexts.length) logger.warn("List of nodes/contexts was not empty before connecting to new stream, previous stream might have never went inactive (possible memory leak)")
FAKE SUGGESTION
doing a diff wouldve been funnier
we need to pr suggvestion support to forgejo
i love how the fact that its open sourcew changes it from "github doesnt have this feature what ashit platform" to "pr immediately"
it might not allow pr suggestions bc u dont have write access?
maybe i think its just bad probably
this will never not be funny to me
i really hope they keep them like this
it's so bad it became good again
what is that
oh lol
why is there a blank spot
it's broken asl
Running 0.3.0 out of the box. Vesktop loads perfectly fine, icon loads, except I can't right click to pin Vesktop to my dock. This action works fine for every other app I have except Vesktop.
Digging into /usr/share/applications/vencorddesktop.desktop I see that:
StartupWMClass=Vesktop
However, running xprop WM_CLASS and selecting Vesktop gives me:
WM_CLASS(STRING) = "vencorddesktop", "VencordDesktop"
Setting StartupWMClass to "vencorddesktop...
How do I fix this error?
got it thanks
trying to get clips to work on web, final part
it errors at file manager being undefined, and i am definitely not going to try to make the browser summon a Download File modal every time you save a clip, that sounds painful
me when 60kb/s upload internet speeds
you mean this?
t(n, "CLIENT_THEMES_GRADIENT_CHROMA_GLOW", "Chroma Glow"),
t(n, "CLIENT_THEMES_GRADIENT_FOREST", "Forest"),
t(n, "CLIENT_THEMES_GRADIENT_CRIMSON_MOON", "Crimson Moon"),
t(n, "CLIENT_THEMES_GRADIENT_MIDNIGHT_BLURPLE", "Midnight Blurple"),
t(n, "CLIENT_THEMES_GRADIENT_MARS", "Mars"),
t(n, "CLIENT_THEMES_GRADIENT_DUSK", "Dusk"),
t(n, "CLIENT_THEMES_GRADIENT_UNDER_THE_SEA", "Under the Sea"),
t(n, "CLIENT_THEMES_GRADIENT_RETRO_STORM", "Retro Storm"),
t(n, "CLIENT_THEMES_GRADIENT_NEON_NIGHTS", "Neon Nights"),
t(n, "CLIENT_THEMES_GRADIENT_SEPIA", "Sepia"),
t(n, "CLIENT_THEMES_GRADIENT_STRAWBERRY_LEMONADE", "Strawberry Lemonade"),
t(n, "CLIENT_THEMES_GRADIENT_AURORA", "Aurora"),
t(n, "CLIENT_THEMES_GRADIENT_MINT_APPLE", "Mint Apple"),
t(n, "CLIENT_THEMES_GRADIENT_CITRUS_SHERBERT", "Citrus Sherbert"),
t(n, "CLIENT_THEMES_GRADIENT_RETRO_RAINCLOUD", "Retro Raincloud"),
t(n, "CLIENT_THEMES_GRADIENT_HANAMI", "Hanami"),
t(n, "CLIENT_THEMES_GRADIENT_SUNRISE", "Sunrise"),
t(n, "CLIENT_THEMES_GRADIENT_COTTON_CANDY", "Cotton Candy"),
t(n, "CLIENT_THEMES_GRADIENT_LOFI_VIBES", "LoFi Vibes"),
t(n, "CLIENT_THEMES_GRADIENT_DESERT_KHAKI", "Desert Khaki"),
t(n, "CLIENT_THEMES_GRADIENT_EASTER_EGG", "Memory Lane");
ehh
when you select a custom client theme, it just edits this class
How do I get third partys plugins on the web edition?
vns
Ok
done
IgnoreActivities (had no effect):
ID: 985101
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 ```
IgnoreActivities (had no effect):
ID: 985101
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 ```
@spark cove is there anything else we need to do for new installer
oh wait yeah we need to test on mac
and see if we can work out linux support
i can do mac testing if needed
linux can just use cli if they dont have webkit installed
Is the new installer a gui one or cli @spark cove
grab this
macos-latest
its both
should be a .app?
oki
atleast, it will be both
as in idk how to make it distro-independent
wdym is it dependent right now?
it tries to load libraries that only seem to work on ubuntu because that's where it was built, and it can't statically build because .. i dont know, it just cant
quarentine gives a diff message
yeah that
it's because it's been put in a zip
so it loses the attribute
i should just tarball it tbh but this is just quick ci stuff
so im not bothered rn
i'll make dmgs later
%appdata% needs to be changed
oki
so its not a worry
because the libraries will have different names
i gotta do whatever the fuck this is xd
although i think wails does most of this
might just be my install being weird
ah
Try launching as sudo
it's just a ui reskin atm
yeah and we cant static build on linux sadly
so :(
file exists
sudo would fix definitely
whaaa?
static build is terrible might as well force them to use cli
So delete the files
Sudo del /Applications/Discord.app/*
we should support pacman and apt
oh luna
That would be the cli
nuh uh
can i ask you to try something out
ofc !
because those people have higher chance of not knowing cli well enough
no
Why?!it can silent install
can you install go and wails for me, and try building it from source? i'm curious if it's losing the permission because i'm zipping it or if it's because it never gets set in the first place
i mean support dynamic linking of their libgtk packages etc
oki
go install is as normal
wails is this
go install github.com/wailsapp/wails/v2/cmd/wails@latest
So people should just run vencordcli --install -- branch stable
But apt requires to be silent roght
i dont have a mac to try this on so
Pacman too
no?
i dont know what ur saying
they're trying to say if we make deb packages
if u want i can give remote access 
they have to be silent
my discord install is on an alt so idrc
lmfao if ur comfortable with that
oki
idk what silent is in this context
No user input during install
i think they've confused themselves
because packages have no requirement to have no user input lol
loads of packages have user input
yea
you install postfix and it prompts you to configure it
you install apache2 and it will ask you some questions (although i think this is redundant now)
mysql requires a root password
phpmyadmin requires a mysql account
etc.
Oh
we would probably just ship the cli installer as its own package though
cant install chrome remote desktop on ungoogled https://cdn.discordapp.com/emojis/1102371462934962187.webp?size=48&name=pureagony&quality=lossless
They ask you that when you run the deb ?
instead of the installer running as an install hook
yes
it's part of their package install script
lol
ow
1s
you could try parsec
So just dump the cli file as the install script
ill just get normal chromium its fine
alr
yea
What is parsec
remote control tool
does parsec have mac host support these days
real
(anydesk is so balls lmfao)
ye
i dont think anydesk works on my machine anymore
lol
i deleted my licence key and it self destructed
Why do you all want a react installer instead of a native installer
it's svelte
not react
and because the current installer's ui sucks to develop for lol
the alternative was that you downloaded a separate piece of software onto your machine that runs in the background and then you use a website to install vencord
but i thought that was really silly
that means rewriting the entire installer in c#, a language very few of us (i think only me?) know properly
UWP isn't cross platform
also MAUI has issues still and is alpha
Oh
i got no idea how plugin creation works and stuff but i just wanted to ask, what'd be the issue in having this nitro plugin over the fakenitro one we have currently? https://github.com/riolubruh/YABDP4Nitro
Svelete Vs react?
LOL
you hardcoded the titlebar size when there's a chance there wont be such a titlebar!
:3
thats no bueno
OWNED
so anyway i'm now making it so mac doesnt have a titlebar either!
i just have to eyeball the size because mac doesnt seem to have uh.. a spec for it
OWNED
brother im going to kill you
i just realised i need to port everything im doing here onto my own pc lol
i should probably start doing that
i can dm u the files -luna
dw i think i got it
just make a .patch file
however tf u do that
oh yeah true
:D
oh i mean making it so that the titlebar actually works xd
wym
these?
cause i mean
i put one in the mac titlebar
and it doesnt look quite right
cause i dont know if they actually do have icons
OH THOSE TITLEBARS
ye
uhh i dont think
nothing that i use does
..seriously
oh my god
of course safari is special
"requires a vendor prefix for use"
fyucking
just force it to use chromium if installed 
REALLL
@spark cove can we do something abotu the massive forehead the installer has lmfao
lmao whatt
because of the invis titlebar everything's shifted down by 2rem
so it looks so whack
give it some padding bottom like 20vh
why is that spacing so fucked up on the monospace text
fixed.
horrid
wait i wonder
how does that fix it
thats not even the
right bit
lfmao
methinks
this is GENIUS
it was in fact
not genius
HOLY SHIT
IT WAS GENIUS
FOREHEAD IS GONE
:D
@spark cove so actually
my mistake of putting position:absolute in .frame.maximized
ended up actually being correct
then absoluting the titlebar also fixes it

frame is already position absolute though
true and real
are u absoluting only maximized titlebars?
yea
also nice thats based
^^
banger commit names if i do say so myself
oh lmao
magic
^ 3am*
when colorway plugin
Disables the CPU-intensive typing dots animation (like how it does when you unfocus discord)
Hello, where can I find API methods like addServerListElement? I tried to find them in the web version, but did not find
Oh, api/serverlist...
Thanks
Now I canโt add my own setting) It seems that all settings are created in VencordSettings, where each setting returns wrapTab(element, name), while I did not find links to each setting separately, which means that the code parses them somewhere. Maybe someone knows how to add your item to the settings menu?
this looks so nice
yessss it works
And yes, i wanna do betterdiscord theme browser
Now it's inside the vencord, because I don't see the point of creating a separate group for the sake of one tab
next: make betterdiscord plugin browser
is this electron vencord installer
oh it uses golang and webview I think

Hey
@olive barn Discord dev is broken
if they haven't fixed it
You can rename Update.exe to Update1.exe and run the .exe
but VC won't work
not sure if this is related but setting transparency to anything other than none breaks maximizing
https://github.com/Vencord/Vesktop/assets/94307704/64d3cf43-6ec0-426f-9684-191e2695ab59
this
Add the new si parameter to ClearURLs that has recently been added to sharing modals across YouTube.
Thanks,
pointy
merge immediately
yes
in vencord
no, u
why is my div stretching...
I did everything exactly like the plugin card div and the theme card div...
wtf, my value on page update only after reopening that page...
(yes, im using usestate(val))
It turns out I was using the wrong React... How many problems are there with this react and vue
now react is null bruh
Plugin guide on github its just like: "To create a plugin, you need to use patches, and you can also use the start() and stop() methods. The end"
YES
i fix it
As I expected, the React object is not initialized immediately, and you canโt use it right away
dont use the react object at all
He will definitely take advantage of ts' ability to search for elements by id and so on, instead of huge regexes for html...
wtf is that
regex
I've noticed that the firefox plugin was seemingly taken down. I cannot find it on the mozilla addon store. I can't even find it here on github. The one plugin download is only for chrome - What's going on?
Thanks!
My disappointment is immeasurable and my day is ruined.
bro is not cooking
NOOOOOOOOOOOOO
I HATE THIS
Last time I spent a day solving this problem, and the fix was a self-written server
Now I don't have access to the server...
It looks like this can only be solved by changing the server
or you can write fetch from scratch using Tcp
wtf are you trying to do with the betterdiscord api
no i make BetterDiscord Theme browser
ohhhh
And I did everything
cors origin *
?
This is for the server.
Unfortunately I don't have access to the BetterDiscord servers ๐ฆ
It won't work... But okay, I'll try
theyre saying betterdiscord api doesnt give a cors header
CORS is pain
if you have your own server you can make a proxy that has cors that just fetches the real one
hate hate hate
app.on('/', async (req, res) => {
const response = await fetch(`https://betterdiscord.com/blablabla/${req.pathName}`).then((_ => _.json())
res.json(response)
})```
simple express impl
You either need to write BetterDiscord, or write your Http request via TCP from scratch
Not working as expected
amazing
yea
no point
hmm, but everything is much more complicated there
wtf is that
do not
And where are 100500 http protocol requests
sort of like sending an http request via tcp, but I can't believe it
if you really wanna make this work either make a proxy for it or bug betterdiscord devs until they fix it
do not
Oh wait, it's http not https
but why
that's why it's so easy
https is the same but you ssl encrypt it
The trick is that there is a very complex exchange of requests at the beginning
"Sending an HTTP message: HTTP messages (pre-HTTP/2) are human-readable. Starting with HTTP/2, simple messages are encapsulated in frames, making them impossible to read directly, but fundamentally remain the same."
๐จ
are you sure?
via fetch?
in browser you can do something like chrome.experimental.
await fetch("https://google.com")
So i want to write my http using tcp
it does iirc, one of our devs did something to make it work inside discord
.
cant, because html page is empty
seems no
devilbro uses request
dablu jumpscare
The most annoying thing is that, for example, the same curl works quite well
could've been corrupted because we had to apply a backup multiple times
anyway just make a github workflow that downloads and puts into a repo the bd themes list like once an hour
Why this policy if it works only on behalf of the client
what
https://github.com/Strencher/BandagedBetterDiscordApp/blob/addon-store/renderer/src/data/web.js here's what our addon stored used
well, CORS restrictions happen purely on the client side
maybe only v2 has cors?
nop
I'm already scared
Hm
I did not know about api and used a different request
I'll try it now
^
or just dont make this plugin
its kinda useless
API moment?
What the hell api doesn't have cors poicy disabled at all
it's api
whyyyyyyyyyyyy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ooh, great idea.
But
I will move on
I will make my own server which will have disabled cors policy
Seems rather hacky tbh. You could just use onHeadersReceived and add that little * on your own
which will already safely request data from the address I need
It's not difficult, I already have my own web server, I'll just add one more api request
@dire thicket :D
thank you
ofc :3
that will not be accepted if you want to have it merged into vencord
Damn, but it's real
I want realtime updates(((
closest u can do is have it update every hour or so
In any case, you have to keep the server
to update github
wtf is a dzshn
no
And how to update the repo?
i already told you
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
i already pointed to this message like 4 times and u still havent read it?
does it know
?
I read it but the auto-translate messed up the workflow lol
I auto-translate long messages because I'm too lazy to translate them myself
(imo good english knowledge is a requirement for programming)
btw I can read English fluently, at least at the documentation level.
It's just harder than pushing one button lol
then its not fluently
The problem is that I may not know some words for example
And therefore, instead of trying to read initially, I immediately translate
consider Not

Large posts just commonly use terminology and rare words
thats not fluently, more like "chunky"
Okay, I should definitely stop messing around with this chip...
Now, for the sake of interest, I want to measure my reading speed
oh ok
128 wpm
not so bad
but bad
VencordNative is available on web too right
Yea
ty
Adds a popover button to either toggle a css snippet (adds it to quickcss) or eval a javascript snippet
Js snippets are locked behind a plugin setting and give you a warning before running it




