#๐Ÿ‘พ-core-development

1 messages ยท Page 246 of 1

glass jasper
#

Oh its broken on stable too

fossil inlet
#

guhhhhh

#

@limber skiff i got prs open that fix this when you have time

limber skiff
#

will look soon

fossil inlet
limber skiff
#

in the mean time can you try to change the find for PRESS_BADGE

fossil inlet
#

alr

#

guhhh i didnt notice it was part of tracking husk

glass jasper
jolly egret
#

well, options

#

better yourself to provide alternatives if you know something you are doing might not be the best way and you want maintainers to check

glass jasper
#

Fair

limber skiff
#

@fossil inlet I fixed one of your patches blobwob

#

it worked but not quite cuz of memo

charred monolithBOT
charred monolithBOT
limber skiff
#

vtest dev

nimble pendantBOT
limber skiff
#

vhelp vtest

nimble pendantBOT
# limber skiff vhelp vtest

Reporter (report, vencord-reporter, test-patches, test)

Run the Vencord reporter workflow

Usage

vreporter [ref = dev] [branch = both]
nimble pendantBOT
nimble pendantBOT
fossil inlet
#

Lol

charred monolithBOT
limber skiff
#

thank you

fossil inlet
#

@limber skiff if this is true, I'll add an error boundary in case it breaks in the future

opaque silo
opaque silo
#

reporter can link PRs that fix breakages for easy tracking

#

gorp

fossil inlet
#

husk

jolly egret
#

vext

nimble pendantBOT
jolly egret
#

done

idle fossil
#

what if the chrome extension just pulls vencord from github blobcatcozy

fossil inlet
#

iirc chrome only allows signed extensions

idle fossil
charred monolithBOT
limber skiff
#

it's a modal tho

austere talon
#

nah this is useless

#

crashhandler will just recover since it's a modal

fossil inlet
#

guhhhh somehow crashhandler was disabled

limber skiff
#

someone mention me

glass jasper
#

@limber skiff

limber skiff
#

okay thanks

glass jasper
#

@limber skiff

limber skiff
#

do it again

#

one more time

glass jasper
#

@limber skiff

limber skiff
#

alright done

untold rock
#

i can't imagine why that would be happening

#

i don't have anything setup to clear dirs

limber skiff
versed fern
hollow musk
austere talon
#

but if many people rely on it, force pushing will break many setups

#

and I need that commit for later

fossil inlet
#

i love fixing obscure bugs blobcatcozy

glass jasper
hollow musk
# austere talon and I need that commit for later

iirc force pushing doesnt remove it from github, you still can checkout the commit and view it in the web if you have the commit hash. github themselves need to do a git gc so you can't view those lost commits

fossil inlet
#

only on canary rn

limber skiff
#

๐Ÿ˜ญ

#

that's not how mapMangledModule works

#

it wont have those properties if you dont map them too

fossil inlet
#

guhh i just realized ๐Ÿ˜ญ i wasnt thinking at all

#

๐Ÿ˜ญ

limber skiff
#

ugh

fossil inlet
limber skiff
#

of course they did

#

that wasnt meant to still be using byProps

#

(to avoid this exact issue)

#

anyways can you map the rest?

fossil inlet
#

yea

#

wanst sure if you wanted that given they're not used

limber skiff
#

also improve the find in mapMangledModule to something more specific

#

once you have that the other finds for the functions dont need to be as good because it onlys targets that one exact module blobwob

fossil inlet
limber skiff
#

ya

#

hmm

#

actually

fossil inlet
#

not sure if i wanted to hardcode a url

#

they do have some logger strings tho

limber skiff
#

getAssetImage: size must ===

fossil inlet
fossil inlet
#

@limber skiff i added the rest of the exports as well as some more types

charred monolithBOT
fossil inlet
#

i love discord shitcode

#

why is an id just missing

#

who knows

opaque silo
#

you used the wrong to in the comment fr

fossil inlet
#

wait

#

i didnt see the second one ๐Ÿ˜ญ

opaque silo
granite wharf
#

all my homies hate wumpus but at least hes getting special treatment today..

charred monolithBOT
fossil inlet
#

me when i have free time and open 4 prs in a day blobcatcozy

idle fossil
#

unemployed software developers clocking into their making 4 prs on open source projects shift

rugged spire
scenic brook
#

I was using intellij's own psi file formatter before which took anywhere from 4-11 minutes lol

#

I'm currently using google's closure compiler to format before creating the psi file which takes about 20 seconds

fossil inlet
limber skiff
#

@fossil inlet is this too hard to type?

fossil inlet
#

let me see if its easy

limber skiff
#

also seems like there are 5 methods, not 4?

fossil inlet
#

coudlnt find it in the new module

limber skiff
#

okay

fossil inlet
#

im going to try and type assets quickly

limber skiff
#

