#👾-core-development

1 messages · Page 73 of 1

spark cove
#

i have to like make it persistent

charred monolithBOT
rain axle
#

@austere talon how do i work the fake crown thing?

jagged cloak
#

the what

charred monolithBOT
charred monolithBOT
jagged cloak
#

holy shit daniels gaming 20

spark cove
#

@austere talon im adding ai noise cancellation to vesktop but like it also will work on web

austere talon
#

WHAT

#

how

#

what are u using

spark cove
#

rnnoise

#

its so good

austere talon
#

wtf is that I never heard

#

okay do

spark cove
#

open source recurrent neural network based noise cancellation

austere talon
#

I do miss krisp from desktop

#

cause vesktop mic quality be soooo bad

spark cove
#

i had to dig thru the github trenches to find

#

yea i was gonna switch but

austere talon
#

did u already got a working prototype or

spark cove
#

my friend was like yea no ur mic cannot

#

well the code is very straight forward and one of the devs of Vite already wrote an easy api for connecting it to Web Audio nodes

#

i was pinging to ask

#

how do i target web and vesktop

austere talon
#

uhb

#

r u gonna make this a plugin or

austere talon
spark cove
#

i was thinking about it im not sure how i wanna go about it

#

the code will live in renderer frame

#

i was originally gonna put it in vesktop but idk if thats better than putting it in a plugin

austere talon
grave mangoBOT
spark cove
#

cus another thing is

#

this might be like

#

large plugin

charred monolithBOT
spark cove
#

but large because the npm module

austere talon
#

but I think it would be messy if we had the code in vencord

#

since now you need to monkey patch vesktop / browser api

#

Well maybe u have to do that anyway in vesktop idk

spark cove
#

yea i would

#

well

#

not monkey patch

#

basically i just

#

wrap the getusermedia call

austere talon
# charred monolith

what goes people's heads to see previous bumps get marked as spam and still leave their own

spark cove
#

lmfao

#

wait im being silly

austere talon
#

you can always lazy import it but that might be a bit hard to do

spark cove
#

i cant easily do this on web

austere talon
#

why not

spark cove
#

cus it requires a wasm module

#

but actually

austere talon
#

what's the matter with that

spark cove
#

so does shiki

austere talon
#

web supports wasm fine wdym

#

it will just combust if csp dies

spark cove
#

i was thinking cors

austere talon
#

which happens occasionally on web

spark cove
#

cors/csp ya

#

hm so do u think i should put this in a plugin

#

if i should put it in vesktop where would i put it

austere talon
#

csp not cors

#

cors is different thing

#

but it's easy to confuse the too I do it too like u just saw

spark cove
austere talon
#

cors is other websites deciding whether they want to let discord.com load their resources or not

#

csp is discord deciding whether they want to allow loading a specific resource inside discord.com

spark cove
#

yea true

austere talon
#

there's a patches folder which has patches for some things

#

possibly there but not necessarily

spark cove
#

im gonna just make a working prototype and see how messy it is

#

one thing i do wanna pr into vesktop is an optional game auto detection

austere talon
#

huh

#

what's that do

#

doesn't arrpc already do that

spark cove
#

idk i thought it was just rpc handler

#

like when u open minecraft it detects that its open and shows ur playing it does arrpc do that

austere talon
#

yes

#

In your rich presence

spark cove
#

oh wth

austere talon
#

it doesn't show on profile panel bottom left

#

but we could make it show there also

spark cove
#

thats prob why i thought it didnt wrok

#

doesnt look like it does that hm

#

oh it does it just isnt working for me

#

i'll have to find out why later

#

@austere talon does the arrpc server run on vesktop

austere talon
#

yep

spark cove
#

hmgfkjlkdjjlksd

#

ok i'll do this later then

austere talon
#

it's actually split half and half

#

the renderer side is handled in vencord

#

the native part and invite launcher is run in vesktop

spark cove
#

so fire

austere talon
#

I hate that it's split like that lmao but that was the easiest

spark cove
#

does vesktop take over the discord protocol yet

#

or scheme or whatever its called

austere talon
#

no

#

and not planned I think

#

it doesn't seem very useful

#

I've never seen anyone even use it

spark cove
#

i was thinking that firefox didnt allow connections to localhost

#

but maybe thats safari im thinking of

