#๐Ÿ‘พ-core-development

1 messages ยท Page 199 of 1

charred monolithBOT
limber skiff
#

Test Patches #1000 ๐Ÿฅณ

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

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

i think u recommended using an observer

limber skiff
#

idk if I like hooking into webpack for that

austere talon
#

why is webhook dead

#

it's not posting

#

oh wait it's github

charred monolithBOT
rugged flume
charred monolithBOT
charred monolithBOT
charred monolithBOT
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

charred monolithBOT
austere talon
dusk blaze
fallen vale
topaz spoke
charred monolithBOT
glass jasper
#

both ig

#

you are a contri

fallen vale
glass jasper
#

goodbee

#

oh wait i didnt notice that

fallen vale
#

it logs comments, and you acknowledged the fact i commented

glass jasper
fallen vale
#

ahh

#

yea, i contributed to newguildsettings

#

added a button in the context menu

charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.9.4
fallen vale
#

wasnt enough of a contrib for adding myself to authors but shrug
only thing ya get outa that is a badge so idrc

charred monolithBOT
spice python
fallen vale
#

f

austere talon
#

stop trolling / contributing to spam

spice python
#

okie

fallen vale
charred monolithBOT
fallen vale
#

uwu

austere talon
#

v+ no programming @fallen vale

verbal pumice
#

why

#

wtf

median rapids
#

lmao

charred monolithBOT
prime dew
fallen vale
#

i dont understand removing things because of user-installable apps.
The apps would then have to be hosted, which isnt always free, am i wrong?

nimble plaza
fallen vale
nimble plaza
#

yes but im sure you can find one to suit your needs

#

you dont have to host one

#

also no it can be free

#

ie: http interactions app ran thru cf workers

austere talon
#

I literally included links to examples in the commit description bruh

#

first result

tame flaxBOT
austere talon
#

objectively better than the plugin

median rapids
#

real

charred monolithBOT
weary bolt
#

2,000 commits on main branch! ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰

charred monolithBOT
charred monolithBOT
desert cosmos
#

emby user? no way

charred monolithBOT
desert cosmos
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

charred monolithBOT
charred monolithBOT
#

no. use the vencord installer for installing OpenAsar. do not mess with the files manually

hei, am I blind? I installed 'Vesktop' on Linux, couldn't find an OpenAsar Installation in the installer neither the Discord settings, where could I find it if it is supported in 'Vesktop' (dis even a official build?) :,)

yes, vesktop is official. no, openasar isn't supported on vesktop. it's discord desktop only

#

