#πŸ‘Ύ-core-development

1 messages Β· Page 201 of 1

austere talon
#

should work

#

nvm

#

i have to do this in build tool

#

so bad

charred monolithBOT
swift fjord
#

@austere talon started

austere talon
#

restarted

charred monolithBOT
rugged spire
#

unironically a good idea just make sure to cache them

#

@austere talon i just realised something, does asar-bundle have to do anything with my so-called skill issue i had yesterday where loading @sentry/electron into cache didnt work for me what I think is that you are rewriting loads of stuff just to make getting rid of that easier? is that right or am I crazy

austere talon
#

whar

rugged spire
#

tl;dr: are you moving vencord files into asar archive so we can bomb sentry without horrible code or is it just because its a good idea to do it this way

spark pivot
gritty iris
#

lmao

rugged spire
#

alright

#

just curious though

#

why do you want to move all the vencord files into an asar archive

rugged spire
fossil inlet
rugged spire
#

smh

gritty iris
#

istg if I get a ping telling me to add it gone

rugged spire
gritty iris
#

LMAO

rugged spire
gritty iris
#

not even a second

glass jasper
gritty iris
rugged spire
#

vencord users on their way to make plugins that may or may not add slash commands that immediately send NSFW content:

#

i dont even think im safe from that one fuck you @still wasp (for actually making my stupid idea) blobcatcozy

#

?remindme 1h revive GifRoulette and make it even more obnoxious

shut vineBOT
#

Alright @rugged spire, in 1 hour: revive GifRoulette and make it even more obnoxious

gritty iris
#

real

rugged spire
#

real

still wasp
#

You ask and i deliver

rugged spire
#

i was the one who clicked ⭐ on those gifs

glass jasper
sterile oak
#

sam cute when mad

shut vineBOT
#

@rugged spire, <t:1721336719:R>: revive GifRoulette and make it even more obnoxious

rugged spire
#

no

swift fjord
#

so strings can be packaged

rugged spire
#

but

#

there is no localization api for vencord yet

#

is that being built along with this?

swift fjord
#

and yes there's a pr thats been stalled specifically because of this

rugged spire
#

why isnt it just write locked

swift fjord
#

forgot it was restricted

rugged spire
#

it was open to viewing previously

glass jasper
swift fjord
#

Β―\_(ツ)_/Β―

#

vee took our ability to edit channels away so cant do anything about it

swift fjord
#

i can let you in if you plan on contributing to localization

swift fjord
#

we didn't really need that permission in the first place

woeful sable
rugged spire
rugged spire
#

oh

#

i do have feedback though

swift fjord
woeful sable
rugged spire
#

maybe don't squish everything into one source file

rugged spire
#

why wouldn't it

swift fjord
rugged spire
#

does this include setting names?

woeful sable
#

oh yeah.

rugged spire
#

i saw your huge embed

#

explode

woeful sable
#

πŸ’€

swift fjord
woeful sable
#

i'd like to become a translater for latvian language

#

πŸ™

swift fjord
#

we're only going to support the languages that discord does

rugged spire
woeful sable
#

latvian is in there

swift fjord
#

cool

rugged spire
#

really bad for dev UX imo

swift fjord
#

then ig just wait

woeful sable
#

ah nvm fuck

#

its lithuanian

#

😭

#

next to me

#

guess i cant

rugged spire
#

can you partially expand a folder in vscode (no?)

swift fjord
#

easier to have them all in one place

rugged spire
woeful sable
rugged spire
swift fjord
rugged spire
swift fjord
#

easiest

#

free

woeful sable
#

its ai powered πŸ”₯ (trust)

swift fjord
#

no selfhosting

rugged spire
woeful sable
rugged spire
#

are you saying that is a selling point

woeful sable
#

60,000 hosted words 😭

swift fjord
rugged spire
#

there are hosted alternatives blobcatcozy

swift fjord
#

ik about weblate

rugged spire
swift fjord
#

lewi had their own reason for crowdin i just can't remember

rugged spire
# woeful sable

nah sounds like "let us use your project as AI training data for other people to use"

swift fjord
#

i think it was about a specific string type or something

charred monolithBOT
swift fjord
#

j

austere talon
#

im going insane

swift fjord
#

love

spark cove
#

how lovely

swift fjord
#

shrodingers asar file

austere talon
#

is this cause of flatpak or smth

#

omg it is

charred monolithBOT
somber thorn
#

πŸ’₯

spark cove
#

I build the asar branch at the j commit and relaunched. Got an error probably becuase I'm using the git updater. Went back and built main branch and relaunched,, now my localstorage is resetting every launch lmao this behaviour is wild

austere talon
#

it should work fine

#

oh nvm

austere talon
spark cove
#

I think it was like

austere talon
#

duplicate listener

spark cove
#

Something soething VencordGetRepo

#

yea

austere talon
#

yes

spark cove
#

