#πŸ‘Ύ-core-development

1 messages Β· Page 77 of 1

torpid thicket
#

like usrbg does

#

where the user banner gets changed to the usrbg banenr

teal halo
#

look at how usrbg does it

torpid thicket
#

I couldn't find where the source is

#

for that plugin

austere talon
#

github

dapper arrow
austere talon
#

i hate discord

austere talon
olive aurora
#

I'd get back to wayland if there was a bspwm equivalent

#

probably enough tinkering w qtile

#

but im lazy

#

also python husk

charred monolithBOT
teal halo
#

adblock moment

austere talon
#

idk if thats also necessary

limber skiff
#

@austere talon VENSPONSOR MOMENTTTTTTT

#

thank youuuuu blobcatcozy

austere talon
#

i wanted to sponsor more but i dont have that much myself

#

once i get a stable job i will sponsor for 3 million euros (real)

limber skiff
#

haha 5 dollars is actually a lot for me

austere talon
#

brazilian real

limber skiff
#

yop

charred monolithBOT
austere talon
#

it looks so silly in the small view

#

it honestly doesnt look like a cat

olive aurora
#

HOW DOES IT NOT

limber skiff
#

lmao the real picture is so funny

#

it's a friend cat

umbral hedge
#

this is so real

austere talon
#

😭

umbral hedge
#

there's a bunch of these insane blog spams

olive aurora
#

YOU LOOK LIKE A STINKY RAT

austere talon
#

"not found" my ass

umbral hedge
limber skiff
austere talon
#

VENCORD DOT APP 😭

teal halo
#

ven advertising everywhere already

umbral hedge
#

its the scam site uwaaaaa

austere talon
#

how r u finding these?

umbral hedge
dapper arrow
#

google search

austere talon
#

oh

umbral hedge
#

its on the most random sites

austere talon
lime stone
#

#stopvencordads

#

vencord dads

#

😭

charred monolithBOT
#
[Vencord/Vesktop] New tag created: v0.2.8
teal halo
#

rip giant tray icon

austere talon
#

vendicated Vendicated

[Vencord:main] 1 new commit

6c0ffee Add ads to plugins page - Vendicated

tawny cipher
#

eval a webhook

austere talon
#

could but im lazy

tawny cipher
#

valid

teal halo
#

nice changelog

#

discord thank you

olive aurora
#

vendicated Vendicated

[Vencord:main] 1 new commit
fa50a01 Implement vencord currency system - V

lilac epoch
#

The new Discord update broke my Vencord, it needed repairing/reinstalling with the installer

charred monolithBOT
azure jay
summer fiber
#

i assume its normally considered bad practice to use wreq in plugins?

charred monolithBOT
spark cove
summer fiber
#

id 156824

spark cove
#

yea u shouldnt be using a wreq for any discord endpoints

summer fiber
#

thanks

spark cove
#

theres p much always a method for it somewhere that the client itself uses

summer fiber
#

true alright

#

thanks

spark cove
#

np

charred monolithBOT
austere talon
#

@summer fiber

#

doesnt get any simpler

spark cove
#

@summer fiber i was on crack

#

thought u meant web request

summer fiber
#

oh lmfao

#

ur good

summer fiber
#

probably a better way instead of hardcoding ids

austere talon
#

i wasnt gonna say it that way but yeah basically 😭

charred monolithBOT
lament nimbus
#

@austere talon could you update the packageManager entry in package.json for vesktop to latest pnpm

#

pnpm 8.1.1 is broken on node 20 so the aur package won't build for me

austere talon
#

oh huh

#

i see

#

why is it broken?

lament nimbus
austere talon
#

pr :P

lament nimbus
#

guh

lament nimbus
#

there

charred monolithBOT
lament nimbus
#

nope nothing changed with wayland screensharing in latest from git

teal halo
#

how was i the only user on this planet to ever see the tray and how ridiculous it was

charred monolithBOT
charred monolithBOT
charred monolithBOT
teal halo
#

what if i restart discord

#

then they’re gone

woeful sable
olive aurora
#
window.addEventListener("beforeunload", (e) => e.preventDefault());
#

HELP I CANT CLOSE VESKTOP NOW

spark cove
#

LMAO

olive aurora
#

I CANT CTRLQ

#

WHAT

fleet depot
#

this is a feature

olive aurora
#

i had to kill it thrice

charred monolithBOT
#