charred monolithBOT
spark cove
#

@austere talon what happened to patch helper

#

is the process to having it show up different now

austere talon
#

nuh

#

just build with watch

spark cove
#

maybe my vesktop isnt using my local vencord like i thought it was

#

ah im silly

spark cove
#

WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]))

austere talon
#

NO

#

what does that even do lmao

spark cove
#

LOL

#

it checks if ur machine supports SIMD wasm instructionms

spark cove
#

@austere talon can u vc

austere talon
#

uh

#

later sure

#

In like 20 or so

spark cove
#

ok bet

austere talon
#

why

#

wanna test sound or

spark cove
#

to test if it actually works in case

#

it works in the preview

#

but idk if it still works in call

austere talon
#

lmaoo

#

true

#

okay bet

spark cove
#

also in your opinion, should the plugin itself be the on/off switch

austere talon
#

I just used my alt to test voice chat

spark cove
#

or should the plugin just add one in the voice options

austere talon
#

I love talking to myself

austere talon
#

is this gonna be vesktop only or web too

#

I think it'd be better to just have it vesktop only for now

spark cove
#

um probably vesktop only cus it requires an external audio worklet script

austere talon
#

if it's vesktop it should add a switch to the picker screen

spark cove
#

picker screen?

austere talon
#

actually nvm im dum

#

u know how the krisp toggle works

#

can u do the same

spark cove
#

ohh

austere talon
#

soon

spark cove
#

yea

austere talon
#

I've not been feeling like doing anything lately

spark cove
#

but should i also make it like

#

in the voice options too then

#

also u mean this right

austere talon
#

yusss

#

doesn't have to be as fancy

#

just a popup switch is good enough

long heart
#

is there a utility function to read the electron preferences file

#

if not, how can i find the current release channel of the discord app in the native process

long heart
#

the current code i have from nutty is ```ts
// Get storage path depending on platform
let discordStoragePath;
switch (process.platform) {
case "win32":
discordStoragePath = join(process.env.APPDATA!, "discordptb");
break;
case "linux":
discordStoragePath = join(process.env.HOME!, ".config", "discordptb");
break;
case "darwin":
discordStoragePath = join(process.env.HOME!, "Library", "Application Support", "discordptb");
break;
default:
discordStoragePath = process.env.DISCORD_STORAGE_PATH;
break;
}

// Load snippets into from preferences file
const prefs = JSON.parse(readFileSync(join(discordStoragePath, "Preferences"), "utf-8"));


but that hardcodes the release channel and it seems like vencord would already have a func for it
#

also it hard crashes if discord is located somewhere else

#

😃

long heart
austere talon
#

what are u trying to do

long heart
#

so i want to find the release channel and use that instead of hardcoding discordptb

austere talon
#

yes but what is your endgoal

#

what exactly do you need / want to achieve

#

this seems very much like X/Y problem to me, that's why im asking

long heart
#

ah okay

#

load snippets from the storage file .electron.devtools.preferences.scriptSnippets and run them automatically based on a boot snippet

austere talon
#

i see, so basically these?

long heart
#

yeah

austere talon
#

okay i see

#

and where do you want to do this? in what context?

#

in a client mod or as a separate script

long heart
#

inside vencord ideally

#

since the current version by big nutty needs to be injected but so does vencord i decided to try to combine them

#

i have a kinda working version in my fork but its not ideal

austere talon
#
import { join } from "path";
import { app } from "electron";
import { readFileSync } from "fs";

const prefsPath = join(app.getPath("userData"), "Preferences");
console.log(JSON.parse(readFileSync(presPath, "utf-8")));
long heart
#

ah ty thats what i was looking for

austere talon
#

see that's why i asked

#

it was indeed X/Y problem

long heart
#

yop

austere talon
#

you were overcomplicating it a lot :p

#

getPath() gives you everything you need

somber kiln
#

who has a server hider plugin CSS i can have

long heart
austere talon
# somber kiln who has a server hider plugin CSS i can have
[data-list-id=guildsnav] .listItem-3SmSlK:has([data-list-item-id="guildsnav___GUILD_ID_HERE"]) {
    display: none;
}

for example, this hides the vencord server

[data-list-id=guildsnav] .listItem-3SmSlK:has([data-list-item-id="guildsnav___1015060230222131221"]) {
    display: none;
}
somber kiln
#

so i have to put that everytime for a server..

#

i have like 100..

austere talon
#

why do you want to hide all servers

somber kiln
#

well i put everything in a folder except my favorites

#

but i kinda want to hide this folder

austere talon
#

then just hide that folder

somber kiln
#

how?

long heart
#

name your folder something and ```css
.wrapper-38slSD:has(+ .listItem-3SmSlK [data-dnd-name="the name"]) {
display: none
}

