#🧩-plugin-development
1 messages · Page 21 of 1
true
you can describe every chromium browser with a single word before it
not open source + microsoft + useless (just use ungoogled chromium if you need chome’s engine) + fucks with your privacy
well at least it doesnt come from any corporation
treesitter 💜
brave is the corporation
These are all very... opinionated disadvantages
everything is an opinion
oh for sure, i worded it incorrectly
i kind of agree with him though. I mean i use linux
I use Linux too
im a privacy nerd
I am not
yeah thats fine
i dont go as far as some people do though
like ungoogling my whole phone or something
The main disadvantage for me is giving money to microsoft by using edge and being spyed on
speaking of foss, is firefox open source?
actually that was a stupid question i doubt any distro would distribute it otherwise
chrome or chromium?
i mean chromium is 100% but im not sure about chrome
same
big corporation sometimes use open source at their advantage (it’s so superior), see vscodium, chromium, android etc.
my relationship with google is a love/hate. I love the material design and their apps are very polished, but i mean.. I still feel uncomfortable
I prefer something more minimalist
Chrome is not
At all
It's just proprietary-ified chromium
Chromium is the open source project managed by google
mb thx
opensource could bring so much good to the world. look at redhat
Agreed
though i can't deny it must be scary
Change is always scary
Look at all the conservatives freaking out
lets just hope we get to like a 1% in steam charts haha
We are legion!
brave is solid
i heard good things from it
only reason i would change to another browser would be extensions
Do they still have that crypto stuff?
yes
lol what
debatable
cringe
wait what
can someone explain
oh wait i gotta get my chance now that the owner is here
you can donate to "creators" online and they'd collect that money but as a creator you needed to claim it manually
brave is, objectively speaking, the most privacy friendly normie browser and pretty good
you hating the ceo or crypto integration is very fair but subjective and doesn't really make the browser bad :P
why would you want to do that? that’s so cursed
its a long story, but i have to
its not that i want to
you dont have to
I agree, I just don’t want to support them
i do

but you havent explained anything
well
they are shady at times and i'd prefer to not fund some shady shit
but thats my opinion so yeah i guess you might be right i cant judge that part
What you have to is explain why you need that
ok then let me know, give me your most cursed and slow solution for it
i tried that
but* AI told me i needed some sort of nodejs dependency
child_blahblah
and my code crashed
AI?
DONT USE AI
BLOOCKED
sorry deal with it
oh god
HOW AM I SUPPOSED TO LEARN
no idea
stop asking ai for everything oh my god
no thanks
learn how to not depend on someone else spoonfeeding u the info and learn to do ur own research
ai is going to be the downfall of critical thinking
Yeah :'(
most of the time I have to do research
then why the fuck mention it
if you know it is incorrect
but there are a lot of times i need to ask a very complicated question and i have no idea so i just go for it
if i had a penny for every time someone tried to use ai for something it isnt supposed to be used with, id be a fucking billionaire
but a lot of stuff that it gets right
wdym incorrect
bro tahts the whole reason
learning
reasearch
ai really shouldn't be used for programming
why not though?
people learned programming before AI was a thing how do you think we managed ;w;
not saying it like "IT SHOULD" but just genuinely curious
It’s not its purpose, it was not made with that in mind
How exactly is it privacy friendly? (Not that I doubt you I just don't know too much about that)
thats why they have cute role
it also REALLLYYYYYY shouldnt be used for research oh my god
if ai should be used at all, its to generate reasons why you shouldnt use ai in specific areas 
And that is still a thing? But a lot of the time our work is googling
ChatGPT and similar are good for roleplaying that's it
They make stuff up based on the input. It may be right but it may (likelier) be complete BS
The problem with ai isn't necessarily that ai is bad, it's just ethics + people trying to use it for things it shouldn't be used for
No, chatgpt can't do your homework perfectly
It's designed to sound right not be right
obviously, ai is definitively a useful tool, but you cant rely on it for picture perfect solutions
yes but that way you find out about things you might not know and you actually involve yourself with the topic. If you just type in a prompt and try to copy what AI tells you you lose all the process of trying to find the solution
yes, this! Why are you so against me using it then?
For ai to be good at something it has to be designed for that something
Such as Wolfram alpha is designed and good for math
Chatgpt is designed and good for creating language
okay lets organise our thoughts
i do not want to make an app with AI
i just want AI to help me on those bits where I struggle
how is that a bad thing?
if AI doesn't get it wrong then thats fine, I will make a post where I need to on whatever forum I find
As i said above: you skip the research project and try to copy an AI solution that seemingly did not work in the slightest
not project
the research process
Researching also helps absorb the info
Learning doesnt happen by copying the first solution you find
not copy paste the solution
yea
It's sometimes the difference between having to write a post and wait for someone to answer, and just asking AI and perhaps getting a solution
i never had to write a post myself, i dont even have a stackoverflow account
generally tend to find the solution there already or dig a little to find a solution
it is possible ;w;
not always, specially on less known libraries
what exactly do you want to achieve? running python in javascript? i feel like there should be solutions to that somewhere on the internet
additionally i think @opal fern gave uou a hint
exec is the only way to run python
in js/ts
you can usually find lots of implementation info on their github repos and even in github issues, it is remarkable how much you can solve by searching through issues
If you plan to make a pr, this is unviable
I clearly do not, do not worry haha
exec is dangerous, and you probably shouldnt use it
do like 1 minute of research
reason being?
it is literally running a command
Fine
ic, never tried it myself, never wrote python or tried to run something outside of js/ts ;w;
@vernal mortar please give more context on what you are trying to achieve
there is zero need to run something outside of js/ts
im afraid to say it now haha
i guess the real question is
what should the python script do/what does the script do?
because ai will confidently make up lies, using it for research is really lazy and im tired of people asking me for help with delusions made up by AI
is it not possible to rewrite the python script in js?
don’t be, we aren’t going to eat you :)
this
your best bet is just translating the script
there are 0 other solutions
ask chatgpt to do it
pls no
im going to beat you into orange juice with extra pulp and chug you

