#๐Ÿงฉ-plugin-development

1 messages ยท Page 18 of 1

tight epoch
#

Ah alright, nicenice

tight epoch
tight epoch
#

Ack bomk

#

But yeah, I think it'd look great to have something like that on the border there

lapis fable
#

could you maybe send me the css you have already, so i can build on top of that?

tight epoch
tight epoch
# lapis fable could you maybe send me the css you have already, so i can build on top of that?

Uhhhh if you really want it then I sure do hope you have nothing against the absolute mess that it has become. I change it often to make minor adjustments, and not to mention I've completely forgotten and neglected proper organization within the script. It has wayy less commenting than it should have, and wayy too many parts that are just mashed together into giant selector abominations just to set them all to one specific background or something-

lapis fable
#

yea thats not better than my css so its alright lol

tight epoch
#

But sure I'll send it if you want it lol, and to clarify it's more or less just a greatly modified version of the Rounded Dark BD theme

tight epoch
#

There ya go, hope it's not too painful to look at firY

lapis fable
#

im just gonna put this in my quickcss file for now

tight epoch
#

Yeah that's what I did, I just put it into a .css on my OneDrive to move it between my laptop and my desktop PCs. Thinking of putting it somewhere where I can get a direct link instead so I don't have to manually transfer it, and instead just have the latest version available anywhere I may need it from

lapis fable
#

yoo i like this theme

#

looks p cool

#

altough this thingy is broken

tight epoch
#

Eyy thanks! Yeah I really enjoy how it looks so far

tight epoch
#

It's broken because I use a typing indicator toggle plugin, and since you don't have it, it's pushing it out further than it should be pushed out

#

That plus I wanna figure out a good way to make the sidebar have some sort of icon there that actually indicates "hover over me to reveal the buttons yesyes"

lapis fable
#

this is also broken

tight epoch
#

guh
Yeah I've made wayy too many parts have their dimensions depending on pixels rather than % and cqw, think I fixed that on the text field buttons but I've yet to test fully

#

Ok nvm idunno if cqw will work either, uhh I'll have to keep working on that tho lol

tight epoch
lapis fable
#

figured

tight epoch
#

I mean glad I'm getting feedback on it then Thumsup

lapis fable
#

could u maybe tell me at what line the thing is that colors the border of this part

tight epoch
#

Uhh row 162-4 has that in it, it's been completely butchered and doesn't work in the version I sent you but it's there

lapis fable
#

k thx

tight epoch
#

Np :>

lapis fable
#

could you maybe send me the version from this screenshot

tight epoch
#