please see if this is any better in the just released v0.2.8

It's behave the same... :(

I don't think it is an electron issue on that side... Teams and Webcord uses Electron too and has no issue with Wayland.

Maybe it's more the implementation used that ask every window and every screen to show them in discord's interface so it always trigger a portal.

woeful sable
#

How can I add my own plugins

fleet depot
#

also also if it's not made for vencord it won't work with vencord

charred monolithBOT
#

Vencord already blocks Discord trackers/telemetry by default, typing indicator can be blocked with a plugin, background sync can be blocked, and microphone and camera are opt-in (by using them).

Disabling the CSP is dumb/insecure, idk why you would want to do that

And what are you on about with the discord spying on the memory/ram?? If you are referring to game activity it can be disabled with one of the plugins.

Because of the companys behind the CSP.
We already know what...

#

There are no relevant privacy differences between the two. They are both terrible in terms of privacy, because this is Discord we're talking about. if you care about privacy, use something like https://matrix.org/ . However, both of them use no native Discord code so they are both more private than the normal Discord desktop app, Discord is contained entirely in the Browser process (as if you were opening discord.com in chromium)

Microphone, camera, desktop capture, background sync...

#

WebCord seems to have a very bad case of stupid marketing. It doesn't block "fingerprinting", it blocks requests that Discord uses to collect metrics, which is not fingerprinting. With regards to the permissions, you grant the app these permissions, and if you don't like the app you revoke them. I don't see why you would even be using Discord if you had such paranoid fears about it misusing your sensors.

A content security policy is not "censorship", it's ensuring that your Discord client...

olive aurora
#

what's bad about it

#

is there a getBattery().explode() method that instantly overheats ur battery and causes a lithium fire

#

that'd be awesome

#

I mean there are far more high entropy things that can be used for fingerprinting

#

this one is actually useful for games and such

#

real

#

we should get them banned for being <13 so they're forced to give discord their id

woeful sable
#

Is there a plugin for split large messages

#

in vencord

#

bc fakenitro

#

doesnt do this

olive barn
#

nope