thank god

austere talon
#

it was cause I was accidently importing http updater even in git updater builds

#

which led to duplicate handlers

spark cove
#

its still like

#

not retaining localstorage lol

austere talon
#

lol

#

multiple instances

#

zombie process

spark cove
#

oh is it just locked

#

lol ok

#

yay my localstorage is back

#

fire

charred monolithBOT
austere talon
#

is that on windows?

spark cove
#

yea

austere talon
#

can you try with normal install

#

pnpm build --standalone then copy all files from dist/desktop to AppData/Vencord/dist

#

and launch Discord

#

it should migrate and relaunch and work

spark cove
#

so

#

oh with normal installer first ok

#

seems like that worked

#

it did something before it actually opened a visible window

#

oh probably made vencord.asar

austere talon
spark cove
#

yea worked

austere talon
#

can u verify that patcher.js indeed contains that

spark cove
#

yea it does

austere talon
#

fire

#

now just need to test updater too and also workflows

#

and then update installer and vesktop

austere talon
#

when u forget da +

limber skiff
#

do we need help for the rust installer

#

I can cook something for it

austere talon
#

nah

#

also no rush for it

limber skiff
#

alright

austere talon
limber skiff
#

yep I saw it

austere talon
#

is github ok

charred monolithBOT
austere talon
#

hmmmmmmmmmmmmmmmm

#

this is kinda tough

#

naming

charred monolithBOT
austere talon
#

okay it works

charred monolithBOT
austere talon
#

my brain is fried

#

working on too many codebases at once

swift fjord
#

pnpm tauri

spark cove
#

amaze balls

charred monolithBOT
austere talon
spark cove
#

correct

#

wtf no balls

austere talon
#

okay now i only need to test on windows and also test the updater

#

then make release of installer, vesktop and vencord

#

i will do tomorrow

#

so if soimething goes wrong i have plenty of time

#

imagine if i push this rn then go sleep

#

stuff will explode maybe and average support user will die without their vencord

still wasp
#

Do

swift fjord
#

you'll do great if you get a software engineering job

dapper crest
#

Please do not private message Vencord plugin developers for support!
Instead, use the Vencord support channel: ⁠Vencord Vendor Venniecord⁠πŸ₯-vencord-support-πŸ₯

This warning should not show up if you have a friend request from the developer

austere talon
#

irrelevant

crude raptor
#

it agrees with this sentiment

#

its weird when someone friends or DMs you and then your client tries to tell you off

fossil inlet
#

also just accept the request or remove the warning

dapper crest
#

I should be able to meow at people and not have them be yelled at for looking

austere talon
#

it's not yelling at anyone

#

it's just informing users not to dm for support

fossil inlet
#

the message is prob for the better tho

woeful sable
#

@austere talon peepoo

#

jshandle

#

& friendssince broken on canary

limber skiff
austere talon
#

horro

limber skiff
#

bro what

#

@austere talon LOOOOL

#

THE FUCKING MINIFIER

austere talon
#

OMG

limber skiff
#

okay this should work

austere talon
#

just use like (\d+(?:e\d+)?)

#

lmao

limber skiff
#

yeah

#

I cant belive this

austere talon
#

17E3 is also valid

limber skiff
#

I will just do [\dEe]

#

πŸ˜”

#

stop

#

why

#

javascripttttttttt

austere talon
#

it doesnt work inside string

#

😭

#

its a literal string

#

Number("17e3")

limber skiff
#

πŸ˜”

spark cove
#

lmfao

limber skiff
#

discord

spark cove
#

amzing

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/USER_PROFILE_MEMBER_SINCE,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

but i think any minifier will do this

charred monolithBOT
limber skiff
#

I'm surprised this never happened before

charred monolithBOT
spark cove
#

oh i see lol true

austere talon
#

it's fairly unlikely for ids to have 3 consecutive zeroes as ending ig

charred monolithBOT
#

Discord Account

CJStylesOrg

What happens when the bug or crash occurs?

the roles will not show up on the mod view at all despite the user having a role shown in their profile. i have tested this on Bread (304260051915374603) whom is a plugin developer in BetterDiscord. cases like this are rare but i managed to stumble upon this.
Preview

What is the expected behaviour?

i expect the plugin to...

charred monolithBOT
rugged spire
#

I maintain a similar plugin

#

also broken again

woeful sable
#

😭

rugged spire
charred monolithBOT
#

nvm i'm wrong. This is a stock Discord issue that we can fix (and need to fix). Discord is using MemberSafetyStore.getEnhancedMember(guildId, userId) to get the highest role, and opening Mod View from the context menu does not try to load that information. See attached annotated screenshot for what needs to be changed to fix this.

