#🧩-plugin-development

1 messages · Page 21 of 1

cinder wigeon
#

brave is just bad chromium

vernal mortar
#

true

cinder wigeon
#

you can describe every chromium browser with a single word before it

shrewd yacht
#

not open source + microsoft + useless (just use ungoogled chromium if you need chome’s engine) + fucks with your privacy

vernal mortar
#

well at least it doesnt come from any corporation

shrewd yacht
#

treesitter 💜

cinder wigeon
#

brave is the corporation

hollow flame
shrewd yacht
vernal mortar
vernal mortar
hollow flame
#

I use Linux too

vernal mortar
#

im a privacy nerd

hollow flame
#

I am not

vernal mortar
#

yeah thats fine

#

i dont go as far as some people do though

#

like ungoogling my whole phone or something

shrewd yacht
#

The main disadvantage for me is giving money to microsoft by using edge and being spyed on

vernal mortar
shrewd yacht
#

yes

#

chrome too

vernal mortar
#

actually that was a stupid question i doubt any distro would distribute it otherwise

vernal mortar
shrewd yacht
#

idk

#

maybe only chomium yeah

vernal mortar
#

i mean chromium is 100% but im not sure about chrome

shrewd yacht
#

same

vernal mortar
#

i mean, google doing an open source app?

#

doesn't make much sense

shrewd yacht
#

big corporation sometimes use open source at their advantage (it’s so superior), see vscodium, chromium, android etc.

vernal mortar
#

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

shrewd yacht
#

I prefer something more minimalist

cinder wigeon
#

At all

#

It's just proprietary-ified chromium

#

Chromium is the open source project managed by google

shrewd yacht
#

mb thx

vernal mortar
shrewd yacht
#

Agreed

vernal mortar
#

though i can't deny it must be scary

shrewd yacht
#

Change is always scary

vernal mortar
#

but redhat tried to prove that the opensource model works

#

so idk

shrewd yacht
vernal mortar
#

lets just hope we get to like a 1% in steam charts haha

shrewd yacht
#

We are legion!

dull magnet
#

brave is solid

vernal mortar
#

i heard good things from it

#

only reason i would change to another browser would be extensions

shrewd yacht
dull magnet
#

yes

vernal mortar
#

lol what

obsidian beacon
shrewd yacht
#

cringe

vernal mortar
#

wait what

#

can someone explain

#

oh wait i gotta get my chance now that the owner is here

obsidian beacon
#

you can donate to "creators" online and they'd collect that money but as a creator you needed to claim it manually

vernal mortar
#

there

dull magnet
#

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

shrewd yacht
vernal mortar
#

its not that i want to

opal fern
shrewd yacht
vernal mortar
#

i do

opal fern
#

and

#

you cant

#

i mean you can

vernal mortar
opal fern
#

but you havent explained anything

obsidian beacon
shrewd yacht
vernal mortar
opal fern
#

exec

#

omega cursed

vernal mortar
#

i tried that

#

but* AI told me i needed some sort of nodejs dependency

#

child_blahblah

#

and my code crashed

obsidian beacon
#

AI?

opal fern
#

BLOOCKED

vernal mortar
#

sorry deal with it

obsidian beacon
#

oh god

vernal mortar
#

HOW AM I SUPPOSED TO LEARN

shrewd yacht
#

no idea

dull magnet
#

stop asking ai for everything oh my god

vernal mortar
opal fern
#

literally

dull magnet
#

learn how to not depend on someone else spoonfeeding u the info and learn to do ur own research

opal fern
#

ai is going to be the downfall of critical thinking

vernal mortar
#

I already do research my god

#

AI doesnt even have recent info

shrewd yacht
vernal mortar
#

most of the time I have to do research

opal fern
#

if you know it is incorrect

vernal mortar
#

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

opal fern
#

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

vernal mortar
vernal mortar
#

bro tahts the whole reason

#

learning

#

reasearch

opal fern
vernal mortar
obsidian beacon
vernal mortar
#

not saying it like "IT SHOULD" but just genuinely curious

shrewd yacht
opal fern
#

@obsidian beacon and @shrewd yacht said it best

#

based users

cinder wigeon
opal fern
#

thats why they have cute role

obsidian beacon
opal fern
#

if ai should be used at all, its to generate reasons why you shouldnt use ai in specific areas trolley

vernal mortar
obsidian beacon
#

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

