#๐งฉ-plugin-development
1 messages ยท Page 18 of 1

Ack bomk
But yeah, I think it'd look great to have something like that on the border there
could you maybe send me the css you have already, so i can build on top of that?
I have similar borders on the chat/dm list where it's just a translucent white, then on the game activity thing it has a white border (which I wonder if I could find a way to take a colour from the logo and use that for the border), green on the spotify thing, and currently the theme's primary colour for the profile thing.
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-
yea thats not better than my css so its alright lol
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
Ah alr, lemme put it in the css file I store it in when exporting and I'll put it here yesyes
There ya go, hope it's not too painful to look at 
im just gonna put this in my quickcss file for now
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
Eyy thanks! Yeah I really enjoy how it looks so far
Ohh yeah I need to make it take its own width into account instead
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"
this is also broken
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
And yeah that was made with GameActivityToggle enabled as well, seems it doesn't work properly without it lmao
figured
I mean glad I'm getting feedback on it then 
could u maybe tell me at what line the thing is that colors the border of this part
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
k thx
Np :>
could you maybe send me the version from this screenshot
Uhhh just switch 162-164 out for this
border-left: 3px solid var(--blurple);
} ```
oh @dull magnet i tried it on an embed and it did break it
was that what you meant by attachment
k thx
Wooo, alr fixed the text field buttons I think
neat
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
Wooooo fixed it, now it works no matter the window/text field width, and no matter the button bar width 
cool
it should work now because they migrated to electron 22
it used to not work because stable was on 13
go to settings and scroll down to the bottom
how do i update without resetting literally everything
meh im just gonna patch again
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
update host, vencord will be gone 
wait but not settings iirc
yea im probably gonna need to repatch
repatching should keep all your settings, ive repatched a bunch
if you're still on electron 13 just use Vencord desktop

vencord desktop uses electron 23
i am on desktop?
vencord desktop... isn't it unfinished
nono
yeah but it's usable
I'm using it already
neat
ah i see
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-
(we're talking about Vencord Desktop not Discord Desktop)
O-
A standalone Electron app that loads Discord & Vencord (very early and unfinished) - GitHub - Vencord/Desktop: A standalone Electron app that loads Discord & Vencord (very early and...
As you may be able to see, here you have a prime example of my one braincell bouncing around in my skull like a dvd screensaver, at least what happens when it doesn't hit the corner 
every time it does hit the corner you get one singular moment of insight ๐ก
Exactly, she gets it
i just failed at entering my two factor authentication code multiple times
A fellow dvd screensaver braincell haver I see 
Vencord Desktop 
Where is settings file located?
%APPDATA%/VencordDesktop/VencordDesktop/settings/settings.json
%APPDATA%/Vencord/settings/settings.json
but i fixed it already
Vencord Desktop doesn't take that
It's nice that Vencord Desktop actually loads stuff at a decent speed
yee
now I can check out Vencord Server twice as fast :D
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
I'll test out OpenAsar
it's way faster
OA honestly makes patched desktop ridiculously quick and responsive all things considered, like full restarts well take me at most like 10-15sec
but missing some features
Geez I gotta give it a go then
Ah oof, what features in particular?
OA makes it better but Discord Desktop is such a slow sluggy mess
impossible to make super fast
True
(currently it's essentially just browser discord)
well
it depends what things u need
I'm using it rn and it's good enough for me
:P
As long as I don't vc I don't think I'm gonna hit any problems tbh
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?
yes both possible
as seen here
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
@dull magnet do Activities work on Desktop btw?
rich presence u mean?
yes
(probably the ๐ things in voice)
ah yes, spacewar
ok so update i switched to canary as a temp solution
if patch is so good then why didn't they make a patch 2: 

Has the game activity quick toggle been ported yet?
yes
I still cant figure out how to get this color picker component.
{
find: ".colorPickerFooter",
replacement: {
match: /function (\i).{0,200}\.colorPickerFooter/,
replace: "$self.ColorPicker=$1;$&"
}
}```
It took me too long to get my dev env working again, sorry for the stupid late reply
๐คจ
I wrote that patch a few days ago and when I tested it it worked :P
don't know what to say, is clicking the test patch button right above the patch not correct?
Ok I figured out why the patch is being stupid
why?
you might be using outdated vencord where the companion extension had a bug
it wasn't removing newlines
It doesn't load the code to patch until you open the profiles page
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?
this.ColorPicker
how do you use this in jsx?
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}
/>
}
});
oh
I am trying to get access to the colorpicker component. but it isn't exported (according to ven a while back)
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
is the patch not working until you go to the profiles page not a problem?
it is a problem
I'm pretty sure there is a way to load that module manually
ven might know better
I'd just use a setter
depends
when you open settings it loads profile
as first thing
So if you only use it in settings it should always be loaded
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;
},
yes
:P
(I have no idea what a setter is in this context) :p
this
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
because you make the setter infinitely call itself
remove the this :P
oh
the idea is that it's stored in a top level variable
I am blind thanks
let ColorPicker: ComponentType = () = null;
definePlugin({
set ColorPicker(c) {
ColorPicker = c;
}
})
hell yea
That looks cool
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
wow this is neat
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
ah, another person using the funny colour picker 
I should really fix up that PR and submit it
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
thats so cool
oh that pre client theme client theme
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?!
๐
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
its actually this bad
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
FLASHBANG!
nice
https://betterdiscord.app/plugin/ShowBadgesInChat
I used to use this but it stopped working ages ago, wonder if someone can recreate it for vencord
api spam
damn
Anyone got a good tutorial series for ndk+cpp interop for mobile games?
couldnt you replicate this with a theme with a hue variable and you set sat and lightness values per color
oooo i like this
@green vessel when u ban someone with delete message option on and it deletes their welcome message the bot welcomes them
smh
how can i make a context menu appear where i rightclick on a react element
you have your own react component and want to show a context menu when your component is right clicked?
yes
ok i found code for it on spotify controls
yea
That's effectively what it is. It's just more accessible. Most people don't want to pick a Hex code, convert it to HSL with decimal precision, then type it in quickcss
But it's also more resilient to discord adding more color vars, because it dynamically generates them
#๐จ-css-snippets message is the last time I posted the css version of this.
when is this gonna be available on vencord?
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 

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-
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 
And sure thing, I'll do that now yesyes
(btw im working on my own theme rn)
Oh? Eyy nice
im still trying to mess with discord's layout
color is less important for me rn
this is what i have rn
Ahh das hot
This is still very work in progress.
UglyTheme.css?
ikik...
This kinda feels like an equivalent to "I ain't readin allat" but for themes lmao
lmao
hot theme can u post it!
once its done lol
jaeger
you're in charge of making the hotdog stand theme for discord
i hope you do me proud
true
Dear god I have made an abomination out of this "hey I'm new" icon
my windows is blowing up because of all these notifications
O boi
accurate
how the f*ck do i get this ugly icon of my username
Idk stay in the server for like a week? I have no clue how long it stays
[class*="newMemberBadge-"] { display: none; }
``` or wait a week
serverside css when /hj
One of the ever
change everyone's profile picture to trolley
It's perfect
change everyone to mcdonalds red theme
Ah yes lmao
(if u leave and rejoin it goes away)
Wait really? Huh
ok ill see ya in like a few mins
That's good to know, thanks for that 
im leaving
yes because discord doesn't know how to code
Lmao
Hey leaving
[Reply to:](#๐งฉ-plugin-development message) yes because discord doesn't know how to code
guess i'll leave this server again ๐
๐ค
can we webhooks reply?
when discord allows webhooks to reply (never)
๐


no we in there my brain is empty
just set up selfbots to reply
that doesnt scale at all ;w;
Imagine having multiple personalities in the same brain
This post was made by brainless gang

what would be the funniest emoji to use here
i have returned
i had a fucking stroke trying to parse this message
what
can webhooks reply*
@gray ocean literally
I used the baby emoji, funny and fits with what it's trying to convey
i edit my messages a ton before sending and then forgor to give it a last proofread
ye same :<
uh 

lmao my discord literally just bluescreened
Oh gosh lol
because of my blue bg debug color
O lol
none
Yeah that makes sense
:(
the
the :(
WTF ARE THESE
:(
can u turn this into salute
a selection of my magnitude of cursed emotes
ikr lmao
remind me in like 3h when i am home
I need an invite to that server
Made it public in #๐จ-css-snippets- wait fucc should've asked first uhhh
@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?
Read the css snippets channel topic
I should've done that yeah
so do i
Mfw dumby
(you can use anyone's snippets however you like without any conditions)

a- fair yesyes
Emma these emotes are so cursed
svg has been a mistake for all of humanity because i can make so much garbage with it
[object Object], my favourite
the gay emote dumps are a lot less cursed
U-Bahn station in vienna
known for knife stabbings
oh nice
Still I prefer getting permission from whoever's work I build off of, at least when it comes to something like this
not nice nvm
oh - well it's time i move the fuck out of vienna
"komm reumannplatz ohne treten"
hilfe
ich packe schon meine koffer ๐ณ
๐ฅบ
Going to Frankfurt to eat a frankfurter sausage
going to hamburg to eat a hamburger
I was about to say that haha
๐ฆ๐น die schitzel hier sind geil aber ist nur meine meinung :P
going to london to get stabbed
going to berlin to eat a...krapfen >:(
do you know what Maultaschen are emma
yes
niiice
Also tbh I didn't know u spoke German 
ich fรผhle mich ignoriert
i dont think i talked too much about it back then
u too but I've known Emma for years!!
without ever knowing that
never been a super big fan of schnitzel
and then Schitzelhaus shut down :(
So weird that it's been years, it doesn't feel that long
aber ja natรผrlich hans ist nass er steht unter dem wasserfall
true
sadge
when did you join powercord?
hmm ic
I joined fairly late compared to most other people
i joined in like 2018-19 i think
this is #๐งฉ-plugin-development lmao
I think late 2020 or early 2021
clearly we're coding rn
o wow yeah i was barely active then
coding up some schnitzel
yes ckearky
summer 2020 i left for a while even
I agree
codeing 
vencoRding

how popular is Dรถner in Austria
||theo schuldet mir noch ein bananenbrot /j||
its there ig
doner kebab
Online I have known someone for 4-5 years, meanwhile my irl relationships are omega volatile. Actual horror
vienna is the second dรถner capital after berlin apparently
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
When ven approves pr
but
dรผrรผm > dรถner 
Wehhh Discord keeps logging me out out of nowhere
Seems to only be with dev tools open tho, strange
WTF
4 years ago u could get Dรถner for 3 bucks here as well
but now it's usually 6โฌ
well
my place had a deal to get a dรถner and drink for 2.90โฌ for YEARS
How tf do yall have such cheap food-
nothing is cheap here but dรถner
thats why it is so popular here
it's comparatively healthy for fast food, good and really cheap
Here in sweden it's like 90-110SEK / ~โฌ8-10 for a kebab meal how much am I being scammedddd
well
in vienna you have a dรถner place every few houses
the market is really competitive here
Gawd dam
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
it's austrias only real city lmao
can somebody help me xP
i can once i am home xP
uwu
Goofy ahh Discord css
set the cursor to grab when hovering the titlebar
i would be interested in that as well ๐
help 
This but more polished? (Oh yeah it appears above text, so it doesn't squish your messages and make it impossible to catch the button row if you have very long messages yesyes)
Help with what?
scroll up
Ah that, hmm maybe I could add that to this as well
with css?
ctrl+shift+i -> console
(() => {
Vencord.Settings.useQuickCss = false
copy(Vencord.Settings.themeLinks.join("\n"))
Vencord.Settings.themeLinks = []
})()
disables quickcss and removes all themes
or just %APPDATA%/Vencord/settings/quickCSS.css
can anyone do the same thing for user notes please: #๐จ-css-snippets message
~/.config/vencord then iirc?
yup
Did you try Ctrl+,
It's fine now
Oh good
?
they dont have that
or do u mean the fact that u cant insert unlimited lines
likely server restriction & not possible
wdym?
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
i finally finished my code
this is my discord bot 
@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)
replace that with league

does anyone else this weird thing where the first time you click on a persons name their notes are shrunk but the second time its expanded
yeah, how do I show everything?
this worked:
.textarea-_59yqs {
max-height: unset;
}
how do I make it more robust though?
anyone has a guide to discord styling?
inspect element > copy class > modify in quickcss 
proper styling and I meant like css hacks
5 years of styling discord knowledge; I agree
nobody is cool

you dont need to actually be cool to get access to that channel
proof: me
nah you cool enough
enough 
guess its a channel for contributors
you should have used proper capitalization
never
๐ค
i aint joking
no its a channel for the "cool people" role
๐
nope, you could get the role too
h o w t o g e t
it was a joke with their about me
be cool
you aren't extremly serious neither
the sun is not cool but hot
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
in short: it's elitism
doesnt look like thats the case to me
i am not sure how to tell you but i am muddying that differentiation
๐
no you're not
I might turn #๐ฅ-vencord-support-๐ฅ into a readonly info channel like #plugin-requests where we can have a short guide how to properly ask help, a list of current issues and a reaction role to get access to the real support channel
thoughts?
WROOOOOONG

there will still be ppl asking for help in general
but we can try it
people will also just look for a button they can press or first channel they can type in
which is what <@&1088566810976194693> is for
i guess the one caveat is a possible increase in spam of general as people see that support is read-only... read nothing... and then spam general
(hides all channels but support and announcements and stuff from you)

maybe makes needy for support the default, aka all channels need a role like >100IQ to access which you can get by reading (!) #๐ฅ-vencord-support-๐ฅ (read only), #announcements and #faq idk how we can check for them being read though
adding a checkmark in each channel, idfk
ppl will just tick the checkmark without reading
ppl will the the min amount of effort at all times
an ai would actually be a good idea
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
ye
finally decided on a theming i like - still very wip. thoughts?
Lookin good! Border radius feels a bit inconsistent tho tbh-
thats because it is inconsistent
Exactly
some of theme are still the default discord border radius
Been wondering if I should restyle my discord like halfmoon
the contrasting is kinda fucked as well, but other than that its fine
How's this then? Still fairly WIP, but uh yeah
cool

tbf i liked the blue, red and green more
THOSE WERE DEBUG COLORS ๐ญ
Keep them in there but keep them commented for easy switching back to them 
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
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
I think it's endpoint
Rate limiting
what is the unit?
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
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"
@gray ocean https://github.com/vencord/backend#hosting
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
idk why but i felt like replacing the party popper with one from twemoji, thoughts?
nope it uses the one from the operating system
imma put this in #๐จ-css-snippets
that's how it looks for me anyway (on firefox)
i think that's what they intended
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
Specifically on what emoji is used within the boost ad thingy
[Reply to:](#๐งฉ-plugin-development message) i didnt read your full convo tho
I.e for us it just uses the windows native emoji
there is absolutely nothing here

why are you guys obsessing over the boost thingy
idk
@tight epoch #๐จ-css-snippets message
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);
}

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

i meant this is all u need to replace badge
Yeah I realized lol
๐ถ
lma othis is horrible
[class|=newMemberBadge] {
content: url(https://discord.com/assets/7d4ab5c9735709184c38ef242f689647.svg);
transform: scaleX(200%);
margin: 0 1em;
}
nightmare fuel
My humour is so broken that I somehow found it funny when I clicked on the link and a full screen baby emoji appeared on my screen, why am I like this lmao
horror
Adjusted the margins
[class|=newMemberBadge] {
content: url(https://discord.com/assets/7d4ab5c9735709184c38ef242f689647.svg);
transform: scaleX(200%);
margin: 0 0.3em 0 0.75em;
}
Imma just uh, replace what I put in #๐จ-css-snippets with this lol, thanks for the help

lol baby jumpscare
โ
โ
nightmare
Was this page helpful?
what?????
no clue
wah
5/10 h
waah
oh yeh it shows the win10 emote
see the commit that removed it
/run
const h = {h:() => h,hh:console.log}
h.hh(h.h())
Here is your js(16.3.0) output @oblique lark
{ h: [Function: h], hh: [Function: log] }
is there a way to open a dm from a user id and not a channel id
where is the plugin folder located?
src/plugins when you clone the source
nono i mean vencord's plugin folder.
you need to clone the source
and how do i do that?
what are you trying to do
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.
by making it yourself?
You can't.
Chances are, it's already a Vencord plugin! Or if it isn't, you can open a plugin request
mb.
i already forgot about the unmentionable plugins
ig ill just look for some betterdiscord thing i have no idea
love it when you need to null check a boolean and end up with
return installedPrograms.get(id) != null && installedPrograms.get(id);
uh
love it when you need to null check a boolean and end up with
return !!installedPrograms.get(id);
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?
what are u trying to do?
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
WIP but, chances a plugin like this would be chill to be pushed into the main branch?
probably not it's way too niche
sadge
oh nice, well if anyone has suggestions i'd love to hear em
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
did u try using the inspector
ngl I don't see why it won't work
thought so too but it just doesnt
woah
beauty
neat
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
Does this exist for overwatch
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
so terrible
the .catch version is way better
true
rate my horrible javascript:
please i need feedback
3.22 kB
In for a fucking ride .... Tomorrow
use more comments and vertical whitespace
also you're using switch in a way that you should just use if/else
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
my code so aesthetic :trolleyzoom:
are you coding on a phone?!
yop
send ๐
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
tyty
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
does anyone else shortcut yarn to y in your terminal
what the fuck
hop off yarn
No
oh my zsh bloat
Real
We gettin somewhere with overwatch stats :3
i love glitching my own website with negative values
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
javascript
can you post the original one too im too stupid to replicate it myself
i got it but still post it pls
e
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;
๐
Tharki's brother
what repo
insane
๐
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 ๐
donโt use vscode
Configure the formatter to not do that
no trailing newlines so cringe
true
how do I disable every animation on discord 
sry it's in french
mmh
command and conquer red alert 3 soviet march
holy shit
i havent heard that song in a hot minute
yes I like this song
Try
* {
transition-duration: 0ms !important!important;
}
I'm on my phone so I can't test it
discord uses js for some animations :p

lmao
which ones are you talking about?
they do use js for some animations yeah
double important??
I don't know if it does anything im just on mobile
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
returns false
can confirm
what is the next step?
it still has animations wtf
ok ignore that screenshot
that doesnt work I did the assign thing and it returns true
but 
Look into spring I guess
enable console shortcuts
and it doesn't work?
I wasn't doing Vencord.Webpack.find(m => m.Globals?.assign)
.
no
It works!?
look at the other results and see if they're also spring
maybe discord has multiple springs for some ungodly reason
try doing it on all of them
3 out of 4 have springs
it is highly possible that I am unable to read
So try calling it on all of them

why does discord even have multiple lmaoo
Vencord.Webpack.findAll((m) => m.Globals?.assign).forEach((d) => {
d.Globals.assign({
skipAnimation: true,
});
});
ignore formatting
it work?
when I enable skipAnimation on even just one my client crashes
and no
F
wait does spring export its Version
what's in spring.config
and spring.Globals
uhh
discord crashes for me too
{
"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
lmao
globals is too big https://i.nein.win/1681136261
how do I test if animations are disabled?
open and close settings
I feel like using css would be easier than a whole library
but ok discord
fading in and out with css??
they're good for moving elements and colours and stuff
oh
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
isn't fadeIn and FadeOut built into css
what if we force that fading to be nonexistent with css
discord doesn't use css animations/trans for it
managed to run this without freezing
how
๐
same
๐ญ
discord doesn't rly like us messing with animation apparently
discord TERF comfirmed???
good idea
rofl
__DISCORD_WINDOW_ID._secret.crashClient() seems to get called when skipAnimations is false

I think there's a crash function somewhere in DiscordNative
what u on
@shrewd yacht confirm pls
my fancy acrilia client ๐
don't silent ping pls+ confirm what?