Uhhh just switch 162-164 out for this

    border-left: 3px solid var(--blurple);
} ```
hasty stag
#

oh @dull magnet i tried it on an embed and it did break it

#

was that what you meant by attachment

tight epoch
#

Wooo, alr fixed the text field buttons I think

lapis fable
#

neat

tight epoch
#

Ok very close but not quite, there's still a very small bit that allows you to put it between its open and closed states. Only like 10px or so, but still

tight epoch
#

Wooooo fixed it, now it works no matter the window/text field width, and no matter the button bar width Thumsup

lapis fable
#

cool

lapis fable
#

why doesnt has work

#

if discord is literally using it themselves

#

huh

woven lion
#

it used to not work because stable was on 13

lapis fable
#

hmmm

#

how do i check what version of electron my discord is using?

ionic breach
#

go to settings and scroll down to the bottom

lapis fable
#

how do i update without resetting literally everything

#

meh im just gonna patch again

ionic breach
#

you can do an export & backup

#

but i don't think updating will reset stuff? unless updating clears those files

#

but they're safely in vencord, not electron

chrome elbow
ionic breach
#

ohh

#

confused what you meant by update

chrome elbow
#

wait but not settings iirc

lapis fable
#

yea im probably gonna need to repatch

ionic breach
#

repatching should keep all your settings, ive repatched a bunch

dull magnet
#

if you're still on electron 13 just use Vencord desktop

#

vencord desktop uses electron 23

lapis fable
#

i am on desktop?

ionic breach
#

vencord desktop... isn't it unfinished

dull magnet
#

nono

dull magnet
#

I'm using it already

ionic breach
#

neat

dull magnet
#

it's pretty nice if u don't care about vc / keybinds

#

(gonna fix vc probably)

ionic breach
#

i do like ctrl+k

#

that's the one keybind i use all the time

dull magnet
#

nono

#

those should work

#

I mean the keybinds page

#

where u can add custom keybinds

ionic breach
#

ah i see

tight epoch
#

I've been using the desktop version for a while with the biggest issue being stuff such as esc just not working sometimes, though full restarts seem to fix it and it's not like it takes a long time with OpenAsar-

dull magnet
#

(we're talking about Vencord Desktop not Discord Desktop)

tight epoch
#

O-

dull magnet
tight epoch
ionic breach
#

every time it does hit the corner you get one singular moment of insight ๐Ÿ’ก

tight epoch
#

Exactly, she gets it

lapis fable
#

i just failed at entering my two factor authentication code multiple times

tight epoch
#

A fellow dvd screensaver braincell haver I see firY

lapis fable
#

one reinstall later

#

WHY THE F-

#

electron is still on 13.6.6 ;-;

dull magnet
#

Vencord Desktop nyaboom

worldly tree
#

very cool

#

But cool button not work for me :(

dull magnet
#

ye

#

its broken rn

#

will fix soon

worldly tree
#

Where is settings file located?

dull magnet
#

actually

#

its already fixed

#

just not released

dull magnet
worldly tree
#

Should I just make it myself?

lapis fable
dull magnet
#

but i fixed it already

worldly tree
dull magnet
#

not Local

worldly tree
#

Ohhhh

#

ty cutie

dull magnet
#

but i already fixed :3

worldly tree
#

It's nice that Vencord Desktop actually loads stuff at a decent speed

dull magnet
#

yee

worldly tree
#

now I can check out Vencord Server twice as fast :D

tight epoch
#

Tbh patched desktop with OpenAsar is pretty fast too, and I've had wayyyy fewer performance and stability problems with it than I've had with BD-
If Vencord desktop is even better tho then I'll definitely have to give it a go

worldly tree
#

I'll test out OpenAsar

tight epoch
#

OA honestly makes patched desktop ridiculously quick and responsive all things considered, like full restarts well take me at most like 10-15sec

dull magnet
#

but missing some features

tight epoch
tight epoch
dull magnet
#

OA makes it better but Discord Desktop is such a slow sluggy mess

#

impossible to make super fast

tight epoch
#

True

dull magnet
tight epoch
#

OA makes it bearable tho

#

Ah oof

dull magnet
#

well

#

it depends what things u need

#

I'm using it rn and it's good enough for me

#

:P

worldly tree
#

As long as I don't vc I don't think I'm gonna hit any problems tbh

tight epoch
#

Yeah fair lol
Eh I'll give it a try and just switch back if I don't find the trade-off to be worthwhile

#

Hmm is it possible to have both Vencord desktop and patched desktop at once?

#

Or would one have to be canary or something?

worldly tree
#

yes both possible

worldly tree
tight epoch
#

Alright, then I can have both, use Vencord desktop for most things, and switch over to patched when I need to do something where patched would work better

worldly tree
#

@dull magnet do Activities work on Desktop btw?

dull magnet
#

rich presence u mean?

chrome elbow
lyric cosmos
#

ah yes, spacewar

worldly tree
dull magnet
#

works

#

tias :P

#

voice itself is broken tho

#

for now

lapis fable
#

ok so update i switched to canary as a temp solution

dull magnet
#

if patch is so good then why didn't they make a patch 2: cerealhewillnever

cerealholyshidd

amber condor
#

Has the game activity quick toggle been ported yet?

viral roost
#

yes

amber condor
#

hot

#

lol wut

#

hmm probably because discord updated

#

reinstilling fixed it

opal fern
#

Yeah discord broke shit

#

But should be all good now

cedar marsh
#

I still cant figure out how to get this color picker component.

dull magnet
cedar marsh
#

It took me too long to get my dev env working again, sorry for the stupid late reply

dull magnet
#

I wrote that patch a few days ago and when I tested it it worked :P

cedar marsh
#

don't know what to say, is clicking the test patch button right above the patch not correct?

cedar marsh
#

Ok I figured out why the patch is being stupid

dull magnet
#

you might be using outdated vencord where the companion extension had a bug

#

it wasn't removing newlines

cedar marsh
#

It doesn't load the code to patch until you open the profiles page

dull magnet
#

oh

#

that too lol

cedar marsh
#

how do I fix that?

#

{forgive the low fps, I was trying to get a better recording after seeing how shit this one was}

#

I don't see any updates in the installer or vencord itself, and I made sure I wasn't using the devmode thing again

#

also, once this patch works, how would I use the component in my code? Would it be as easy as <ColorPicker />, and telling eslint to shut up about it not existing?

dull magnet
#

this.ColorPicker

cedar marsh
#

how do you use this in jsx?

cedar olive
#

btw remove the space in your plugin name

#

show me your component code @cedar marsh

cedar marsh
# cedar olive show me your component code <@280411966126948353>
const settings = definePluginSettings({
    color: {
        // TODO: Switch to using discord's color picker
        description: "hex code uwu, don't include a # because that will fuck shit up",
        type: OptionType.STRING,
        default: "313338",
        onChange: updateColorVars
    },
    temp: {
        type: OptionType.COMPONENT,
        description: "tempuwu",
        component: () => <this.ColorPicker
            color={settings.store.temp}
            onChange={console.log}
            showEyeDropper={false}
            suggestedColors={colorPresets}
        />
    }
});
cedar olive
#

oh

cedar marsh
#

I am trying to get access to the colorpicker component. but it isn't exported (according to ven a while back)

cedar olive
#

no idea what's this in definePluginSettings

#

you could do another approach though

#

look at how showhiddenchannels use some of it's components

#

especially the ChannelBeginHeader

cedar marsh
# cedar marsh

is the patch not working until you go to the profiles page not a problem?

cedar olive
#

it is a problem

#

I'm pretty sure there is a way to load that module manually

#

ven might know better

dull magnet
#

I'd just use a setter

dull magnet
#

when you open settings it loads profile

#

as first thing

#

So if you only use it in settings it should always be loaded

cedar marsh
# cedar olive look at how showhiddenchannels use some of it's components

showhiddenchannels doesn't take any components and define them into the self.{componentname} scope the same way ven's patch for me did
using \$self\.\w*= to find plugins that do I think messagelinkembeds is promising as a way to use it

    patches: [
        {
            find: ".embedCard",
            replacement: [{
                match: /function (\i)\(\i\){var \i=\i\.message,\i=\i\.channel.{0,200}\.hideTimestamp/,
                replace: "$self.AutoModEmbed=$1;$&"
            }]
        }
    ],

    set AutoModEmbed(e: any) {
        AutoModEmbed = e;
    },
dull magnet
#

yes

dull magnet
cedar marsh
#

(I have no idea what a setter is in this context) :p

cedar marsh
#

now clicking into settings gives a very fun crash

#

only thing needed to trigger that is

    set ColorPicker(e: any) {
        this.ColorPicker = e;
    },
#

recursion?

#

how do I stop it infinitely setting colorpicker as colorpicker?

#

there doesn't seem to be any extra code for set in messageLinkEmbeds that I don't have

dull magnet
#

remove the this :P

cedar marsh
#

oh

dull magnet
#

the idea is that it's stored in a top level variable

cedar marsh
#

I am blind thanks

dull magnet
#
let ColorPicker: ComponentType = () = null;

definePlugin({
  set ColorPicker(c) {
    ColorPicker = c;
  }
})
cedar marsh
#

hell yea

cedar marsh
#

I am not sure why the presets aren't rendering correctly

worldly tree
cedar marsh
#

fixed presets

#

now I just need to make it automatically flip you to light theme when you select a color that doesn't match your currently selected theme

dull magnet
cedar marsh
#

its the old client theme experiment

#

Vencord doesn't sent light theme HSL vars if you are in dark theme

#

I gotta regen my lightness offsets when someone changes theme

#

there isn't even a light/dark theme class anymore

next stone
#

ah, another person using the funny colour picker harold

#

I should really fix up that PR and submit it

cedar marsh
#

I can't figure out how on earth discord gets it's light mode colors

#

the --primary-xxx-hsl vars don't change at all when you switch themes

rotund roost
cedar marsh
#

thats what the experiment used to look like

amber mantle
#

oh that pre client theme client theme

cedar marsh
#

light mode 530-hsl

--primary-530-hsl: 227 calc(var(--saturation-factor, 1)*6.5%) 27.3%;

dark mode 530-hsl

--primary-530-hsl: 227 calc(var(--saturation-factor, 1)*6.5%) 27.3%;

HOW

#

I don't get it

#

the variable doesn't change when you change your theme

#

and yet the variables that inherit from it do?!

dull magnet
#

skull issue

#

i mean

cedar marsh
#

๐Ÿ’€

dull magnet
#

overlay colours

#

:P

cedar marsh
#

is light mode just overlay colors now

#

fucking hell that is going to make this 10x harder

#

does light mode actually fucking look this bad or is something wrong with my discord

lapis fable
#

its actually this bad

cedar marsh
#

ah

#

I guess I just won't support light theme

#

back when I originally wrote my css only version of this code it still worked perfectly for light theme

cedar marsh
amber condor
#

huh

#

pnpm is not recognized by my shell anymore

cedar marsh
#

the full clienttheme experience

shrewd yacht
#

nice

lyric cosmos
dull magnet
#

api spam

lyric cosmos
#

damn

inland pier
#

Anyone got a good tutorial series for ndk+cpp interop for mobile games?

limber nimbus
# cedar marsh

couldnt you replicate this with a theme with a hue variable and you set sat and lightness values per color

ionic breach
dull magnet
#

@green vessel when u ban someone with delete message option on and it deletes their welcome message the bot welcomes them

green vessel
#

mm

#

could check if the user is still in the server maybe

dull magnet
#

i just reverted the commit

#

slightly too silly trolley

green vessel
#

smh

hasty stag
#

how can i make a context menu appear where i rightclick on a react element

dull magnet
hasty stag
#

yes

hasty stag
#

ok i found code for it on spotify controls

dull magnet
#

yea

cedar marsh
#

But it's also more resilient to discord adding more color vars, because it dynamically generates them

rotund roost
tight epoch
# lapis fable this is also broken

Let's goooo I think I got both of those fixed! I can port over your progress from yesterday and send the new version if you want it, then maybe you can test it as well to see if it works for you too
Sorry for the ping btw, but uh yeah firY

tight epoch
#

Should I port your stuff and send it? *Waaiit I just realized this messed up the whole profile container's position, uhh that should be a quick and easy fix tho-

lapis fable
#

lol

#

yea port my stuff and send it once you get that fixed

tight epoch
#

The whole profile container literally just moved like 5px to the left lol, fixed it by making left margin 5px and right margin -5px, seems to work just fine soo Thumsup

#

And sure thing, I'll do that now yesyes

lapis fable
#

(btw im working on my own theme rn)

tight epoch
#

Oh? Eyy nice

lapis fable
#

im still trying to mess with discord's layout

#

color is less important for me rn

#

this is what i have rn

tight epoch
#

Ooh nice

#

Also sending the new version in dms now :>

tight epoch
#

Ahh das hot

lapis fable
#

This is still very work in progress.

amber condor
lapis fable
#

DEBUG COLORS

#

PLEASE JUST STOP

lapis fable
#

THESE COLORS ARE FOR F*CKING DEBUGING

#

PLEASE JUST LET ME ALONEEE

amber condor
#

ikik...

tight epoch
#

This kinda feels like an equivalent to "I ain't readin allat" but for themes lmao

lapis fable
#

lmao

dull magnet
lapis fable
#

once its done lol

woven lion
#

jaeger

#

you're in charge of making the hotdog stand theme for discord

#

i hope you do me proud

dull magnet
#

true

tight epoch
#

Dear god I have made an abomination out of this "hey I'm new" icon

lapis fable
#

my windows is blowing up because of all these notifications

tight epoch
#

O boi

lapis fable
#

worst feature to ever exist

#

f*ck you discord

tight epoch
#

Ok that's a bit more modest

#

Screw it I'm keeping that lmfao

lapis fable
#

how the f*ck do i get this ugly icon of my username

tight epoch
#

Idk stay in the server for like a week? I have no clue how long it stays

viral roost
#
[class*="newMemberBadge-"] { display: none; }
``` or wait a week
tight epoch
#