opal fern
cinder wigeon
#

No, chatgpt can't do your homework perfectly
It's designed to sound right not be right

opal fern
obsidian beacon
vernal mortar
cinder wigeon
#

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

opal fern
#

because in programming

#

99% of the time it is wrong

vernal mortar
#

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

obsidian beacon
#

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

opal fern
#

Researching also helps absorb the info

obsidian beacon
#

Learning doesnt happen by copying the first solution you find

opal fern
#

not copy paste the solution

obsidian beacon
#

yea

vernal mortar
#

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

obsidian beacon
#

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;

opal fern
#

perhaps getting a solution

vernal mortar
obsidian beacon
#

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

opal fern
#

in js/ts

obsidian beacon
opal fern
#

If you plan to make a pr, this is unviable

vernal mortar
opal fern
#

exec is dangerous, and you probably shouldnt use it

vernal mortar
#

reason being?

opal fern
#

it is literally running a command

cinder wigeon
obsidian beacon
shrewd yacht
#

@vernal mortar please give more context on what you are trying to achieve

opal fern
vernal mortar
obsidian beacon
#

i guess the real question is
what should the python script do/what does the script do?

dull magnet
obsidian beacon
#

is it not possible to rewrite the python script in js?

shrewd yacht
opal fern
#

your best bet is just translating the script

#

there are 0 other solutions

shrewd yacht
#

ask chatgpt to do it

obsidian beacon
#

pls no

opal fern
shrewd yacht
opal fern
#

that is 95% a threat

obsidian beacon
#

i had one too many presentations about how "cool" chatgpt is by lecturers at my university ;w;

opal fern
cinder wigeon
# cinder wigeon Fine

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

opal fern
#

if i had to sit thru one of those id walk out

obsidian beacon
#

yes
it was like 20:00 i wanted to go home and my lecturer starts giggling because chatgpt generated helloworld in some bizarre language

cinder wigeon
vernal mortar
#

wait now taht I think about it, I can probably just say the problem

#

yall are smart

obsidian beacon
opal fern
#

did you doubt our group intelligence beforehand???? I will bring down the power of god (static electricity) and smite your device

vernal mortar
#

well i cant find the error

#

but it was something abour CORS or whatever

#

ROCS?

#

no def CORS

opal fern
#

cors

shrewd yacht
#

CORS probably

opal fern
#

what about cors

vernal mortar
#

yes

obsidian beacon
# cinder wigeon It is cool People who use it are just stupid

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

vernal mortar
#

it didnt let me make a request to a website cuz something something cors

shrewd yacht
cinder wigeon
opal fern
cinder wigeon
obsidian beacon
#

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

opal fern
#

im gonna assemble an online avengers to take down ai

obsidian beacon
#

political discourse and fake news will be
quite something

#

and i am truly terrified of what is to come

shrewd yacht
#

Already happened and we are fine

obsidian beacon
cinder wigeon
#

What exactly are you talking about

opal fern
#

in whose hands should ai lie in?

#

government bodies?

shrewd yacht
#

I’m talking about IT tools, they already changed what we perceive as true

opal fern
#

public researchers?

shrewd yacht
#

The people is always the answer

obsidian beacon
vernal mortar
obsidian beacon
#

AI isnt the problem

shrewd yacht
obsidian beacon
#

how we use ai is the problem

vernal mortar
#

i remember seeing people training models to make games n such

opal fern
#

we should just nuke the planet, problem solved /j

cinder wigeon
#

ai isn't sentient (yet™) so the ai itself can't do much besides whatever humans do with it

vernal mortar
#

that shit is scary

#

i would 100% vote to restrict AI

opal fern
#

in a "blackbox"

#

probably just google being dumb as fuck

cinder wigeon
#

That's how neural networks work lol

vernal mortar
cinder wigeon
#

It's just a bunch of magic math happening

obsidian beacon
vernal mortar
shrewd yacht
#

AI is the death of science

vernal mortar
#

that means someone can replace a human by imitating humanity

#

thats whats most scary

opal fern
vernal mortar
#

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

shrewd yacht
shrewd yacht
cinder wigeon
#

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

shrewd yacht
#

I think it will kill science

vernal mortar
#

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

obsidian beacon
vernal mortar
obsidian beacon
#

not really
rather
even more of a reason not to use it at all lmao

vernal mortar
#

even truer

#