that is 95% a threat
i had one too many presentations about how "cool" chatgpt is by lecturers at my university ;w;
<3
Ok, fair, de-amp and fingerprint randomization and removing tracking redirects is cool
Though I really wish we didn't need "normie friendly" things in the first place
no fucking way
if i had to sit thru one of those id walk out
yes
it was like 20:00 i wanted to go home and my lecturer starts giggling because chatgpt generated helloworld in some bizarre language
It is cool
People who use it are just stupid
wait now taht I think about it, I can probably just say the problem
yall are smart

did you doubt our group intelligence beforehand???? I will bring down the power of god (static electricity) and smite your device
well i cant find the error
but it was something abour CORS or whatever
ROCS?
no def CORS
cors
CORS probably
what about cors
yes
i have my reasons to dislike it
additionally i think that people just dont understand what it does
no when quirky computer box tells you it will end humanity then it wont do that, thats literally just hundreds and thousands of sci fi books that it scanned
it didnt let me make a request to a website cuz something something cors
really??? but it said it was sentient???!!!
Yeah that's what I was saying
If you actually understand what it is and what it does, it's cool (ignoring any ethical implications)
But everyone thinks it's cool because other (wrong) reasons
mfw the talking jar goes back to being static (i took my meds)
Which is why it is slightly less cool
i think that creative AI like this is incredibly dangerous and the fact that everyone has nearly uncontrolled access to it is unbelievably dangerous. Mostly because of what will happen when it becomes too good
im gonna assemble an online avengers to take down ai
political discourse and fake news will be
quite something
and i am truly terrified of what is to come
Already happened and we are fine
Yeah fair
very debatable
It really didn't though?
What exactly are you talking about
I’m talking about IT tools, they already changed what we perceive as true
public researchers?
The people is always the answer
anyways i feel like flooded this message
im kind to AI so they at least let me live
AI isnt the problem
lol I’m not
how we use ai is the problem
i remember seeing people training models to make games n such
we should just nuke the planet, problem solved /j
ai isn't sentient (yet™) so the ai itself can't do much besides whatever humans do with it
What website
heard about AutoGPT?
that shit is scary
i would 100% vote to restrict AI
isnt sentient publicly. google released a worrying statement where they disclosed their private ai is working in ways google researchers dont understand
in a "blackbox"
probably just google being dumb as fuck
all ai works in ways people don't understand
That's how neural networks work lol
true, we dont even understand them. It's very stupid
It's just a bunch of magic math happening
once again
anythingGPT is just roleplaying
they are just saying stuff that will seem okay as a response
yeah but like, that makes it even more scary bro
AI is the death of science
that means someone can replace a human by imitating humanity
thats whats most scary
no, its the death of critical thinking
we will have to see how everything evolves
i mean i kind of hate AI myself, even though i make use of it
I use hacky ways to get access to gpt4 since im broke
I aint givin no penny to anyone
what I mean is that using ai doesn’t give you the deeper understanding of what you are studiying because it is a black box
I have an example: there is an AI that can tell you what specie is a whale by looking at a picture of the tail of the whale
We have no idea why the AI output a result or another so we actually don’t know how many species of whales differenciate by their tail
The confusing part was it had nothing to do with science
And I would argue it's not the death of anything, at least not yet
It's still very early on but is progressing fast
I think it will kill science
can I borrow someones 5 minutes?
i was trying to replicate the error but someone my plugin doesnt want to work now
and by my plugin i mean its just a command
client doesn't crash so i dont understand
this is where they should be right?
and then using pnpm watch
and reloading discord
I can't find the plugin on the list though
you are giving them data which is arguably much more useful anyways lmao
true, even less of a reason to pay for it
not really
rather
even more of a reason not to use it at all lmao
even truer
looking forward for more self-hosted AIs to come out so my privacy is dead
If you put it in userplugins, yes
It should load all src/{plugins,userplugins}/**/index.{ts,tsx}