woeful sable
#
export default {
  name: 'MessageSplitter',
  
  onMessageCreate(message) {
    if (message.content.length > 2000) {
       const splitMessage = this.splitMessage(message.content);
      
      splitMessage.forEach(chunk => {
        message.channel.send(chunk);    
      });
            
      message.delete();
    }
  },
  
  splitMessage(text) {
    const chunks = [];
    let chunk = "";
      
    while(text.length > 0) {      
      chunk += text.substring(0, 1990);      
      text = text.substring(1990);      
      chunks.push(chunk);    
      chunk = "";  
    } 
    
    return chunks;
  }
}```
#

because

#

i tried this

#

but dont know how to add it

olive barn
#

you cant use betterdiscord plugins with vencord

olive barn
#

well that isnt the vencord plugin format so trolley

#

good luck

woeful sable
#

hotdog

heady stone
#

errr you can delete this msg if its not sposed to be in here but the site for plugin requests is down but i was wondering if i could request user notes bd plugin for venecord ?

woeful sable
rich harness
jagged cloak
#

vendicated Vendicated
[Vencord:main] 1 new commit
bb7deeb UserVoiceShow: Fix error - Vendicated

charred monolithBOT
muted osprey
#

no uninstalling, we here now forever 😼

heady stone
charred monolithBOT
#

you seem to have very heavily misunderstood what a content security policy is.

It's a way for websites to tell the browser what sites specific content comes from. For example, discord only allows scripts from trusted sources. Trying to load scripts from other sites will lead to the browser refusing to load the script. This is solely a security measurement to prevent XSS vulnerabilities in sites and has nothing to do with censorship or privacy. the domain csp switches in webcord also don't ...

charred monolithBOT
austere talon
#

LMAO

#

owned

charred monolithBOT
verbal pumice
#

mfw +0 -0 diff

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
jagged cloak
# charred monolith

should name the plugin and file name same thing so you dont cause this again lol

#

oh it is

teal halo
#

MoreStickers is a better name anyway

jagged cloak
#

just silly pr name

teal halo
jagged cloak
#

Why is this here? Who is going to read this on a custom component? It isn't even rendered? What is its purpose?
trolley

violet hazel
teal halo
#

lol

#

Stickers+ sounds like you upgrade stickers

#

MoreStickers sounds like you add more stickers, presumably from somewhere else

violet hazel
jagged cloak
#

newer name probably best for 2iq bencord users

charred monolithBOT
teal halo
#

can’t be faster than discord

#

and compilation takes 5 seconds how is that slow

jagged cloak
#

gotta get it

BLAZING FAST πŸ”₯

#

i already broke it trolleyzoom

#

i wonder how youd even get tg stickers

violet hazel
#

telegram stickers cant be fetched publicly

jagged cloak
#

ye ik

#

idk how telegram works beyond it being funny but if you just need to sign in then its semi doable

violet hazel
jagged cloak
#

lol

#

you love stickerpack basically exclusively used in aliucord

charred monolithBOT
teal halo
#

why would you do that when you can tell users to go fuck themselves

tawny cipher
#

or just don't fuckin run it as admin to begin with

teal halo
#

true

charred monolithBOT
lime stone
#

wait

#

when you disabled discussions, I thought that meant preventing any new posts

#

😭

#

now I'll have to come up with my own ideas

austere talon
#

yeah unfortunately

#

you can't really make them read only

#

I can re-enable them for u

lime stone
#

wdym for me?

#

you can't just show it for select people, right?

#

iirc it's just a toggle in settings

austere talon
#

yes

#

I meant I can re-enable it for your sake

#

however then you are responsible for me possibly losing my sanity

lime stone
#

yeah

#

that's my concern

#

I'm fine with you losing your sanity

#

I just don't want to be the individual responsible

austere talon
#

they are back on

lime stone
#

oh no

austere talon
#

wow I immediately regret it already

#

I love entitled people

lime stone
#

can you add a few checkboxes people need to press to create a discussion like with issues?

austere talon
#

I wish they would let u add an iq test for opening discussions

lime stone
#

yeah :<

charred monolithBOT
lime stone
#

oh god

#

i'll need to copy everything in to notepad

#

I forgot how unoriginal pretty much every discussion was though

charred monolithBOT
woeful sable
#

Is there anything to bypass discords character limit?

olive barn
#

no

austere talon
#

it's an inbuilt feature.

olive barn
#

wait we have splitmessages?

woeful sable
cunning canyon
#

no, send message as text file

olive barn
#

ohhhhh

woeful sable
#

How do you do that o-o

#

i aint wanna get notepad open 😭

austere talon
#

type more than 2k and it prompts you

median rapids
#

you can click the + -> send message as file

charred monolithBOT
oak hull
#

css thumbsup

charred monolithBOT
#

A plugin that lets you customize in which monitor Discord will launch in. For example, Discord always launches in my main monitor on startup and disrupts what I am doing and it's become very annoying because you are unable to move the window, until it loads. With a plugin like this, the Discord update prompt and main app will launch on my secondary monitor and, in either windowed or maximized mode.

lime stone
charred monolithBOT
charred monolithBOT
teal halo
#

oh no

spark cove
spark cove
#

πŸ”₯

grizzled halo
#

Do you know how to modify the css for a component?

#

Talking about ModalContent

spark cove
#

the easiest way would be to add a class if possible

#

or wrap it in a div and add a class to that if possible

#

atleast for the purpose of a plugin

grizzled halo
#

Nono this is for vc on it's own

#

The plugins' settings/about modal content does not have padding on the bottom

#

Can't send a pic too bad

spark cove
#

uh

#

lemme give u perms or smth

#

can u now

grizzled halo
#

The problem:

#

Problem element

#

CSS (padding-bottom) to fix

#

Result

#

Just the implementation in the code is my problem

#

πŸ₯Ά

spark cove
#

we use discord's components for that stuff

#

so its probably that we're just using it wrong rather than styling

#

oh god its cus discord relies on margin a ton

grizzled halo
#

I could do some selector magic

#

Selecting the second div child

olive aurora
#

.vc-text-selectable > [class^=content]

grizzled halo
#
.vc-text-selectable div:nth-child(2) {
  padding-bottom: 16px;
}```
spark cove
#

i think for consistency

charred monolithBOT
#

Original Description

Allows you to view recent messages in channels without switching to them.

How does it work?

Hover over an inactive text or voice channel, to show a preview of that channels text messages.

What should it do?

It should add a customisable preview window, so the user can change how long they need to hover over a text channel for it to activate, as well as changing the size and location of the channel preview window.

Plugin Settings:

  • Disp...