looking forward for more self-hosted AIs to come out so my privacy is dead

cinder wigeon
#

It should load all src/{plugins,userplugins}/**/index.{ts,tsx}

next stone
#

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.

next stone
#

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?

next stone
#

Alright, well, I've got stuff working well enough

chrome elbow
#

(what will happen if they try to change trolley )

vernal mortar
#

oh wait

#

its dead again

#

oh it works now

vernal mortar
# opal fern what about cors

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.
cinder wigeon
vernal mortar
#

which just instantly installs vencord

cinder wigeon
#

fun

vernal mortar
#

i can provide the code if needed

#

i think i was just doing something like fetch

vernal mortar
#

it is not

dull magnet
#

you can't fix it

#

tell the owner of that api to fix cors

vernal mortar
#

ive kind of given up cuz of that

#

alright

#

doubt ill get any answers though

dull magnet
#

whose is it

trim igloo
vernal mortar
#

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

lapis fable
#

why is it stuck on this??

amber mantle
#

npm so sloooooooooooow

lapis fable
#

hey can anyone tell me how i can get a user's about me using the discord api

wanton sierra
#

bots cant access user bios

#

good luck selfbotting

lapis fable
#

wot

wanton sierra
lapis fable
#

this isnt even for a bot

hollow flame
lapis fable
#

huh

hollow flame
#

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

lapis fable
#

is it allowed?

#

will it work through a bot token?

chrome elbow
#

ofc no

lapis fable
#

removing users with a quote in their about me from a server

cedar olive
#

I mean yeah it would be self botting

#

you need to use an user token tonguecat

lapis fable
#

haha

#

discord will hate me

cedar olive
#

well

#

the rate limit for that is high

#

eh not that high actually

lapis fable
#

im just gonna put a wait for 2 seconds between sending the requests

cedar olive
#

requesting with an interval of 1 second is enough

#

maybe less

silk sorrel
lapis fable
#

suffering

hollow flame
#

also what the heck is this

#

anti quote?

lapis fable
#

the bot that does the thing

#

it basically lets you do things to users with quotes in their about me

hollow flame
#

and what does that have to do with nitro sniping

silk sorrel
#

just listening for message_create events and resending nitro links to their server

#

you theoretically only need one bot

lapis fable
hollow flame
#

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"

real pawn
#

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.

Download the perfect cute cat pictures. Find over 100+ of the best free cute cat images. Free for commercial use ✓ No attribution required ✓ Copyright-free ✓

lapis fable
#

arent these just from the plugin that changes the discord did you know thingy

chrome elbow
#

the bot reacts to the word "trans" instead of actual emoji?

hollow flame
chrome elbow
#

ye i blocked it

hollow flame
#

me too

lapis fable
#

i also blocked it cuz its annoying af

hollow flame
#
"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']

||

lapis fable
#

how would i send this get thingy and recieve the response in python :P sorry im an idiot

hollow flame
#

also be careful in this section, you might expose your token

lapis fable
#

i literally edited it out but okay

hollow flame
#

I wouldn't have noticed, but still

lapis fable
#

also this server is literally about client modding :P

lapis fable
#

this is with good intentions

real pawn
hollow flame
#

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'
#