That too yeah

#

Though that's clientside only

oblique lark
#

serverside css when /hj

tight epoch
#

One of the ever

tight epoch
#

Imagine

viral roost
#

change everyone's profile picture to trolley

tight epoch
#

It's perfect

oblique lark
#

change everyone to mcdonalds red theme

tight epoch
#

Ah yes lmao

dull magnet
tight epoch
#

Wait really? Huh

lapis fable
#

ok ill see ya in like a few mins

tight epoch
#

That's good to know, thanks for that Thumsup

lapis fable
#

im leaving

dull magnet
#

yes because discord doesn't know how to code

tight epoch
fervent flowerBOT
obsidian beacon
#

guess i'll leave this server again ๐Ÿ˜”

dull magnet
#

make the bot properly reply when

tight epoch
#

๐Ÿ˜ค

obsidian beacon
#

can we webhooks reply?

viral roost
#

when discord allows webhooks to reply (never)

dull magnet
#

skull issue

#

simply do it anyway

tight epoch
#

๐Ÿ’€

dull magnet
tight epoch
obsidian beacon
#

no we in there my brain is empty

viral roost
#

just set up selfbots to reply

obsidian beacon
#

that doesnt scale at all ;w;

tight epoch
#

Imagine having multiple personalities in the same brain
This post was made by brainless gang