spark cove
#

you should just add margin bottom to the "no settings" text

charred monolithBOT
grizzled halo
spark cove
#

just in case linus torvalds stars vencord

olive aurora
#

he already did u missed it

grizzled halo
#

thats crazy

limber skiff
#

crazy?

olive aurora
#

nookies dont become one of those people

limber skiff
#

LOL

spark cove
#

my little brother keeps doing that to me

#

im going to strangle him

limber skiff
#

I'm sorry it's addicting

#

I can't forget about it

austere talon
limber skiff
#

oh no...

spark cove
#

3 days have passed

olive aurora
grizzled halo
austere talon
#

tias

spark cove
#

imo u should just add the vc-m-bottom-16 class to the settings div

grizzled halo
#

b-b-b-b how

#

this is a vc thing, not a plugin thing

austere talon
#

Margins.bottom16

spark cove
#

we have our own class colelction thing?

#

real

austere talon
#

ye

#

that's what those classes are

grizzled halo
#

How do I work it.

#

How do I add it

austere talon
#

we were originally using discords margin classes

grizzled halo
#

😭

austere talon
spark cove
#

the form section component will take a classname

austere talon
#

you should likely just leave it to someone else if u can't figure it out

grizzled halo
#

<ModalContent className={Margins.bottom16}> should this work then?

austere talon
#

stop asking so much

#

try it and see

grizzled halo
#

rip embeds

#

Yeah

spark cove
#

as long as it overlaps with other margins and doesnt like add to the existing margins

#

should be fine

#

ah i tried it and it does add to the other margins

#

i'll do the pr

grizzled halo
#

Is other language support planned?

spark cove
#

like internationalization?

grizzled halo
#

Sure

spark cove
#

we use discord's own translation stuff for some things already

#

idk if we plan on it maybe much later

olive aurora
#

we dont cuz f2k i18n

spark cove
#

true

olive aurora
#
Uncyclopedia

β€œIf y1u a1e t1e f3t p4n w1o c1n g3s t2s e4e m5e c7y, a1d p2t t1e a4r as a c5t in my b2g, I w2l s2d y1u a g3s b2t f2m t1e S4t.”~ T2s G1y on i18n
β€œIt's l2e a g3n-up v5n of l2t-s3k”~ T2t G1y on i18n

In c7g, I18n a1d l10n a1e m3s of a6g c6r s6e f1r n1n-n4e e10s, e8y o3r n5s a1d c6s. I18n is t1e p5s of e6g t2t an a9n is c5e of a6g to l3l r10s, f1r...

grizzled halo
#

Tripping.

spark cove
#

jesus

#

plugin that shuffles the middle letters of every word

olive aurora
#

@austere talon u should add js to text replace but make it so u need to toggle a hidden flag and if anyone talks abt it u ban them

#

easy

austere talon
#

but then removed it again

#

lmao

olive aurora
#

Vencord.Plugins.TextReplace.settings.__SECRET_INTERNAL_DO_NOT_ENABLE_OR_YOU_WILL_EXPLODE

#

wth when

grizzled halo
#

😨

austere talon
spark cove
#

wait what

austere talon
#

virus

#

what does that do

spark cove
#

why isnt it working

grizzled halo
#

delete it, not necessary

austere talon
#

So smart

spark cove
#

oh

#

LOLLLLLLLLLLLLLLLLLLLLLL

olive aurora
#

objec assin

#

ulg

spark cove
#

asd

#
Vrocend.Api.MegatneEssves.aetsiPdnLeSdedenrr((_, msg) => Ojebct.asigsn(msg, { cotnent: msg.cnetont.raecple(/[a-z]{4,}/ig, m => m[0] + slufhfe([...m.slcie(1, -1)]).jion('') + m.at(-1)) }))```
#

there we go

austere talon
#

terrible

spark cove
#

yuor wocelme

austere talon
#

i type like that without the listener aleesey

spark cove
#

simply ecnnahe yuor tiypng enexceipre

olive aurora
#

this snippet so epic

#

WHT

#

scammed

spark cove
#

sulhffe is left as an ecsxiree to the radeer

lime stone
#

they locked me in a room

austere talon
#

NO

olive aurora
spark cove
#

@olive aurora ```js
fctunoin sffluhe(aarry) {
let ctuerrenIndx = arary.lgnteh, ramdeIondnx;

// Wilhe trhee raeimn eetlnmes to sfhulfe.
wlihe (ctrnneuedrIx != 0) {

// Pick a rniinameg enelmet.
ronaednmdIx = Math.floor(Math.rdnaom() * cnuIrdteenrx);
cuIneretdrnx--;

// And swap it wtih the cnuerrt eelemnt.
[arary[cnernudretIx], array[rndaonIdmex]] = [
  aarry[rnIddoamenx], array[cIdnetnurrex]];

}

reutrn aarry;
}