somber kiln
#

so i type this and what

long heart
#

should work

somber kiln
#

.wrapper-38slSD:has(+ .listItem-3SmSlK [data-dnd-name="my mom and left me"]) {
display: none
}

#

alr ty

long heart
#

oops

#

it in fact does not work

somber kiln
#

how do i put this code in btw

long heart
#
.wrapper-38slSD:has( .listItem-3SmSlK [data-dnd-name="my mom and dad left me"]) {
  display: none
}
somber kiln
#

dude tysm lol

long heart
#

hm i get "cannot read getPath of undefined" am i in the app context somehow

#

okay

#

i just did this

#

🥰

charred monolithBOT
verbal pumice
lime stone
austere talon
wise cedar
long heart
#

how would I import a setting from @api/Settings in the native context

austere talon
#

u cant

#

what for

wise cedar
#

🙏

#

omg this theme is actually infinitely better than the default theme

oak hull
long heart
#

or i could just do it by default and only run vencord_boot instead of boot

fleet depot
oak hull
#

i forgot that existed

fleet depot
#

i want to make it better but i haven't had any time to sit down and code

charred monolithBOT
spark cove
#

what is vencord toolbox

austere talon
#

enable

#

it adds shortcuts in top right

#

currently not that much

fleet depot
#

pain

fleet depot
#

and updater tab

#

best plugin blobcatcozy

woeful sable
austere talon
#

no.

#

I'm unfortunately underweight actually

spark cove
#

same\

austere talon
#

odd person

fleet depot
#

ignore lag, it's just slow because i was recording

#

((also because the code is bad))

#

but yeah you can add certain plugin settings to be in the drop down to easily get to

#

textreplace is the main one. also customrpc

#

but people will want a variety of plugins pinned

austere talon
#

vap so silly 😭

#

i think this is not the first time u made it defaultValue either

spark cove
#

HELP

#

HELP ME IM POISOINED

#

i dont know how to properties

charred monolithBOT
austere talon
#

React Native NOISE???