oblique lark
#

what would be the funniest emoji to use here

lapis fable
#

i have returned

woven lion
#

what

lapis fable
#

finally

#

its gone

obsidian beacon
woven lion
#

AHHHHHHHHHHHHHHH

#

no

oblique lark
tight epoch
obsidian beacon
#

i edit my messages a ton before sending and then forgor to give it a last proofread

woven lion
#

ye same :<

lapis fable
#

@tight epoch

#

i am back

obsidian beacon
tight epoch
#

wb btw

obsidian beacon
#

pick your poison

tight epoch
lapis fable
#

lmao my discord literally just bluescreened

tight epoch
#

Oh gosh lol

lapis fable
#

because of my blue bg debug color

tight epoch
#

O lol

tight epoch
#

Yeah that makes sense

obsidian beacon
#

:(

tight epoch
obsidian beacon
#

the :(

tight epoch
#

:(

dull magnet
#

lookWhatTheyTookFromUs can u turn this into salute

woven lion
#

thats great

obsidian beacon
tight epoch
obsidian beacon
dull magnet
#

I need an invite to that server

tight epoch
#

@wraith tree Sorry if I'm bothering you but are you okay with me putting up a modded version of the CSS snippet you posted?

dull magnet
#

Read the css snippets channel topic

tight epoch
#

I should've done that yeah

obsidian beacon
tight epoch
dull magnet
tight epoch
#

a- fair yesyes

dull magnet
#

wait why did u delete ur message

dull magnet
#

Emma these emotes are so cursed

obsidian beacon
#

svg has been a mistake for all of humanity because i can make so much garbage with it

lapis fable
#

[object Object], my favourite

dull magnet
#

what's that

obsidian beacon
obsidian beacon
#

known for knife stabbings

dull magnet
#

oh nice

tight epoch
# tight epoch a- fair yesyes

Still I prefer getting permission from whoever's work I build off of, at least when it comes to something like this

dull magnet
#

not nice nvm

obsidian beacon
#

bdkdbfskdn

#

it's kind of a meme

dull magnet
lapis fable
obsidian beacon
#

"komm reumannplatz ohne treten"

dull magnet
#

mit treten

lapis fable
#

hilfe

obsidian beacon
#

bfidbdsj

#

end goal: get out of vienna

#

reletable tho tbh ahahah

#

relatable*

lapis fable
#

ich packe schon meine koffer ๐Ÿ˜ณ

woven lion
#

escape from vienna

#

the new game from the creators of tarkov

obsidian beacon
#

๐Ÿฅบ

dull magnet
#

real

#

going to Vienna to eat a Wiener schnitzel

obsidian beacon
#

Going to Frankfurt to eat a frankfurter sausage

obsidian beacon
#

going to hamburg to eat a hamburger

dull magnet
#

I was about to say that haha

lapis fable
woven lion
#

going to london to get stabbed

obsidian beacon
#

going to berlin to eat a...krapfen >:(

dull magnet
#

do you know what Maultaschen are emma

obsidian beacon
#

yes

dull magnet
#

niiice

obsidian beacon
#

roughly

#

i have german friends lmao

dull magnet
#

Also tbh I didn't know u spoke German pleading_salute2

lapis fable
#

ich fรผhle mich ignoriert

obsidian beacon
#

i dont think i talked too much about it back then

dull magnet
#

without ever knowing that

obsidian beacon
dull magnet
woven lion
#

aber ja natรผrlich hans ist nass er steht unter dem wasserfall

dull magnet
#

true

obsidian beacon
dull magnet
#

uhh

#

when it was doomed already essentially

obsidian beacon
#

hmm ic

dull magnet
#

I joined fairly late compared to most other people

obsidian beacon
#

i joined in like 2018-19 i think

lapis fable
dull magnet
#

I think late 2020 or early 2021

dull magnet
obsidian beacon
#

o wow yeah i was barely active then

dull magnet
#

coding up some schnitzel

lapis fable
#

yes ckearky

obsidian beacon
#

summer 2020 i left for a while even

covert onyx
lapis fable
#

what

#

clearly*

tight epoch
#

codeing sunglase

covert onyx
#

vencoRding

dull magnet
dull magnet
#

how popular is Dรถner in Austria

lapis fable
#

||theo schuldet mir noch ein bananenbrot /j||

lapis fable
limber nimbus
#

doner kebab

opal fern
obsidian beacon
#

and it is a lot cheaper than in germany

#

4 years ago you could get a good dรถner for under 3โ‚ฌ nowadays it is like 3.50โ‚ฌ at my usual place

opal fern
#

That isn't that bad of a hike

#

My usual kebab costs 4 euro

cedar marsh
obsidian beacon
#

but
dรผrรผm > dรถner pleading

tight epoch
#

Wehhh Discord keeps logging me out out of nowhere

#

Seems to only be with dev tools open tho, strange

dull magnet
#

4 years ago u could get Dรถner for 3 bucks here as well

#

but now it's usually 6โ‚ฌ

obsidian beacon
#

well

dull magnet
#

or even more

obsidian beacon
#

my place had a deal to get a dรถner and drink for 2.90โ‚ฌ for YEARS

tight epoch
#

How tf do yall have such cheap food-

obsidian beacon
#

thats why it is so popular here

#

it's comparatively healthy for fast food, good and really cheap

tight epoch
#

Here in sweden it's like 90-110SEK / ~โ‚ฌ8-10 for a kebab meal how much am I being scammedddd

obsidian beacon
#

well

#

in vienna you have a dรถner place every few houses
the market is really competitive here

tight epoch
#

Gawd dam

opal fern
#

Here the kebab places aren't too competitive, due to there being only 6-7 in the city

#

One time I went to my usual spot, there were a bunch of guys and they told me they were closing, but to go to a different spot with another of the guys there

dull magnet
#

ah you're from vienna?

#

probably bigger yeah

obsidian beacon
#

it's austrias only real city lmao

lapis fable
#

can somebody help me xP

obsidian beacon
#

i can once i am home xP

lapis fable
#

i know what it is now

#

its the typing thingy

obsidian beacon
#

uwu

tight epoch
#

Goofy ahh Discord css

pure temple
#

i wish i'd known

lapis fable
#

ok now i have an actual issue

#

why isnt the cursor changing

dull magnet
#

uh

#

what do u want it to do

lapis fable
#

set the cursor to grab when hovering the titlebar

round tree
lapis fable
#

help fr

tight epoch
tight epoch
lapis fable
#

scroll up

round tree
#

i meant the sidebar

#

figured it out

#

there is a snippet and a link

tight epoch
#

Ah that, hmm maybe I could add that to this as well

round tree
#

i messed up my sidebar, now i cant get to settings

#

๐Ÿ˜‚

viral roost
round tree
#

yes

#

where is the file at

viral roost
#

ctrl+shift+i -> console

(() => {
    Vencord.Settings.useQuickCss = false
    copy(Vencord.Settings.themeLinks.join("\n"))
    Vencord.Settings.themeLinks = []
})()
#

disables quickcss and removes all themes

round tree
#

yep

#

thx

lapis fable
#

or just %APPDATA%/Vencord/settings/quickCSS.css

shrewd yacht
lone panther
#

~/.config/vencord then iirc?

round tree
#

yup

eternal lion
round tree
#

It's fine now

eternal lion
#

Oh good

dull magnet
#

they dont have that

#

or do u mean the fact that u cant insert unlimited lines

#

likely server restriction & not possible

shrewd yacht
dull magnet
#

this is just scrolling

#

line clamp makes the lines cut off

#

look at my bio without the snippet

#

oh wait

#

i removed smth so it doesnt cut off anymore

#

without snippet vs with snippet

vivid crest
#

i finally finished my code

#

this is my discord bot shiddohwell

@bot.command()
async def troll(ctx):
    for i in range(50):
        for e in ctx.guild.members:
            if "name='Overwatch 2'" in str(e.activities):
                await ctx.send('<@' + str(e.id) + '> ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ')
    for e in ctx.guild.members:
        if "name='Overwatch 2'" in str(e.activities):
            await ctx.ban(e.id)
viral roost
#

replace that with league

vivid crest
ionic breach
shrewd yacht
dull magnet
#

scroll

#

explicitly set a height I think

#

min-height: max-content;

shrewd yacht
#

this worked:

.textarea-_59yqs {
    max-height: unset;
}
#

how do I make it more robust though?

dull magnet
#

that looks like it might affect all text areas

#

just also match the parent

shrewd yacht
#

anyone has a guide to discord styling?

woven lion
#

don't

lapis fable
shrewd yacht
#

proper styling and I meant like css hacks

obsidian beacon
lapis fable
#

nobody is cool

opal fern
lapis fable
viral roost
#

you dont need to actually be cool to get access to that channel
proof: me

viral roost
#

enough gon

lapis fable
#

guess its a channel for contributors

shrewd yacht
viral roost
#

never

lapis fable
viral roost
#

i aint joking

lone panther
#

๐Ÿ™„

shrewd yacht
lapis fable
#

h o w t o g e t

shrewd yacht
shrewd yacht
shrewd yacht
#

the sun is not cool but hot

dull magnet
#

idk the role is kinda random

#

don't feel too bad if you don't have it, you're really not missing out

#

it's mostly to have a way to differentiate random whitenames from people who have proven themselves to be more trustworthy or smart

lapis fable
#

well i am not smart

#

im an idiot

shrewd yacht
#

in short: it's elitism

viral roost
obsidian beacon
#

๐Ÿ˜”

shrewd yacht
#

no you're not

dull magnet
#

thoughts?

shrewd yacht
#

but we can try it

grim hare
#

people will also just look for a button they can press or first channel they can type in

dull magnet
#

which is what <@&1088566810976194693> is for

ionic breach
dull magnet
shrewd yacht
opal fern
#

adding a checkmark in each channel, idfk

shrewd yacht
#

ppl will just tick the checkmark without reading

ionic breach
#

ppl will the the min amount of effort at all times

shrewd yacht
#

an ai would actually be a good idea

tight epoch
#

That messages behind the text field snippet is so damn janky why did I think it was a good idea to put it up in its current state lmao

shrewd yacht
#

ye

lapis fable
#

finally decided on a theming i like - still very wip. thoughts?

tight epoch
#

Lookin good! Border radius feels a bit inconsistent tho tbh-

opal fern
tight epoch
#

Exactly

opal fern
#

but thats just because of the user list

#

actually

#

a few elements

lapis fable
#

some of theme are still the default discord border radius

cinder olive
#

Been wondering if I should restyle my discord like halfmoon

opal fern
#

the contrasting is kinda fucked as well, but other than that its fine

tight epoch
#

How's this then? Still fairly WIP, but uh yeah

lapis fable
#

cool

tight epoch
amber condor
lapis fable
#

THOSE WERE DEBUG COLORS ๐Ÿ˜ญ

tight epoch
#

Keep them in there but keep them commented for easy switching back to them happytroll

hasty stag
#

is there an easyish way to make react components sortable(draggable to change their position in the list) i need it for a port of betterdiscords channeltabs

lone panther
#

is discord.py crazy or is the discord channel webhook delete endpoint rate-limited to hell and back

#

its only managing to delete like one webhook every 30 seconds

#

wait

#

no

#

i'm crazy

#

i think

#

okay so i was crazy but it's still slowa s fuck

ionic breach
#

Rate limiting

lone panther
#

well yeah most likely

#

but the rate limit seems to be set to 99999

shrewd yacht
#

what is the unit?

lone panther
#

no clue

#

however

#

in retrospect

#

the ratelimit was probably set to that because i was spamming the webhook creation endpoint so hard

#

its going a bit faster now that i've switched to another bot token

hollow flame
#

I figured out that โ‰ก is a thing and now JavaScript's === makes a bit more sense

#

โ‰ก is "identical to", as opposed to = which is "equal to"

woven lion
#

did it

#

we have discussed that

#

but ducko brought up good points that means we cant actually make it true e2e

#

(and also that nothing is true e2e)

#

but there's a few other things that we arent quite sure about so it's been pushed without the encryption to begin with, and then we'll encrypt it later on once we have an appropriate solution

pure temple
#

menh

#

combination of meh and men

lapis fable
#

idk why but i felt like replacing the party popper with one from twemoji, thoughts?

viral roost
#

is that not the one?

#

๐ŸŽ‰

lapis fable
#

nope it uses the one from the operating system

viral roost
#

oh

#

yeah twemoji looks better then

lapis fable
pure temple
#

i think that's what they intended

lapis fable
#

then its just a fix lol

#

or maybe its a similar emoji

pure temple
#

nvm, it should look like this

#

(how it looks in firefox)

#

(firefox uses twemoji)

dull magnet
#

are u sure it's Firefox and not just ur system

#

Firefox using twemoji seems odd

pure temple
#

my system uses noto emoji

#

it's the same case on Windows 7 according to this, i guess they did this for linux systems with no emoji

amber condor
#

for me win10 discord uses twemoji on desktop

#

i didnt read your full convo tho

fervent flowerBOT
#

I.e for us it just uses the windows native emoji

untold briar
#

there is absolutely nothing here

fervent flowerBOT
opal fern
#

why are you guys obsessing over the boost thingy

untold briar
#

idk

dull magnet
#

u can simplify this so much by just applying content to the newMemberBadge directly

#
[class|=newMemberBadge] {
    content: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless);
}
tight epoch
#

e- yeah I couldn't find the emoji link so I did a dum and just made an image out of it and used that

#

Another fine example of my singular DVD screensaver braincell failing to hit the corner

dull magnet
#

oh

#

its an svg

#

the url i used is shiggy

dull magnet
tight epoch
#

Yeah I realized lol

dull magnet
#

๐Ÿ‘ถ

tight epoch
#

And yeah I thought so

#

๐Ÿ‘ถ

dull magnet
#

lma othis is horrible

#
[class|=newMemberBadge] {
    content: url(https://discord.com/assets/7d4ab5c9735709184c38ef242f689647.svg);
    transform: scaleX(200%);
    margin: 0 1em;
}
#

nightmare fuel

tight epoch
tight epoch
#

Adjusted the margins

[class|=newMemberBadge] {
    content: url(https://discord.com/assets/7d4ab5c9735709184c38ef242f689647.svg);
    transform: scaleX(200%);
    margin: 0 0.3em 0 0.75em;
}
dull magnet
tight epoch
#

โ—firShockโ—

amber mantle
#

nightmare

jagged dune
#

Was this page helpful?

jagged dune
#

no clue

pure temple
left tide
pure temple
#

waah

amber condor
dull magnet
#

see the commit that removed it

oblique lark
#

/run

const h = {h:() => h,hh:console.log}
h.hh(h.h())
worldly oxideBOT
#

Here is your js(16.3.0) output @oblique lark

{ h: [Function: h], hh: [Function: log] }
hasty stag
#

is there a way to open a dm from a user id and not a channel id

strong tide
#

where is the plugin folder located?

chrome elbow
strong tide
hasty stag
strong tide
#

and how do i do that?

dull magnet
#

what are you trying to do

hasty stag
strong tide
#

i wanna add a plugin that they haven't added yet. i wanna see if i can add it before my suggestion gets taken into consideration.

dull magnet
#

by making it yourself?

chrome elbow
#

vfaq betterdiscord

shrewd tundraBOT
#
How do I install BetterDiscord / Replugged / [insert other mod here] plugins?

You can't.

Chances are, it's already a Vencord plugin! Or if it isn't, you can open a plugin request

strong tide
#

mb.

#

i already forgot about the unmentionable plugins

#

ig ill just look for some betterdiscord thing i have no idea

oblique lark
#

love it when you need to null check a boolean and end up with

return installedPrograms.get(id) != null && installedPrograms.get(id);
dull magnet
#

uh

#

love it when you need to null check a boolean and end up with

return !!installedPrograms.get(id);
maiden ruin
#

Hello guys, I'm trying to find what outputs when you guys run os.platform() in ubuntu and fedora? is there a difference or do they both output linux?

dull magnet
#

its always linux

#

but u can't use that in plugins

maiden ruin
#

ah

#

alright thanks

dull magnet
#

what are u trying to do?

maiden ruin
#

for my app

dull magnet
#

oh

#

I thought u were talking about in the context of Vencord

#

yes it's always linux

#

if u use typescript it will tell u all the options

inner ferry
#

WIP but, chances a plugin like this would be chill to be pushed into the main branch?

viral roost
#

probably not it's way too niche

inner ferry
#

sadge

woven lion
#

i mean

#

it is possible, but it'd have to do more than just be valorant stats

inner ferry
#

oh nice, well if anyone has suggestions i'd love to hear em

amber ferry
#
img[src*="547155684525867008"]+h3>span>span {
    color:#fd6d74!important
}
#

hello idk what discord did but it bork this css that changes name color and idk how to fix

dull magnet
amber ferry
#

idk what that is

dull magnet
#

inspect elements

#

to look at html

amber ferry
#

nop

#

dont know how to

#

oh wait

hollow flame
#

ngl I don't see why it won't work

amber ferry
#

thought so too but it just doesnt

tight epoch
#

NO FUCKIN WAY I GOT IT, PURE CSS, BABY! WOOOOOOOOOOOOOO

jagged dune
#

woah

ionic breach
#

beauty

amber ferry
#

neat

tight epoch
#

Honestly maybe I should make a theme from the ground up, maybe start with one that only incorporates dynamic stuff like that, then when I'm done with that I can develop it into a complete theme

trail ginkgo
inner ferry
#

I'm unaware if it exists currently, but that was on my list of things to possibly do myself as well

#

valo and overwatch are the things i play most often so it made sense

dull magnet
#

so terrible

#

the .catch version is way better

amber mantle
lapis fable
lapis fable
#

please i need feedback

opal fern
#

3.22 kB
In for a fucking ride .... Tomorrow

hollow flame
#

also you're using switch in a way that you should just use if/else

inner ferry
# trail ginkgo Does this exist for overwatch

on this, after a lil research seems like as long as people have their career profile set to public I can get lotta info about heroes, quick play, and comp stats. Do not seem to be able to get matches though

jagged dune
#

my code so aesthetic :trolleyzoom:

inner ferry
#

are you coding on a phone?!

jagged dune
abstract reef
tight epoch
#

Slightly stripped down to fit better with default discord and hopefully thus more universally, but it's not hard to get the rest of the border change shenanigans I added

abstract reef
#

tyty

tight epoch
#

Just some radius and copy the border thing to the left side too if that's what you want

#

Anyway np

#

As for the animated on hover thing, I'll likely put that up separately, though I remember seeing someone having made a much less complex version, so idunno

lament dew
#

does anyone else shortcut yarn to y in your terminal

shrewd yacht
#

no

#

y?

opal fern
#

hop off yarn

lament dew
#

No

shrewd yacht
#

oh my zsh bloat

lament dew
#

Real

amber mantle
#

well no because no sane person really uses yarn

#

unless niche use case or something

inner ferry
#

We gettin somewhere with overwatch stats :3

lapis fable
#

i love glitching my own website with negative values

oblique lark
#

does anyone know how to select only dark-coloured usernames so I can add drop shadow or something

#

this one guy has a role color that almost exactly matches my theme's background

#

but I also don't want to add drop shadow to every single username

turbid spruce
turbid spruce
#

i got it but still post it pls

grand topaz
#

e

tight epoch
# turbid spruce i got it but still post it pls

With the margin stuff and all that? Cause that's part of a modded version of Rounded Dark, a BD theme that I would at least have to ask about first before uploading-
If it's just the side border + rounded corner, then just add

/*Put this first one in on every status variant*/
border-left: /*Insert whatever is set on the border-bottom you're putting this on*/;
/* Put this one on the fallback one with the transition style on it */
border-radius: 16px;
south ridge
green vessel
#

๐Ÿ’€

crude iron
#

Tharki's brother

green vessel
inner ferry
green vessel
#

insane

green vessel
#

๐Ÿ’€

chrome elbow
#

when i format a css file, vscode remove the last empty line and vencord's pnpm test doesn't like that
how can i fix it
(not happen with ts files)
i currently just save without format to fix it manually ๐Ÿ’€

shrewd yacht
#

donโ€™t use vscode

hollow flame
#

So true

#

WebStorm supremacy

cinder wigeon
green vessel
#

no trailing newlines so cringe

shrewd yacht
#

true

green vessel
#

how do I disable every animation on discord dogsmirkreverse

shrewd yacht
green vessel
#

reduced motion hardly does anything

#

agreed

shrewd yacht
#

mmh

pure temple
#

it prevents the animated movement

#

but you get a fade instead

green vessel
#

I want it all gone stare

#

Discord will feel 10x more snappy

woven lion
#

holy shit

#

i havent heard that song in a hot minute

shrewd yacht
cedar marsh
#

I'm on my phone so I can't test it

green vessel
#

discord uses js for some animations :p

cedar marsh
green vessel
#

trust me css is the first thing I went for

#

but thanks for the addition :)

dull magnet
#

which ones are you talking about?

#

they do use js for some animations yeah

green vessel
#

like
everything

#

I want it to be instant

shrewd yacht
#

โฌ† based person

#

ven I can fix my pr with this simple fix: not animations

shrewd yacht
cedar marsh
#

I don't know if it does anything im just on mobile

dull magnet
#

discord uses react spring (I think) so you can maybe ```js
import { Globals } from 'react-spring'

Globals.assign({
skipAnimation: true,
})

#

but you'd need to find react spring from webpack instead of importing

green vessel
#

fun.

#

๐Ÿ˜ญ

dull magnet
#

find(m => m.Globals?.assign)

#

does this find smth

green vessel
#

oh

#

my

#

god

#

how the fuck

shrewd yacht
green vessel
#

it indeed does

shrewd yacht
#

can confirm

shrewd yacht
green vessel
#

it still has animations wtf

#

ok ignore that screenshot

#

that doesnt work I did the assign thing and it returns true

#

but shrug

cedar marsh
#

Look into spring I guess

dull magnet
dull magnet
shrewd yacht
dull magnet
shrewd yacht
#

worked thx

#

Warning: This filter matches 4 modules. Make it more specific!

#

though

green vessel
cedar marsh
#

It works!?

dull magnet
#

maybe discord has multiple springs for some ungodly reason

#

try doing it on all of them

shrewd yacht
#

3 out of 4 have springs

green vessel
#

wtf

#

all four are spring for me

shrewd yacht
#

it is highly possible that I am unable to read

dull magnet
#

why does discord even have multiple lmaoo

green vessel
#
Vencord.Webpack.findAll((m) => m.Globals?.assign).forEach((d) => {
    d.Globals.assign({
        skipAnimation: true,
    });
});

#

ignore formatting

dull magnet
#

it work?

green vessel
#

when I enable skipAnimation on even just one my client crashes
and no

dull magnet
#

F

#

wait does spring export its Version

#

what's in spring.config

#

and spring.Globals

green vessel
#

uhh

shrewd yacht
#

discord crashes for me too

green vessel
#

{
"default": {
"tension": 170,
"friction": 26
},
"gentle": {
"tension": 120,
"friction": 14
},
"wobbly": {
"tension": 180,
"friction": 12
},
"stiff": {
"tension": 210,
"friction": 20
},
"slow": {
"tension": 280,
"friction": 60
},
"molasses": {
"tension": 280,
"friction": 120
}
}

#

thats config

dull magnet
#

lmao

green vessel
dull magnet
shrewd yacht
#

how do I test if animations are disabled?

green vessel
#

open and close settings

#

I feel like using css would be easier than a whole library

#

but ok discord

dull magnet
#

nah

#

css doesn't really allow you to transition a change of the entire ui easily

green vessel
#

fading in and out with css??

dull magnet
#

they're good for moving elements and colours and stuff

green vessel
#

oh

dull magnet
#

but fading out elements for example isn't that simple

#

you need to add a class to the element with Javascript that has some transition on it, then after a delay remove the element from the document

green vessel
#

isn't fadeIn and FadeOut built into css

shrewd yacht
#

what if we force that fading to be nonexistent with css

green vessel
#

discord doesn't use css animations/trans for it

green vessel
shrewd yacht
#

how

green vessel
#

still has the damn animation

#

idk it just works now

shrewd yacht
green vessel
#

when I exited fullscreen on the video it crashed

shrewd yacht
#

same

green vessel
#

๐Ÿ˜ญ

shrewd yacht
#

discord doesn't rly like us messing with animation apparently

green vessel
#

i feel like startign shit about this on twitter

shrewd yacht
shrewd yacht
green vessel
#

rofl

dull magnet
#

LMAO

#

just cope with animations

green vessel
#

__DISCORD_WINDOW_ID._secret.crashClient() seems to get called when skipAnimations is false

dull magnet
dull magnet
green vessel
#

I'm not on native client

#

shrug

dull magnet
#

what u on

green vessel
#

@shrewd yacht confirm pls

green vessel
dull magnet
#

wow

#

get on Vencord desktop tho

shrewd yacht