lime stone
#

a rubber room

olive aurora
#

fcfution

lime stone
spark cove
#

im gnona sned all of my cdoe lkie tihs from now on

austere talon
spark cove
#

hroror sffluhe

austere talon
#

/run

const shuffle = s => s.split("").sort(() => 0.5 - Math.random()).join("")

console.log(shuffle("insanity"))```
vital lionBOT
#

Here is your js(18.15.0) output @austere talon

inisytan
spark cove
#

you know eevn tugohh taht rdaonm sukcs

#

its perfect for tynipg sulffhe

austere talon
#

it doesn't matter

spark cove
#

bceuase it has ltliocay

#

litocaly

#

lioltcay

#

llitacoy

#

lciotaly

#

latoicly

#

ltloicay

austere talon
#

it's a terrible shuffle yes but it works for most casessillycat

austere talon
nimble pendantBOT
spark cove
#

l o c a l i t y

lime stone
#

vban <@&1118512958293688412>en mod abuse

nimble pendantBOT
austere talon
#

vban <@&1015060230222131221>

nimble pendantBOT
lime stone
#

@<@&1118755617130156093>veryone

verbal pumice
lime stone
#

wh

verbal pumice
#

like me

lime stone
#

<@&1118755617130156093>veryone

muted osprey
#

wat de heck

austere talon
#

<@&1015060230222131221>

muted osprey
#

/run

console.log("meow")
vital lionBOT
#

Here is your js(18.15.0) output @muted osprey

meow
lime stone
#

do you need to copy the role id manually?

muted osprey
#

/run

let meow = () => {console.log("meow"); meow(); /* we meowing foreve :3 */}
vital lionBOT
#

Your js(18.15.0) code ran without output @muted osprey

muted osprey
#

lawl

austere talon
lime stone
#

<@&1015060230222131221>

#

:catquake:

#

<@&822066990423605249>

austere talon
lime stone
#

only works for current server

#

that's weird

verbal pumice
austere talon
verbal pumice
#

since technically everyone has the everyone role

#

even according to the api

#

iirc

austere talon
#

the at everyone role is a pseudo role that every member has but is hidden from the ui

#

it's how the everyone permissions work

#

its id is simply the guild id

#

obviously it won't work in other guilds because those guilds don't have a role with that id

lime stone
#

why not @&0 or something

#

I guess this way it's server-specific...

#

ping everyone using discord

lime stone
#

introducing @keen dagger

#

aka discord logic

charred monolithBOT
grizzled halo
austere talon
#

fear

lime stone
#

I'm sorry for the pain I have induced

charred monolithBOT
spark cove
#

@olive aurora find a way to use the github api to open a review for every changed line with a suggestion to revert it back to normal

#

i will commit them all

spark cove
#

ITS REAL

#

holy shit that one is so much better all the files are individual commits

grizzled halo
lime stone
#

anyway to use ref on a jankcord component?

spark cove
#
git remote add burger https://codeberg.org/Ven/cord
git fetch burger c510be73c81561c4be1f5ac7cffbff625de55a08
git checkout c510be73c81561c4be1f5ac7cffbff625de55a08
pnpm build

wow this sped up my discord by 100000% @olive aurora

#

should be merged

austere talon
#

what is that commit

lime stone
austere talon
#

why do you need a ref

lime stone
#

to work out the width of a component

#

(the guild list)

#

or otherwise work out when hover is lost

charred monolithBOT
teal halo
#

top bar looks ugly

#

no top bar >

tawny cipher
#

😦 clipboard screenshot

charred monolithBOT
digital kiln
#

Is there a plugin where i can see if people have read my pms or not?

oak hull
#

no

#

discord does not store that api data so you cant make it either

digital kiln
#

okey

charred monolithBOT
austere talon
#

oh my god shut the fuck up

#

off again

lime stone
#

pain

#

okay, fair enough :P

#

I didn't actually ask for it to be turned on

austere talon
#

dw

#

not ur fault people are annoying lmao

tawny cipher
verbal pumice
#

i swear it was

austere talon
#

10

tawny cipher
#

not yet, my pr is still bork wumptoast

nocturne haven
#

there's a function in DiscordNative to just not make discord receive information that you're idle

#

I think it's processMonitor

charred monolithBOT
digital kiln
#

This may sound a bit strange, my friend said that another guy used vencord and he could see people's location, surely there is no such plugin?

teal halo
#

no theres not

#

and that other guy is lying

digital kiln
#

yea thats what i thought aswell

teal halo
#

or at least he’s not using just vencord

digital kiln
#

yea

charred monolithBOT
nocturne haven
#

thats just some internet kiddo that is trying to scare you, just don't worry

digital kiln
nocturne haven
#

ah so you're not the victim, you're trying to scare someone, gotcha

digital kiln
#

nah

austere talon
#

it probanly shouldn't be too hard to reactivate discords own bar on vesktop

#

will look later why not

spiral pier
#

maybe im blind but is there plugin for complete timestamps?

teal halo
#

vns

nimble pendantBOT
spiral pier
#

mb soz

charred monolithBOT
lime stone
#

I commited it 😭

#

is this a goodish approach? (of course i need to unhardcode the magic 68)

nocturne hazel
lime stone
#

wait I just realised I'll probably be copying the same code for most things

#

I don't want to OOP it

charred monolithBOT
austere talon
#

idk why it said that

#

i didnt even force push lol

charred monolithBOT
limber skiff
fleet depot
#

Vs mac

nimble pendantBOT
fleet depot
#

Mmm not quite

austere talon
#

oh

limber skiff
#

it's inconsistent with plugins

austere talon
#

ye

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
olive barn
#

where can you access flux from devtools?

austere talon
olive barn
#

looking to add a setting to customrpc to prioritize other activities

olive barn
#

oh my god it already does that im dumb

#

nevermind

charred monolithBOT
charred monolithBOT
#

discord-screenaudio isn't really relevant here because it doesn't use electron

the two pickers one for screens one for monitors is an electron issue that's supposedly fixed, but apparently not in the latest release. the multi step picking where you first pick window in the pipewire picker then inside discord is our issue

summer fiber
#

(real)

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
royal bane
#

vencordx

woeful sable
#

is there a custom timestamp plugin?

#

😒

charred monolithBOT
charred monolithBOT
charred monolithBOT
tame escarp
tawny cipher
#

breh

charred monolithBOT
austere talon
#

anyway I feel like that person has never even tried bun in their life and just heard its the new trend

#

isn't it still not on windows catstare

tame escarp
#

you shouldve just said no again

austere talon
#

LOL

#

true

austere talon
tame escarp
#

if they did actually PR a bun version somehow would you accept (do not)

austere talon
#

no lol

tame escarp
#

πŸ”₯

#

that was the correct choice

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

why does the themes tab pr remake cards from scratch

#

instead of reusing the plugin ones

#

this is painful

fleet depot
#

hm 'pog' is not the emotion i think of when seeing that emoji

charred monolithBOT
limber skiff
#

keep a way to load themes online

austere talon
#

ofc

limber skiff
#

it's kinda good tbh

austere talon
#

just removed the instructions

#

cause its useless

limber skiff
#

i see i see

austere talon
#

from here

limber skiff
#

okay nice

fleet depot
#

and they already have so much trouble with where the raw link is

#

oh are we just gonna tell them from now on

  1. download the css file
  2. place in folder
mental lotus
#

which one is better

#
style.textContent =
    settings.store.hideMessageContent
        ? `:is(${elements}) { display: none !important; }`
        : (settings.store.hideMessageContent
            ? (`:is(${elements[0]}) span, :is(${elements[0]}) code, :is(${elements[0]}) ul { display: none !important; }
           :is(${elements[0]})::after { content: "Message hidden"; color: var(--text-muted); font-size: 80%; }`)
            : "") +
        (settings.store.hideAttachments
            ? `:is(${elements[1]}) [class*="embedWrapper"] { display: none !important; }
             :is(${elements[1]})::after { content: "Attachments hidden"; color: var(--text-muted); font-size: 80%; }`
            : "");```


