#πΎ-core-development
1 messages Β· Page 94 of 1
does it specifically check Z and nothing else?
what is the export called
whh
ZP
window.browser ??= chrome
i love how much i hate it
it should work fine
but looking at it, what im trying to find it by might not be directly exported guhhhh
cause its a function call that gets re-exporte
is it a wrapper func
window.chrome ??= browser
return e.apply(this, arguments)
true
yeah, i can find it by props tho so nvm
not exactly
there are so many exports that are just this
what's the point??
yes
why not call it directly
runtime regenerator bs
are they just doing it to troll us
probably

discord: obfuscated from the start with bad code
(/j)
well, i assume this is generated though
window.chrome ??= new Proxy({}.{get(){throw"explode"}})
discord code is probably already obfuscated even in source form
i love having to regex match the function I need to get the name of it then regex match wrapper func in the exports
its because its normally an async fuction and then runtime regenerator mangles it
it's so fun
(unreadable)
that was my point
yop
discord version of mcp when 
const inlineTextRule: MarkdownRule = findLazy(x=>x.match?.regex)
is this not inside parser
idk im just remaking this so i can rebuild slate parsers without doing it every typed character https://toaster.sh/i/s9j3gujm.png
secret is used for both the message with encryption and the message obtained after decrypting -- clarified difference between them in code and modal itself.
also added spacing between the two fields as they were colliding before and didn't look great
(attached: before and after changes)
LOVENGINX STRIKES AGAIN
don't accept that oversight
one sec
i'm delusional it works fine i don't know how it would have broke anyways
okay slate rule injection is now optimized
highlight is now ready for review again
nvm linter is complaining
oh i broke a bunch of shit refactoring types fun!
...my client isnt fucking loading anymore but theres no errors what the actual fuck
all i did was fix types and now its fucking doing this????????
weird
restarted again and its working now
whatever
that happens to me sometimes
i think it's when u restart too fast so cloudflare rateimits u
engine x, more like diesel engine please
What do you think about vendetta
it is very clientmodetta
its called vendetta because
I have no clue why
vengeance
ven owns it
Can we also add this to streams please?
video embeds within richembeds could also use at least the looped playback
ME
IM BASED
anywaysw
is there where you would talk about developing plugins or literally developing for vencord
both
yeah
fair
thank you
where is SendVoiceMessages
not in the vencord plugin manager for me
or in #1032200195582197831
in the source code folder?
oh
uh
fair
i think its just voicemessages
correct thank you
sure
lumap will make autoloop plugin for all videos everywhere (real)
@austere talon do we have any equivalent to useSettings() / addSettingsListener() but for a group of settings
i.e. if anything under userCssVars changes, then re-render/recompile
sssssssure if its the same thing
like useSettings(["userCssVars.*"])
yeah
i thought that didnt
u could implement it lmao
i could ye xd
it shouldn't be too hard
i was looking at how it does it
i could do it really easily
but im doing something else first
do you have a desired hash function
i mainly didn't add it to not overengineer "for a potential future use"
or is sha256 okay
but if you actually have a use case then sure
hash for what
yeah the use case is to recompile all the usercss whenever a var changes

i need to create an identifier for usercss that isnt
filename.user.css
because thats not something i can use in a settings path
(aha, you wrote a comment about this funnily enough, and now ive finally hit it)
so i'm just gonna generate a hash based on what usercss recommends
which is the name + namespace
could just use discords uuid module / snowflake generator
wat dat
oh no cause it needs to be replicable
its "unique" as in no other theme should be using it
that you can't use periods in settings keys?
lmao
yeop
das the one xd
cause currently the path its trying is
userCssVars.default.user.css.textColor
i think u still can but you just can't use useSettings
which is ... not correct
you could also just not rely on settings change listeners
return to no magic and just use a function to change the setting
i was trying not to before but the entire recompile process is triggered by a settings change xd
and the only way i can trigger it is if i disable and reenable the theme immediately
which feels worse
#πΊ-regulars message would it be worth it to make a plugin to implement this in a... better way?
(for those who are Not Cute, this "replaces" the loading logo)
nvm looks impossible with streams, thank you discord
that would probably fit as another plugin tbh
export async function getUserCssId(header: UserstyleHeader): Promise<string> {
const encoder = new TextEncoder();
const nameBuf = encoder.encode(header.name);
const namespaceBuf = encoder.encode(header.namespace);
const nameHash = new Uint8Array(await window.crypto.subtle.digest("SHA-256", nameBuf));
const namespaceHash = new Uint8Array(await window.crypto.subtle.digest("SHA-256", namespaceBuf));
const idHash = await window.crypto.subtle.digest("SHA-256", new Uint8Array([...nameHash, ...namespaceHash]));
return window.btoa(String.fromCharCode(...new Uint8Array(idHash)));
}
holy shit this is probably inefficient garbage
lets profile it
skill issue