charred monolithBOT
#
function Dse(e) {
    var t = e.width
        , n = void 0 === t ? 24 : t
        , o = e.height
        , i = void 0 === o ? 24 : o
        , a = e.color
        , s = void 0 === a ? "currentColor" : a
        , l = e.foreground
        , c = xse(e, ["width", "height", "color", "foreground"]);
    return (0,
    r.jsxs)("svg", Lse(function(e) {
        for (var t = 1; t < arguments.length; t++) {
            var n = null != arguments[t] ? arguments[t] : {}
               ...
worn rivet
spark cove
#

would be easier if there was a multipass system for finding function names and then using those in patches

austere talon
#

you can

spark cove
#

HOW

#

HOW

#

HOW

austere talon
#

nookies did something like that for the old context menu patcher

#

that autopatched dozens of modules

spark cove
#

explain it to me water

austere talon
#

it used a proxy in patches

spark cove
#

oh

austere talon
#

that kept state

#

this auto patched dozens of chunks

spark cove
#

ADD LISTENER

brave geyser
#

So insane

austere talon
#

cause it first had to find out the export name

#

like

spark cove
#

this is real

#

this is real

austere talon
#

idk it was really deranged but worked wonderfully

worn rivet
#

"If it works, don't touch it."

spark cove
#

oh problem

#

addlistener is passed exports

#

not module source

austere talon
#

yes u wont need this here i think

spark cove
#

how does it do that if it

#

it happens before patches

#

how does it get access to instantiated exports

worn rivet
#

Dark arcane rituals from the days of yore.

austere talon
# austere talon https://github.com/Vendicated/Vencord/blob/0fb79b763d797d70d2eb6d847b0bf711c9927...

basically:

  • add webpack listener that searches for the context menu api code and finds the export name of the openContextMenu method and the id of the module
  • now add a patch that searches for require(id) to match all modules that import context menu api
  • the patch uses a proxy that captures the local name of the context menu and saves as state, then once the replacement is accessed it returns a matcher for localName.exportKey,{
#

very cursed but it worked nicely

long heart
spark cove
#

i dont understand im crying

austere talon
#

what u tryna do vappp

limber skiff
#

😮

spark cove
#

oph i get it

#

its able to apply the patch because it effects modules that import it only?

#

but modules only get loaded when theyre imported

#

so wouldnt that imply that it doesnt work on 1 of the modules

spark cove
#

theres two react function components

#

in a module that arent exported

#

its the two svgs u want me to use

austere talon
#

oh

#

we usually use a patch to get those

spark cove
#

but they're nearly unmatchable

austere talon
#

but if its not exported ust hardcode it

#

easier

spark cove
#

ah ok okok

#

@austere talon am i doing the targeting naming right

#

plugin.vencordDesktop/index.tsx

austere talon
#

yop

#

I think

spark cove
#

ok i thin just bug

austere talon
#

should rename to vesktop

spark cove
#

yes

austere talon
#

vencordDesktop söpö bloat

spark cove
#

should i do that in this pr

tame escarp
#

söpö

spark cove
#

cus i have to fix targeting bug

austere talon
#

LOL it turned soooo into söpö

#

finnish jumpscare

spark cove
#

finnish reference

austere talon
#

it means cute

spark cove
#

vencordDesktop -> vesktop
discordDesktop -> desktop

austere talon
spark cove
#

:3

austere talon
rancid dragon
#

ok but where does laptop come from

austere talon
#

horror

austere talon
spark cove
#

aaa

#

the targeting logic is duplicated

austere talon
#

how so

olive aurora
#

soon

fervent wren
#

best plugins for vencord?

#

Just got it and dk what to get

spark cove
spark cove
#

and it doesnt work with folders

#

if u wanna fix that would be epic cus im going to the mall

jagged cloak
#

me when react native makes noise

jagged cloak
#

i thought

desktop = vesktop and discord desktop
discordDesktop = only discord desktop
web = only web and vencord desktop

#

idk

#

it works

spark cove
#

Oh true

#

Yea just vencordDesktop -> vesktop makes sense then

jagged cloak
#

maybe vesktop desktop and web

#

and just add multiple extentions (kinda insane) trolleyzoom

#

idk why you would need to tho

#

just expode if it doesnt work on that

spark cove
#

Vesktop and web makes sense

austere talon
spark cove
#

Check the prs workflow

#

It thinks the target is vencordDesktop/index

jagged cloak
austere talon
#

vesktop

#

or wdym

jagged cloak
#

the pics in the pr

#

or did you go insane and patch the menus

#

vap crazy once

#

ok vap did go insane

#

tbf i should have known discord wouldnt be that nice

spark cove
#

I vapped everywhere

#

Sorry :<

woeful sable
#

I love the part when vap said it's vapping time and vapped all over the place

jagged cloak
#

vappin time

#

dont replace the v

woeful sable
#

napping time blobcatcozy

austere talon
#

@spark cove voice-messages integration when 🔥

spark cove
#

I must think of a clean way to do

charred monolithBOT
spark cove
austere talon
spark cove
#

did u see the pr workflow

austere talon
#

oh i was replying to animal

charred monolithBOT
spark cove
#

o

austere talon
spark cove
#

nah it was bugging for me a sec ago

austere talon
#

huh

#

how

spark cove
#

idk but i will debug

#

oh im silly

#

i didnt restart main

#

i did this the first time i made the branch too lol

#

ok its fine nvm yea its ready actually wait

austere talon
#

maybe i can help

spark cove
#

the it was just that the main frame didnt have the ipc handler for recording

#

cus i only did ctrl + r

#

ok nromalize

#

u can merg

grave mangoBOT
spark cove
#

epic

austere talon
#

btw

#

make sure ur waves also good on mobile

#

well they seem to

spark cove
#

wdym

#

they're prob fine

#

they're higher resolution under the hood (10 lines per second) but the react components for it downscales the wave when it renders

charred monolithBOT
spark cove
austere talon
#

why did you say it was broken btw

#

i dont think it is

spark cove
#

did u look at the workflow

austere talon
#

it does readdir on /plugins

spark cove
austere talon
#

uh

#

thats generatePluginList skill issue or smth

#

i think the actual build script should work fine

spark cove
#

the build script did the same

#

it just is silent cus the fail case is just not bundling

#

cus all it did was .split('.').at(-2)

#

which with "plugin.vencordDesktop/index.tsx"

#

is gonna be vencordDesktop/index

spark cove
#

my b

austere talon
#

no

#

oh i see the error

#

this if is wrong

#

it is always false for dirs

#

it should just have like

#
if (fileBits.length > 2) {
  const idx = isDir(file) ? -1 : -2;
  ...
}
#

then it will work right

spark cove
#

almost but

#

u still cant just split at period

austere talon
#

why

spark cove
#

u gotta acount for path separator

#

slashes

austere talon
#

no

#

thatsa not true

spark cove
#

explain with code

austere talon
#

readdir gives you just the flat files

#

non recursive

spark cove
#

oh

#

thats true asf

austere talon
#

i would just

spark cove
#

its ok the fix works for both 👼

austere talon
#
const files = await readdir("./src/${dir}", { withFileTypes: true });
for (const file of files) {
  ...
  if (fileBits.length > 2) {
    const idx = file.isDirectory() ? -1 : -2;
    ...
  }
}
#

should work

spark cove
#

its too late

austere talon
#

idk buildscript so dirty

spark cove
#

ive made a crater

#

irreversable

#

it will soon melt a hole on the other side of vencord

visual valley
#

yo

#

how do i fix this

fleet depot
#

vns

nimble pendantBOT
ebon parcel
#

🗿

fleet depot
#

all in one for loop

#

now i gotta fix settings up

charred monolithBOT
charred monolithBOT
#

It would be great if there was a plugin that replaces youtube embed links with invidious embed links.

Invidious is just a frontend for YouTube, they have the same style of urls and should therefore not be that hard to implement
Example YT vid: https://youtube.com/embed/2x5AazXfaJ0
Same vid on an Invidious instance: https://vid.puffyan.us/embed/2x5AazXfaJ0

The plugin would basically just have to have a settings page where you can choose what URL to replace youtube with, then it would...

stark flint
crude lake
#

huh?

#

oh

#

damn

stark flint
#

It's already a plugin, just not built-in

crude lake
#

sorry about the request then lmao

stark flint
#

Still better than the people who spam the same generic BD plugin request or bump closed threads

woeful sable
#

vns

nimble pendantBOT
woeful sable
#

vns

nimble pendantBOT
woeful sable
charred monolithBOT
charred monolithBOT
torn knot
#

there is vendetta and vencord mobile already

#

we don't need more

verbal pumice
#

bluecord rn when

torn knot
#

never

#

bluecord should just get deleted

austere talon
#

Well fix it

#

😼

#

why does it only break the toolbox but not other top bar icons

austere talon
#

v_ r_ o_ o_ o_ o_ Ⓜ️

austere talon
#

shouldn't this rather be in the toolbox code

stark flint
#

🙏🙏🙏

austere talon
#

hot

austere talon
#

autumn got pc back huh

spark cove
#

lets make a vencord opencollective where we can put bounties on PRs for ven to collect when reviewed and merged

austere talon
#

😭

spark cove
#

hehe

charred monolithBOT
austere talon
grave mangoBOT
austere talon
#

how does this native message work

#

I can't find what's handling it

#

ah that's native manifest

nocturne haven
#

Can't addons declare a native binding?

austere talon
#

it might be really easy to make that a plugin

#

common macos L

nocturne haven
#

Cope as Apple products user

austere talon
spark cove
#

ez

spark cove
languid terrace
#

Maybe

spark cove
languid terrace
#

No like, games that use the rpc API work fine

#

The ones with actual Discord integration

spark cove
#

yea i know but it already has game detection

languid terrace
#

More like the programs that don't have it don't show up

languid terrace
#

xD

spark cove
#

name them please

#

cus basically

#

arRPC's server handles that, which already runs with vencord

patent minnow
spark cove
#

but theres a bug where it doesnt detect games that run as admin

languid terrace
#

Maybe thats it

#

I'll look into it more when when I'm back from vacation

spark cove
#

ok sick also dont open issues if u hate elaborating

languid terrace
#

I'm in vens country

patent minnow
#

Germany?

languid terrace
#

I'm just a little south of Hamburg

woeful sable
#

bro get out of my hamburger

languid terrace
#

No pout

woeful sable
#

okii

austere talon
#

@spark cove what are u brewing

spark cove
austere talon
#

ohh fire

spark cove
#

real

austere talon
#

I will bump in vesktop soon

#

next release

spark cove
#

real real

tawny cipher
#

bereal

dusk whale
#

Does vencord cloud get your password

verbal pumice
#

no

dusk whale
verbal pumice
#

sorry

dusk whale
verbal pumice
#

only way to get it back is through discord support

#

(aka youre not getting it back)

jagged cloak
#

(not) (they dont help)

#

(they will not respond)

dusk whale
dusk whale
#

my phone is still attached to it tho

#

and my 2FA app

#

Hopefully they let me verify via sms?

jagged cloak
#

is ur phone logged in lol

dusk whale
#

Hacker signed me out

jagged cloak
#

skul issue then

dusk whale
verbal pumice
#

if you still have 2fa you might be able to get a password reset email
cause i believe they require verifying your current email to change it

spark cove
#

they might not if they disabled 2fa

dusk whale
#

they got the current email verified

dusk whale
jagged cloak
#

then they have your email which means you have much bigger problems

dusk whale
#
  • i got 2fa
#

thay seem to just have gotten my discord

nocturne haven
#

Did you make sure to find the cause for the attack?

dusk whale
#

cuz they r stupid

dusk whale
#

who was also hacked

spark cove
#

a classic

nocturne haven
#

I would highly recommend wiping your pc

spark cove
#

those are scary cus they can stay

dusk whale
#

dectected like 3 things

#

Its set to scan daily

nocturne haven
#

It probably installed some random Software injecting into your apps

dusk whale
#

And im hella scaried to sign into anything

nocturne haven
dusk whale
spark cove
#

^

dusk whale
#

idk how even

#

but it dectected 3 things

spark cove
#

how did u verify the things it detected were the malware or that it was malware at all

dusk whale
#

im pretty sure that was all the shit the game installed

nocturne haven
#

I highly doubt it. If it just modified a simple JS file and inserted some rce, it won't find it

spark cove
#

i have a copy of it on my computer

dusk whale
spark cove
#

yea

#

malwarebytes hasnt gotten rid of it yet

nocturne haven
#

That there's no detection if something uncommon has injected into an application

dusk whale
austere talon
nimble pendantBOT
spark cove
#

lol true

jagged cloak
nocturne haven
#

Riiight, thought I was there already

dusk whale
#

shpuld i ssitch

#

Switch

jagged cloak
#

vap virus crashed explorer

#

lool why cant windows explorer handle renaming ogg files

#

dumbass

#

literally just ogg files windows

#

wheres windows moment emoji

dusk whale
#

wait

#

i have a startup app called "program"

#

hmmm

stark flint
#

Using the wrong channel

jagged cloak
#

yop

jagged cloak
austere talon
#

windows explorer is just dogshit

jagged cloak
#

it is

austere talon
#

every time it opens save modal in downloads folder it legit freezes for 30 seconds

#

and my Downloads folder isn't even big

limber sparrow
#

mine doesnt freeze up

jagged cloak
#

not to mention indexing is just slow and annoying

spark cove
#

worst part is that indexing is synchronous

jagged cloak
#

does w11 still search fucking bing for stuff on your computer lol

spark cove
#

opening a folder that has majority audio files with make it synchronously read the metadata for every file

#

so bad

charred monolithBOT
#

This is fairly trivial to do. For future reference, here's a working NodeJS snippet for posting data to Sharex (you need to enable Chrome extension in Sharex > Application Settings > Integration)

const { execSync, spawn } = require('child_process');
const { readFileSync } = require("fs");

const manifestPath = execSync(String.raw`powershell.exe -command "(Get-ItemProperty HKCU:\Software\Google\Chrome\NativeMessagingHosts\com.getsharex.sharex).'(default)'"`, {
    encoding: "utf-...
spark cove
#

real

charred monolithBOT
spark cove
#

i dont think youtube has a player api

charred monolithBOT
austere talon
spark cove
#

what is THIS

austere talon
#

fix pr

#

wait did i add that

#

oop i added that

spark cove
#

what am i looking am

austere talon
#

im so smart

spark cove
#

real

austere talon
#

🔥

#

ignore me

spark cove
#

idk what file that is

austere talon
#

testing ur voice message pr

spark cove
#

oooo o o oo

#

oo o

#

o

#

oo o

austere talon
#

i apparently edited some file

spark cove
#

o o oooooooooooooooo

austere talon
#

vban vap spam

nimble pendantBOT
spark cove
#

ooooooooooooooooooooooooooooooooooooooooooo

tame escarp
#

ven? testing a vencord PR? more likely than you'd think

spark cove
#

voice message

austere talon
#

SO FIRE

charred monolithBOT
austere talon
#

wait why did u kill noiseSuppression

spark cove
#

uhh

#

is that for desktop

#

if so its cus noiseSuppression is krisp but it doesnt work with that method

#

or

#

maybe its the webrtc one and i removed it cus it does nothigng

austere talon
#

desktop

spark cove
#

yayaya

austere talon
#

thank you vap

spark cove
#

yayaya

#

yayayayayaaaaaaaa

charred monolithBOT
austere talon
#

krisp sounds so hot here tho

#

where tf does this one come from

#

is that a discord component too

#

or urs

#

oh yours

#

so fire

#

looks hot 🔥

analog ibex
#

damn that's hot

charred monolithBOT
spark cove
#

it

spark cove
#

are u saying like

#

newline

austere talon
spark cove
#

based

austere talon
#

instead of

return <div>
  <stuff />
</div>
#

i find the () one so much easier to read

spark cove
#

oh i didnt do that

#

true

austere talon
#

well its just a nit

#

its not that important

spark cove
#

i get it thjoi i do that sometimes on porupise

austere talon
spark cove
#

fa;lse advertosing

#

i didnt make this

austere talon
#

i have reeeally similar code to yours for calltimer

grave mangoBOT
austere talon
#

useTimer() when

charred monolithBOT
spark cove
charred monolithBOT
spark cove
#

ohhh

#

lodash DOES exist

#

its just in the window type

#

brr

tame escarp
#

people who type in unicode characters are annoying

charred monolithBOT
austere talon
austere talon
#

testing

spark cove
#

this was almost so sad

austere talon
#

i this wont work

#

when vencord loads lodash is still in nirvana

spark cove
#

AAAAAAAAAAAAA

#

window._.clamp

#

so ugly

austere talon
#

this is so jumpscare

#

i will finish pr

#

deal?

spark cove
#

watiwa

#

tiwtia

#

tiaw

#

tiaw

#

tiaw

#

tiaw

#

ti

tame escarp
spark cove
#

i must window._

austere talon
#

nop

#

im fixing

spark cove
#

oop

#

OK

#

HANDS FREEE

austere talon
spark cove
#

._.

austere talon
#

ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.

charred monolithBOT
austere talon
#

i changed timer font to monospace @spark cove

#

otherwise the ui shifts when a digit changes lolol

#

cause 0:00 has different witdth than 0:01

spark cove
#

TRUE

austere talon
#

calltimer has same problem

#

i will fix

#

i didnt even read this

#

too scary

#

bet itzs cery good code

charred monolithBOT
spark cove
#

im curiosu

austere talon
#

prettzy quick

spark cove
#

zz

#

epic

austere talon
spark cove
#

NICE

austere talon
#

could be better but this is fine

spark cove
#

yea i wanted to make a button version

#

for the message bar

charred monolithBOT
austere talon
charred monolithBOT
spark cove
#

like how it is on mobile

#

hold to record, release to send

#

but in the chatbar like next to the gif icon

austere talon
#

oh

spark cove
#

might pr later

austere talon
spark cove
#

what is that number

austere talon
#

u dont know??

#

nazi number

#

we will delete issue 1488

spark cove
#

whats the relation

austere talon
#

14 stands for the 14 words (just google it its a racist saying)
88 should be obv

spark cove
#

oh i dint kno w the 14 thing

#

interesting

austere talon
#

WHAT

#

NO

#

DLEETE THAT

#

😭

spark cove
#

wdym

austere talon
#

WDYM vap 😭

spark cove
#

nothing was said

#

i dont know i didnt look it up but im too lazy too

ocean estuary
#

yo guys quick question how can i start a timer in customrpc plugin

austere talon
#

thank you twice

#

idk why github posted that twice

turbid hatch
#

HELLO

#

BUG REPORT

#

VOICE NOTES

charred monolithBOT
turbid hatch
#

MIDI IS A """SUPPORTED""" FILE FORMAT

olive aurora
#

em

turbid hatch
#

BUT IF I TRY TO SEND IT AS A VOICE NOTE IT CRASHES!

austere talon
#

we just use audio/* mime type

spark cove
#

why is midi audio/

turbid hatch
#

because its

austere talon
turbid hatch
#

an audio format

spark cove
#

not really

turbid hatch
olive aurora
#

vns

nimble pendantBOT
olive aurora
#

Shaking My Head

spark cove
#

whoever decioded that should eXPLODE

turbid hatch
#

it crashes trying to generate the waveform i assume

olive aurora
#

simply add midi support

spark cove
#

yea

turbid hatch
#

mp3s work fine though

spark cove
#

i'd assume its the

turbid hatch
spark cove
#

audioContext.decodeAudio(blob)

#

i will add a midi to pcm

#

easy

#

iw anna do that now

#

hold on

turbid hatch
olive aurora
#

wth baseaudiocontext is cracked

spark cove
#

true

olive aurora
#

audio effects

spark cove
#

yea im not a fan of the node system because its not very obvious to me how it works from the naming

#

i havent found a good visual of it yet

#

but i htink i know how it work in a basic way

#

ooo that gives me a great idea

spark cove
#

ooooo

spark cove
#

i know what im doing for the next 5 hours

#

modular audio plugin toolkit for mic and user output

austere talon
#

SHITHUB SO SLOW

#

I WAITED FOR A MINUTE ALREADY

charred monolithBOT
austere talon
#

FINALLY

spark cove
#

probably the wait for successful checks

#

mayb

turbid hatch
#

(it is)

#

(thats from refined github, it stalls the PR accept until the checks pass)

#

(its not github)

austere talon
#

not true

turbid hatch
#

(you should try PR queue it does this for you now)

austere talon
#

all checks passed already

#

at that point

turbid hatch
#

thats still a RG issue

#

not a github issue

#

xd

austere talon
#

HOLY FUCK THIS RIFF

turbid hatch
#

actually we should try pr queue

#

can you enable it

austere talon
#

uh idk

spark cove
#

what is pr queue

austere talon
#

not now

austere talon
turbid hatch
#

it queues prs for merging

#

so it runs the checks

austere talon
#

maybe will make dev branch obsolete

turbid hatch
#

and then merges them

spark cove
#

oh

austere talon
#

i only use dev branch so i can merge multiple prs at once

turbid hatch
#

you know how rust has rollups

#

its that

#

its the same system

spark cove
#

no

#

but that sounds real

turbid hatch
#

rust rolls up multiple PRs into one

#

for CI

spark cove
#

ohh

turbid hatch
#

and tests them and merges them all at once

spark cove
#

thats sick

#

asf

turbid hatch
#

its faster and means that if a PR breaks you can narrow it down relatively easily

#

github does something similar except automatically

#

and if a PR in the queue fails it doesnt break your codebase

#

and the rest of the PRs can carry on

#

Merge queue automates this process by ensuring each pull request queued for merging is built with the pull requests ahead of it in the queue.

#

The queue then creates a temporary branch that contains the latest changes from the base branch, the changes from other pull requests already in the queue, and the changes from your pull request. CI then starts, with the expectation that all required status checks must pass before the branch (and the pull requests it represents) are merged.

#

If a queued pull request has merge conflicts or fails any required status check, it is automatically removed from the queue when it reaches the front, and a notification is sent. Once the problem is resolved, it can be added back to the queue.

#

basically how rust rollups work

#

very useful because you can just batch queue a bunch of PRs and not have to worry about your software being broken

charred monolithBOT
spark cove
#

i must read this page later

charred monolithBOT
austere talon
#

im not reading allat sorry lewi

#

if u want it fixed feel free to pr to voice messages or smth idk

turbid hatch
#

PR queue cool

#

it make thing go weee

austere talon
#

oh was that about pr queue

turbid hatch
#

ye

austere talon
#

i thought midi stuff

turbid hatch
#

lol

#

nah

austere talon
#

maybe i read then

turbid hatch
#

you know rust roll up

#

its that

#

oh