![Diagram showing to remove MemberSafetyStore.getEnhancedMember and related get role call and to just find the highest role from the member's (passed to the co...

gritty iris
# charred monolith

I'm never getting the time I spent porting stuff because of vesktops downloader hating asar files

charred monolithBOT
charred monolithBOT
austere talon
#

i already fixed it but I didn't push that

charred monolithBOT
austere talon
#

😭

#

looks like u cant really reload asar

#

so in dev it would have to build non asar

charred monolithBOT
gritty iris
pine topaz
#

this edits the profile status

gritty iris
#

yes

#

but what does rpc have to do with editing the profile status?

#

is either an option I missed or

charred monolithBOT
desert cosmos
# charred monolith

not really selfbot in my opinion as it requires you to actually do something (start some registered application)

#

but maybe spammy no clue

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
austere talon
#

oh

charred monolithBOT
desert cosmos
# frail sky

discord try not to break FriendsSince challenge impossible

brazen bone
crude hearth
#

why can you forward embeds individually

gritty iris
charred monolithBOT
charred monolithBOT
gritty iris
# charred monolith

this is the only broken thing I can find between Vencord Vesktop and the Installer

#

anyways im off 2 work

charred monolithBOT
charred monolithBOT
#

Discord Account

CJStylesOrg

What happens when the bug or crash occurs?

When I delete messages starting from the top of the thread downwards, the messages automatically collapse again after each deletion from the top. However, if I delete messages from any other position in the messages (not starting from the top), the collapsed messages remain expanded and do not collapse.
Preview

What is the expected behaviour?

I expect the message lo...

austere talon
hallow kestrel
#

oh wait while we're at the topic of collapse messages now, i notice that when i turn off the option and delete a message, it continues to collapse newly deleted messages until you relaunch discord.

#

assuming their was supposed to be a prompt telling you to relaunch discord, same issue i made about showhiddenthings which was fixed.

frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

rugged spire
brazen bone
austere talon
#

it is yeah

rugged spire
#

i can relate trolley

fossil inlet
rugged spire
#

both can be found in stock discord, albeit slightly rarer to experience

fossil inlet
#

ah

brazen bone
#

Have blocked user post two messages, uncollapse, delete first

rugged spire
#

Bug I found: Open mod view from context menu, no highest role because discord stupid and goes through membersafetystore to get that

brazen bone
#

Probably (without looking at the code) the collapsed message group is keyed by first message id, so when the first id in the group changes, the useState is reset

#

No idea how you'd go about fixing that

charred monolithBOT
gritty iris
# charred monolith

My helpful assistant @glass jasper has tested this for me and this has fixed it

gritty iris
#

I was apparently too tired to even notice it was still mjs until now ig

glass jasper
#

idk what happened he just blew my computer up telling me what to do.

gritty iris
glass jasper
austere talon
#

that's deliberate

#

esm is a fuck

gritty iris
#

it wont compile for me

#

but compiles for indi

#

.mjs is right

#

so

#

why

#

its adding a third /?

limber skiff
#

what exactly are you testing?

#

I can check to see if it works for me

gritty iris
#

I cant build after the esnext updates

austere talon
#

wdym esnext lol

gritty iris
#

idk just what I remembered from the name

#

of the commit

#

that commit

#

sorry esbuild

limber skiff
#

running pnpm watch requires you to pnpm build first, is that intended?

austere talon
#

its not that easy to fix

limber skiff
#

but outside of that building works fine

gritty iris
#

tf

limber skiff
gritty iris
#

I did both

limber skiff
#

are you sure you have the latest commits lol

#

and didnt mess up a conflict fix

gritty iris
#

ye just merged it

limber skiff
#

try on a fresh new

#

or hard reset

gritty iris
#

alr

#

could it be my pnpm?

#

its on a newer ver

#

highly doubting it tho

limber skiff
#

try on node 20

gritty iris
#

just switched to that

#

seems good now

#

thanks

#

(I forgot I was on node 18)

charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

of course they are not gonna merge canary into stable for the whole weekend

hallow kestrel
# frail sky

friendsince gonna last longer against other plugins in bad patches. πŸ”₯

brazen bone
#

Why is friendssince so fragile?

hallow kestrel
#

assuming discord is really actively working on profiles, since canary got a new look with the new add friend and message button.

#

previously it was behind an experiment.

rugged spire
hallow kestrel
#

i think that is why it added duplicate @ symbols in the mod view in my snippet.

rugged spire
#

mod view internal code is disgusting tbh

hallow kestrel
rugged spire
hallow kestrel
#

this is what it looked like days ago, i just grabbed the old code before i made changes to it.

#

simple fix though

rugged spire
#

fun fact

#

you cant see this highest role in mod view on anyone here

#

Try it.

#

The role just doesn't appear, at all

hallow kestrel
#

oh yeah im the one that made the issue and you responded to it.

rugged spire
#

oh SKULL_SKELETON

hallow kestrel
#

that is honestly stupid though, im sure this new refresh their doing is them trying to sort out this mess.

rugged spire
brazen bone
#

When was the last time discord sorted out a mess

rugged spire
#

idk blobhuskcozy

#

mod view needs other fixes too

#

why doesn't it show what time today something happened

#

knowing "It happened... today" is entirely useless

#

not to mention how it doesn't show who the action was taken against, only who took the action (sometimes?)

hallow kestrel
#

at first i thought the @ symbol was from my snippet but realized it was there before-hand.

#

was this added by the plugin or discord?

rugged spire
#

what plugin are you talking about

hallow kestrel
rugged spire
#

the @ is stock

#

multiple @ is NOT stock

hallow kestrel
#

ah

#

so they couldn't add that to multiple other elements

#

classic discord

shut vineBOT
#

@rugged spire, <t:1721340367:R>: revive GifRoulette and make it even more obnoxious

rugged spire
#

nah

#

i will do it later

fallen vale
#

mood

charred monolithBOT
frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

aaa not the debug stuff

charred monolithBOT
brazen bone
#

Such good commit messages

charred monolithBOT
limber skiff
#

mapMangledModule such an advanced find

frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
charred monolithBOT
gritty iris
rugged spire
#

what did you do

charred monolithBOT
austere talon
#

okay so if you update the asar but don't restart the app and only soft reload, it uses state of the old asar which causes this shit

#

(fixed by full restarting)

#

so we should force a full restart

#

or is there some way to invalidate cache of asar

#

happens on BD too xd

#

i think vencord should force restart after an update

#

actually no we cant

#

cause of auto update

austere talon
#

how does discord solve this in their updater

#

maybe download update to vencord.asar.new and apply on before-quit?

#

😭

frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

it doesnt work...

limber skiff
#

😭

austere talon
limber skiff
#

which means only actually applying the update after a full restart regardless right

austere talon
#

yes

limber skiff
#

if I use the inject script will it use the old installer which doesnt support asar

#

okay yes it will

charred monolithBOT
austere talon
#

you need to build new installer

#

or

limber skiff
#

its probably easier for me to manually install than to clone and build windows

austere talon
#

u can do it really easily

#

go into patcher.js, search for Vendicated/Vencord and change it to Vendicated/VencordStaging

#

then update via in app updater

#

well that's for standalone xd

limber skiff
#

isnt it easier for me to manually inject

austere talon
#

kinda

limber skiff
#

should I look into the code for the installer or its quick to explain what to do

austere talon
#

well what do u want to test exactly

limber skiff
#

anything lmao

austere talon
#

first of all, check out the branch and build and ur dev install should still work without having to reinstall

#

other than that just build the installer from source and put it where the runInstaller.mjs script downloads installer to

if you build the cli instead of gui, you only need go installed and nothing else and it will compile fast

#

go build --tags cli

#

that'll build the cli

limber skiff
#

this seems easy though

#

what is __filename

austere talon
limber skiff
#

ah

#

okay I will clone the installer

austere talon
limber skiff
#

oh

#

😭

austere talon
#

because the installer puts app.asar which is hardcoded to import AppData/Vencord/dist/patcher.js

#

so users would have to reinstall

limber skiff
#

I see

austere talon
#

but yeah just build the cli it won't take u long

#

building gui neds a bunch of c++ libraries and 5+ minutes to compile so don't do that xd

#

anyway i would say the PR is pretty finalised now

just need to do a bit more testing and then we can release it

#

hopefully tomorrow

limber skiff
#

is this the proper output for new injection

austere talon
#

yes

#

nothing changed about it

#

it's the same as before, just slightly different app.asar contents

limber skiff
#

alright it worked

austere talon
#

btw the new installer should also just work when run in normal mode cause i uploaded a testing build to main repo releases

limber skiff
#

change anything and build again or something in particular

austere talon
#

you need to change vencord.asar to a different build and then reload

limber skiff
#

so you need to do a standalone build?

austere talon
#

i wouldn't bother looking more into fixing it

#

the apply on quit solution is perfect imo

#

it will also prevent issues with making change in main and then people only reload renderer and renderer expects new main but really has old main

#

happened a few times in the past

limber skiff
#

alright

austere talon
#

and pushed random commits

#

who tf starring that repo

limber skiff
#

so many files lmaoo

austere talon
# limber skiff

we can delete all .js, .map and .LEGAL.txt files except patcher.js

limber skiff
#

why is patcher needed still?

austere talon
#

to migrate old installs

#

😟

limber skiff
#

fair enough

#

we need to remove this

#

not needed anymore

austere talon
# austere talon the way i was testing updater is that i just made a separate repo at https://git...

if u wanna help me test updater:

  • make a repo like this ^
  • create devbuild release (empty) and enable workflows
  • push my asar branch to main branch in ur repo and make sure that it creates release
  • install normal vencord with the old official installer, open patcher.js, and change all Vendicated/Vencord to your repo you made
  • update once with in app updater
  • now when you open Discord next time, it should migrate you to new asar install
  • now push some commit to your repo and update with in app updater
limber skiff
#

I will help you test rn since after tomorrow I will be far away from my pc

#

for days

austere talon
#

scary

limber skiff
#

so this is the last time I can lol

austere talon
#

and uhhh be very careful to push to the right repo and not vencord main repo

limber skiff
#

lmao

#

πŸ”₯

#

did I fuck up

#

okay fixed

limber skiff
#

@austere talon do I need to add any env vars?

austere talon
#

ignore that

#

only upload release matters

limber skiff
#

oh rightt

limber skiff
#

@austere talon I updated and choose to not restart

then when I clicked to exit discord using the tray

austere talon
#

why tf not permitted

#

does it lock asar 😭

limber skiff
#

ye

#

it does

austere talon
#

which one

limber skiff
#

vencord.asar

austere talon
#

okay

limber skiff
#

oh it completely bricked discord

#

the error shows everytime you try to open now

austere talon
#

yeah cause it applies old updates on boot

limber skiff
#

yep

austere talon
#

anyway it's not hard to fix

#

just need to

  • rename vencord.asar -> vencord.asar.old
  • rename vencord.asar.new -> vencord.asar

on boot:

  • delete vencord.asar.old
#

maybe u wanna do that

#

if not thats okay, i'll do tomorrow

limber skiff
#

I dont think that will work

#

unless using the explorer is different than using the apis

austere talon
#

nah u can rename it

#

vencord installer does it too

grave mangoBOT
# austere talon https://github.com/Vencord/Installer/blob/main/self_updater.go#L113-L121

self_updater.go: Lines 113-121

if err = os.Remove(ownExePath); err != nil {
    if err = os.Rename(ownExePath, ownExePath+".old"); err != nil {
        return fmt.Errorf("Failed to remove/rename own executable: %w", err)
    }
}

if err = os.Rename(tmp.Name(), ownExePath); err != nil {
    return fmt.Errorf("Failed to replace self with updated executable. Please manually redownload the installer: %w", err)
}
austere talon
#

try it with pwsh / cmd

limber skiff
#

everything is exploding 😭

#

fuck off

#

it doesnt work

austere talon
#

"another process"

#

i think u can rename it from within

limber skiff
#

I tried with renameSync

#

but didnt with cmd within the process

austere talon
limber skiff
#

nop

limber skiff
austere talon
#

well i'll try tmrw

rugged spire
#

dumb suggestion

#

why don't you just perform this logic before vencord.asar is even loaded using a stub loader of some kind

austere talon
#

works for BD too

#

but i will check tmrw

limber skiff
#

alright

charred monolithBOT
fallen vale
still wasp
#

AlwaysReplyPing would probably do the job

#

Actually no that could be misleading too

brazen bone
#

That sounds like it would ignore the toggle on send, not receive

still wasp
#

Yeah that's what i was thinking

charred monolithBOT
hidden grotto
#

https://docs.vencord.dev/installing/

Docs seem to be wrong on building from src, use buildWeb instead of build --web on windows, looking @ package.json and the scripts with gitblame I don't see when/how this changed recently.

Vencord Docs

How to install Vencord on your device

nimble plaza
#

buildWeb was always a seperate script, whoever put that in the docs was wrong

hidden grotto
#

Looking back further, it was always wrong, heh.

charred monolithBOT
#

Example: putting this: "󠁛󠀣󠁦󠁦󠁦󠁦󠁦󠁦󠁦󠁦󠁦󠀬󠀣σ ₯σ ₯󠁝" in your bio will make anyone using the plugins client crash when viewing it. Decoding it looks like "[#fffffffff,#ee]". It crashes because it doesn't validate the hex codes to be only 6 chars long, which then crashes the client.

frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

gritty iris
charred monolithBOT
brazen bone
#

Anyone know how to deal with scrollers? Currently when a message is very long the ML modal has a scrollbar over the entire contents including the tab bar, but I'd rather have the tab bar stay at the top and only scroll the message content

granite sky
#

Can't you just make overflow-y: scroll; on a message container?

grave mangoBOT
granite sky
#

Looks like it

brazen bone
#

Doesn't seem to work, probably because it's already inside another scroller

charred monolithBOT
fallen vale
#

oops :p

charred monolithBOT
charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

Every action is saying twice.
I can send an example if u need

What is the expected behaviour?

The narrator only speak once

How do you recreate this bug or crash?

Its happening everytime (even after restart app)

Errors

No error

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens there as well
  • [X] I have read the requirements for opening an issu...
hidden grotto
hidden grotto
#

Yeah, OS is free

turbid hatch
#

it would unfortunately still require us to leak one of our names or establish a company (which will still require that anyway)

#
  • globalsign certificates need to belong to a legally registered org
#

i dont know if signpath take that responsibility when issuing for open source

#

ah

#

it comes up as signpath foundation

#

i guess thats not a bad solution

#

we'll see

#

we have to put it through their infra though which is kind of a blackbox

charred monolithBOT
#

Discord Account

hauntii

What happens when the bug or crash occurs?

VcNarrator will say all actions that occur twice if Discord Overlay is injected into a game.

What is the expected behaviour?

VcNarrator will only speak the actions from the main Discord window.

How do you recreate this bug or crash?

  1. Enable VcNarrator
  2. Open a game with Discord Overlay enabled
  3. Observe it speaking twice

Errors

None

Request Agreement

  • [X] I am using Discord Stable or t...
fallen vale
desert cosmos
fallen vale
# charred monolith

if its been reported twice its prob an actual issue, i can't replicate though

hallow kestrel
hallow kestrel
#

i love how that person just scrolls all the way down the commits just to comment on a random commit from december of 2023.

dawn coyote
#

posts useless comment
comment is wrong

hidden grotto
#

And I don't think 99% of companies should be self hosting code signing.

It's hard, plus the dongles.

Tons of benefits for very little risk

pine topaz
charred monolithBOT
turbid hatch
#

you can get a signing server to install and put on the network

#

blackboxes and blind trust are not good security practice (see: literally crowdstrike)

#

i'd rather not sign if there's no way for us to actually sign our code ourselves

#

i dont trust random companies that offer codesigning for free if you dont get the certificate

#

plus most companies dont want to submit their code through the cloud blackbox because of trade secret reasons

#

im aware this is different because its OSS software, but we still dont know what they're doing and they don't publish the process anywhere

#

i give it an executable, i get a different, signed executable back out

#

i dont know whats going on in between

#

i wish we could get the old open source developer certificates back

#

those were fire

#

and you got to actually keep them yourself and run your own signing process

shut vineBOT
#

@rugged spire, <t:1721513189:R>: revive GifRoulette and make it even more obnoxious

rugged spire
hidden grotto
# turbid hatch you can get a signing server to install and put on the network

That's the issue.

(From the stance of prodsec of a security vendor) Securing the network and having a prodsec team to analysis stuff when it gets flagged (supplychain attack style) is not easy. SLSA is going to help get companies to where they need to be but OSS does not have the infra in place for it.

I don't see most of the above from my view of things, but maybe it's different in SMB?

https://azure.microsoft.com/en-us/products/trusted-signing would be an alternative for companies, but requirements are a lot higher.

Verifying code is super easy now too. Heck, Ghidra is free and you can do so much with just hashes.

I get the FOSS communities want to DIY stuff, but somethings are better to be secured at scale where more resources can be spent

hidden grotto
dawn coyote
#

i wouldn’t want to run an exe from a black box

hidden grotto
frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:!(\i).{0,10}children:[(\S)/


**__FriendsSince (had no effect):__**
ID: `926150`
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i\.id)}\)}\)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fallen vale
#