wouldn't that just be annoying
that's one of the things i dislike about tiktok but i guess some people must like it
60% of all plugins are annoying

wait WHAT??
@olive barn the code for renderEmbed didn't change
it mustve on canary/ptb
because it crashes w/o that
and devtools says .channel is removed, its just .nsfw
oh ig discord only changed renderAttachments on stable ??
wha
the vcProps for renderAttachments is the channel prop, while for renderEmbed it's the (server?) prop
ye i will once i resolve this small issue
codeburge so slow
codebunger
true
vns #π€-bot-commands test
π #π€-bot-commands
btw we are very close to 3k stars
π
ilove how I don't check discord for a few hours and immediately vencord breaks
oooo
only 27 stars :c
you were botting them all along - and github has found out - clearly
jokes aside.. nice
Adds a loop option for videos.

@tawny cipher enjoy
i was scared of doing this but sure i guess
the heck
we should just move away from discord-types as it is very unmaintained now
oh - i thought the idea was loop by default
isnt discord-api-types the new one
thats very different
discord-types = client types for client mods
discord-api-types = api types for bots
maintain our own types?
unsure, possibly? haven't actually tried to see if the BD parser / themes feature will break without properly formatted BD themes
feat: my suffering is neverending and all i can think of is popups anβ¦
β¦d modals
wow this sounds like a great feature
cant wait to try it out
wtf
wtf is that
coding pros
css colors -> hex map
because there's no way
of computing it
without adding an element to the dom
in chromium
fixed
because it delays computation until the element is actually used
;(
firefox does it fine
i love html, it's so great
y'all wanna teach me how to code or??
anyway this commit is essentially a bunch of stuff that i rolled up into one because i forgot and didnt commit as i was adding stuff
but it contains the entire settings UI (doesnt live update yet...)
and the usercss id system
which makes it better for storing settings
so lost
we really need to split this out into UserCSSModal though and whatnot
like PluginSettings
its getting way too large
i'll seek help with the refactoring later
btw google is getting pissy about our chrome store guideline violations
similar to mozilla
we will likely have to rethink how the extensions will work
aka eliminate all remote code and stop removing csp
whats csp
google is free
so what, with dynamic dependencies we bundle them in specifically for the browser builds?
which is painful because it will worsen user experience
uh. i would say bundle monaco so css editor works and just exclude all other plugins with dependencies on web
rip usercss, the one place where people might actually care about that working on the web

also
rip rnnoise
and
uh
well
a couple of web only plugins
we could just consider moving away from remote deps entirely
does esbuild support code splitting
Code splitting is still a work in progress. It currently only works with the esm output format. There is also a known ordering issue with import statements across code splitting chunks. You can follow the tracking issue for updates about this feature.
yeah
what if
they just [i.e, 1 week ago] closed the feature request for ESM btw, it's landing in 28
wdym
making an extra dependency set specifically for web
this would bundle it in on web and use remote import on desktop
we can just add as dev dependency
we already add as dep anyway for types
hm
the issue with this is that mozilla reviewers are braindead and will claim this is remote code
they also complained about our electron csp removal
big brain.
IS_WEB is replaced with true and false right?
in theory, couldnt we bully esbuild to treeshake it into only keeping one or the other?
or does it already do that?
(and are mozilla complaining about the ts source?)
yes thats the point
yes
vite can codesplit without esm
:P
im just poking at the lack of support for it
wait actually vite uses
esbuild

oh it doesnt use esbuild to codesplit it seems
it has its own algorithm
it uses esbuild to compile and rollup to bundle
and rollup can do it
Wait if I'm understanding this right- usercss is like quickcss but loads before themes instead of after?
So you don't have to copy the whole theme and edit it in your quickcss?
You can just edit the theme directly using usercss?
aww
looks like you'd need to convert shiggy to video
does this work?
yep
this will need tweaking
it'd be cool to implement gifs but you can't seem to pause them
IgnoreActivities (had no effect):
ID: 215965
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Ude' 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: 304645
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Ude' 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 ```
looks like discord just grabs a png when your window loses focus
or if it's tenor, it pauses the video
(it's not a gif; it's a lie)
please use feature branches instead of pring from the main branch
17abbd3 LastFM: Add setting for using name + artist as ... - Mushrrom
it's a configurable stylesheet
hence the user bit
its meant for theme devs to be able to implement configurable variables into their themes
so users can change certain aspects without having to add snippets or edit css vars
they can just do it on a ui
The reason I'm confused is probably cuz firefoxes userchrome.css is almost exactly like vencord's quickcss
So that's what I'm picturing
I'll have to look at it next time I'm on my computer
why not just use tinycolor, discord ships it and it already has this exact map
I'd love to see this plugin get implemented, but please make the timeout configurable.
same here. really miss this plugin from bd and goosemod
this should be added
very cool plugin
@opaque pewter is that you in there
yes
ah i must have forgot to switch to the main branch. so i didnt see it. its fixed now
cuz i didn't know this existed until u told me
:p
that's convenient
it doesn't crash anymore :trollface:
and that commit now just cause attachment not blur
(it still crashes (for me))
oh π€
which is better blurnsfw crash or blurnsfw just not function
yeah works on stable but not canary
(im talking about the pre fix version)
or just tape em toghether
with a vcProps.nsfw||vcProps.channel?.nsfw
just
{
match: /\.renderAttachments=.+?\(\)\.embedWrapper/g,
replace: "$&+(this.props.channel.nsfw?' vc-nsfw-img':'')"
}
@cunning canyon ^^
no need to create extra var
well maybe does
not sure if this will be kept there
As far as I'm concerned, the actual feature implementation is now complete, so it's just refactoring and cleanup. I'll open it for review for suggestions on the aforementioned.
11 off
making 11 github accounts right now π
someone gonna unstar and restar to throw the countdown off
fear
that's so real
conflicting variable names (this will usually result from using two large themes at once which is a very silly idea, and snippets should really be using unique variable names unless they're doing the same thing)
This is not really the case and I sort of "fixed" it by isolating UserCSS variable configuration into their own settings subsets. In the case of vanilla CSS though (where it's injected using a :root selector) this can still cause conflicts, but in other compiled themes (i.e., L...
Makes YouTube embed titles and thumbnails less sensationalist, powered by Dearrow
Mom look that's me!!
i dont wanna talk about it
"this"
force push and hide it 
build it urself
3 off
π
I talked about https://vencord.dev/plugins/Dearrow on the sponsorblock Server
probably why
I saw
I went looking
Hi I really don't know how to mess with the pull requests shit but is it possible to make the Last.FM plugin turn off when a track not available on Spotify is playing? Here's what I mean:
I'm not listening to this song anymore and the status stay as this because I haven't scrobbled yet.
...
whar
Hi I really don't know how to mess with the pull requests shit
How am I supposed to use object destructuring on this line? file is already defined
const { file: someOtherName } = upload.item;
no
({ file } = upload.item)```
it's ugly but the lint rule doesn't allow you to only prefer destructing for variable declaration
wait nvm
it does
Hey uh i assume this server is aware of the malware site that appeared recently? Not sure where to share this
Unknown site which seems setup to distribute malware pretending to be Vencord etc
thanks automod
Ok cool lol, my first time seeing it, good to have a bot then
yeah
IgnoreActivities (had no effect):
ID: 215965
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Lde' 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 ```
That worked, thanks, another question: if there is a function from another plugin that I need in my plugin, should I just copy the function over to my plugin or should it be put somewhere else
IgnoreActivities (had no effect):
ID: 304645
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Ude' 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 ```
A plugin that adds a /caption command that lets you add a caption to any image.
π Completely new to anything involving vencord plugin development and react as a whole. Curious on how to do something like iterate the server user list and get the html objects for each user.
Remove certain users from the user list from a given user id
Blocked users, ignored users from set list, maybe more..?
you need to patch the server list component and make it render null for the users in question
gonna make a pull request to add 2 more options to the lastfm plugin, artist name only and song name only
sounds good
works perfect π
made space on my main account, might get back into plugin dev, used to work on beautifuldiscord back in the day
hi archer

wait i can just spam it lmao ( i would never
)
it has proxy to prevent star spam
Too bad just like relationship viewer itβll collect dust
π
ven just made serverProfile does all its job 
try it

meow
meow
meow

bruh i thought those two components were different
@austere talon just thought
i have a useSettings() on the modal
and a useState() on each setting component
wont that trigger a double re-render because useState() rerenders the settings components and then useSettings() rerenders the entire modal
or is react smart and batches it
ah it does batch
okay
nu uh
wysi

SEVEN TWEMTYS EVEN
yup β οΈβ οΈβ οΈ
guh yk you can just make an int type with 2 choices
the fuck happened to the indentation
just moving inside an if statement?
mulv finally stars vencord
π
Vencord based
someone should help teach me how to find injection points so I can port over BIV's image gallery feature
i'm not very good at that but i usually just search either ui strings or use the react inspector thing :P
yea
I'm still thinking about updating ITTAI first
but tbh, BetterDiscord L
my efforts would probably be better spent porting Vencord to Kernel
you've got many plans, don't you
getting back into discord modding is at the bottom of my list
its one of the least marketable portfolio items
but having fun is more important :DD
I need to get some substantial projects off the ground so I can get out of fast food
then I'll start being more chill about what projects I work on
TF2 & Anime sit squarly in that spot ;)
guh stupid discord emoji conversion why is it on by default
are there any other competitors that have sprung up lately?
Replugged is just coasting on Powercord's leftover user base, most folks should just be using vencord
i dont think we should think about having competitors
we're all pretty friendly in the modding scene
well what I mean is if I get back into discord modding I want people to be able to use my work
i think a mod where functionality is based on installing external plugins is pretty good
not really..? at least not yet?
vencord's external plugin loader branch isnt being worked on atm
priority is other things rn
i'm not too sure about the idea either...
it would ultimately just worsen UX imo since it makes it easier to brick your discord and also get scammed maybe
if you want that you should probably use something else 
lol
s-so... uwuifier can come back? π₯Ή
the idea that you can add external plugins that don't have a good enough use case to make it to mainline vencord or you want to experiment with them without installing dev is fine
the implementation is a pain in the ass
though usually just PRing them into vencord is fine
could be offered without support
i think it's worse ux to not be able to install your own plugin without doing a (scary
) dev build
the normal user has no demand for installing other plugins
99% of "can I add my own plugins" questions are people wanting to add BD plugins
Discord Modding ideas:
- Update/upgrade Rich Quotes
- Update/upgrade PreMiD plugin
- Channel image gallery
- Integrated Waifu2x image upscaler
- Matrix servers?
the last one ...?
Being able to emulate a server/dm client-side and have it actually be a frontend for matrix chat
yeah hence the question mark lol
heres an epic idea use a matrix client
the amount of patching....
Element suuucks
you may as well use an iframe 
use cinny
also its super lame having to use multiple messaging clients at once
wcyd
the most I'd like to have is Beeper & Discord
guess why discord is so popular lol
but unfortunately Beeper isn't really designed for discord-like communities
it may be a buggy mess but it's convenient buggy mess
ya know, honestly not such a terrible idea. modding Cinny to use discord's style tags. that might be the way to go
wdym "fast" β¨
Have you ever used matrix or guilded or any of the discord competitors?
They're slow asf
as in performance?
Yeah and sending/receiving messages
doesn't that depend on the backend
people hate matrix because everyone goes to matrix.org
i love 10s latency sending messages
It IS literally 10 seconds
I tried to ask whether this is something that would be merged but it wasn't too hard to develop anyway :3
I tried joining an alt one at some point but still had similar issues, fixing your own convo pacing doesn't fix others' rip
that's what i meant ^
words 
server as opposed to backend software (unless it's particularly poorly optimised i guess)
how would I get GifReader from https://unpkg.com/omggif@1.0.10/omggif.js in dependencies, I can't get it to import correctly
(await () => { await fetch('https://unpkg.com/omggif@1.0.10/omggif.js').then(res => res.text()).then(eval)})();
I suppose a higher-quality default shiggy would be a good plan...
stop stealing my ideas
i really want to do "discord as a ____ frontend" at some point
Integrated Waifu2x image upscaler
not possible without using an external api, which most either ratelimit heavily or have captchas
in general w2x is outdated tech compared to the upscalers that exist now
but either way, w2x still requires a gpu
you mean async () => {await fetch...
got it to work just by adding return GifReader to the very end and calling it as a function
can't you literally just do url imports in vencord
like
import GifReader from "https://whatever.that.returns.a.esm.module.com"
cause its not a module
cant css do this
^
i was trying to ask
it seems pretty dirty and the animation doesn't pause just before the app loads like it normally does
is there a way which doesn't hide the tip?
async .then callback 
.content-3AIQZv:has(.ready-3BZNWT)::before {
content: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif);
}
.ready-3BZNWT {
display: none;
}
works but smol
i guess you can choose a bigger image π€·ββοΈ
i guess a plugin is useful for a very accurate old loading logo
:p
what's the point of BANger though..?
works with sound
obviously you can't hear it but...
if I recorded it with audio you would be able to hear this masterpiece
this is important and business
high prio PR
love nginx β€οΈ
looks less like shit now

yop
prefer diesel engines
Is there a way to turn a normal tenor link like https://tenor.com/view/whatever into a https://media.tenor.com/whatever/whatever.gif link?
the disableder
smh single line pr
not even
mfa lockout? 
IgnoreActivities (had no effect):
ID: 215965
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Lde' 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: 304645
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Ude' 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 ```
wait this is so much better whan what i was doing lmfao
With the proxy?
I didnβt understand it at all and I tried but it didnβt work for mine
no im using a proxy but
wrapping it in a function and calling it to get the value
what i was doing was evaling it then grabbing and deleting the window global
lolol
delete delete
Now I can forget it existed
Who moved #πΎ-core-development 
Now itβs back
Gotta love mobile discord
It is so broken
uh
It uses Discord's local RPC server - discord.com/developers/docs/topics/rpc
In which case, we can't do this because we use arRPC to provide RPC support, so this is something Discover/arRPC has to support. I'm unsure since I haven't investigated which side needs to.
Discover uses both, I could make an issue in Discover github, but they said the Discord Clients developers need to enable the support.
This was discussed a bit more on Discord so I'll comment here for completeness:
This is quite unfeasible for us to do because it requires us to reimplement the entirety of the Discord RPC API, lest we break other applications/games that depend on other parts of RPC. Implementing partial amounts just to make this one app work doesn't seem like something that would be on our radar and we aren't interested in writing a full RPC API.
#faq message I can confirm, some of the engines there are shit. I uploaded my chess engine to virustotal, and 1 engine flagged it as malicious even though it doesn't do ANYTHING sus, not even make any calls to the file system lmao https://www.virustotal.com/gui/file/2f2c3c076a64f02ca1c0bb84913cd5b662508bd588559016f268dcf9a94d3d41/detection
IgnoreActivities (had no effect):
ID: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'kde' 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: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'kde' 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: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'kde' before initialization ```
IgnoreActivities (had no effect):
ID: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
FakeNitro (found no module):
ID: -
Match: canStreamHighQuality:function
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'kde' before initialization ```
IgnoreActivities (had no effect):
ID: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
None
IgnoreActivities (had no effect):
ID: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
None
Ready to merge @Vendicated
Ready to merge
https://github.com/Vencord/Installer/pull/94
er
we're deprecating this installer soon though, pretty much all of our development effort is on the new one
why would you install the installer
its a winget pkg that uses the installer cli args
but we're reworking the installer atm
it's something we can add in the new one but not right now
But will the new one have silent install capabilities or not
.
When using the Vencord UserScript instead of the extension, Vencloud will not turn on after the Discord authorisation popup from clicking the toggle.
wrong repo + userscript limitation
wrong repo + userscript limitation. use the extension
Do you mind explaining both of those?
same underlying code as the old installer, just with a new gui
venstallation
So do I just just make a pr to port the flags fucionality of the cli installer to main.go
ig yea
no
why would u make it a winget package idgi
what if it gets uninjected
winget repo insane
i dont really think winget works with the vencord install system
because it will assume its always installed, no?
so when you reinject it its just
weird
oh yeah
oh yeah this plugin will become obsolete at some point
discords adding a built in nsfw filter option
functions just like the spoiler tag but just for nsfw

@austere talon what do you think of the ignore-errors branch
didn't check yet
@olive aurora u love
@austere talon dont forget
Not that
Not that either
that?
IT ISNT THAT HARD YOU KNOW
this?
manti wanting us to read his mind while everything that goes on it is absurd insanity
I can telephaticly speak with ven
this is insane
i know what he means

Ven thinks I am addicted to Preview Message plugin
this isnt support but we are aware of that
do not use default exports unless necessary
you should type these props
do not hardcode discord classes. either do not use them at all, or obtain them from webpack
Hint:1,7,1,8
Now eep time
Hopefully ven will figure this extremely hard puzzle out
clearly means https://github.com/Vendicated/Vencord/pull/1187
avoid polluting discord objects. instead, try
const inputType = { ...InputTypes.FORM, disableAutoFocus: true }
const InputComponent = LazyComponent(() => find(m => m?.type?.render?.toString().includes("CHANNEL_TEXT_AREA).AnalyticsLocationProvider")));
you should most likely use a proper ref
You cannot reconnect unless it's Winget install vencord --force
what
yeah then its really annoying to reinstall vencord via winget
if it requires a force
And I does not uninstall before reinstall. It just installs
Idk if Winget injects ints own version data from the manifest to the registry tho
none of what you just said makes sense lol
what we're talking about is that vencord's installer just.. doesnt really work with winget
im trying to learn. im stuck here and im confused :/
happens when trying to grab plugin settings
any pushes in the right direction would be appreciated <3
you cannot use settings on the top level
same applies for webpack finds
move it to function scope and call it later, for example in your start method
oh i see, thank you
this is specifically because of circular imports
settings api depends on the plugin definition so it can properly return default values for your settings
for that it needs all plugins to be initialised
that makes sense
if your plugin top level code tries to use settings there's now a circular use
settings wants plugins to be initialised
plugins wants settings to be initialised
I couldn't find a frying pan with a brain sorry
yes
im lostt
NEVERMIND
any suggestions on how i could improve in the future? ```ts
import { Settings } from "@api/Settings";
import definePlugin, { OptionType } from "@utils/types";
export default definePlugin({
name: "ImNewHere",
description: "Allows for the ability to change the "I'm new here, say hi" text on new joiners",
authors: [{
id: 589322754470445057n,
name: "dwnas"
}],
patches: [{
find: "NEW_MEMBER_BADGE_TOOLTIP_TEXT:",
replacement: {
match: /"I\'m new here, say hi\!"/,
replace: "Vencord.Settings.plugins.ImNewHere.text"
}
}],
options: {
text: {
type: OptionType.STRING,
description: "What to replace the \"I'm new here, say hi!\" text with",
default: "I\'m new here :(",
restartNeeded: true,
}
},
});```
What's the point of this plugin? - Well it seems niche.
learning
weird css
ooper
π okay
also options: is deprecated
it seemed easy enough to do as it was one change
oh i looked at an existing plugin for that
ill use definePluginSettings
wait no
yop?
const settings = definePluginSettings({ /*...*/ });
export default definePlugin({
// ...
settings
});
done :p
- do options => settings migration like you were told
- use $self.settings.store.text instead of using the global
IgnoreActivities (had no effect):
ID: 916815
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'kde' 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 ```
MoreUserTags (had no effect):
ID: 742224
Match: /this.props.user;return null!=(\i)&&.{0,10}\?(.{0,50})\.botTag/
IgnoreActivities (had no effect):
ID: 971102
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'rpe' 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 ```
lmao
workin on another pr for the lastfm plugin, gonna add
artist - album
album - artist
album only
and a way to display your lastfm scrobble count for the currently playing track
i keep getting unreads for no reason
title basically says it:
will OpenAsar support be planned or is that simply not possible?
did discord remove the ability to manually set yourself to "Watching" and "Streaming"
its been a while since ive done anything with the discord api so i havent caught up
was trying to add options to the lastfm plugin to pick between "Playing, Listening, Streaming, Watching"
no
how do voice calls work in the api?
openasar is a rewrite of part of the discord desktop app. Vesktop has nothing in common with discord desktop
INSANE SPAM
? ask a better less vague question
Hello @austere talon explain
also relevent https://www.wikihow.com/Teach-Yourself-to-Read
but setEditorRef is discord thing
also i dont get how useRef is useful outside of referancing react elements
maybe I can do
editorRef = useRef(null)
<... ref={editorRef} />
idk
since it doesnt trigger rerender does it matter
so just regular variable 
static variable i guess 
but i don';t think the ref property works on every component