aww sad :(

it's discord desktop only
didn't quite understood this, so how would I get the Vencord client with the OpenAsar option in it?

if I would interpret it right, I would need to install the 'default' Discord and doin' the steps provided in the README?

Whats the benefit of Vesktop against Discord x Vencord? beside that Vesktop seems much more easy to install and has 'Venmic'? - I'm on Wayland KDE if it is imporant to know.

charred monolithBOT
charred monolithBOT
dusk blaze
visual forum
#

So i had a question, how exactly does the auto-updater work? It pulls changes from the repo and then rebuilds, right? I looked at the code and dont really see where/how its comparing/fetching changes, and its confused me for alittle bit now, because thats a really good update system,

woeful sable
austere talon
visual forum
#

Really good shit guys,

#

Keep it up โค๏ธ

charred monolithBOT
charred monolithBOT
charred monolithBOT
desert cosmos
#

crazy

fallen vale
#

i was crazy once

frail skyBOT
#
Bad Patches

BetterSettings (took 5.899999999994179ms):
ID: 493544
Match: ```
/(0,\i.useTransition)((\i)/

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
desert cosmos
#

happy 2000 commits

limber skiff
#

yayy

#

why would that patch take 5ms

#

it's so simple

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

of course

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
limber skiff
#

nop

#

small

verbal pumice
#

cosmic ray moment

charred monolithBOT
charred monolithBOT
kindred estuary
#

lol

fallen vale
fallen vale
still wasp
dusk blaze
#

me when \i

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

fossil inlet
#

@dusk blaze :huk:

charred monolithBOT
charred jacinth
#

Waiting forever

austere talon
#

v+ no programming @charred jacinth

charred monolithBOT
#

Discord Account

CJStylesOrg

What happens when the bug or crash occurs?

When modifying toggles in the ShowHiddenThings Plugin Settings, no changes will be made until you restart the Client. however, it doesn't prompt that you must restart the client to apply the changes like it usually does for other plugins.

https://github.com/Vendicated/Vencord/assets/90815473/700d6658-7829-41a5-b302-84d377edc376

What is the expected behaviour?

I expect Vencord to prompt to restart th...

desert cosmos
#

why does the cloud/theme tab exist on userscript if its useless

#

wouldnt it be better to remove it completely then?

#

if thats even remotely possible

woeful sable
#

theres a IS_WEB var so i'd assume so

still wasp
woeful sable
#

ohh oops

still wasp
#

So

woeful sable
#

miss-read it

summer fiber
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

spring gorge
#

how long do prs realistically take to merge lol

dusk blaze
#

some take 5m

#

some take a year

#

be patient, that's it

spring gorge
#

fair

charred monolithBOT
desert cosmos
fossil inlet
#

i dont think he knows how to use git ๐Ÿ˜ญ

rugged spire
fossil inlet
rugged spire
fossil inlet
#

also im not sure, but that might be an intentional typo

#

yea, looks like its not a typo

still wasp
charred monolithBOT
spark pivot
#

draft pr for single word change is crazy

rugged spire
still wasp
glass jasper
charred monolithBOT
sterile oak
#

this doesn't look right

charred monolithBOT
charred monolithBOT
charred monolithBOT
rugged spire
#

they didnt clone

#

did you even read what you replied to?

austere talon
#

quit yapping

#

why is making a good cross platform app so hard

#

looking into tauri rn for vencord installer rewrite

rugged spire
austere talon
#

it seems very good but it doesn't seem like tauri can make windows portable build

#

and installer for an installer is kinda deranged

rugged spire
rugged spire
#

trol

austere talon
#

the difference is that tauri actually makes sense for installer

granite sky
austere talon
#

i have very specific requirements and tauri matches the best so far

rugged spire
austere talon
#

the only bad aspect is that it requires an installer on windows

rugged spire
#

what does it do on linux/mac

austere talon
#

Linux is portable via appimage

#

mac is just an .app

#

both are perfect

#

just windows is meh with nsis/msi

#

does latest Windows 10 have webview preinstalled?

silk cypress
#

I don't think so

#

that's some microsoft edge thing right

austere talon
#

cause Windows 11 does and we don't need Windows 7/8 support anymore

spice python
#

i have it installed

#

never installed it manually

silk cypress
#

yeah I don't think it's pre-installed on windows 10

dawn coyote
#

spinning up a vm to check

silk cypress
#

windows moment

dawn coyote
austere talon
#

yes

dawn coyote
#

what does web view even do

austere talon
#

web view

rugged spire
austere talon
#

apps can render web stuff without needing their own browser

dawn coyote
#

ah, thats cool

#

so basically you can remove the overhead of shipping whole chromium?

austere talon
#

basically i want the installer gui to run as normal user and elevate as needed by running itself as cli

dawn coyote
#

epic

austere talon
#

it's just electron but browser provided by the system

rugged spire
#

though some systems use different web engines (usually WebKit)

austere talon
#

android has had it for ages

#

is discord kinda dying or is my internet shit

dawn coyote
rugged spire
#

discord dying i think

austere talon
#

no difference

spring gorge
#

i used it once

rugged spire
dawn coyote
#

is that literally a PICe card for browsers

austere talon
dawn coyote
#

yes

rugged spire
dawn coyote
#

well I installed firefox and chrome on it, but besides of that it's a bare win10 install

spice python
dawn coyote
rugged spire
#

36gb ram to a vm?

dawn coyote
#

yes

rugged spire
#

WHY

dawn coyote
#

because I can

austere talon
#

interesting

#

so we can just make portable app

#

and if webview isnt installed tell people to update their windows or install it manually

rugged spire
#

appimage

austere talon
#

yes

rugged spire
#

vee

#

do i have to explain to you how end users are stupid

#

and how end users wont use the appimage because appimage is a cursed creation depending on 5 year old eol libfuse 2

austere talon
#

hmm yes i love running shell scripts without reading what they do

#

DOTNET

#

HORROR

dawn coyote
#

rewrite discord in .net

austere talon
#

horror

spring gorge
#

we should put vencord on the app store

#

๐Ÿ’ฏ

rugged spire
austere talon
#

the horror

#

v+ no programming

rugged spire
dusk blaze
median rapids
#

yeah me too lol

#

who got time for that

surreal fiber
charred monolithBOT
turbid hatch
#

WHY TAURI

#

WAILSINSTALLER IS RIGHT THERE

#

๐Ÿ˜ญ

jagged cloak
#

HORROR TAURI

#

i hate tauri ever since i built a project that uses wix

jagged cloak
#

its been so long since wailsinstaller was touched

turbid hatch
#

sobbing and absolutely throwing up rn

long stream
#

tauri is such a pain to work with

#

you change one line on the backend and it recompiles the whole project

#

which takes like 10 minutes ๐Ÿ˜ญ

turbid hatch
#

why wails is kind of okay

#

its not that slow to compile

long stream
#

im talking about tauri

#

silly

jagged cloak
#

depends on the project i think

#

(tauri) still takes forever in comparison though

turbid hatch
#

as in, [thats] why wails is okay

long stream
#

o

turbid hatch
#

welcome to english where words are optional all around!

jagged cloak
#

true!

turbid hatch
#

come one n all to our fantabulous lang

long stream
#

we should turn english into a programming language

#

slightly change the grammar and the behaviour completely changes blobcatcozy

turbid hatch
#

ill go learn japanese now and simply be better at speaking

jagged cloak
#

or chinese

#

slightly change facial expression

#

ur done for

#

u said fuck my dog

long stream
#

๐Ÿ˜จ

charred monolithBOT
austere talon
turbid hatch
#

wails

#

:(

austere talon
#

clean rewrite is good

turbid hatch
#

waaaaaaaaaaaaaaaah

#

๐Ÿ˜ญ

#

i dont rly like tauri but i will learn just for you

austere talon
#

why

#

u don't have to learn

#

i can do it myself xd

austere talon
#

it's really cozy for this

dawn coyote
#

i am just excited because of better performance

turbid hatch
#

i dont know how much its changed but tauri used to be a genuine joke

#

so

austere talon
#

they have a template that just worksโ„ข

turbid hatch
#

if it has change dfor the better then thats good

austere talon
turbid hatch
austere talon
dawn coyote
#

I want my installer to render in 4k 1000fps

turbid hatch
turbid hatch
austere talon
#

I will push to git soon so u can see

turbid hatch
#

or your webview of choice

dawn coyote
austere talon
#

i didnt do much yet, just wrote code for testing the basics, namely

  • platform specific code
  • gui + cli dual
  • elevating via polkit
#

all works

#

so all the obstacles are out of the way

austere talon
#
  • existing github action
#

seems like better experience than wails

turbid hatch
austere talon
#

the old installer codebase is pretty messy so a rewrite is needed anyway

and I wanted to try rust for it :p

turbid hatch
#

it used to be no templates and the rust api was extremely

#

bad

austere talon
#

actually it builds dmg, rpm, appimage on linux

#

also has auto updater api

#

seems pretty solid

#

not that we need the updater but it's cool

turbid hatch
#

not bad at all

austere talon
#

also it has working hot reload for your frontend

#

obviously if you change backend it has to reopen

#

but same in electron

#

what surprised me is that there's no elevate crate

#

have to rawdog pkexec shell command

#

and have to figure out how to elevate on mac

swift fjord
#

web tech means we can make it much prettier

austere talon
#

yes that's the idea

#

wails is also web

swift fjord
#

whats wails

#

its name reminds me of rails, is it related

charred monolithBOT
#
[Vencord/Installer] New branch created: tauri
austere talon
#

you can check

turbid hatch
#

oh wow it actually doesnt suck anymore

austere talon
#

how did u check so quick

turbid hatch
#

main file

#

im basing it off of my experience

#

they actually reorganised it to be better

#

thats good

#

are u gonna use the uhhhh

#

stuff we did in wails, just rejig it a bit

#

to work with tauri

austere talon
#

the elevation uses the cli

#

it's kinda cursed

#

it spawns itself with pkexec

#

it will have to pass state around somehow via shell

turbid hatch
#

probably not the worst thing u could do

turbid hatch
#

rerun it with a state env var

austere talon
#

i think it's the only way to elevate withotu running the entire thing as root

#

i couldn't find any better way

#

unless u like ask the user to setuid the binary ๐Ÿ˜ญ

#

but yeah it works

turbid hatch
#

nah

#

u could use policykit

#

thats what p[olicy]k[it]exec uses

#

o wait its called polkit now

#

sorry

austere talon
#

well it works like this

turbid hatch
austere talon
#

WHY ARE ALL SCREEN RECORDERS DOGSHIT BITRATE

#

i hate it here

#

boutta bust out obs

austere talon
#

like polkit can't elevate ur current process that's not how it works

#

it just tells some other proccess hey bestie i wanna do this thing

#

even without pkexec you'd still be using dbus or smth

#

and then tell it to launch ur binary

#

even vscode uses pkexec

turbid hatch
#

eh in that case then

#

env vars to share state

austere talon
#

nah just cli args lol

#

easier

turbid hatch
#

or that

#

unless u want to go the route of shared memory

austere talon
#

also i need to figure out how to make this prompt less horror

#

like show custom text

turbid hatch
#

you cant

austere talon
#

i googled a bit and it seems like u need to define a policy file

turbid hatch
#

you have to install a custom policy yeah

austere talon
#

but that has to be installed in root writable folder

#

so it's pointless

turbid hatch
#

yip

#

its because pkexec is using its own policy file to do that

austere talon
turbid hatch
#

and thats what its policy file defines

#

i mean

#

worst case scenario

#

just ask the user to launch it with sudo

#

instead of trying to do the elevation stuff

#

like show a message saying "oh yeah sudo pls"

austere talon
#

well i wanna avoid running the entire binary as root

turbid hatch
#

it needs to use root to install anyway, its not going to be much worse running the whole thing as root and then you dont need to shell out either

austere talon
#

we could make it show a dialog like

"Permissions denied. Retry as root?"

and if you click yes it shows that prompt

#

meeeh

#

polkit better

turbid hatch
#

yes but then horror message and awkward dealing with child

austere talon
#

it's fine

turbid hatch
#

i personally dont see the point if u will almost always have to elevate but ill let u decide it blobcatcozy

austere talon
#

pkexec installer patch /opt/discord --output-format=json

turbid hatch
#

mac is the fun one

#

remember applescript.m

austere talon
#
set filePath to (POSIX path of (choose file))
do shell script "open \"" & filePath & "\"" with administrator privileges
charred monolithBOT
austere talon
#

tauri makes it easy to embed scripts

#

or even inline script

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 140492
Match: ```
/(?<=getState().channelId.{0,30}?(0,\i.\i)(\i))(?=.map()/


**__ShowHiddenChannels (had no effect):__**
ID: `743810`
Match: ```
/(?<=getChannel\(\i\);return null!=(\i))(?=.{0,150}?>0\)&&\(0,\i\.\i\)\(\i\))/

ViewIcons (had no effect):
ID: 354810
Match: ```
/children:(0,\i.jsx)(\i,{src:(\i)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 140492
Match: ```
/(?<=getState().channelId.{0,30}?(0,\i.\i)(\i))(?=.map()/


**__ShowHiddenChannels (had no effect):__**
ID: `743810`
Match: ```
/(?<=getChannel\(\i\);return null!=(\i))(?=.{0,150}?>0\)&&\(0,\i\.\i\)\(\i\))/

ViewIcons (had no effect):
ID: 354810
Match: ```
/children:(0,\i.jsx)(\i,{src:(\i)/

Bad Webpack Finds
findByProps("button", "buttonInner", "icon", "text")
findByProps("button", "buttonInner", "icon", "text")
Bad Starts

None

Discord Errors

None

glass jasper
#

jump scare

austere talon
#

i love when i write code and it immediately works

median rapids
charred monolithBOT
austere talon
#

666 333

#

i just made some shitty sample ui @turbid hatch u can port ur wails changes soon if u want

swift fjord
#

i think im going to make my own mockup tomorrow

austere talon
#

(the design doesn't have to follow the old design whatsoever)

#

it could even be reworked fully

swift fjord
#

i was going to base it off the website

austere talon
#

don't stick too much to it

swift fjord
#

yeah ik

austere talon
#

or rather don't force it

swift fjord
#

the biggest similarity will just be the colors

austere talon
swift fjord
#

i was thinking that

austere talon
#

since it's just html css basically anything is possible

#

could even be multiple pages / steps

swift fjord
#

yeah thats why im kinda excited for this

swift fjord
austere talon
#

also we could add more features too like editing settings, managing themes, etc

#

for when it bricks ur client or smth

#

also in separate page

swift fjord
#

select install > pick action > while patching or w/e maybe show logs

swift fjord
austere talon
#

wtf is that

swift fjord
#

navbar but on the side

#

i would not do m3 btw

jagged cloak
#

eh? i think rail would be little out of place i

#

but nothings really been done yet so it can work

swift fjord
#

that was just example i pulled

#

i would implement different looking one

#

and thats just if we decide to add some extra stuff

jagged cloak
#

i can really only imagine the m3 looking rail or ones on docs websites explod

#

rail with two items kinda cring yeah

swift fjord
#

tablets

#

nav rails are just designed for wider screens

#

so you don't have giant navbar taking up lots of room

austere talon
#

well the app isn't gonna compile on non linux cause i only implemented Linux

#

so if u want to run it on other platform good luck

#

have to implement/stub rust functions

swift fjord
#

guh

austere talon
#

well

#

it's just 1 method actually

#

you can just make it return hardcoded data

swift fjord
#

i mean i can learn rust for one pr

austere talon
#

xD

#

it's not hard tbh

#

you just need to port the Linux code to Windows

#

it'll be pretty similar

#

just slightly adjusted logic

#

(Just the logic for locating discord installs)

swift fjord
#

depends on how similar rusts fs apis are for the different platforms

austere talon
#

just need to port it from find_discord_windows.go, similar code to src-tauri/logic/linux/discord.rs

swift fjord
#

discord only uses 3 directories on windows

#

all in the same place

#

4 actually

#

counting development

austere talon
#

just need to look in AppData/Local ye

swift fjord
#

local appdata environment variable ftw

austere talon
#

there's a library for it

#

dirs.balls()

swift fjord
#

oh the std library has shorthand for those special directories?

austere talon
#

dirs.data_local_dir()

austere talon
swift fjord
#

if its not in the stdlib i think itd be easier to just grab the environment variable ourselves

#

we only need the one

austere talon
#

it's already installed

swift fjord
#

oh

austere talon
swift fjord
#

neat

#

makes things easier ig

#

i just hope tauri doesn't act like zed and just not work on my gpu

#

(joke, ik zed has their own rendering thing)

austere talon
#

like env vars could potentially be scuffed and HOME might be empty and then u also have to check XDG_* vars

#

the library uses the native platform libraries

#

and checks home with libc call if env is empty

swift fjord
austere talon
#

I tried it on Linux, works very well

swift fjord
#

their linux roadmap literally only has one thing left and its "Release Zed"

#

probably just waiting for their weekly release day

fossil inlet
#

is review db spamming the console a known issue?

limber skiff
#

spamming how

#

pronoun db yes, review db not that I know off

spice python
#

wait no thats pronoundb

#

im stupid

limber skiff
#

I typed wrong too

#

I meant pronoun db

spice python
#

right

limber skiff
spice python
#

maybe they mean this? happens whenever i open a profile

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 140492
Match: ```
/(?<=getState().channelId.{0,30}?(0,\i.\i)(\i))(?=.map()/


**__ShowHiddenChannels (had no effect):__**
ID: `743810`
Match: ```
/(?<=getChannel\(\i\);return null!=(\i))(?=.{0,150}?>0\)&&\(0,\i\.\i\)\(\i\))/

ViewIcons (had no effect):
ID: 354810
Match: ```
/children:(0,\i.jsx)(\i,{src:(\i)/

Bad Webpack Finds
findByProps("button", "buttonInner", "icon", "text")
findByProps("button", "buttonInner", "icon", "text")
Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 140492
Match: ```
/(?<=getState().channelId.{0,30}?(0,\i.\i)(\i))(?=.map()/


**__ShowHiddenChannels (had no effect):__**
ID: `743810`
Match: ```
/(?<=getChannel\(\i\);return null!=(\i))(?=.{0,150}?>0\)&&\(0,\i\.\i\)\(\i\))/

ViewIcons (had no effect):
ID: 354810
Match: ```
/children:(0,\i.jsx)(\i,{src:(\i)/

Bad Webpack Finds
findByProps("button", "buttonInner", "icon", "text")
findByProps("button", "buttonInner", "icon", "text")
Bad Starts

None

Discord Errors

None

limber skiff
#

show full error

#

I think that bad webpack find is from review db regardless

spice python
limber skiff
limber skiff
#

yep

#

yeah that's the bad webpack find I'm pretty sure

#

let me fix the broken things

fossil inlet
limber skiff
#

this doesnt seem right

rugged spire
#

how did that happen

#

did you forget to add classes

#

i would assume yes

rugged spire
charred monolithBOT
#

78d2713 Delete WikiSearch ~ better done via user app - Vendicated
93dc880 Delete UrbanDictionary ~ better done via user app - Vendicated
c3f7950 MessageLogger: fix not blurring deleted spoilers - Vendicated
319a99c fix(MessageLogger): don't break attachment edits - Vendicated
9f79cc0 bump to v1.9.4 - Vendicated

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
frail skyBOT
#
Bad Patches

ReverseImageSearch (took 73.20000000001164ms):
ID: 225138
Match: ```
/favoriteableType:\i,(?<=(\i).getAttribute("data-type").+?)/

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
#

that regex does not take 73 milliseconds to complete

wary dew
#

I see you

limber skiff
#

you see me? ๐Ÿ˜จ

rugged spire
limber skiff
fossil inlet
rugged spire
#

๐Ÿ˜ญ

fossil inlet
rugged spire
#

mfw big tech retailer in my country is asking users to spam their livestream with I love microsoft so they can win a free laptop SKULL_SKELETON

#

i am cooked

rugged spire
#

Why doesn't (can't?) NoTrack patch DeveloperOptionsStore.getDebugOptionsHeaderValue() to return ""

austere talon
#

what that do

rugged spire
#

It's called by RestAPI(?) to add X-Debug-Options to all requests if any of these are enabled

austere talon
#

so?

#

it doesn't matter

rugged spire
#

That is technically true

#

i mean discord already knows I am modding their client trolley

#

hollow i patched it a different way and it just broke message loading so

#

dont

charred monolithBOT
silk cypress
#

something nice would be if google.com got disabled, since https://google.com does (or does it get disabled now? not at my pc currently so I can't check)

nimble plaza
#

thats what i suggested for the plugin :p

nimble plaza
silk cypress
#

you mean disabling all masked links?

#

I meant only specifically masked links that look like real links, without the https://

charred monolithBOT
nimble plaza
#

least obvious pr bump

#

this isnt the first time theyve done it too :p

glass jasper
nimble plaza
#

yeah

charred monolithBOT
glass jasper
nimble plaza
#

yeah

nimble plaza
#

lmfao

verbal pumice
glass jasper
verbal pumice
#

is this css-able

glass jasper
#

Anything to do with formatting text on discord is easily done with CSS

austere talon
#
.messageContent_f9f2ca small:not(.boost-specificity) {
    color: inherit;
    font-size: inherit;
    line-height: inherit;

    &::before {
        content: "#- ";
    }
}
#

example

glass jasper
#

dang Vee i was about to press send
(my version didnโ€™t look this good)

charred monolithBOT
nimble plaza
#

:correctbuzzer:

#

tbh i might rework to remove the passwords and make it just warn you before going to the channel

rugged spire
#

how about make passwords a config option

nimble plaza
#

true

rugged spire
#

and make that config option say this is a sanity check not a security check

#

and have it disabled by default

#

so that people need to read the disclaimer

nimble plaza
#

yes

rugged spire
#

though end users will not read it anyway

nimble plaza
#

make a popup when you turn it on and the enable button is tiny

rugged spire
#

I maintain a vencord fork with some really fucking evil design already don't worry

#

i have a first time run popup telling users what I added

#

and it forces them to wait roughly 30 seconds before they can close the popup

glass jasper
rugged spire
#

Good question

austere talon
rugged spire
#

??

charred monolithBOT
nimble plaza
#

can someone test permissionsviewer on stable

#

its breaking the ability to rightclick a person in vc and move them

median rapids
#
  1. it doesn't matter lol
charred monolithBOT
#

AI Tools in Discord

This plugin adds AI features to Discord, including text and image generation.

Text Generation

You can click the text generation button on the chat bar to generate messages with AI. Put any prompt and it will generate the text you want. You have the option of letting the AI access information in order to provide better responses, like the name of the channel, server, and content of the last 10 messages. Once generated, it will add the response to your text input...

swift fjord
#

god rust compiler slow

rugged spire
austere talon
swift fjord
#

i think it crashed my vscode

#

somehow

#

yeah it did

#

tf

#

ig i shouldn't use terminal in vscode unless my code works

#
windows_sys::Win32::System::Console::FreeConsole();
^^^^^^^^^^^ use of undeclared crate or module `windows_sys`
#

hm

median rapids
#

oh i forgot to rereview that user notes plugin

swift fjord
#

new error, time to let visual studio download 5gb of junk

swift fjord
#

yeah i got that

#

getting link error now

#

fatal error LNK1181: cannot open input file 'c.lib'

#

im updating visual studio build tools now

swift fjord
#

i thought i was good bc i installed the stuff needed to build zed and that worked

charred monolithBOT
crude hearth
#

Dolfies blobcatcozy

median rapids
#

manti blobcatcozy

swift fjord
#

why do these things happen to me

#

how the hell was i able to build zed but not this

austere talon
#

so sane

swift fjord
#

veeee

#

this thing does not want to fucking build

#

its literally just missing c.lib

#

where the fuck is it

#

how am i the only one thats ever had this problem

charred monolithBOT
glass jasper
swift fjord
#

so @austere talon i got it to build but had to comment out the geteuid() stuff

austere talon
#

LMAO

#

yeah

#

tzhats linux code

#

it needs to be moved behind a linux check

#

to a separate file

swift fjord
#

that tiny bit of code is what was preventing the exe from being able to properly link

#

i spent hours on this

#

we have liftoff

#

i just need to fix tiny bug

somber thorn
#

rust(๐Ÿš€) โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹

limber skiff
#

this has got to be the best message type

dusk blaze
#

do dead chat prompts actually get sent tho

jagged cloak
#

no

#

ive never seen one

somber thorn
#

never received one of them while totally not selfbotting, so probably not

still wasp
limber skiff
#

well firstly it clearly has a isStaff check to show

#

but it's a context menu

swift fjord
#

@austere talon@austere talon@austere talon@austere talon
look

austere talon
#

gamec

#

DiscordDevelopment horror

swift fjord
#

heres my cursed code

let mut app_path = "".to_owned();
let mut is_patched: bool = false;

for child_result in path.read_dir().unwrap() {
    let Ok(child) = child_result else { continue };

    if !child.file_type().map(|t| t.is_dir()).unwrap_or(false) {
        continue;
    }

    if child.file_name().to_str().unwrap().starts_with("app-") {
        let resources = child.path().join("resources");

        if !resources.exists() {
            continue;
        }

        let app = resources.join("app").to_owned();
        let app_name = app.file_name()?.to_str().unwrap().to_owned();

        if app_name > app_path.to_owned() {
            app_path = app_name;
            is_patched = resources.join("_app.asar").exists()
        }
    }
}
charred monolithBOT
swift fjord
#

you can very likely tell it was written by someone that has never written rust before

still wasp
#

I tried rust once and got sent to a mental hospital

#

(unrelated) (not unrelated)

median rapids
#

there's also like 2 iterations of it

swift fjord
#

guh

austere talon
#

it will crash entire app

swift fjord
#

should i just return None if i can't get the iterator

austere talon
#

just continue

swift fjord
#

oh you aren't referring to the first unwrap?

austere talon
#

this

swift fjord
#

oh ok

austere talon
#

change it to ```rs
if child.file_name().map(|n| n.starts_with("app-")).unwrap_or(false) {

swift fjord
#

can't call map on OsString

#

also which path do you actually need

#

root, app, or resources

austere talon
#

change it to ```rs
if child.file_name().to_str().map(|n| n.starts_with("app-")).unwrap_or(false) {

#

i forgot part

austere talon
#

or let me do it lmao

swift fjord
#

i am porting

#

you want root

#

oh the go version of DiscordInstall has both paths

#

root and app

charred monolithBOT
dusk blaze
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i((\i))),/g


**__ViewIcons (had no effect):__**
ID: `41527`
Match: ```
/\{src:(\i)(?=,avatarDecoration)/

ViewIcons (found no module):
ID: -
Match: ```
.canUsePremiumProfileCustomization,{avatarSrc:

Bad Webpack Finds
find(e=>e.section!==void 0&&Object.values(e).length===1...)
Bad Starts

None

Discord Errors

None

limber skiff
#

god again

glass jasper
#

we love canary

still wasp
#

Does vencord give a warning if you're using canary

#

If it doesn't that would be a good idea

limber skiff
#

no

#

it's fine to be honest

#

I personally always make sure canary is working

charred monolithBOT
still wasp
fossil inlet
still wasp
#

Horror

shell shuttle
#

i need to finish my plugin

#

i think it works

#

it's just

#

really incomplete yet

charred monolithBOT
swift fjord
#

@austere talon hi

verbal pumice
#

this is the uh

#

fourth installer rewrite?

charred monolithBOT
rugged spire
turbid hatch
#

am i missing something

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i((\i))),/g


**__ViewIcons (had no effect):__**
ID: `41527`
Match: ```
/\{src:(\i)(?=,avatarDecoration)/

ViewIcons (found no module):
ID: -
Match: ```
.canUsePremiumProfileCustomization,{avatarSrc:

Bad Webpack Finds
find(e=>e.section!==void 0&&Object.values(e).length===1...)
Bad Starts

None

Discord Errors

None

charred monolithBOT
charred monolithBOT
austere talon
#

literally just added duplicate for filipino

#

im confused ๐Ÿ˜ญ

swift fjord
charred monolithBOT
pine topaz
#

theres also this

nimble plaza
#

you still added yourself to plugin devs for that though

#

horror

#

only do that for major changes

pine topaz
#

sorry

rugged spire
#

i hate git submodules now

pine topaz
#

why tf did google have a language appear twice

rugged spire
#

idk

#

dont ask me

pine topaz
#

@google

#

i feel kinda stupid now

rugged spire
#

@austere talon i love force pushing

#

no my account isnt hacked

nimble plaza
#

show proof

rugged spire
nimble plaza
#

yess

#

its @weary caves

pine topaz
#

i have removed the butch hartman moment and the duplicate

#

oddly this modification makes an entire language disappear

#

but im not sure if the language actually worked or not

#

can someone check if Chichewa translation works or gives error 400

rugged spire
#

Kuyesa

pine topaz
#

wtf!???

#

i got this list from the api docs

rugged spire
#

you are being trolled by google

pine topaz
#

atp we'd literally have to try every new language to see if its added

#

cant even trust the docs...

#

@austere talon i have made some changes that hopefully now are acceptable

austere talon
# pine topaz

some random african tribe language that noone cares about ๐Ÿ˜ญ

pine topaz
#

at least i removed myself from the author section

pine topaz
#

also kinda a bad take

austere talon
#

bro I promise you there is not a single vencord user who speaks that language or talks to someone speaking that language

#

do these guys even have internet

rugged spire
swift fjord
#

i don't see that being an issue

#

it doesn't degrade the experience or anything

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i((\i))),/g


**__ViewIcons (had no effect):__**
ID: `41527`
Match: ```
/\{src:(\i)(?=,avatarDecoration)/

ViewIcons (found no module):
ID: -
Match: ```
.canUsePremiumProfileCustomization,{avatarSrc:

Bad Webpack Finds
find(e=>e.section!==void 0&&Object.values(e).length===1)
Bad Starts

None

Discord Errors

None

charred monolithBOT
median rapids
#

you can't stop me

charred monolithBOT
frail skyBOT
#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i),(?<=user:(\i).+?)/g

Bad Webpack Finds
find(e=>e.section!==void 0&&e.heading!==void 0&&Object.values(e).length===2...)
Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
charred monolithBOT
frail skyBOT
#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i),(?<=user:(\i).+?)/g

Bad Webpack Finds
find(e=>e.section!==void 0&&e.heading!==void 0&&Object.values(e).length===2)
Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
nimble plaza
#

what takes priority, plugins or userplugins

#

if they have the same name

#

gonna put the patch for uservoiceshow in my userplugins to fix it until its upstream

austere talon
#

try it and see

charred monolithBOT
frail skyBOT
#
Bad Patches

MoreUserTags (had no effect):
ID: 129861
Match: ```
/,botType:(\i),(?<=user:(\i).+?)/g

Bad Webpack Finds
find(e=>e.section!==void 0&&e.heading!==void 0&&Object.values(e).length===2...)
Bad Starts

None

Discord Errors

None

#
Bad Patches

Experiments (had no effect):
ID: 593214
Match: ```
/!(\i.isDM()||\i.isThread())/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
#

bruh

#

Experiments really

limber skiff
#

my god again

spring gorge
#

as usual

gritty iris
# frail sky

seems to be /\i\.isDM\(\)\|\|\i\.isThread\(\)/ now

charred monolithBOT
wary dew
#

next big discord patch reset when?? โ„ข๏ธ

charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

Since TextReplace rules are stored in IndexedDB, they aren't loaded in the same way regular settings are and are instead loaded through DataStore.get() in the plugin's start function
https://github.com/Vendicated/Vencord/blob/main/src/plugins/textReplace/index.tsx#L251-L253

Because of this, when the plugin is disabled (at startup) your TextReplace rules won't get loaded and the settings will appear emp...

nimble plaza
#

would we be able to load datastore at the root of the file, or would we need to make a onVencordStart function or smt

rugged spire
nimble plaza
#

true

#

load it at plugin start, and if its not loaded when you open plugin settings load it then

lime stone
charred monolithBOT
#

Recently CtrlEnterSend has broken twice. This time we need to revert 77492061f to fix the problem. Actually Discord has been switching back and forth between those two places to handle message submission logic for multiple times (4 times as I personally experienced). In every version, both patches can be applied without a problem, so it would benefit if we simply include both patches although only one of them is at effect. This way the plugin should break less often.

rugged spire
#

Whilst fixing my SimplifiedProfileNotes plugin, I found FriendsSince tries to patch in the same place (DM user profile sidebar) and is erroring (doesn't render because noop errorboundary) because the section is being manually recreated and a CSS className module can't be found

charred monolithBOT
rugged spire
#

and submit PR?

#

fucking Simplified Bot Profiles

frail skyBOT
#
Bad Patches

Experiments (had no effect):
ID: 593214
Match: ```
/!(\i.isDM()||\i.isThread())/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

Experiments (had no effect):
ID: 593214
Match: ```
/!(\i.isDM()||\i.isThread())/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

rugged spire
limber skiff
charred monolithBOT
rugged spire
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
limber skiff
#

I hate this spam

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

median rapids
#

insane spelling

rugged spire
#

love wondering why something is visible when it shouldn't be because i updated a patch and i called my hook with user instead of user.id

dawn coyote
#

0 commits

rugged spire
#

||I force pushed to the previous commit because I accidentally committed a shitload of submodules||

dawn coyote
#

epic

charred monolithBOT
rugged spire