or 

```tsx
if (settings.store.hideMessageContent) {
    style.textContent += `
    :is(${elements}) {
        display: none !important;
    }`;
} else {
    if (settings.store.hideMessageContent) {
        style.textContent += `
        :is(${elements[0]}) span, :is(${elements[0]}) code, :is(${elements[0]}) ul  {display: none !important;
        }
        :is(${elements[0]})::after {
            content: "Message hidden";
            color: var(--text-muted);
            font-size: 80%;
        }`;
    }
    if (settings.store.hideAttachments) {
        style.textContent += `
        :is(${elements[1]}) [class*="embedWrapper"] {
            display: none !important;
        }
        :is(${elements[1]})::after {
            content: "Attachments hidden";
            color: var(--text-muted);
            font-size: 80%;
        }`;
    }
}```
#

lmaoo

teal halo
teal halo
#

in this case you used the wrong settings var in both scripts at the beginning

charred monolithBOT
teal halo
#

apart from that id say the second one, it’s way easier to read

#

cant you just add a class to the messages and define them in a css file?

#

instead of hardcoding css into them

#

would also make it easier to make messages re-appear

mental lotus
#

hmm

charred monolithBOT
oak hull
#

beautiful

teal halo
#

perfection

tawny cipher
#

bd ads

#