fetchAssetIds has a third, optional argument

fossil inlet
#

i ignored fetchAssetIds as it was already typed

limber skiff
#

seems to be a number and defaults to 1

fossil inlet
#

but ill also do that

limber skiff
#

let me try to figure what it is

austere talon
#

tries

#

i think

limber skiff
#
async function fetchAssetIds(applicationId, assets, n = 1) {
    dispatch({
        type: "APPLICATION_ASSETS_FETCH",
        applicationId
    });

    let result = [];
    let linkAssets = assets.filter(e => e?.startsWith("http:")) || e?.startsWith("https:");

    if (
        linkAssets.length > 0 &&
        await N(applicationId, linkAssets),
        A(assets, result)
    ) {
        dispatch({
            type: "APPLICATION_ASSETS_FETCH_SUCCESS",
            applicationId
        });

        return result;
    }

    let fetchedAssets = await T(applicationId);
    dispatch({
        type: "APPLICATION_ASSETS_UPDATE",
        applicationId,
        assets: fetchedAssets
    });

    C(assets, result, fetchedAssets, n) ? y(applicationId).then( () => R(applicationId, assets, n - 1)) : dispatch({
        type: "APPLICATION_ASSETS_FETCH_SUCCESS",
        applicationId
    });

    return result;
}
#

it's kinda weird

#

hmm

#

tries is a smart guess

#

that would work

fossil inlet
#

it looks like a recursive function with tries

limber skiff
#

yeah

#

now what's the proper name of the second argument

fossil inlet
#

was just about to say

limber skiff
austere talon
#

asset names

limber skiff
#

so it only returns the asset names you choose?

austere talon
#

it's these

#

lastfm-large

#

https urls will give you a mp:// url

#

which is media proxy

#

names will give you named assets

austere talon
#

try it and see :P

austere talon
limber skiff
#

I got it already

fossil inlet
#

wait

#

im really stupid

limber skiff
#

it takes the result, and maps the keys you specify in order

limber skiff
# limber skiff

so for example, here the return result is [embedded_background: string]

#

weird that it returns an array

#

but it's basically an object in the form of an array in the correct order

limber skiff
#

cuz no asset name is called placeholder, right?

#

unless you made one troll

fossil inlet
#

for the id

limber skiff
#

I know

#

I ignored the error

fossil inlet
limber skiff
#

peak typing

fossil inlet
#

im making it a bit better now

#

but there seems to be a type enum

limber skiff
#

either way if you wanna use those

fossil inlet
#

and ive only seen one type of asset

limber skiff
#

do Record<string, any>

#

instead of object

fossil inlet
limber skiff
#

that doesn't work lol

#

{ id: string; name: string; type: number; } & any = any

#

you wanna do & Record<string, any>

shut vineBOT
#

@fossil inlet, <t:1740014394:R>: check if discord has rolled back

limber skiff
#

LMAOOO

#

(spoiler: they didnt)

hollow musk
#

they would never

fossil inlet
#

still insane bundler change

glass jasper
fossil inlet
#

its so weird because they're still using spreads in functions and arrays

#

even though object spreads have been around since 2017 on all major browsers

glass jasper
#

I feel more insane/ weird changes are going to be happening more often with them joining the open market soon

median rapids
limber skiff
#

@fossil inlet okay ngl I'm just gonna merge the find fix without the typings

#

I will do the typings another time, I dont wanna push something which isn't totally accurate but this module is kinda shit to type

rugged spire
charred monolithBOT
limber skiff
#

vtest dev

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
idle fossil
charred monolithBOT
rugged spire
fossil inlet
#

what is the point in assigning r to the class that is being extended, when r isnt used anywhere else at all

grave mangoBOT
fossil inlet
#

weird

#

discords bundler so cursed / weird

#

it didnt tree-shake an unused function for some reason

#

and within that function, is code that will always error
* it wont always error, but it makes no sense

#

d is unused and PopoutWindowStore is not defined anywhere

#

it feels like that function only got partially minified

austere talon
#

thats hilarious

#

they forgot to import it or smth

#

so the compiler can't minify it

#

cause it might be a global

fossil inlet
#

isnt that just basic tree shaking, remove functions that are never used

austere talon
#

no clue lmao

fossil inlet
jagged reef
#

Happy birthday!

glass jasper
idle fossil
#

cake writer confused af rn

grizzled halo
#

latest version of vencord

fossil inlet
#

ill fix

grizzled halo
#

crashes just after pressing the clone button blobcatcozy

idle fossil
#

what kind of error is it? cuz i know there's testing for patch fails so like what happened

#

just curious

fossil inlet
#

not a patch/find failing

#

eg (null).foo

idle fossil
#

ohhh so wait like the patch still works just a surrounding function got yeeted

fossil inlet
#

@grizzled halo is this canary only or also stable?

