#👾-core-development
1 messages · Page 90 of 1
my discord installation's permissions
i cant figure out how to expand the window :(
:3
async function expand() {
const windows = $windowStore;
windows[_windowId].props.height = 510;
windowStore.set(windows);
return true;
}```
this is a horrible solution
also its barely offcenter

thats what it gave before
doesnt do that with sudo
it still breaks when i run in terminal
which shouldnt matter because we're using "with administrator privileges"
wtf it still breaks if i do this
holy shit mechite
you're still going on about this
please
shut the fuck up
fucking hell
that's from ages ago

you have to edit the message to have my name in it so everyone knows
yes, because out of context it looks like im cussing out luna
you cant simply research something before literally hating on everything
and you cant simply follow the rules and shut up
ban this mf
where does it say in the rules i cant simply talk about something
shrimple
ah yes support censorship
blue isnt
timed him out for a week 
genuinely tired lol
right back to work

oh its because i stopped accepting it as a prop
right
i cant figure out why the script isnt working
im just gonna ignore it until i have time
waaa
i have an afterschool thing until 8 est https://cdn.discordapp.com/emojis/1076702280117669908.gif?size=48&name=fadeaway&quality=lossless
@olive barn i've done a massive hack
oo?
oo
we need a way of fitting windows to content
vban 713212769570127935 weird, annoying, keeps defending malware
Done! 
real
what's the point of this
because we change the window content
after this check
and windows cant resize themselves to fit
and the content is very big
so i just dynamically resize it based on the condition
are you fucking kidding me
wtf?
smh manual screenshots 
lucky day I've got just the right screen capture tool for you
no screenshot in readme, bad tool 
episode 72 of "macos sucks ass" 
wheres the cask i cant find it
real

sharex is amazing
thats actually pretty good nice
yes I am quite okay when I put some effort into something
what's the benefit over macos's screenshot tool apart from custom domains (which i don't like as most domains/custom uploader domains eventually die)
i mean if u host the domain urself it wont die
also i dont think the base screenshot tool can capture just a window
like
vs
This is not the #🏥-vencord-support-🏥 channel.
which one is ishare
ishare is first
base macos moment
it is just that tool under the hood, so none except keybinds and uploads, recording and gif/compression/fileformat settings
screen recording did it
i see
ty
Pasting images by right clicking and clicking "paste" doesn't work, only ctrl-v works. Pasting text works fine.
OS: Windows 11
Stable 222963 (3d132dc) Vencord C752be4 (Vesktop V0.3.0) Electron 25.5.0 Chromium 114.0.5735.289
Looking for someone who can add our plug-in to vencord
learn to code 
be normal and use keybind
if you already have a working plugin just pr it
else figure it out
but considering your persistence on having someone else doing it for you
what's our plugin lol
It’s a vendetta plug-in based on css theme and I didn’t code it so I can’t port it that’s why I’m tryna find someone who can add it on vencord since u can’t add external plugins here
...then just import the css file?
the plugin is really dumb / pointless and just use the css
Yup but we wanted to make it easier for vencord users to find it by making it a searchable plug-in on it
Anyone have any recs for editing plugins on the fly? Think I'm gonna fix the GameActivityToggle red line:
got the repo cloned and yarn etc
Thanks! On it
if it's something that can be done in css it won't be added to vencord except in rare circumstance (e.g., colorsighted as the patches are more performant and convenient)
W
IgnoreActivities (had no effect):
ID: 897060
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 '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: 897060
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 '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 ```
preview 🙂
beautiful
I actually never noticed that the line was messed up, nice
I went with the easy way cuz I had no idea how to do properly 😛
I would imagine a simple clip path or mask would be enough
hi this must be plugin suggestions and is definitely the correct channeli would like to submit a plugin idea:
automatic goodnight /goodmorning responder
sometimes i dont want to respond to all twenty of the basic women i talk to on discord, i need a plugin to do it for me! additionally it could message them all goodnight and goodmorning for me with some random delay so i could pretend to be a good person
the real joke is that i dont talk to women im on discord
wtf I didnt know masks were so good
selfbot 
@sharp venture can you change width and height to 24 and screenshot
nuh uh
selfbot ⚠️
I feel like controller is too smol
I was gonna ask, do you have source of original controller SVG?
nah I got it from google fonts
If you want the controller to have this size ratio, I can resize the SVG from your original, which has dimension made for 960
Just putting it to 24 will cause the red slash to be too big
(and it is a stock element)
oh
Brb ill get a screenshot
if it isnt too much work
love the work either way 
uhhhgh, sounds like cring to me,, bad client fr
(in seriousness ty this client is awesome and u guys do awesome work on plugins and the client itself)
bye bye
sorry we dont want your account to get banned
goodbye wayyllon
this makes the slash equal to stock, but the controller equal to your previous size
one design i had to interpolate is that i made the mask extend further or else it wouldnt cover the controller at the bottom bit
to better show what i mean:
can you screenshot with the whole user menu
can we make the slash go further
would be cool if the slash turned into like a really cool red sword or smt idk
i guess this is something more than 2 units....uh 2.82 units lmao
godsend website:
https://aydos.com/svgedit/
Web and android applications by Fahri Aydos
okie i commit
god when you zoom in the old it's so bad ☠️
haha i got higher dpi display recently and had to fix
is there a OE thing which will block? I can move to other branch
i dont intend to use my fork beyond deleting it and creating it again as needed
nothing will block but it makes testing harder
though I don't think this requires testing
It's prob fine for this case but that's just a tip
ty
It would be nice if Linux users could have Discover Overlay support
As the name indicates, its a Overlay for Voice Chats and Server Messages for Linux (because it doesn't have one officially) It would be amazing if Discover could be supported too here.
imo the slash should amount to the size of the icon it "blocks", not the other slashes
yeah i just changed its length accordingly, i don’t recall if it matches either of the other two, but i think not
originally was just a dupe of mic icon slash, i lengthened
It seems like the current explanation of how to run the installer on MacOS is just wrong. I made a few changes to add a real working way.
firstly MacOS is the way it is stylizd, not MacOs, secondly the instructions are perfectly fine as they are, this is just overcomplicating things
The current instructions are NOT working. I did try what was instructed on my Mac before opening this PR, and they don't work.
I'd say calling my change "overcomplicating things" is the skill issue here. Average Discord user.
Changes up/down arrow functionality to cycle through previously sent messages like in a terminal instead of editing the previous message.
This does present issues with multi-line messages in that use can't use up/down arrow as usual, if anyone has a good workaround, I'd appreciate it but it isn't a main concern.
Only main issue currently is that using ComponentDispatch.dispatchToLastSubscribed("CLEAR_TEXT") as in discord's own code seems to mess with `ComponentDispatch.dispatchToLastS...
they are working, it’s just a massive skill issue
thanks automod
vencordinstaller.app, ez
MacOs is just wrong tho
macOS (; previously OS X and originally Mac OS X) is an operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and laptop computers, it is the second most widely used desktop OS, after Microsoft Windows and ahead of Linux (including ChromeOS).
m...
pain
how high r u
mACoS
says MacOS in the title
the readme says MacOs
so technically this pr is useful
but the quarantine thing isnt
oh I misread the diff
i remember there's a pr change it to macOS and ven "nuh uh" *closed*
What if Ctrl+Up and Ctrl+Down went through history..?
Or maybe Ctrl+Up could be used for the usual behaviour
i dont see the appeal for that plugin
like you can just see your previous messages by staring at them? and almost no one wants to send a message they already sent a few messages ago
probably they play some discord bot game
quickReply already had ctrl up down
PR from main branch is very bad practice
^
not to mention if you pr from main you make it much harder on yourself to open multiple prs at once
no
having it stylised as MacOs is funny cause it makes the blood of hardcode apple fans boil
same as Github
idk why people care so much about proper capitalisation of brand names like god damn get that boot off your tongue
windoWs
wouldn't it be good to show the stars on the cards too?
only if i was using my fork for anything tho lol
i don’t have multiple prs or more than single change so its moot
you're inconveniencing the maintainers
i dont actually know how but sure ill make a feature branch
.
Ctrl+Up is actually currently used to return to normal behaviour (including editing the previous message) but it means that you can't go up one line at a time as the default Ctrl-Up behaviour (of going to the top of the paragraph I think) takes precedent. But I do think the idea of making it configurable it a good one regardless.
Ctrl+Up behaves the same as Up for me
ah, that's an issue :(
No I mean generally. not with this plugin.
:o
oh, I see, sorry, but yeah that's why I chose Ctrl-Up, it seems to be one of the few '*-Up's that doesn't conflict with any other default behaviour (like switching between channels, etc)
W
shift + up
Not sure if this is the best place to ask for this but is there a tutorial or some place to start to try and write a plugin?
thanks!!
the unnecessary space on the top annoys me and you could save some space by taking it off
There's a high chance it's not possible tho and if so, oh well.
can you not just turn on frameless
yeah
Is there a screenshot attached? Happy to suggest some CSS
Oh I see, its just super narrow on my phone
my main branch is still occupied by timedones pr
waiting it to get merged
wha is timedones
timedones plugin
3k stars soon? 👀
omg already
hooks cannot be conditional. this must be above the early return
you forgot to depend on SettingsStoreAPI
d6efd99 messageLinkEmbeds: fix AutoModEmbed on compact ... - lumap
d88524e ShowMeYourName: Fix username being wrong on sla... - Cynosphere
IgnoreActivities (had no effect):
ID: 592037
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 '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: 592037
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 '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 ```
you forgot to depend on SettingsStoreAPI
horror
good catch btw
lol
Full log:
Downloading Installer...
X11 detected
Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> y
Running with sudo
VencordInstaller was run with root privileges, actual user is madeline
Looking up HOME of madeline
Actual HOME is /home/madeline
Using UserConfig
Checking if /home/madeline/.config/Vencord/dist exists: Yes
Is Dev Install: false
Found existing Vencord Install....
install mesa or some other opengl impl or use the cli
going thru my email for the first time in ages, wtf happened here
This is the email I wake up to
is there a vencord mod that autocompletes words for you or something
gitea spambots my behated
Vencord
Vencord
Bencord
I need help in support
This morning when i opened discord it got stuck on the 'Starting...' screen. When i restarted my pc i still had the same problem.
I figured that vencord could be causing the issue so i uninstalled it and discord started up completely fine.
I reinstalled vencord hoping that it would work fine but when i opened discord, vencord was not there. I dont know whats going on.
use our support channel + wrong repo
i told them to
vekstop
Okay I think everything is fine now
i'm trying to add a button next to this one, but i've never done react with vencord. any tip on what I am supposed to patch in order to call my own react function?
note: i never added anything in react with vencord before, currently trying to see how plugins such as calltimer do it but it's kinda confusing
uh kinda hard to explain but
try first with react devtools, select the button and then select the most top element that still represents the button
then you can try two approaches
if it's an exported button you can search which modules use it
else you can search in that module what uses that button component
this might not work very nicely though if discord uses a generic button component
then you can go back to the react tree and find the parent of that button, inspect the source code and find where the button is being created with react
where can i remove a review on me?
vns
it is a malicious and false and offensive review
look at the classes the parent uses and search for them in the source code to see where react creates the parent
member since july 2023 lul
the view source button redirects to a file patched by the messageaccessoriesapi, specifically to a function that renders the download and/or remove attachment buttons, so ig i can try to see which file this code originates from and add a button from there?
or well, add something at first
when you hover over a component it highlights it in the app
check if the button or parent is getting highlighted
highlighted as is? it gets visually highlighted but nothing in the DOM changes
found this code, where should I tell it to render the button exactly? I want to have it between the download button's code and after the checks that make the download button render
screenshot more of the code
you need to write a patch that adds ur own component in the middle
}));
$self.renderButton(arguments[0]),
null != s && (n = (0
pretty simple
k
nah ven
whar
@teal halo it's right under
you need to render your component in the children array
also might need to remove this ternary
normally that's how you would do it if discord wrote sane code
else sometimes your button might not exist, unsure in what case
never saw it fail so far so idk
but yeah now you would just do
children: [t, $self.renderButton(), n]
just need to do that then ^
even simpler
i want to make it show only if the download button is also shown, do i just do the same checks it does?
and you even get a nice anchor in .nonMediaAttachment
children: [t, t && $self.renderButton(), n]
shrimple
kk
match: ``/().nonMediaAttachment.+?children:[(\i),/replace:$&$1&&self.renderButton(),`
why spoonfeed patch
let him try himself 
and tbh i don't like using .+? it's kinda lazy
he got banned you're talking to a wall
oh
true 😨
hi wall
tbh i had something similar but worse
ouch
it's soooo useful
well yeah
.+? always dangerous if they add more code in the middle
cause it could eat half the file
ye but then the patch will just select the wrong place or fail
it wont timeout
I'm just so used to fixing patches because discord added code in the middle that I avoid doing selectors with max length
regex101 sucks so much with big texts
I love regex101
impossible to know where ur line is in the substitution field
not true
i can't remember when and how i found regex101, but i always use it
I dont use that lol
I just restart my discord and test
oh btw
in case you didnt see ven
vesktop was approved for distribution on winget
vencord itself has not yet been approved because the person writing the manifests doesn't know what they're doing...
so i might
just do it myself
(again)
imagine like
function a() {
return r.jsx("div", {
className: A.nonMediaAttachment
})
}
function b() {
}
function c() {
return r.jsx("div", { children: [n] })
}```
uh lol
rip b
pog
that will likely error
especialyl when you merge uhhh
winget releaser
because it will just update the existing manifests
not guaranteed
winget releaser is pretty pog
ya it's not but what are the odds
speaking of
i need to update to the latest commit of winget erleaser
cause it has a komac update
I'd rather have patches break fully slightly more often than break and crash discord on rare occurrence
So i usually avoid .+ if I can
amazing
we could do a lookbehind in that case
i am bad at coding
match: ``/(?<=().nonMediaAttachment.+?children:[(\i),)/replace:$1&&self.renderButton(),`
overkill
lol
The overlay app you're talking about doesn't seem to have any sort of 3rd party client support, so I don't believe we could even begin to implement this ourselves unless they were willing to work on it with us.
I think it'd be preferable if we distributed Vesktop ourselves on these platforms, but we're not interested in maintaining a Snap package at the minute.
It uses Discord's local RPC server - https://discord.com/developers/docs/topics/rpc
This is probably an artefact left over from the Vencord Desktop -> Vesktop rebranding. I'll PR the change to revert the WM class since we still use "VencordDesktop" internally in multiple places and I'm fairly certain our build process is the one setting this.
me when the 
^ ironically, i don't actually know where the WM class gets set nor do i know where it's generating the .desktop file
so not only is the build process getting it wrong, it's getting its own generation wrong!
is this not available out of the box
you need to call the function
it's probably derived from the name in package.json
i have a few braincells missing
yeah but it's using "vesktop" in the desktop file and "vencorddesktop" in the WM class
that doesn't make sense
it should be deriving it from the same area no?
in which case it'd be one or the other
the productName is Vesktop
letsgo
your plugin needs a method that returns a react component
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.
oh @austere talon we can actually publish snaps/flatpaks via electron builder
so if we ever want to support that in the future it's convenient
@lime stone in which case there should be no reason why it doesn't work
probably
so i don't understand the feature request
vesktop already runs an arRPC instance so if discover can use it i don't understand why it's not
pretty sure arRPC provides a different RPC
in which case that's not something we can support
i can't words
support for arRPC
uh
we aren't going to add a fake discord RPC server that just reexposes what we gather from arRPC
Customize, promote, and show off your Discord community directly on your stream. Display your Discord chat alongside your Twitch chat so the memes can be shown in unison.
that's completely redundant and a minority of usecases
this doesn't work either
..?
well yeah
because it requires access to the discord IPC
which doesnt exist on vesktop
i figured it out
forgot to add a $ before the self
(Discord is so confusing)
well, it uses the same thing as Discover
now i'm just trying to ✨ make it do what I want ✨
and again we aren't going to set up a fake RPC just to reexpose what arRPC is giving us
that's why arRPC doesn't fix it
that'd be up to arRPC to do, or for discover to add support for
no you can't use the pipe-based ipc to see members of a vc
It seems the WMClass on Linux still uses the old internal VencordDesktop name, so this PR adds the correct WMClass to the desktop file to resolve it.
Resolves #96.
no it wont, but i believe renaming the package will cause more issues
unfortunately that's electron builder stupidity
we already define a product name
so if it's not using it then i don't know
although it might do it because it might map the .desktop file to that WMClass

right i've understood the RPC issue
but that means we'd have to implement the full RPC API and expose it like discord does
if we only implement a partial set we could crash other apps (admittedly these would be badly written ones but still)
i've only seen that been properly used by streamkit and some mouse software/driver lol
yeah its' because it's in a private beta
but that can change at any time
so if we only implement a part of the RPC API we will break loads of stuff
also this means we have to implement the entire RPC authentication flow
I assume this is because we still use the name Vencorddesktop as name property. changing it would mean that everyone loses their settings which is meeh, maybe we gotta figure out a solution to that and properly migrate
94ba59a fix: add correct WMClass to desktop file (#108) - lewisakura
I assume this is because we still use the name Vencorddesktop as name property. changing it would mean that everyone loses their settings which is meeh, maybe we gotta figure out a solution to that and properly migrate
Yeah this is why I didn't just blanket rename the package, but this should be a quick fix for Linux users regardless when 0.3.1 comes out.
This plugin adds a picture in picture button for videos next to the Download button.
TODO:
- Make the SVG fit more with the others color-wise
- Find a way to remove the ts-ignore in the onClick event
- Test more
i am a god at graphgic design
take your hands off that icon
feel free to make it not look like ugly black squares
is it svg?
yes
i yoinked it off of a random website since i was too laey to try to remake YouTube's one in figma (or yeet youtube's one directly)
but even then i have no idea how to edit the colors to make it look decent
set the svg fill to currentcolor and add this to the button:
var(--interactive-normal)
this is for unclicked, unhovered
on hover it's -hover, and so on for active
it is a component/element, right?
go take a look at the code yourself and make your eyes bleed
i did it really dirty
discord's implementation of the download/remove buttons are even worse
can't be that bad
If I know one thing, it's that no one can write shittier code than me
link/repo?
it's right here
oh
skil issue
because clicking on the svg sucks
no
look at this ugly onclick event
i smell bad handler?
for the love of god use currentTarget
I think it was that
yes
so that's how you add a tooltip, huh
this is how you apparently do
but it's also how you don't make it work
for some reason
even tho discord does that for the divs next to that
i refuse to (i pushed a commit to make it actually work)
what
unless you deliberately mean to replace multiple places
match: /\.nonMediaAttachment.{0,10}children:\[(.),/,
replaced it
yeah done
works way better when you use what you're supposed to use 
return <Tooltip text="Enable Picture in Picture">
remove this useless group
<svg width="24px" height="24px" viewBox="0 0 24 24">
resolving conversations does not change review status
only an approving review will
github is amazing
it is a review that requests changes, so that's the status it has
eyyy finally

IgnoreActivities (had no effect):
ID: 492000
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 'fde' 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: 492000
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[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
Objects are not valid as a React child (found: object with keys {children}). If you meant to render a collection of children, use an array instead. when i use tsx renderCodeBlock: (code: string) => { return ( <div className="monaco-code-block"> <div className="monaco-code-block__code"> {code} </div> </div> ); }
in a patch
do i need to return it as an array?
show patched code
Is #🔧-discord-changes message voice channel statuses "leaked" in the api like how hidden/non perm to view channels are?
Tried testing around and didnt seem like it did.
vc statuses existed since a while ago
they even exist now
well you can't really decipher what you asked, so that's on you mate
pretty sure he's asking if you can detect hidden VCs or something
not that i know anything about discord plugin making, so that's just a stupid guess
tias
wouldn't it be good to show the stars on the cards too?
Только если на картах со включенной звездой. Иначе это выглядит плохо
wouldn't it be good to show the stars on the cards too?
Only if on maps with the star turned on, otherwise it looks bad
BRU
TALITY
what does this mean
nvm
a wise man said 90% of vencord prs stay as prs
📈
just changes vencord/desktop to vencord/vesktop
Pretty sure GitHub keeps the old links (indefinitely?)
oh, I just checked docs and it does. I assumed it removed it after some time, sorry
issue i noticed: switching channels when a video is playing in PiP doesn’t close the PiP window, it just pauses the video until you close it
still best to update, so thank you!
and i have no idea how to solve it 
would it be considered selfbotting to make a emoji/sticker cloner
that’s already a plugin tho
unless you mean mass cloning then you’d probably be ratelimited to hell
cant you upload multiple emojis at once already
by dragging them in the server settings -> emotes page
stickers require more configuration so that would require botting
oh dunno
oh i didnt see that, ty
this could be considered a feature if you made it continue playing
yeah it's already a plugin
if u want to automate cloning a bunch of emotes, use a bot
i made one ages ago but the rate limit on emote create is insane for some reason
like you can create like 30 emotes then u need to wait an hour
i suppose it's fine to create a selfbot if discord's official client is selfbotting in the same way (
)
uh seriously
if you mimic the behaviour it should be fine, right?
considering the video gets completely yeeted out of the dom, id have to re-create it somewhere else, and this will cause more funkiness than anything else
id rather try to get rid of it
it shouldn't be too hard
you can use a react effect to detect unmount
and just stop pip
change it to console.log(tooltipRef.current)
otherwise you get the live ref which is likely cleaned up after unmount
that logs just null
yes
like that?
useEffect(() => {
const { current } = theRef;
return () => {
current?.explode();
}
}, [theRef]);
you saw nothing
ye that does it
just need to tell ts to shut up
bruh moment
me when i check the mdn docs realizing i wasted 15 minutes of my time
nvm 30
didn't even need a ref lmfao

short answer yes
oh, that number's getting closer and closer to 100
CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/
IgnoreActivities (had no effect):
ID: 492000
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[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/
OpenInApp (had no effect):
ID: 757817
Match: /return (([A-Za-z_$][\w$]*)\.apply\(this,arguments\))(?=\}function [A-Za-z_$][\w$]*.{0,200}\.trusted)/
IgnoreActivities (had no effect):
ID: 492000
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[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
The bothStyles setting has a "unintended behavior", it allows copy color role in profile popout.
Some people want to have this "unintended behavior" without using bothStyles setting so this pr does that :trollface:
Hi
what
what
most sane pr
merge this immedeatly
yes
lets see are these all stolen
no
they replace dthe author
for all of them
2 of them are obviously echo plugins 🔥
ones also stolen and ones just a js snippet thrown in start()
what
bad pr
maybe we shouldn't contribute to the spam with more spam?
i didnt know it would post all comments
why don't you wait until it's just closed and locked
i thought it would just say [Vendicated/Vencord] Pull request review submitted: #one699 zet
it still creates spam on github
does that matter?
its not gonna get merged anyways
it emails people
tbf i sometimes send stupid stuff on github lol
not usually several comments on a pr though
LTTM?
LGTM 
bad bad
this always happens lol
flag so smort

lmao
snupai guy whose pr you closed
because its meant to be a devtools snippet https://discord.com/channels/603970300668805120/1117414445036081152
(none of those are written by them)
I actually looked into that I found all the functions that do the favorite stuff but not the one that checks for the extension 
shrimply search for that regex
they didnt even make the plugin themself LMAO
got bored so made it a feature, rate my bad code pls
Parses UserCSS/UserStyle files (.user.css) but doesn't do anything
special yet with the variables. This is a first step towards
supporting UserCSS themes.
who up forking they installer 😂😂😂😂😂😂😂😂
just use rosetta
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
i know im beating a dead horse but what the actual fuck
yes like 3 people mentioned that
delete? is this js or c++?
does some extra stuff ig
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete
sanest monkey patch
next up: ff the video in PiP to the same time at the og video if it’s playing and pause the og video afterwards
there are very little use cases for delete
if you write good js in a normal app, you should essentially never need delete
True, the objective was to avoid having users install rosetta, since it's a non-reversible operation (cant remove rosetta)
delete use cases:
- deleting object properties: generally an indicator you're doing something wrong
- deleting globals or properties of prototypes you polluted: just don't pollute them in the first place
- storing and deleting dynamic keys: use a map, it's more performant and for most use cases offers a better api
2nd point is basically 1st point
I mean it's pretty much just old leftovers at this point
well yeah
obviously all this only applies if you have proper control over the stuff you're working with
and in the case of client modding we have to do a lot of cursed shit
so that makes delete more useful
deleting variables: explode
although searching for delete inside vencord i can find at least 3 places where rule 3 was violated
so that'd be a decent future refactor
someone should make an eslint plugin for that
"no-object-as-map": "error"
soon
🔥
so, no objects?
structs when
crapple moment

options are deprecated. use settings coupled with definePluginSettings
match: /\.nonMediaAttachment.{0,10}children:\[(\i),/,
don't add flags unless you need them
me when copy paste
wrap in ErrorBoundary for error safety
next up: ff the video in PiP to the same time at the og video if it’s playing and pause the og video afterwards
implemented this as well as all of ven's review suggestions
TODO:
- settings UI
- storing usercss settings somewhere
WONTFIX:
- 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)
what's the best way to get started with plugin dev for intelisense and shit
wdym "for intelisense and shit", all of that is automatic
vscode
ah
is there any "public wishlist"?
not anymore 
if something annoys you, fix it
that's usually how that goes
don't think requests were ever really taken seriously
Dose this work for phones to right?
no
CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/
IgnoreActivities (had no effect):
ID: 492000
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[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
CrashHandler (had no effect):
ID: 494889
Match: /"MODAL_POP_ALL".+?};(?<=([A-Za-z_$][\w$]*)=function.+?)/
OpenInApp (had no effect):
ID: 757817
Match: /return (([A-Za-z_$][\w$]*)\.apply\(this,arguments\))(?=\}function [A-Za-z_$][\w$]*.{0,200}\.trusted)/
IgnoreActivities (had no effect):
ID: 492000
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[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
applies the same fix as alt+up/down to the jump to unread one
confirmed non-explosion of shc
@austere talon merge in 5 picoseconds i hate being teleported to a server
teleports u to a server
i made a flatpak build manifest
testing it now, it even opened invite links from the web which i did not expect
dunno how it will update itself or how rpc should work
Fix the euro sign (€) as ruled on https://publications.europa.eu/code/en/en-370303.htm
👹
i hate to see it yfm
scrape all repos on gh to find where it's wrong and create a pr accordingly 😃
🔥
lowkey same
pls save me my write access was revoked i wanna push a fix of message loggerrrrrrrrrrrrr
stop making useless prs
ok ig
every pr you have made this far has been spam
no?
ok sure the adding myself to the devs is unnecessary, i admit, but..
not spam as i'm pretty much in the right
redundant micro commits = spam