:/

teal halo
#

vencord.dev/themes-store when

tawny cipher
#

replace all bd mentions in themes with shiggy πŸ‘

royal bane
#

i had like 6 theme links with chars infront to stop them from loading so this will help

charred monolithBOT
austere talon
#

would be funny

teal halo
#

lmfao

digital kiln
austere talon
oak hull
#

its different

austere talon
#

anyway now there is proper hover

oak hull
#

beautiful (2)

teal halo
#

push to main and watch it break

charred monolithBOT
fleet depot
#

🫑

austere talon
#
watch(THEMES_DIR, () => {
  console.log("hi")
})
#

for some reason this wont work πŸ˜”

#

oh cause im dumb

#

this is desktop only code

charred monolithBOT
austere talon
#

how do we detect whether we're inside userscript

royal bane
#

kindly ask the user

austere talon
#

eh iots whatever for now

charred monolithBOT
turbid hatch
#

@austere talon feature request catExplode

#

for pindms

#

categories πŸ™

#

yes i know someone suggested it before

#

but i do actually have a use case and its because i have group chats for projects and friend groups, so mixing them together is a bit of a headache when i like having both pinned

charred monolithBOT
austere talon
turbid hatch
#

girl

#

fineeee

charred monolithBOT
#

268f3a1 add bottom margin to settings section (#1616) - Vap0r1ze
d3691f7 chore: Fix greetStickerPicker file name (#1610) - AutumnVN
3e7d4e2 make QuickCSS have priority over themes - Vendicated
885ad13 fix(cloud): cross-client enabling without prope... - lewisakura
2131885 fix: open links externally in Quick CSS editor ... - ryanccn

austere talon
#

@olive aurora codeburger review soooooo slow

olive aurora
#

ITS LITERALLY ONLY WHEN YOU NEED TO REVIEW

austere talon
#

😭

olive aurora
#

im gonna mail u patches @austere talon

austere talon
#

yop

#

do

#
/*
 * Vencord, a Discord client mod
 * Copyright (c) 2023 Vendicated and contributors
 *
 * SPDX-License-Identifier: GPL-3.0
 */
#

this header kinda bad

#

better

olive aurora
#

fiiiiiiiiine

austere talon
#

nah actually

#
/*
 * Vencord, a Discord client mod
 * Copyright (c) 2023 Vendicated and Vencord contributors
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
#

i think this is good

olive aurora
#

yea i dont like spdx at the top

#

lso according to their spec it can be anywhere in the first block comment

austere talon
#

ye

#

isnt non later deprecatedddd

olive aurora
#

goood

#

yes

austere talon
#

the old headers already contain or later

#

will this change hjeaders in any file that is edited?

#

like

#

if i edit a file later the header will change

olive aurora
#

nope only new files

austere talon
#

ah

#

then why does the pr change some random files header

olive aurora
#

oh cuz it didnt have a valid old header

#

missing author

austere talon
#

trollage

#

oh yeah one thing

#

does ur pr allow changing author

olive aurora
#

yus

austere talon
#

nice

#

cause thats techjnically an option for plugin devs

#

tho noone does it

olive aurora
#

u can run pnpm lint on the entire thing i tested lol

austere talon
#

:q

austere talon
#

but thanks i luv da new headers

mortal fractal
#

when tf did i delete my vencord fork

charred monolithBOT
austere talon
austere talon
austere talon
olive aurora
#

oh wait u mean rebase with main

mortal fractal
oak hull
#

doesnt that already exist

austere talon
#
.threadSuggestionBar-3ExSyc {
    display: none;
}
#

this works fine i think?

#

works for me

oak hull
mortal fractal
#

if you want css preferred then i guess ill close it

oak hull
#

should work

olive aurora
#

yh

austere talon
#

jumpscare

olive aurora
austere talon
#

okay fire

olive aurora
#

pr close wr

charred monolithBOT
mortal fractal
spark cove
#

omg real cynthia here

mortal fractal
#

real

austere talon
#

powercord cynthia

spark cove
#

wrong

teal halo
lime stone
#

lol

#

is devilbro still banned?

verbal pumice
#

why would he be unbanned

lime stone
#

lol

#

what did he do?

verbal pumice
verbal pumice
#

im 90% sure he never joined in the first place

lime stone
#

isn't strencher here?

austere talon
lime stone
#

they're a bd admin

#

worst crime

austere talon
#

why

olive aurora
#

theyre sane

austere talon
#

bd is fine

spark cove
#

stencher is chill

lime stone
#

seriously though, why was devilbro banned?

#

i heard it was for betterdiscord reasons lol

spark cove
#

nobody who writes that code should be allowed near vencord

lime stone
#

ah

olive aurora
#

u called him a nobody wth

spark cove
#

u r making me question english

olive aurora
#

vap is so mean

verbal pumice
#

i am nobody blobcatcozy

spark cove
lime stone
#
// swap log and error because idk how to use find and replace
const { log } = console;
console.log = console.error;
console.error = log;
#

quality

austere talon
#

u dont need to reply to every comment lmao

#

unless u disagree with it

teal halo
#

oh my god

charred monolithBOT
marsh cave
#

i am vencord reporter (real)

charred monolithBOT
charred monolithBOT
limber skiff
#

wait

#

is reporter working

#

I feel like it's been a while since I last saw it

charred monolithBOT
austere talon
#

LOL

#

did my account get banned or smth

#

oh shit

#

rip reporter

limber skiff
#

what's the issue 😭

austere talon
#

it fails to load some chuinks

limber skiff
#

idk how to fix that ☠️

mortal fractal
#

trying to make markdown api but running into race condition exterminated

olive barn
#

just win the race silly

barren swallow
#

How do u use vencord

teal halo
#

u don’t

charred monolithBOT
round gust
#

When will

#

Relationship viewer ever ever reviews

olive barn
charred monolithBOT
charred monolithBOT
mortal fractal
#

i am sorry for whoever has to review this

woeful sable
#

oh wow cynth blobcatcozy

#

holy shit

#

probably element

#

element uses matrix protocol

jagged cloak
#

noww good luck getting that reviewed

tame escarp
#

(probably never)

jagged cloak
#

i will test now

#

since i have been using keyword alerts draft pr since it was made

#

surprised i have had zero conflicts updating with all the extra stuff i add to main branch

austere talon
#

cute

charred monolithBOT
fleet depot
#

oo i love keywords

#

good plugin

swift fjord
#

stealing my plugins smh my head

austere talon
#

god

#

ill have to look tomorrow

feral crater
#

Have y'all ever heard of the Doom 2 mod called my house.wad?

sharp nebula
#

the platform emulator plugin got rejected? 😭 what does that mean security of user? i dont really care about spoofing my platform, i just want to appear on mobile and have the little phone icon while on PC

austere talon
#

need it for upcoming feature I wanna add

#

plugin description markdown

solemn glacier
umbral hedge
#

thank u -1

feral crater
#

πŸ·πŸ—Ώ

proven sandal
#

Any tutorials to create a custom discord theme using css?

proven sandal
#

Lol ty

charred monolithBOT
mortal fractal
#

i wonder if autumn will move to it for their color plugin

median rapids
# charred monolith

unfortunately, because of guild subs, you don't get message creates for large guilds you haven't visited (unless the messages affect your read state)

charred monolithBOT
rare shale
#

@verbal pumice how do i ping nyaboom

#

(manually play the ping sound)

verbal pumice
#

no idea