idle fossil
#

ic blobcatcozy

grizzled halo
#

stable

fossil inlet
#

on another note, we really need to have our own discord types

#

the package being used just gets more and more outdated

limber skiff
#

dont make it a common

#

it's super specific

fossil inlet
#

alr, i made it a common in the first place because it was on the guild object, but nothing else uses it trolley

austere talon
#

wtf why is it so ugly

#

what is shithub cooking

fossil inlet
#

@austere talon why cast instead of type wires

austere talon
#

because type looks atrocious, especially for arrow function syntax

#

it's very hard to see on a glance whether it's a type or the real function

#

cast is much clearer

austere talon
fossil inlet
austere talon
#

no it's still unreadable

#

cast is much much better to look at

rugged spire
#

cast is not much much better
typing a function is just cursed if there is an actual function being declared

austere talon
#

anyway it doesn't matter

fossil inlet
#

yop

rugged spire
fossil inlet
#

am i crazy here, or is r.hydrateRoot a noop

#

because the assignment operator takes precedence over the comma operator

#

(yes getters can have side effects, but why would this code ever be generated in the first place)

jolly egret
hollow musk
#

wouldnt do any more pull requests because cant bother to learn typescript

fossil inlet
#

its just javascript ๐Ÿ˜ญ

hollow musk
#

i sure hope you dont want copilot code in vencord

#

my javascript experience is just enough to make useable websites

fossil inlet
#

@hollow musk would you mind if, some time in the future, i picked up the pr

i really like the client theme plugin

hollow musk
jolly egret
fossil inlet
idle fossil
#

the humble public archive:

fossil inlet
#

and the code is still there if anyone wants to open it in the future

#

why keep your pr open if you dont plan to do anything else with it respond / be active

idle fossil
#

oh i thought the code was gone nvm

hollow musk
hollow musk
austere talon
# fossil inlet

maybe the bundler does this cause technically hydrateRoot could be a getter with side effects

#

lmaoo

fossil inlet
charred monolithBOT
charred monolithBOT
long stream
#

also does the installer seriously have no way to default to software rendering?

#

that seems really stupid

woeful sable
# charred monolith

so, i wanted to know a thing, should this be considered a pull request about vencord core, or a plugin

#

because, technically i edited the permissions viewer plugin, and added a feature there to make it more usable

fossil inlet
woeful sable
charred monolithBOT
charred monolithBOT
jolly egret
#

sees 2 comments hidden as spam and 1 deleted
adds yet another useless comment

limber skiff
#

they are just adding a warning, it's their job

austere talon
#

๐Ÿ˜ญ

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
vivid garden
#

that's gotta be the worst i've ever typoed a PR title holyyy shit

long stream
#

Plguin ๐Ÿง

glass jasper
jolly egret
#

timedones

charred monolithBOT
#

Content

Cannot find a reason for this to happen, started on last vencord update. It will show the first frame of the video, play audio, but never play the actual frames.

stable 375609 (871f03e) Host 1.0.9185 x64 (59498) Build Override: N/A Windows 11 64-bit (10.0.26100)
Vencord 5eb4435 (Standalone)
Electron 33.4.0
Chromium 130.0.6723.191

Request Agreement

  • [x] I have read the requirements for opening an issue above
fossil inlet
#

?remind 12pm bump a pr

shut vineBOT
#

Alright @fossil inlet, in 13 hours, 55 minutes and 30 seconds: bump a pr

dusk blaze
fossil inlet
glass jasper
austere talon
#

w3schools is crap

glass jasper
#

They arenโ€™t that bad

#

helped me learn

hollow musk
charred monolithBOT
shut vineBOT
#

@fossil inlet, <t:1741485870:R>: bump a pr

desert cosmos
long stream
#

it might have been a throwaway or something

#

the one commit is by another account that still exists

#

and has the same pfp

hollow musk
glass jasper
#

atleast thatโ€™s my best guess

odd heath
#

love how github is like "these conflicts are too complex to be resolved in the web editor" and then the ide just performs the merge without issue ๐Ÿ˜ญ

left sequoia
#

yeah, then you just press . and click resolve button there

#

and it just works

#

wtf gh

median rapids
#

thats not the web editor smh

odd heath
#

and gh was like

fossil inlet
charred monolithBOT
charred monolithBOT
#

What happens when the bug or crash occurs?