friendssince my beloved

glass jasper
#

what does discord have against friendssince?

fallen vale
#

they're messin around with profiles

austere talon
#

oh they finally pushed it to stable

hallow kestrel
#

this is using the cta message and call experiment on canary but they removed an experiment recently which changed the design of the add friend button, forcing it to the stable build too, this is likely next.

frail skyBOT
#
Bad Patches

FriendsSince (had no effect):
ID: 926150
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i.id)})})/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:!(\i).{0,10}children:[(\S)/


**__FriendsSince (had no effect):__**
ID: `926150`
Match: ```
/BOT_PROFILE_CREATED_ON,.{0,100}userId:(\i\.id)}\)}\)/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

huh

#

@limber skiff u love

#

they broke again xdddd

#

looks like old patch works again

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:!(\i).{0,10}children:[(\S)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

LOOOOLLLL

#

we love

hallow kestrel
#

Friendsince has been detroned by PictureInPicture

#

we're living in a new era now

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jagged cloak
#

lool

charred monolithBOT
austere talon
#

sounds like selfbot

charred monolithBOT
spark pivot
#

why c# style

still wasp
spark pivot
#

missed a few spots lol

crude raptor
#

is that specifically a c# thing? thought it was just how some IDEs formatted code by default

spark pivot
#

most c# code i see or write looks like that

#

also ides tend to format it like that by default

rugged spire
still wasp
#

I'll fix soon

spark pivot
#

REAL

fallen vale
austere talon
#

it is conventions are disgusting though

fossil inlet
fallen vale
inland fable
#

@austere talon hello sorry for being months late never noticed you responded to my PR cause i dont check my email often
you suggested this change however when i remove the count thing and there are more users than the max (12) the count is needed for it to show "+1" or +2 wtv properly

#

without

inland fable
#

fuck i broke something

#

im gonna cry i dont understand git

#

is there any chance i could close my old pr and make a new one because idk how to fix git issue

limber skiff
#

what's the issue

inland fable
#

and some stuff are red in constants when i just added myself

limber skiff
#

I will resolve for you

#

actually no I cant

#

what's the name of the vencord repo remote you have

#

upstream? origin?

inland fable
limber skiff
#

you did I think yeah

#

that works lol

charred monolithBOT
granite sky
inland fable
granite sky
#

Oh, my bad
I thought with/without this change

median rapids
#

so many wasted lines for no reason

charred monolithBOT
fallen vale
#

oops

desert cosmos
fallen vale
#

i didnt realise they changed it already

dusk blaze
fallen vale
#

pointing stuff out on drafts isnt the end of the world lol

glass jasper
# dusk blaze

not enough arrows, i dont know what im suppose to be looking at

fallen vale
#

it just-so-happens that they already caught it

fallen vale
#

github webhooks how i dont love you <3

rugged spire
#

You will push 0 commits

fallen vale
#

i would heart emoji react that but im kinda in a weird state of schrodinger's programmer which prevents me from doing so

charred monolithBOT
gritty iris
fallen vale
gritty iris
charred monolithBOT
#

Description

Create option for link hiding via ghost messages (client parser bug that has been around for a while with evidently no action from discord to fix it). Adding for feature parity with the BD plugin.

It's off by default because it doesn't work particularly well for multiple emotes and editing (you have to delete the links yourself), although it will append new emotes upon edit.

This more for people like me who are bothered by the little changes when switching over from BD; ...

jagged cloak
#

cant wait for ppl to complain abt it not working/spam cause a nonzero amount of servers have the spoiler thing automodded

glass jasper
charred monolithBOT
sleek pine
#

I searched for this here but what about switching to bun for faster deps install times? Bun is already for windows and it should work fine, i can also make pr but asking first. Well yeah it's maybe pointless as vendicated said earlier but still it reduces time.

charred monolithBOT
#

DeepL API has a CORS policy that blocks requests from the frontend. A way to deal with this would be to use a proxy server, but then you would be sending your API key and potentially private message content to an individual's proxy server before DeepL.

we can just delete the CORS header in desktop clients (electron based) in the same way that CSP is modified https://github.com/Vendicated/Vencord/blob/main/src/main/index.ts#L90-L124

charred monolithBOT
#

https://github.com/Vendicated/Vencord/blob/main/src/plugins/openInApp/native.ts

cool, I actually got everything working using a native script. however, this means that only google translate would be available on web, and deepl would only work on the desktop client, right? would this just make the entire translate plugin incompatible with web, or would there have to be some sort of built-in check for the platform before letting the user switch to deepl?

austere talon
#

pnpm is already very fast

#

and it's also irrelevant

sleek pine
#

I've always had faster installation times with bun and also running scripts from pkgjson but yeah if it's irrelevant then there's no reason to do it

brazen bone
#

Building is already just about instant, especially with pnpm watch

crude hearth
#

pnpm and esbuild πŸ’ͺ

turbid hatch
#

also installing a whole new runtime just for package management seems a bit pointless

charred monolithBOT
fallen vale
heavy bloom
fallen vale
#

makes sense

fallen vale
fallen vale
weary bolt
fallen vale
weary bolt
fallen vale
#

no i didnt

weary bolt
weary bolt
charred monolithBOT
crude hearth
#

I think directly using restapi is a bad idea

charred monolithBOT
#

Discord Account

@lncvrt

What happens when the bug or crash occurs?

image
The bug is the icon for platform indicators console is messed up

What is the expected behaviour?

Should be a proper icon

How do you recreate this bug or crash?

Find a person on a console then use platform indicators

Errors

No response

Request Agreement

  • [X] I am using Discord Stable or tried on Stabl...
brazen bone
#

No, fridge sounds about right, speaking as a pc gamer

#

Since when does discord run on consoles

nimble plaza
#

xbox and ps5 have it now

charred monolithBOT
charred monolithBOT
desert cosmos
#

I love github

fallen vale
limber skiff
#

someone find for me the name of the store that has the getLocalPresence function

uneven needle
#

selfpresencestore

nimble plaza
#

damn i was too late

limber skiff
#

thank you

#

both blobwob

#

i need the same for isEditing, isEditingAny

nimble plaza
#

EditMessageStore

limber skiff
#

thank youu

fallen vale
limber skiff
#

I'm cleaning up my branch without touching discord code since I'm using a potato laptop

nimble plaza
#

findByProps(funcname) -> show function definition -> scroll down a bit to find the displayname

#

lemme make a cid

#

vid

brazen bone
#

For me it's just a quick grep

nimble plaza
#

video wont record :c

limber skiff
#

another one

getMessageRequestsCount

nimble plaza
#

MessageRequestStore

limber skiff
#

getUploads

#

I think that's just UploadStore

nimble plaza
#

UploadAttachmentStore

limber skiff
#

nice

brazen bone
#

Easy stuff

nimble plaza
#

scary

limber skiff
#

allSummaries, findSummary

nimble plaza
#

SummaryStore

limber skiff
#

getPendingReply

fallen vale
#

@limber skiff just ooc, whatre ya doin?

limber skiff
#

also is getPlayerState from a store (Spotify related)

limber skiff
nimble plaza
nimble plaza
limber skiff
#

nicee

#

getVoiceStatesForChannel

nimble plaza
#

SortedVoiceStateStore

limber skiff
#

does it have getCurrentClientVoiceChannelId too?

nimble plaza
#

nop

#

VoiceStateStore

limber skiff
#

I see

charred monolithBOT
somber thorn
#

🧹

charred monolithBOT
fallen vale
charred monolithBOT
limber skiff
#

cool like 3 things broke

#

I'm done trying to change this without being able to test

frail skyBOT
#
Bad Patches

ImageZoom (errored):
ID: 124347
Match: ```
/placeholderVersion:\i,/

Error: ```
Invalid destructuring assignment target

SpotifyControls (found no module):
ID: -
Match: ```
"AccountConnected"

Bad Webpack Finds
findByCode("type:"UNSYNCED_USER_SETTINGS_UPDATE",settings:{useSystemTheme:"system"===")
Bad Starts

None

Discord Errors

None

limber skiff
#

oh so it wasn't all my fault

charred monolithBOT
rugged spire
#

crazier regex

#

though i'm pretty sure that regex already was huge

brazen bone
#

It's only crazy because of all the \u{}, without that it looks pretty tame

#

It's just \[#([a-fA-F0-9]{0,6}),#([a-fA-F0-9]{0,6})\], but with tag characters instead of ascii

still wasp
#

Absolute madlad

gritty iris
#

Did discord actually name something isCopiedStreakGodlike lol

gritty iris
gritty iris
rugged spire
#

this has been an easter egg for years

#

even before simplified profiles

gritty iris
#

I know of the party mode copy or was it typing thing

#

But idrk Easter eggs

gritty iris
woeful sable
uneven needle
gritty iris
#

Or are we looking 2 different places

#

It seems to work fine with the match match: /dataSafeSrc:\i,children:/, if you want you can test it

uneven needle
#

but why should i change it again

gritty iris
rugged spire
#

Lookback kabooms your performance too iirc

gritty iris
#

That's all I'm saying

rugged spire
brazen bone
uneven needle
gritty iris
#

I need .5ms

#

Cmon now

rugged spire
gritty iris
#

when was your laptop made skullsob

brazen bone
#

Unless your laptop is moving at relativistic speeds, a millisecond is equally long on all hardware

#

If your laptop is moving at relativistic speeds, I lift my hat to you

gritty iris
#

I'm running an ide drive

#

My discord loads in 200s and I'm satisfied

uneven needle
charred monolithBOT
gritty iris
#

If it ended at : foo } then it was matching below it because of the ,