what the fuck is this all about?
oh, goddamnit, you can't import specific functions?
ridiculous
yeah, no, nevermind
oh. it's a fucking magical construct, of course it is.
...nevermind again? what the fuck?
oh. @webpack/common.
I found a prop I can codesearch for to get a component I want to use in my plugin settings, but Vencord is unable to find it for some awful reason
What do I do?
Alright, well, I've got stuff working well enough
(what will happen if they try to change
)
it now magically appears. Weird...
oh wait
its dead again
oh it works now
A little late but uh...
this
Access to fetch at 'https://www.phind.com/api/infer/creative' from origin 'https://discord.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
It's shy
i think its because i was using another client
which just instantly installs vencord
fun
anyway yeah this was the CORS error I was getting
i can provide the code if needed
i think i was just doing something like fetch
is that ur website
it is not
whose is it
@naive topaz's
yup
I decided not to go along anymore since I'd prefer to wait until they release their official API instead
that's what would make most sense
why is it stuck on this??
npm so sloooooooooooow
hey can anyone tell me how i can get a user's about me using the discord api
wot

this isnt even for a bot
https://discord.com/api/v9/users/711944262173982822/profile
this is the get thingy but it says unauthorized
Then you would be self-botting
huh
There's an API that's not accessible through actual bots
it's restricted to users
More like there's endpoints that normal bots don't have access to
If you make any request through code using your user token, that's self botting
ofc no
what for
removing users with a quote in their about me from a server
im just gonna put a wait for 2 seconds between sending the requests
automod ai is going to be so good for this
the bot that does the thing
it basically lets you do things to users with quotes in their about me
such as what
and what does that have to do with nitro sniping
just listening for message_create events and resending nitro links to their server
you theoretically only need one bot
These random accounts are popping up on every corner of Discord. Every Discord server has a couple of accounts that are eerily similar. An account made on the same day that joined the server on the same day. And the most telling thing, an "About Me" filled with a random quote.
But what is the point of these bots? Is it to spy on you? Is it to t...
oh God
Tell me I don't need to watch the entire thing
Surely the answer to my question is just "For whatever reason, a bunch of bots have quotes in their about me"
for anyone wondering all the quotes:
||Explode
Read if cute
Have a nice day!
Starting Lightcord...
Loading 0BDFDB.plugin.js...
Installing BetterDiscord...
Hey guys, did you know that in terms of male human and female Pokémon breeding, Vaporeon is the most compatible Pokémon for humans?
h
shhhhh did you know that you're my favourite user? But don't tell the others!!
Today's video is sponsored by Raid Shadow Legends, one of the biggest mobile role-playing games of 2019 and it's totally free!
Never gonna give you up, Never gonna let you down
( ͡° ͜ʖ ͡°)
(ノ◕ヮ◕)ノ*:・゚✧
You look so pretty today!
Thinking of a funny quote...
3.141592653589793
meow
Welcome, friend
If you, or someone you love, has Ligma, please see the Ligma health line at https://bit.ly/ligma_hotline
Trans Rights
I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux.
You're doing good today!
Don't worry, it's nothing 9 cups of coffee couldn't solve!
(repeat like 30 times)
a light amount of tomfoolery is okay
do you love?
horror
so eepy
So without further ado, let's just jump right into it!
Dying is absolutely safe
hey you! you're cute :))
heya ~
:trolley:
Time is gone, space is insane. Here it comes, here again.
sometimes it's okay to just guhhhhhhhhhhhhhh||
above is a real spoiler. you have been warned.
arent these just from the plugin that changes the discord did you know thingy
the bot reacts to the word "trans" instead of actual emoji?
Did you block it or something? Why'd it not react to you
ye i blocked it
me too
i also blocked it cuz its annoying af
I don't get why some of this doesn't decode properly for me
"I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Liny'!ls'`p!F‘ud+sfbbowmv!w``dm!sn#bnmohef#hs-#FAT#qgtp!Khmtw/"
||
In [13]: ["".join(chr(ord(c) ^ i % len(key)) for i, c in enumerate(quote)) for quote in quotes]
Out[13]:
['Explode',
'Read if cute',
'Have a nice day!',
'Starting Lightcord...',
'Loading 0BDFDB.plugin.js...',
'Installing BetterDiscord...',
'Hey guys, did you know that in terms of male human and female Pokémon breeding, Vaporeon is the most compatible Pokémon for humans?',
'h',
"shhhhh did you know that you're my favourite user? But don't tell the others!!",
"Today's video is sponsored by Raid Shadow Legends, one of the biggest mobile role-playing games of 2019 and it's totally free!",
'Never gonna give you up, Never gonna let you down',
'( ͡° ͜ʖ ͡°)',
'(ノ◕ヮ◕)ノ*:・゚✧',
'You look so pretty today!',
'Thinking of a funny quote...',
'3.141592653589793',
'meow',
'Welcome, friend',
'If you, or someone you love, has Ligma, please see the Ligma health line at https://bit.ly/ligma_hotline',
'Trans Rights',
"I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Liny'!ls'`p!F‘ud+sfbbowmv!w``dm!sn#bnmohef#hs-#FAT#qgtp!Khmtw/",
"You're doing good today!",
"Don't worry, it's nothing 9 cups of coffee couldn't solve!",
'\ud83d(repeat like 30 times)',
'a light amount of tomfoolery is okay',
'do you lof>',
'horror',
'so eep',
"So without further ado, let's just jump right into it!",
'Dying is absolutel!|`ed',
"hey you! you're cute :))",
'heya ~',
':trolley:',
'Time is gone, space is insane. Here it comes, here again.',
'sometimes i,r#nl`"za"h\x7fyv"asjjffjjbbjjnnjj']
||
how would i send this get thingy and recieve the response in python :P sorry im an idiot
I don't think we're allowed to help, so I'm going to refuse
also be careful in this section, you might expose your token
i literally edited it out but okay
I wouldn't have noticed, but still
also this server is literally about client modding :P
il bet its some string escaping thing being different between js and python
I don't understand
oh, I understand now
\" turns into "
hm something is still wrong
In [35]: last = r"""snofplkb{)c'r\"lod'|f*aurv#cpno`abchijkl"""
In [36]: "".join(chr(ord(c) ^ i % len(key)) for i, c in enumerate(last))
Out[36]: 'sometimes i,r] oka!{n#k~rw!`tkigikicikio'
:(
yeah
meh f*ck it i will take a different approach, so no selfbotting
what i dont like about astro is that if u wanna use svelte u have to make a component
which leads to singleton components
i wish i could pages/balls.svelte

you can use mdx 
are these webhooks included in everyones client?
because someones gonna find it and spam @ everyone
no, it is github actions and the webhook is secret
ah ok
yeah lol
CORS is driving me crazy
for some reason it is right for some requests but not others
fukc it, how do I bypass cors?
cors proxy?
whar?
how would that work
the server still gets them i'd think, so if you dont care about what comes back and just want to send a request for some reason then its probably useful?
it doesn't
is there anyway to see discord gateway ws binary messages in devtools?
yes it's in the network tab
oh
but it doesnt actually show the content :(
i was gonna say
it does
click on one
it just shows binary, not the actual json payload
because they're erlpack encoded
mhm, i wish there was an easy way to see it all
if you use discord web they might not be erlpack encoded
it does :(
you can enable gateway logging in discord devtools
wait wat
it logs all events to the console
where is dat?
Bro use a file 😭
Bro use a fucking object or a map
bruh lol
vague question but why does my theme apply to group dm members but not server members
its also default discord gray for the dm list
despite it not being a color setting in the css
id imagine its cause its missing the portion that edits it
sometimes not even the theme creator fault
discord is so bad it hardcodes colors sometimes
instead of using the color vars
so themes are obligated to manually change those parts
i just copy pasted a portion over from another theme and it works now
wonder if whoever made the theme just forgot to define a background-color for it
I didn't feel the need to
Also, if you're going to reply to me then please ping
Genshin Impact 🧐
Theres a guy in a server im in whos managed to code his own hiddenchannels plugin that shows whos in a hidden vc, how easy would that be to reproduce?
the show hidden channels plugin already shows whos on the vc
It does?
Im struggling to get that to work then
@dull magnet does vendetta have some kind of devtools for finding code or something
no lol
you can decompile the hermes bytecode to super unreadable js
or just educated guesses
:P
oh so you are limited to webpack searching?
ye
dang
yeah mobile dev fell off after aliu smhmhmh
me when i just webpack search and react devtools to an extent
but ig were not doing anything different here other than yknow uhh actually being able to see the code 
oh wait
aliucord was going to decompile the bytecode to some readable code?
and vendetta doesnt do it
my hand is about to impact your face
So mean :(
Positively?
Positively?
@tight epoch why not pr this?
has been bothering me but I was too lazy to look into it
Ah, sorry, I'm not exactly well acquainted to using GitHub for things other than downloading from there. I'll look into it tho
how can I style things that only shows up on hover (that are not hidden with display: none but with js)
huh? just the normal way
do u mean how to inspect them?
I can’t get the class
ye
use f8break plugin
Hidden with js? You mean as in not showing up at all on the elements list?
yes
Cause that means that the element simply doesn't exist, and you'd have to find a way to keep it from unloading the element using js or ts
just use f8break like i said
I think js, but I'm not very well versed with that side of things soo
Just realized how easy of a change this is, since all it needs is to decrease height and width from 20 to 16, though doing it in the plugin's .tsx file itself seems like it'll affect the indicators in other places too such as the members list. Might still be for the better tho, since I wouldn't be surprised if the indicators being 20px there may be causing goofiness as well
Oh yeah, and to show the icon size now, since the change I'd pr would just downscale the icons and maybe adjust margins, here's what the custom css does (didn't include the margin adjustment in the css snippet, might add it depending on whether or not my dumb ahh can figure out how to properly pr
)
did u figure out how to make a pr?
If you have to ask, evidently not 🥴
Well they indeed didn't open a pr but I wasn't sure whether they were just still working on it
Started on it but had to go to sleep
I've done the changes on a fork but thought I should probably test it myself first before I make a pr
Or should I just make the pr since it's just changing two values from 20px to 16px, which I've tested and verified just through css on the chat? Even then, I should probably test how the same changes affect the member list and all that first
Wait I just realized that the members list text is 20px, so specifically there, it has the right size
Sooo then I'd probably need to change it such that the 16px size only applies in chat, which does in fact involve doing marginally more work than just replacing to 20's with 16's
with transparency enabled, this should work, right? ```css
body {
opacity: 0.75 !important;
}
:root { /* TURN TRANSPARENT YOU HALF BAKED "STANDALONE APPLICATION" */
--background-primary: #11111155;
--background-secondary: var(--background-primary);
--background-tertiary: var(--background-primary)
--background-tertiary-alt: var(--background-primary);
}```
because even opacity: 0 gives just a grey screen, meaning it's not transparent
hell, i even made sure options.transparent was true
yes that is notepad, cope
Works for me, at least for the most part. But one thing is that the 0.75 opacity on the body turns the whole thing, text and images included, translucent
Becomes kinda hard to see stuff ngl
Have you enabled transparency in the Vencord settings json?
Alternatively paste this into the console to enable it, and remember to do a full restart afterwards.
Vencord.Settings.transparentUNSAFE_USE_AT_OWN_RISK = true
@tight epoch
i decided to just give up and work on bandager
at some point i could probably make a cross-platform c# vencord installer with an acrylic blur gui
mostly for fun
Yes I saw that, but that seems to be a separate setting in (iirc) OpenAsar's json
huh
I'm asking about the Vencord settings json
Huh
Well my guess is you've still yet to change this specific setting

They had to add that as a safeguard since so many people were having problems with the transparency causing crashes
this is automatically saved to disk when enabling via console
Yep, ik
i literally force enabled it in the code i don't see how that setting would change anything, but regardless, it is on
it was renamed
Did you enter the console command?
.
yeah
i restarted multiple times
(i wouldn't be able to inject a dev version of vencord if i didnt)
After putting that in the dev tools console?
are you on official client or something else
guh
I don't even have any clue of where I can find that setting you changed lmao
src/main/patcher.ts
Ah, it's typescript, well I was looking for a json file so it makes sense that I wouldn't find it lol
Anyway, have you tried using an unaltered copy instead? Or at least one where you haven't messed with anything that may have to do with window transparency or anything of the sorts?
thats what i tried originally
didnt work
and then i force-enabled it by altering the source code, yielded the same result
Did you try an unaltered version where you've only changed it in that specific json/using the dev tools console command?
yeah
Dang, hmm
don't use opacity
change background instead
Exactly
Opacity changes not just the background but also the foreground/content, thus making everything including text translucent
.NET and WinUI
for cross-platform
yes
why tho
coding text engines is pain
LGBT CSS :
[class^="app-"] {
opacity: 0.85;
}
#app-mount {
--g-red: #d04b36;
--g-orange: #e36511;
--g-yellow: #ffba00;
--g-green: #00b180;
--g-blue: #147aab;
--g-indigo: #675997;
background-image: linear-gradient(
var(--g-red) 0%,
var(--g-red) 16.6666%,
var(--g-orange) 16.6666%,
var(--g-orange) 33.333%,
var(--g-yellow) 33.333%,
var(--g-yellow) 50%,
var(--g-green) 50%,
var(--g-green) 66.6666%,
var(--g-blue) 66.6666%,
var(--g-blue) 83.3333%,
var(--g-indigo) 83.3333%,
var(--g-indigo) 100%
);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.progressBar-2yl2pi, .guildSeparator-a4uisj, .anchor-1X4H4q:not(:has(span)) {
background: linear-gradient(to right, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787) !important;
animation: rainbowText 300s infinite linear;
}
.anchor-1X4H4q:not(:has(span)) {
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
-webkit-background-clip: text !important;
color: transparent !important;
}
@keyframes rainbowText {
from {
-webkit-filter: hue-rotate(0deg);
}
to {
-webkit-filter: hue-rotate(360deg);
}
}
The only thing missing is the text of the messages in rainbow if possible
that will make conversation so unreadable 💀
ever heard of a ```
a what
rate my gui
blurry
windows/10
read docs folder

it does stuff (nothing)
ong
epic
its scuffed as fuck
it tries to insert the button when the plugin loads
but the plugin loads before the message form

but then its not gonna do anything
im calling insert inside of start()
big brain solution
could that not duplicate it
dom manipulation 
it checks for that
just use patching
i dont know react leave me alone
😔
patching???? like a patching helicopter???
spot my button
gift one
wrong
notification one
also wrong
G button
lock button
bruh you've said everything except my button
definitely a invisible button on the left of gift button
i took some react code from silentmessages
also is there a way to change the message content of a clyde message?
that'll do for now
although it'll break if you try to edit when the user is in another channel

fuck sake im so tired wtf is that code
setting the content to the id

pretty sure that was there before

you can do
MessageStore.getMessage(message.channel_id, message.id).content = content;
FluxDispatcher.dispatch({ type: "MESSAGE_UPDATE", message });
oh thanks
not sure if that would work on clyde messages actually
it works but it also complains that author is undefined
i'll just put it in a try catch
does anyone know how to reliably edit a clyde bot message locally?
dirtyDispatch was removed by discord ages ago, it's now just dispatch
Oh ok
It just doesn’t work when I edit the Clyde message
I think that the Clyde message isn’t a real message and calling dispatch is forcing into the real message list?
It throws “author is undefined”
what are u even doing
Seems like ChatGPT prompts/responses in Discord
Yes
Clyde everywhere

the pain
the suffering
to write css for this
sane emoji picker
/*---------- EMOJI PICKERS ----------*/
// 2020 - credit to emma🌺#0968 (customa creator) for the original code
// 2022 - thanks katlyn for fixing this
// 2023 - rewritten (3rd time) - removed dead classes & used placeholder selectors
$emoji-picker-width: 428px;
$emoji-picker-min-height: 416px; // without categoryList
$edit-emoji-picker-height: 498px; // for container
/* remove nav*/
%emojiPickerHeader,
%gifPickerHeader {
--webkit-shadow: none;
box-shadow: none !important;
filter: none;
}
%emojiPickerContentWrapper,
%reactionEmojiPickerContentWrapper {
box-sizing: border-box;
grid-template-rows: auto;
min-height: 442px !important;
%emojiPickerNav,
%emojiPickerNavList {
display: none !important;
}
}
#emoji-picker-tab-panel {
%emojiCategoryList {
height: $emoji-picker-width;
transform: rotate(-90deg) translateX(-193px) translateY(190px);
padding-top: 0 !important;
%autocompleteListItems %emojiCategoryItem,
%emojiCategoryUnicodeShortcut {
transform: rotate(90deg);
}
}
%emojiPicker {
position: relative !important;
width: $emoji-picker-width;
// min-height: $emoji-picker-min-height;
height: 100%;
grid-template-rows: 48px auto calc(48px * 2) !important;
grid-template-columns: 0 auto !important;
border-radius: 5px !important;
%emojiPreview { //center emoji preview
margin-left: -6px !important;
}
}
}
// edit message emoji picker
%editEmojiPickerContainer {
height: $edit-emoji-picker-height;
width: $emoji-picker-width !important;
}
// reaction emoji picker
[id^="popout"] %reactionEmojiPickerContentWrapper {
width: $emoji-picker-width !important;
height: $edit-emoji-picker-height !important;
}
// limit max width & disable resizing
%drawerSizingWrapper {
max-width: $emoji-picker-width;
%emojiPickerResizeHandle { display: none; }
}
// fix medium emoji grid row distribution
%emojiPickerRowMedium {
justify-content: space-evenly;
}
try to use the snippet without my scss mappings file challenge (impossible)
it will be in rosebox theme once rewrite is over
i love breakpoint jumpscare
when i put breakpoints while making vencord plugins and then waay later when im not thinking about it anymore some breakpoint is randomly triggered

true
breakpoints i will never figure out the stuff to
i quit and leave them there then forget
what is that
Didn't discord already make that
bruhhhhhhhhhhhhhhhhhhhhhhhh
addPreSendListener does nothing now
no clue why
no error

not working for other plugins either
js drives me mental
can I ask that is that theme? just curious, I like the purple
its a custom one im making :D
oh nice, I tried to edit one but I got very lazy
Attribute selectors and pseudo classes my beloved
Overcomplicated custom home button
Grayscale until hovered over, stays saturated and adds background when selected. Took me way too much troubleshooting to get the individual hover and selected behaviours to not override eachother in some way
your eyes are too used to burning then
pure white theme users*
i can understand the light theme gradients and adjacent themes cause theyre pretty okay
i use light theme on mobile when in direct sunlight otherwise #amoled (and a dark theme on desktop always)
otherwise light theme 🤮
🤝 which light theme tho?
discord's default?
me when
i always use light theme
codr
h-hi guys would you recommend downloading the source of an API and putting it in the plugin folder or sending requests to it?
wat
elaborate?
what api
an open source speech to text thing
well don't worry about my question anymore, i don't see any major downsides to just including it in the plugin instead of sending requests and it'd work offline as well
erm
Speech recognition involves receiving speech through a device's microphone, which is then checked by a speech recognition service against a list of grammar (basically, the vocabulary you want to have recognized in a particular app.) When a word or phrase is successfully recognized, it is returned as a result (or list of results) as a text string...
oh well oh ok oh

@dull magnet u gonna merge these any time soon?
https://github.com/Vendicated/Vencord/pull/873
https://github.com/Vendicated/Vencord/pull/821

sobbinf
{...thing} to unproxy it
or just why is it called a store when it isnt a storewp.findStore("MaskedLinkStore")
that's not how that works
it is but u lose prototype
if you click on the {} after Symbol(vencord.lazy.cached) it expands the actual object
too bad the symbols are also lost when spreading an object 
wait the proxy target is a function
can't call it either
Ah thank you, so that way I should be able to access .isTrustedDomain right? I'll check when I'm on pc
what does that do
you can just access it directly
MaskedLinkStore.isTrustedDomain
ooh
were u thinking u just can't use it
what would be the point of that lmao
Javascript Proxys allow you to intercept property access and such, a lot of the webpack commons use a proxy to make the webpack find lazy (only search on first access instead of ahead of time) because webpack searches are super slow
but you just use them as if they were the actual modules
oh wait huh? sorry im not sure what im misunderstanding but i cant figure how to get it; could you give an example, please?
.
yeh
i was going to patch the modal for that to add/remove links so if you want an idea there ya go
ialsodontknowhowtodothatstillxd
plugins
:3
is slate a theme or sumn
yeah
arent u on mobile
(shouldn't)
refer to here
it came to them in a dream
1984
they did it Holy shit
i would but i do not understand js image manipulationb
@tight epoch i investigated and you're wrong, 20px is indeed the correct size for username platform indicators
the issue was that the plugin applied transform: translateY(4px) to push the icon down by 4px which in turn expanded the container by 4px i think
Wait really? Hm, I mean makes sense
i fixed it by changing it from transform: translate() to translate: which doesn't cause ui reflows
it seems fixed with this https://github.com/Vendicated/Vencord/commit/4c13521a303b08f5e4cf0521b1bc93f86e8b54f7
Eyy nice
Can't believe I didn't think about using transform tho, let alone realize that it could've played a factor
i also changed it to 3px because it looks slightly better
that translate is just making up for the fact that the icon isn't correctly aligned
this is without the translate
fixed for u?
Yeah 3px looks best
I mean can't check for myself rn since I'm on mobile, but looks like it from the screenshots
I'll have to check for myself later tho
Hmmm...
Eyy nice
guh now i caused another issue
Sounds like Ven
I HATE CSS
@tight epoch u will never guess what the issue was
this fucking property
wtf does this even do i never heard of this property before
also god i hate react, if u want to pass a prop to a nested child you need to pass it all along the callstack
Actually nvm, I remember using the horizontal version of it to try and do stuff with the text field button row, before I made it what it is now in my theme
ctrl f "wantMargin" here

i had to pass the prop along 3 different components
Ooof
maybe the useContext hook is what you're looking for? https://www.w3schools.com/react/react_usecontext.asp
kinda but overkill imo
So I got to this point, but I have no idea how to make the main chat compartment go transparent
I got the code from DevilBro's Basic background theme
[class*=chatContent-]
the theme is nice
i just dont know css lol
i wish there was an easier method
DevilBro's theme has almost 7500 lines
i managed to strip it down to 250
but still a lot of elements need tweaking which I unfortunately dont have enough knowledge to
whats that font
its W95FA
it looks fine as it is tbh
or Windows 95 Font
tbh i enjoy the regular solid color theme more
but I am making this for a friend
tho you could steal most of it from clear vision
i am stealing it from basic background
ohh
clear vision is too complicated
since it messes with more components
I originally just wanted the background
yea
for everything?
no, only for the message bar
Hi, how can be certain than my custom pluggin is being ran ? I tried to copy the unindent.ts file and changing the message content, or using console.log, but neither of my test worked
Am I missing something ?
import { addPreSendListener, removePreSendListener } from "@api/MessageEvents";
import definePlugin from "@utils/types";
export default definePlugin({
name: "CMPM utils.",
description: "callmepixelman's test plugin.",
dependencies: ["MessageEventsAPI"],
authors: [
{
id: 336429633748598795n,
name: "callmepixelman",
},
],
// patches: [],
start() {
this.preSend = addPreSendListener( (_chanId, msg, _extra) => { msg.content = "Hello" } );
},
stop() {
removePreSendListener(this.preSend);
},
});```
using pnpm watch as told in the doc
do you mean the plugin doesnt appear in plugin list or it doesnt change your message content?
i feel dumb
for some reason I though that custom plugins were always enabled
and that the stop callback was only ccalled when the client crashed / closed etc.
i just enabled my plugin in the plugin list and now it work smh 
thanks anyway
Is there any translate plugin?
no
there used to be one for betterdiscord if I'm not mistaken
(sorry if links aren't allowed)
I mean if he wanted he could port it ig
vyeet @lone abyss nitro sell ads in bio
Done!
he's not porting shit 
but yeah do u really think someone who can't even use the searchbar is capable of porting plugins
Real
good argument
Guess what i am doing right now
wa
they invented a programming language named after u
Yes
/run ```ruby
puts "banana"
Here is your ruby(3.0.1) output @dull magnet
banana
c++ clears
ruby lang 
ahh I can't get to access isTrustedDomain, maybe it's not a function in MaskedLinkStore at all, my bad
hey im trying to help my friends change their font in discord but i can't get it to work, i tried the universal font changer but unless im doing it wrong it doesnt seem to work with discord links?
man how do i load vencord spotify?
it's a plugin
im pretty sure i have it enabled in my settings
does it just instatly load
or
something
it should as soon as you start listening to spotify, maybe you need to connect your account to discord
do i have to download spotify?
or is it fine in the web browser
probably need the app i have no clue
its spotify crack right?
SpotifyControls
oh
you need to connect ur Spotify to discord
?
yeah just make a repo on github and upload the font file to it
where can we give suggestions?
define suggestions
plugin suggestions? feature suggestions?
just read #plugin-requests
ok i did that, how do i get the raw?
go to your repo click the file and press raw
then copy link
oh i forgot its a font
lmao
okie, yeah i tried that one, unfortunately the font still wont work, unlss im doing it wrong
ah oof
im not a font expert so id suggest bugging ven or megu
~~or someoen else
~~
@import url('https://github.com/JinglBells/font/blob/main/CHOCO_COOKY_REGULAR.TTF?raw=true');
:root {
--font-primary: "CHOCO_COOKY_REGULAR";
}
this won't work
hm?
yea
okie
that and redirect
you have to use the final location cause cors explodes with redirects
husk
it is now public
no we
@import url('https://raw.githubusercontent.com/JinglBells/font/main/CHOCO_COOKY_REGULAR.TTF');
:root {
--font-primary: "CHOCO_COOKY_REGULAR";
}
hm its working on my browser
hm not working for me still
i just get TNR
:root {
--font-primary: "CHOCO_COOKY_REGULAR";
}```
font name isnt right then

yeah i figured that part out myself lmao
fonts are painful lol
it's even worse trying to get fonts to work the way you want them on Linux
Oh no Choco cooky
oops i forgot
i love the default accent color on your snippet

:(
make some tea!!!

@signal juniper also maybe change the links to raw links
because otherwise people will paste the gist page u posted which obviously doesnt work
😳 it works on notifications
oh u specifically styled them i see
oops
ya i just looked at every little thing whilst using discord and put them in a list of things to style on my icloud notes
did u forget about context menus
there was a weird bug