When I try to clone an emoji, this appears (https://imgur.com/a/EbOs4kQ) and I cannot clone any emoji, but can stickers...

What is the expected behaviour?

Umm.. I expect Vencord to open a window in which I can set up the name and on which server I want to clone an emoji, but discord says that it crashed, and it prevents me from doing it

How do you recreate this bug or crash?

  1. Right click an emoji
  2. Click "Clone Emoji"
  3. Opens win...
charred monolithBOT
dusk blaze
dusk blaze
#

@austere talon contributor/collaborator check when:..

glass jasper
glass jasper
#

Yall have a hive mind 90% of the time

fossil inlet
#

why does discord embed a base 16 theme ๐Ÿ˜ญ

glass jasper
#

One day

#

Vencord Forums

fossil inlet
#

only on canary rn

#

also it doesnt spam an endpoint this time toll

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

What happens when the bug or crash occurs?

Please allow me to establish my reading comprehension first:

Yes, I did see that unless I am a contributor/was explicitly told in the support server to not use this form. Unfortunately, on my four separate accounts (only one of which has ever been in the server and I doubt ever interacted with anyone in a negative context to get banned), I am unable to accept the invite. If someone would like to contact me for information and then remove/clo...

hollow musk
gritty canyon
#

does the vencord installer have any cli flags or anything to automate installing?

#

nvm checked the source code ^^ tysm to the person that added them

charred monolithBOT
odd heath
#

oh peak i got a bug i had once before and managed to record it

hollow warren
#

Hello !

#

i need Help

#

i wanna Create a Client Like Vencord but Named wsmXyz ! wich is Like Vencord but with Differnt Things !

jolly egret
#

what does this have to do with the development of vencord

warped frost
#

i directed them here because they opened a ticket but i misunderstood what they were saying i suppose

jolly egret
#

You can fork just fine just follow the software license

hollow musk
fossil inlet
odd heath
#

cuz thats what was the only different thing this time and the bug happened shrug

long stream
#

the crash has been on stable for days now

fossil inlet
granite sky
#

nuckyz and vee are dead. vencord will eol soon ๐Ÿ™

limber skiff
#

I will merge later today

gritty canyon
#

would anything break if we did this on line 122 in scripts/runInstaller.mjs?
would allow passing args from pnpm run
(i.e. pnpm run inject -- --install --branch canary to save those couple extra clicks while developing)

fossil inlet
charred monolithBOT
glass jasper
#

bro owns 90% of issues prayingcar
/j

gritty canyon
fossil inlet
#

also it can warn you if you pass something that isnt defined

gritty canyon
#

fair

fossil inlet
#

(it might also do types, not sure)

gritty canyon
#

it does types yes

#

only bool and string though

fossil inlet
#

yea

fossil inlet
#

its either a flag or arg

gritty canyon
#

wouldve maybe expected numbers i guess, i neither make nor use clis often enough to know whats standard

fossil inlet
charred monolithBOT
fossil inlet
#

@gritty canyon is that the right screenshot?

gritty canyon
#

yea..?

fossil inlet
gritty canyon
#

because -- tells pnpm to pass the following cli args to the script

fossil inlet
#

why not just pnpm inject --install --branch canary

gritty canyon
#

without -- pnpm just eats the cli args

#

or node... im not sure

#

something eats them though

fossil inlet
# gritty canyon

try doing this, then re run it without using pnpm run

-    execFileSync(installerBin, args.positionals, {
+    execFileSync(installerBin, process.argv.slice(2), {
gritty canyon
#

works

fossil inlet
gritty canyon
#

interesting

#

i am wondering why parseArgs doesnt work without -- then

fossil inlet
gritty canyon
#

first log is just the args object, second one is process.argv

fossil inlet
gritty canyon
#

args object is what parseArgs returns

fossil inlet
#

i dont think you're using parseargs properly

gritty canyon
#

wdym

#

it just doesnt return anything for positionals when you dont add the --

grave mangoBOT
gritty canyon
#

why would you use process.argv.slice though when parseArgs returns you the parsed args...

#

wait i didnt see the node_parseArgs (its midnight and im tired)

fossil inlet
#

@gritty canyon wait, i dont see you passing the processes args to parseArgs

#

you have to do that

gritty canyon
#

nop you dont the docs say it just uses process.argv as default

fossil inlet
#

hold on, im going to figure this out

gritty canyon
#

im pretty sure #they dont want you to use args.positionals

fossil inlet
#

(run the code instead of just staring at it and hoping it will work)

gritty canyon
#

because args.values is always the same

#

but you cant use args.values in execFileSync because it expects an array for args (amazing)

gritty canyon
#

who made this

#

im now just converting args.values into an array or passing args.positionals if they are set, works with and without --

fossil inlet
#

@gritty canyon i figured it all out

#

positionals is args that depend on their position
pnpm run inject vs. pnpm inject run

this is what i came up with to do it

gritty canyon
fossil inlet
gritty canyon
#

hm

#

specifically guideline 10 on section 12.2

gritty canyon
charred monolithBOT
charred monolithBOT
limber skiff
#

ill do more tomorrow or something

#

vtest

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
long stream
#

yipee

charred monolithBOT
grizzled halo
#

i dont think so because now ive had at least 7 people say the same thing now

#

i even reproduced it myself

#

this person is on the latest version too

austere talon
#

I can't reproduce

#

it's probably some youtube A/B testing

#

reproduce with just their script and if you can, open an issue in their repo

charred monolithBOT
odd heath
#

Don't husk me

scenic brook
#

Line completion is suffoChefKiss

#

Generating any more than that is just a waste of time tbh

gritty canyon
#

heavily depends

#

but im just confused as to why ai users dont tell the ai not to add comments like thats the easiest way to tell if code is written with ai

hollow musk
gritty canyon
odd heath
glass jasper
odd heath
#

Thanks

gritty canyon
odd heath
#

Oh wait it's about svgs

gritty canyon
odd heath
astral bone
#

Ai is good blobcatcozy

gritty canyon
astral bone
gritty canyon
#

"low lvl"

#

LLMs arent trained much on low level code, anyone who works in systems programming will put a gun to your head if you even mention AI because it very much sucks there

#

thats why people like linus very very much dislike AI and all the hype around it

scenic brook
#

I think they meant low complexity tasks

gritty canyon
#

ah

#

alright then

#

thats fair

astral bone
gritty canyon
#

ยฏ_(ใƒ„)_/ยฏ

austere talon
astral bone
#

I take this encounter as a wake up call to be more specific

fossil inlet
#

SpotifyControls is lagging whenever i expand it, but if i toggle css on and off it works fine until the window is unfocused then you have to toggle css again

#

so weird

left sequoia
#

is anyone going to tell him?

#

XD

charred monolithBOT
#

It looks like the AUDIO_SET_DEBUG_LOGGING dispatch event is not triggering correctly. Also, for some reason, the closeModal event is not being triggered at all, so the Debug Logging popup remains open until you click on "Cancel".

What worked for me as a workaround was:

  1. Click on the toggle button to disable the Debug Logging and wait until the "Cancel"/"Okay" popup appears.
  2. Open the DevTools and a breakpoint on the "Okay" button onClick event.
  3. Keep going over the Call Stack un...
austere talon
#

or do the same on discord desktop app

#

vencordDesktopRenderer.css *

#

or for discord desktop app the file is named renderer.css

charred monolithBOT
limber skiff
#

vtest2

#

vtest dev2

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
charred monolithBOT
austere talon
#

we really should just get rid of cdn usage AkaneSip

#

so bad

charred monolithBOT
dusk blaze
#

๐Ÿš€

charred monolithBOT
#

Seems like unpkg was having scaling issues and increased server count so it should be fixed now, but I guess it's still better to switch. Not just because jsdelivr is way more popular & stable but also to reduce the number of different CDNs used

Also, jsDelivr is more actively maintained. Every time I mail jsDelivr's maintainers I get a response within 4 hours, while the maintainer of the UNPKG has more things to do (Remix, React Router, etc.), that's why it was taking them 18 hours to f...

austere talon
#

insane

gritty canyon
#

thats pretty cool imo (not that id use it tho)

sterile oak
still maple
#

i'd actually use that

#

but i'd disable the display of repos and only keep the show more

charred monolithBOT
charred monolithBOT
#
[Vendicated/Vencord] New branch created: fix-yt-adblock
austere talon
#

LOL

#

copilot jumpscare

dusk blaze
astral bone
#

Why switch away from adguard, it worked perfectly fine

austere talon
#

no it didn't

hollow musk
opaque silo
#

I HATE MANAGING FORKS AND PRS AND USER PLUGINS JUST LET ME ADD WITHOUT REBUILD SRUPID VENCOR

#

@austere talon woke security

opaque silo
charred monolithBOT
glass jasper
jolly egret
#

i can't think of a single time i've wanted to view someones gh repos within discord

unkempt oak
left sequoia
#

so turns out vencords free nitro plugin [i think] forces native steaming on web, so now PWA has everything, max screenshare quality, global keybinds, launch on boot etc

#

memory usage is still sky high, but at least its not native app levels

desert cosmos
#

92 cpu

#

unsane

left sequoia
#

it spikes when it GC's

#

because we love react

#

welp, next step is steam PWA

#

cuz cef is actually worse than electron

#

my vscode uses x2 the ram of my main browser tho, that's funny

#

its all TS language server and eslint doe

left sequoia
#

...if only

fossil inlet
left sequoia
#

because now i'll milk you for help

fossil inlet
left sequoia
#

i doubt it will help me tbf

#

modding cef's c++ code seems like utter insanity

fossil inlet
#

I'm hooking and injecting js code

#

And some native APIs for the js

left sequoia
#

into cef, or chromium

fossil inlet
left sequoia
#

cuz tldr i need to prevent cef from calling window.open

#

that's my end goal

fossil inlet
left sequoia
#

same shit tbf

#

decky loader does it and it seems painful

fossil inlet
left sequoia
#

yeah thats what dev of steambrew told me too

#

but idk where to even start ngl

fossil inlet
left sequoia
#

yeah that description is enough for me to abandon the idea

#

my hatered of native runs deep

limber skiff
left sequoia
#

i do not understand ANY of this code!

#

man this sucks

fossil inlet
limber skiff
#

why not JS tho

fossil inlet
#

Also window.open just doesn't work

limber skiff
#

I see

fossil inlet
#

There is no node environment, it's all cef

limber skiff
#

CEF doesn't have easy APIs for communication between main and renderer?

#

or does it not have main at all

#

you'll just make an API for context escape then

fossil inlet
#

And I can define all those functions with c++ code

dusk blaze
#

sadantify

charred monolithBOT
jolly egret
#

Translations like that just get outdated real fast

odd heath
#

I'm gonna shoot myself for this

charred monolithBOT
desert cosmos
#

is the translation stuff still planned?

fossil inlet
#

should the badgeapi also inject badges here?

limber skiff
#

does it not lol

fossil inlet
#

i dont see them ๐Ÿ˜ญ
so im guessing not

lime stone
#

"thank you but this is not really useful"

scenic brook
#

Tbh I don't see how it'll be outdated quickly when the readme has been updated twice in a year

#

I'd get not wanting to set a precedent of supporting certain translations though

charred monolithBOT
still maple
#

Would a PR that add an option that should be in vanilla discord fine
basically a button to reset profile theme colors
sadly you can do it with the API, you only need to replace the color by null, but discord doesn't have a way to do it vanilla

scenic brook
still maple
#

i guess maybe ?

#

basically i'd just turn this into this

#

this is just "fancy" html editing here cause i'm not coding smth if it's gonna be refused anyway

austere talon
#

can you just empty the field

still maple
#

but it doesn't work as is in vanilla

#

also it's not really visual

austere talon
#

this is way too niche for a plugin

still maple
#

ic

charred monolithBOT
charred monolithBOT
charred monolithBOT
jolly egret
#

people need to stop acting like the other implementations are better and that yours should be closed

#

like you aren't even a maintainer, you don't know what they want

charred monolithBOT
fossil inlet
#

@inland fable @west arch you love

inland fable
austere talon
#

yeah why the hell did that have round

#

you don't wanna round time

#

you almost always wanna floor

fossil inlet
charred monolithBOT
austere talon
#

thanks

charred monolithBOT
brave sage
#

@grizzled halo thank you so much!

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Yo, Iโ€™m the maintainer of the other plugin, could you lmk what advantages you were thinking of?

(Besides missing the simpler patch to do lol)

My discord username is @Inbestigator

This plugin has native support for custom/event sound packs, as it doesn't listen for MESSAGE_CREATE events and plays its own audio source, rather overrides Discord's own logic for determining whether a notification sound should be played. It also doesn't make a new HTTP request for each ping, wh...

jolly egret
#

wth thats fucking insane ๐Ÿ˜ญ

#

its just not gonna play if they change the location

#

and people were telling this person there was already an existing PR and acting like it was actaully better ๐Ÿ˜ญ

gritty canyon
#

its not gonna play after one update thats a hash they change like every month

fossil inlet
#

insane

#

@jagged reef is there a reason for that?

#

surely discord has to have a function that does that

jolly egret
#

it would just be better to hook into the notifications stuff that discord does instead of stupid stuff like this

#

and hey, the new plugin submission does exactly that

#

you're better off just suggesting changes to the other plugin now to merge in anything that yours does

median rapids
#

wait yeah this plugin is def a better impl lol

jolly egret
#

much better

median rapids
#

@limber skiff what do u think of hypothetically magically storing all cloudsync settings on discord

scenic brook
#

Sounds like potentially magically losing it all too

median rapids
#

i mean this has been sitting dormant for something like 4 years now

jagged reef
#

Planning on doing some sort of rewrite when I get home

gritty canyon
#

๐Ÿ˜ญ please dont rewrite and just suggest changes to the new implementation we dont need 2 competing implementations cuz then none of them will get merged

median rapids
gritty canyon
#

but damn that could work

median rapids
#

yeah lol 5mib is plenty

sullen cobalt
limber skiff
#

dm me about it ;)

austere talon
jolly egret
#

the whole handling notifications yourself is terrible

austere talon
#

the asset link is never gonna expire

jolly egret
#

you should not be manually playing the notification sounds

austere talon
#

yes that's true

jolly egret
#

this doesn't respect anything

sullen cobalt
sullen cobalt
#

true

gritty canyon
#

but its still an awful way to do stuff

austere talon
#

the entire discord app always loads assets every time

#

that's how Websites work

#

but it's usually cached

median rapids
#

y not

sullen cobalt
#

I mean, is it cached? does the service worker actually intercept Audio objects

median rapids
#

it should be cached

gritty canyon
#

it is cached unless you specifically disable cache

gritty canyon
#

its ok ill store you inside my discord accounts proto settings dolfies

austere talon
# median rapids y not

because why the hell would we use something we have 0 control over that can change at any time and requires us to mess with their proto when we already have a working solution that we have full control over and works flawlessly

sullen cobalt
#

do new plugins actually get merged anymore? I saw plugin requests are closed but I'm not sure if that applies here

median rapids
jolly egret
#

requests were just ass or duplicates so they were closed

sullen cobalt
#

understandable

austere talon
#

everything good has already been requested

sullen cobalt
#

I'm sure with the release of new discord features there will be more good plugins to follow

left sequoia
#

could someone fix platform indicators so that they dont tank performance? they keep re-paining every frame inside profile badges

limber skiff
#

platform indicators?

left sequoia
limber skiff
#

the current code for them doesn't even update in real time, how would they be repainting

left sequoia
#

took me a day to figure out that they keep being re-mounted on the dom every few hundred milliseconds

#

\w platform indicator and without

#

green = repaint

#

it seems fine in the user list

fossil inlet
#

huh has discord not pushed anything today, or is venbot broken

jolly egret
#

they haven't pushed

long stream
austere talon
#

it's faster

scenic brook
#

They're making up for lost time

charred monolithBOT
limber skiff
#

also confirmed the other ignore activities patch can be completely removed

#

can you test if changing NoBlockedMessages find to .__invalid_blocked, fixes it? @fossil inlet

fossil inlet
charred monolithBOT
fossil inlet
#

ill try and find something for it

#

it would match this instead

limber skiff
#

oh

sullen cobalt
#

unsure what causes it not to be cached though

#

maybe the response code being 206 causes electron not to cache the asset? im unfamiliar with chromium caching logic so i wouldnt know

#

upon further research im relatively sure the response code is why the asset isn't cached

fossil inlet
sullen cobalt
#

hahaha

#

omg

#

i totally do

fossil inlet
sullen cobalt
#

that's funny

#

nevermind then

#

well now i feel silly

#

that's so funny ๐Ÿ˜ญ

charred monolithBOT
fossil inlet
#

i feel like atp its just pick your posion

fossil inlet
#

Apparently this has been a bug for a few months

charred monolithBOT
charred monolithBOT
#

Content

Discord implemented some changes earlier this week that simplified timestamps on messages significantly. I'd like to be able to get the old timestamps back but I have no idea how to go about coding this, so I am opening a suggestion for it. Hopefully a plugin for this can be added since I see no way of turning it back to the regular timestamps on the Discord settings itself.

Request Agreement

  • [x] I have read the requirements for opening an issue above
scenic brook
#

Smh now I have to fix CustomMessageTimestamps

gritty canyon
#

thank god CSS exists!

span[class*="timestamp_"] > [aria-label^="Today at"]::before {
    content: "Today at "
}
#

for everyone actually thinking about making that a plugin

scenic brook
#

This fix was so hard, I don't know if I can maintain this anymore

brazen bone
#

What did they change about tinestamps? I haven't noticed anything

gritty canyon
brazen bone
#

Oh okay

#

Must be some gradual rollout experiment

gritty canyon
#

yea

desert cosmos
#

insane

opaque silo
#

how do they indicate days other than today now

jolly egret
#

they only removed the today at for... today

#

everything else is still there

#

if it doesn't say a date, its today

fossil inlet
opaque silo
#

STOP ...ING ME

#

I THOUGHT THEY REMOVED ALL TEXT

charred monolithBOT
sullen cobalt
# charred monolith

guh, @jagged reef why though, having 2 competing implementations feels silly

sullen cobalt
sullen cobalt
still maple
gritty canyon
#

no

#

its not an experiment

scenic brook
still maple
charred monolithBOT
gritty canyon
glass jasper
#

They break that way to much

fossil inlet
#

This one should work for a while

fossil inlet
# charred monolith

@limber skiff thoughts on rewriting that patch, you could probably match the let at the top of the function

limber skiff
#

ye sure

fossil inlet
#

@limber skiff rewrote the patch, should be a bit more resilient now

silk cypress
still maple
#

The goal is to make it work on everything

#

Tho i'm not even sure it's doable with pure CSS

silk cypress
#

I hope it is

silk cypress
still maple
silk cypress
#

ah, that's what you meant

#

in that case idk if doing it with pure CSS is possible

glass jasper
silk cypress
#

good point, that was just a weird decision

#

should remove it

scenic brook
#

Damn

sullen cobalt
#

are the today at strings still in the i18n definitions?

fossil inlet
sullen cobalt
#

I'll check later I was just hoping someone would happen to know

#

oh wait, doesn't discord just use momentjs? could hook into whatever calls that to make it add today at in all localisations

fossil inlet
#

@sullen cobalt taking a closer look, discord doesnt use the common i18n system for dates

#

they use something else

sullen cobalt
#

yeah

#

it's for sure moment

fossil inlet
#

(this is for the UK, but should be enough to do what you want

sullen cobalt
#

I mean I wasn't planning on doing anything, I was just curious

#

would it even be worth a plugin? anyone bothered enough by it can just add their own css

fossil inlet
sullen cobalt
#

oh true

sullen cobalt
still maple
#

btw where is that code / how could i access it in a userplugin to be able to format the dates the same way discord format them

scenic brook
#

moment is exported in webpack commons, I assume you just set the locale on that

sullen cobalt
#

moment my beloved

fossil inlet
#

@limber skiff they pushed stable

limber skiff
#

I'll merge later, I can't now

fossil inlet
jagged reef
#

If youโ€™d rather your mr be the one, the code is there

sullen cobalt
#

i mean, i dont really care

#

shrug

jagged reef
#

lol

sullen cobalt
#

i can close my pr i suppose

#

i'll do it later

#

if i remember

jagged reef
#

Ok!

sullen cobalt
#

eh, on second thought i dont think i will, there's still more i'd like to do with my version. whatever gets merged gets merged (or doesn't)

jagged reef
#

๐Ÿ‘

charred monolithBOT
charred monolithBOT
charred monolithBOT
jolly egret
#

I understand that this may be a burden as its an extra 2 patches to maintain but is there anything against me submitting a patch under unsafeViewAsRole?

#

thats really annoying because right now you can only select one role using that feature as the dropdown is still locked

#

I feel like if you're gonna offer it as a hidden setting it might as well be somewhat usable

jolly egret
#

what about it

fossil inlet
#

is there even a plugin that does that

jolly egret
#

Vencord.Plugins.plugins["PermissionsViewer"].settings.unsafeViewAsRole = true; ๐Ÿ‘

fossil inlet
#

TIL

jolly egret
#

it should be as simple as setting this to true regardless & then patching the dropdown to show all roles, which is easy enough

fossil inlet
#

tbh i feel like it would be better to just remove the feature, as its hidden anyway and i doubt many people use it

jolly egret
#

i mean all the feature does is just send a flux event

#

it doesn't use any patches

#

and if y'all remove it i'd just reimplement it as a third party plugin anyway, as this is still kinda useful for me

fossil inlet
#

idrc either, its not something id ever have a use for

jolly egret
#

patch could be improved but that makes the menu accessible, doesn't make all the roles show up though, my brain is mush rn and i don't have patience for it :3

{
    find: "impersonateType",
    predicate: () => (settings.store as any).unsafeViewAsRole,
    replacement: [
        {
            match: /\|\|\i\.isOwner\(\i.id\)/,
            replace: "||true"
        }
    ]
}

#

that one find shows the dropdown menu but it only shows roles equal or below your current top role, theres a couple arrays above in the code where it has everything but i just don't have the brain to match and patch it out

fossil inlet
#

i can repro, there is a test message below

charred monolithBOT
limber skiff
#

just merging fixes now

fossil inlet
#

Email Jumpscare

charred monolithBOT
limber skiff
#

vtest

nimble pendantBOT
charred monolithBOT
#

dcb7a59 Replace unpkg with jsDelivr (#3291) - SukkaW
48868f0 MessageLatency: Fix off by one error on some de... - sadan4
c4fc9ac Fix plugins for Discord update (#3298) - sadan4
94ee0c5 InvisibleChat: Fix crashing when message contai... - sadan4
16910c9 VolumeBooster: Fix error when going back to the... - sadan4

nimble pendantBOT
nimble pendantBOT
limber skiff
#

sorry for the lack of activity right now, been more busy and tired

charred monolithBOT
#

dcb7a59 Replace unpkg with jsDelivr (#3291) - SukkaW
48868f0 MessageLatency: Fix off by one error on some de... - sadan4
c4fc9ac Fix plugins for Discord update (#3298) - sadan4
94ee0c5 InvisibleChat: Fix crashing when message contai... - sadan4
16910c9 VolumeBooster: Fix error when going back to the... - sadan4

limber skiff
#

I'll give it a bit and push extension later

jolly egret
fossil inlet
#

@granite wharf

charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.11.7
glass jasper
limber skiff
#

vext

nimble pendantBOT
fossil inlet
#

vext

nimble pendantBOT
charred monolithBOT
fossil inlet
shut vineBOT
#

Alright @fossil inlet, in 8 hours and 41 minutes: fix

fossil inlet
#

can anyone repro this, i wasn't able to

limber skiff
#

@fossil inlet wanna know how easy it is to enable premium on spotify

granite sky
fossil inlet
granite sky
#

i've enabled this option and than opened my normal profile