uneven needle
gritty iris
#

I'm so confused

#

If your matching the thing below the let then why the look back it makes no sense

#

You can just match to what's after placeholderVersion and it's fine

gritty iris
uneven needle
gritty iris
#

It does tho?

#

I did it?

#

Don't match placeholderVersion?

#

Match dataSafeSrc?

#

Wait

#

I'm so lost

uneven needle
#

we will back here again

gritty iris
#

.{1,50} is what I used to get around that

#

At this point just match children

#

,children: (joke)

austere talon
#

apparently you can now use listening RPC on canary

#

so the activity fixer is no longer needed

rugged spire
#

for timebar?

austere talon
#

nop

#

timebar is still spotify only

#

but u can use listening type

rugged spire
#

oh

#

with regular RPC calls?

frail skyBOT
#
Bad Patches

ImageZoom (errored):
ID: 124347
Match: ```
/placeholderVersion:\i,/

Error: ```
Invalid destructuring assignment target

SpotifyControls (found no module):
ID: -
Match: ```
"AccountConnected"

Bad Webpack Finds
findByCode("type:"UNSYNCED_USER_SETTINGS_UPDATE",settings:{useSystemTheme:"system"===")
Bad Starts

None

Discord Errors

None

woeful sable
#

el patch.

austere talon
#

oh broken on stable too

frail skyBOT
#
Bad Patches

ImageZoom (errored):
ID: 124347
Match: ```
/placeholderVersion:\i,/

Error: ```
Invalid destructuring assignment target

SpotifyControls (found no module):
ID: -
Match: ```
"AccountConnected"

Bad Webpack Finds
findByCode("type:"UNSYNCED_USER_SETTINGS_UPDATE",settings:{useSystemTheme:"system"===")
Bad Starts

None

Discord Errors

None

rugged spire
#

unsure of it it is a Good Fix or not

scenic fog
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

uneven needle
charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.9.6
austere talon
#

i was just about to do the same lmao

#

i already had typed out a longer message but then u closed it before i could send