:(

lapis fable
#

meh f*ck it i will take a different approach, so no selfbotting

dull magnet
#

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

knotty gyro
#

are these webhooks included in everyones client?
because someones gonna find it and spam @ everyone

chrome elbow
knotty gyro
#

ah ok

amber mantle
#

yeah lol

shrewd yacht
#

CORS is driving me crazy

#

for some reason it is right for some requests but not others

shrewd yacht
#

fukc it, how do I bypass cors?

lone panther
dull magnet
#

what's the point of these requests anyway

#

they are fake requests

lone panther
lone panther
#

??????

#

wtf is the point

dull magnet
#

oh wait it does

#

I misunderstood

honest plume
#

is there anyway to see discord gateway ws binary messages in devtools?

dull magnet
#

yes it's in the network tab

lone panther
#

oh

honest plume
#

but it doesnt actually show the content :(

lone panther
#

i was gonna say

dull magnet
honest plume
#

not for me

#

because discord compresses it or whatever

dull magnet
#

click on one

honest plume
#

it just shows binary, not the actual json payload

dull magnet
#

because they're erlpack encoded

honest plume
#

mhm, i wish there was an easy way to see it all

dull magnet
#

if you use discord web they might not be erlpack encoded

honest plume
#

it does :(

dull magnet
honest plume
#

wait wat

dull magnet
#

it logs all events to the console

honest plume
#

where is dat?

rigid flame
#

oop

#

programming channel

#

time to whip out the classic

silk sorrel
#

Bro use a fucking object or a map

amber mantle
#

bruh lol

knotty gyro
#

thats what i thought it was

astral mural
#

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

cedar olive
#

cuz the theme is broken

#

it didnt apply the styles to those parts

astral mural
#

id imagine its cause its missing the portion that edits it

cedar olive
#

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

astral mural
#

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

hollow flame
#

Also, if you're going to reply to me then please ping

hollow flame
rain spoke
#

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?

cedar olive
#

the show hidden channels plugin already shows whos on the vc

rain spoke
#

Im struggling to get that to work then

cedar olive
#

well

#

it should

cedar olive
#

@dull magnet does vendetta have some kind of devtools for finding code or something

dull magnet
#

you can decompile the hermes bytecode to super unreadable js

#

or just educated guesses

#

:P

cedar olive
#

oh so you are limited to webpack searching?

dull magnet
#

ye

cedar olive
#

dang

amber mantle
#

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 skulley

cedar olive
#

oh wait

#

aliucord was going to decompile the bytecode to some readable code?

#

and vendetta doesnt do it

rigid flame
hollow flame
rigid flame
#

you are going to impact the world

#

:)

hollow flame
rigid flame
#

you are going to impact the world

#

:|

hollow flame
rigid flame
#

you are going to impact the world

#

:(

dull magnet
#

@tight epoch why not pr this?

#

has been bothering me but I was too lazy to look into it

tight epoch
#

Ah, sorry, I'm not exactly well acquainted to using GitHub for things other than downloading from there. I'll look into it tho

shrewd yacht
#

how can I style things that only shows up on hover (that are not hidden with display: none but with js)

dull magnet
#

do u mean how to inspect them?

shrewd yacht
#

I can’t get the class

shrewd yacht
dull magnet
#

use f8break plugin

tight epoch
shrewd yacht
#

yes

tight epoch
#

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

dull magnet
#

just use f8break like i said

tight epoch
tight epoch
# dull magnet <@239411543941447681> why not pr this?

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 Thumsup)

dull magnet
hollow flame
dull magnet
#

Well they indeed didn't open a pr but I wasn't sure whether they were just still working on it

tight epoch
#

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

tight epoch
#

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

covert nimbus
#

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

tight epoch
#

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
covert nimbus
#

i decided to just give up and work on bandager

knotty gyro
#

at some point i could probably make a cross-platform c# vencord installer with an acrylic blur gui
mostly for fun

tight epoch
covert nimbus
#

huh

tight epoch
#

I'm asking about the Vencord settings json

covert nimbus
#

so i need to change something in openasar too?

#

no that's the vencord source code

tight epoch
#

Huh

tight epoch
covert nimbus
tight epoch
#

They had to add that as a safeguard since so many people were having problems with the transparency causing crashes

viral roost
tight epoch
#

Yep, ik

covert nimbus
#

i literally force enabled it in the code i don't see how that setting would change anything, but regardless, it is on

tight epoch
covert nimbus
#

yeah

tight epoch
#

If so just do a full restart

#

And it should be enabled

covert nimbus
#

i restarted multiple times

#

(i wouldn't be able to inject a dev version of vencord if i didnt)

tight epoch
#

After putting that in the dev tools console?

viral roost
#

are you on official client or something else

covert nimbus
#

yeah

#

official client

tight epoch
#

guh

covert nimbus
#

wondows moment

#

but yeah doesnt really matter, i gave up :P

tight epoch
#

I don't even have any clue of where I can find that setting you changed lmao

covert nimbus
#

src/main/patcher.ts

tight epoch
#

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?

covert nimbus
#

thats what i tried originally

#

didnt work

#

and then i force-enabled it by altering the source code, yielded the same result

tight epoch
#

Did you try an unaltered version where you've only changed it in that specific json/using the dev tools console command?

covert nimbus
#

yeah

tight epoch
#

Dang, hmm

dull magnet
#

change background instead

tight epoch
#

Exactly

#

Opacity changes not just the background but also the foreground/content, thus making everything including text translucent

rich bay
#

for cross-platform

knotty gyro
#

Isn’t that for windows

#

Not Linux or Mac

dull magnet
#

yes

knotty gyro
#

But it would look nicer

dull magnet
#

the current one is fine

knotty gyro
#

Funnn

#

I code for fun

lapis fable
#

coding text engines is pain

green vessel
#

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

ionic breach
#

that will make conversation so unreadable 💀

hollow flame
#

a what

knotty gyro
#

rate my gui

dull magnet
#

blurry

cinder wigeon
#

windows/10

knotty gyro
#

how do i make a plugin and install it to vencord?\

#

the plugins are all hardcoded YEP

chrome elbow
#

read docs folder

knotty gyro
#

oh shit im not even doing it right

knotty gyro
knotty gyro
#

it does stuff (nothing)

wide parrot
#

ong

covert nimbus
knotty gyro
#

its scuffed as fuck

#

it tries to insert the button when the plugin loads

#

but the plugin loads before the message form

wide parrot
#

require restart

#
if (loadBeforeIWant) {
dont();}```
knotty gyro
#

but then its not gonna do anything

#

im calling insert inside of start()

#

big brain solution

wide parrot
#

could that not duplicate it

cedar olive
#

dom manipulation skull

knotty gyro
cedar olive
#

just use patching

knotty gyro
#

😔

cedar olive
#

there's like 5 plugins that add a button there

#

just copy them

hollow flame
knotty gyro
#

spot my button

cedar olive
#

gift one

knotty gyro
#

wrong

hasty stag
#

notification one

knotty gyro
#

also wrong

viral roost
#

G button

chrome elbow
#

lock button

cedar olive
#

ugh

#

the calendar?

#

idk I think that's already a discord thing

viral roost
#

no this is a trick question the button they added is hidden with css

knotty gyro
#

bruh you've said everything except my button

chrome elbow
#

definitely a invisible button on the left of gift button

knotty gyro
#

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

hasty stag
knotty gyro
hasty stag
# knotty gyro that'll do for now

you can do

MessageStore.getMessage(message.channel_id, message.id).content = content;

FluxDispatcher.dispatch({ type: "MESSAGE_UPDATE", message });
knotty gyro
#

oh thanks

hasty stag
#

not sure if that would work on clyde messages actually

knotty gyro
#

it works but it also complains that author is undefined

#

i'll just put it in a try catch

knotty gyro
knotty gyro
knotty gyro
#

does vencord have a dirtyDispatch function?

#

shits making me wanna kms

dull magnet
knotty gyro
#

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”

dull magnet
#

what are u even doing

drowsy chasm
#

Seems like ChatGPT prompts/responses in Discord

knotty gyro
#

Yes

amber mantle
#

Clyde everywhere

knotty gyro
near aurora
#

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

dull magnet
#

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

amber mantle
#

true

#

breakpoints i will never figure out the stuff to

#

i quit and leave them there then forget

ebon pivot
knotty gyro
#

Chat gpt

#

For vencord

cinder wigeon
knotty gyro
#

yes

#

its not released yet

knotty gyro
#

bruhhhhhhhhhhhhhhhhhhhhhhhh

#

addPreSendListener does nothing now

#

no clue why

#

no error

#

not working for other plugins either

#

js drives me mental

untold briar
# knotty gyro

can I ask that is that theme? just curious, I like the purple

knotty gyro
untold briar
#

oh nice, I tried to edit one but I got very lazy

tight epoch
#

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

rich bay
#

it's burning my eyes

amber mantle
#

your eyes are too used to burning then

waxen siren
#

death to all white theme users

#

sorry

#

bit dramatic

amber mantle
#

pure white theme users*

#

i can understand the light theme gradients and adjacent themes cause theyre pretty okay

dull magnet
#

I use light theme at day

lone panther
#

i use light theme on mobile when in direct sunlight otherwise #amoled (and a dark theme on desktop always)

#

otherwise light theme 🤮

green vessel
waxen siren
dull magnet
#

jj

#

j

#

j

#

j

#

ha

#

hh

#

j

#

j

wide parrot
#

codr

dull magnet
#

wrong channel guh

#

I meant to #🤖-bot-commands

quaint cipher
#

h-hi guys would you recommend downloading the source of an API and putting it in the plugin folder or sending requests to it?

hollow flame
#

wat

wide parrot
#

reddit api

#

just gonna download reddit

quaint cipher
#

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

dull magnet
#

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...

dull magnet
#

wow this is really cool

#

it's crazy how advanced it is

primal narwhal
hollow flame
#

no

#

oops wrong account

faint siren
quaint cipher
#

sobbinf

viral roost
#

or just wp.findStore("MaskedLinkStore") why is it called a store when it isnt a store

silk sorrel
viral roost
dull magnet
dull magnet
silk sorrel
#

too bad the symbols are also lost when spreading an object shiddohwell

#

wait the proxy target is a function

#

can't call it either

quaint cipher
dull magnet
#

what does that do

dull magnet
#

MaskedLinkStore.isTrustedDomain

quaint cipher
#

ooh

dull magnet
#

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

quaint cipher
dull magnet
amber mantle
#

yeh

#

i was going to patch the modal for that to add/remove links so if you want an idea there ya go
ialsodontknowhowtodothatstillxd

lapis fable
#

plugins

wide parrot
spare herald
#

:3

wispy knoll
#

how do I get slate to work with my vencord

#

I see no css file anywhere

wide parrot
#

is slate a theme or sumn

wispy knoll
#

yeah

wide parrot
#

arent u on mobile

wispy knoll
#

yeah

#

vencord has mobile support too

viral roost
#

(shouldn't)

wide parrot
#

ig u could try like

#

putting a link to the css file in the themes section

wispy knoll
viral roost
#

as a reference to the theme

wide parrot
#

its on paper

viral roost
#

it came to them in a dream

dull magnet
green vessel
wide parrot
#

no i made it

#

what i mean by made is i pieced together code that was not made by me

green vessel
#

:3

#

cutely steals pet pet and makes so it sends pfp between femboys thighs

wide parrot
#

i would but i do not understand js image manipulationb

dull magnet
#

@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

tight epoch
#

Wait really? Hm, I mean makes sense

dull magnet
#

i fixed it by changing it from transform: translate() to translate: which doesn't cause ui reflows

tight epoch
#

Eyy nice
Can't believe I didn't think about using transform tho, let alone realize that it could've played a factor

dull magnet
#

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

tight epoch
#

Ah I see

#

Looks good btw

dull magnet
#

fixed for u?

dull magnet
#

3px looks best imo

tight epoch
#

Yeah 3px looks best

tight epoch
#

I'll have to check for myself later tho

dull magnet
#

grrr

#

it's not actually fixed

#

im gonan combust

#

im so confused then

tight epoch
#

Hmmm...

dull magnet
#

okay i fixed it for good

#

@tight epoch now it actually fixed

tight epoch
#

Eyy nice

dull magnet
#

guh now i caused another issue

hollow flame
#

Sounds like Ven

dull magnet
#

I HATE CSS

#

@tight epoch u will never guess what the issue was

#

wtf does this even do i never heard of this property before

tight epoch
#

Wh- huh lol

#

Never heard of it either lol

dull magnet
#

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

tight epoch
#

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

dull magnet
#

i had to pass the prop along 3 different components

tight epoch
#

Ooof

pearl knot
dull magnet
#

kinda but overkill imo

flint oxide
#

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

chrome elbow
#

[class*=chatContent-]

green vessel
#

the theme is nice

flint oxide
#

i just dont know css lol

green vessel
#

yoink code from other themes

#

but you should totally let me be the first user!

flint oxide
#

i simply want the background

#

nothing else

flint oxide
#

scuffed but

#

i think i made it

green vessel
#

I thought that was rimuru

#

but it looks good

flint oxide
#

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

green vessel
#

does user popout, settings ect work?

#

if so then I'm sure it'll be fine husk

wide parrot
flint oxide
#

I left the user popout as default

#

i dont want to change it

flint oxide
green vessel
#

it looks fine as it is tbh

flint oxide
#

or Windows 95 Font

#

tbh i enjoy the regular solid color theme more

#

but I am making this for a friend

green vessel
#

tho you could steal most of it from clear vision

flint oxide
#

i am stealing it from basic background

green vessel
#

ohh

flint oxide
#

clear vision is too complicated

#

since it messes with more components

#

I originally just wanted the background

green vessel
#

yea

flint oxide
#

I do want to keep the symmetry here

#

So i will revert the transparency change

green vessel
#

for everything?

flint oxide
#

no, only for the message bar

green vessel
#

ohhhh

#

okok

runic hearth
#

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

chrome elbow
#

do you mean the plugin doesnt appear in plugin list or it doesnt change your message content?

runic hearth
#

husk 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 dumb

#

thanks anyway

lone abyss
#

Is there any translate plugin?

chrome elbow
#

no

quaint dirge
#

(sorry if links aren't allowed)

dull magnet
#

they are but its kinda irrelevant cause this is vencord not bd

quaint dirge
#

I mean if he wanted he could port it ig

dull magnet
#

vyeet @lone abyss nitro sell ads in bio

shrewd tundraBOT
dull magnet
#

he's not porting shit trolley

#

but yeah do u really think someone who can't even use the searchbar is capable of porting plugins

opal fern
#

Real

flint oxide
#

aight i will stop the misery here

quasi abyss
#

Guess what i am doing right now

dull magnet
#

rubying

#

@quasi abyss did u know

quasi abyss
#

wa

dull magnet
#

they invented a programming language named after u

quasi abyss
#

Yes

dull magnet
#

/run ```ruby
puts "banana"

worldly oxideBOT
#

Here is your ruby(3.0.1) output @dull magnet

banana
quasi abyss
#

c++ clears

dull magnet
#

ruby lang flowercat

quaint cipher
odd raven
#

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?

green vessel
drowsy chasm
#

it's a plugin

green vessel
#

does it just instatly load

#

or

#

something

drowsy chasm
#

it should as soon as you start listening to spotify, maybe you need to connect your account to discord

green vessel
#

or is it fine in the web browser

drowsy chasm
#

probably need the app i have no clue

green vessel
drowsy chasm
#

SpotifyControls

green vessel
#

oh

dull magnet
#

you need to connect ur Spotify to discord

dull magnet
#

cdn links?

#

you can't

#

put it on github raw or smth

odd raven
#

how can i put a font file on there? /gen

#

is it just upload it or smth

amber mantle
#

yeah just make a repo on github and upload the font file to it

green vessel
#

where can we give suggestions?

drowsy chasm
#

define suggestions

#

plugin suggestions? feature suggestions?

odd raven
amber mantle
#

then copy link

odd raven
#

?

amber mantle
#

oh i forgot its a font

odd raven
#

lmao

amber mantle
#

just right click view raw and copy the link there

#

shoudl work

odd raven
#

okie, yeah i tried that one, unfortunately the font still wont work, unlss im doing it wrong

amber mantle
#

ah oof

#

im not a font expert so id suggest bugging ven or megu

#

~~or someoen else trolleyzoom ~~

odd raven
dull magnet
#

this won't work

odd raven
#

hm?

dull magnet
#

404 lmao

#

yeah ur repo is not real

#

did u make it private

odd raven
#

yea

dull magnet
#

make it public silly

odd raven
#

okie

amber mantle
#

LOL

#

i didnt notice it was private

#

no wonder

dull magnet
#

that and redirect

#

you have to use the final location cause cors explodes with redirects

amber mantle
#

husk

odd raven
#

it is now public

amber mantle
#

i hate github you cant copy font links because redirect

odd raven
#

hm

#

still no workie

#

am i dumb

amber mantle
#

no me

#

paste snippet

odd raven
#

no we

amber mantle
#

horrifying

#

how does megu use this

odd raven
#

wait is it working 4 u

#

oh

#

ok

amber mantle
#

thats still a 404

#

btw

odd raven
#

hm its working on my browser

dull magnet
#

lol now it works

#

404 moment

odd raven
#

hm not working for me still

#

i just get TNR

#

:root {
    --font-primary: "CHOCO_COOKY_REGULAR";
}```
amber mantle
#

font name isnt right then

odd raven
#

ah!

#

thank you

#

i will give this to my friends now tyvm

chrome elbow
odd raven
#

yeah i figured that part out myself lmao

dull magnet
#

fonts are painful lol

#

it's even worse trying to get fonts to work the way you want them on Linux

flint oxide
#

Oh no Choco cooky

dull magnet
#

@signal juniper maybe add some Screenshots

signal juniper
#

oops i forgot

drowsy chasm
#

i love the default accent color on your snippet

signal juniper
#

ty wholesome

#

its my new favourite color

drowsy chasm
signal juniper
#

i have a runny nose

drowsy chasm
#

:(

dull magnet
#

@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

signal juniper
dull magnet
#

did u forget about context menusMenheraThink2

signal juniper