#πŸ‘Ύ-core-development

1 messages Β· Page 148 of 1

crude raptor
#

oh the... the vencord updates for vesktop depend on your vesktop version?

austere talon
#

no

crude raptor
#

well my vesktop vencord is "up to date" but still behind web-

#

uh

#

so vesktop.. doesn't have the decor plugin... ?

cunning canyon
#

it has

crude raptor
#

then- why do i not have it? i even just updated vesktop to 4.4 instead of 4.3

#

OH WAIT IM STUPID

#

i have the fucking plugin list with the updated textreplace

#

and that still isn't merged

#

pain and agony, torment even

austere talon
#

we really need an iq test to access this channel

#

im so tired of these braindead idiots trashing up this channel

crude raptor
#

ok mean

austere talon
austere talon
#

talking about the people asking for support here

lime stone
#

meanie

spark pivot
crude raptor
#

"rate this image 1-10"

  if num == 1 return true
  if num == 2 return false
  if num == 3 return true
  if num == 4 return false
  if num == 5 return true
  if num == 6 return false
end```
topaz thistle
#

What language is that?

#

Looks like lua but I don't think lua allows ifs like that

austere talon
#

pseudocode

oak hull
#

plaintext

topaz thistle
#

ggs

austere talon
#
def isOdd num
  return true  if num == 1
  return false if num == 2
  return true  if num == 3
  return false if num == 4
  return true  if num == 5
  return false if num == 6
end
topaz thistle
#

Now minify it

#

Then strip names

lime stone
crude raptor
#

holy shit true

austere talon
#
puts "w" while true
crude raptor
topaz thistle
#

U can do <insert cursed shit here> in ruby

austere talon
#

i love ruby

lime stone
austere talon
#

it also has unless

topaz thistle
#

Bet it's even worse to parse than C++ lmao

austere talon
#

doubt

#

but its pretty quirky

#

cause everything has multiple syntaxes

#

these blocks are equivalent

puts x.downcase.chars.map { |c| c.to_i }.max if !x.nil?

unless x.nil?
  puts(x.downcase().chars().map do |c|
    c.to_i()
  end.max)
end
charred monolithBOT
austere talon
#

nop

#

beautiful

lime stone
#

i feel like a good language avoids having multiple ways to do the same thing

charred monolithBOT
charred monolithBOT
tropic wagon
#

i hate that new discrod hides some channels by default even i you have access to them

#

is there a posibility for a plugin which always shows all channels that are accessible to you, without you needing to manually click "add to channel list"?

#

if yes, i'll make an issue on github

limber skiff
#

right click the server and toggle show all channels

charred monolithBOT
surreal storm
#

found a lil bug.
right clicking the user settings cog and trying to open "startup timings" doesn't do anything.
works fine when already in user settings and going to the tab.
no console errors.

charred monolithBOT
surreal storm
limber skiff
#

first broken patch

charred monolithBOT
junior olive
#

@limber skiff apparently decor patches got broken too

#

yippeee

limber skiff
#

lets see

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

junior olive
#

wtf theyre fine for me on canary

#

dziurwa lied to me

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

@shy veldt lies!!

junior olive
#

@shy veldt liar

austere talon
#

yeah don't listen to dziurwa at this point

#

this is like the fifth time he said stuff is broken and shows errors

#

then you check and it works flawlessly

#

dziurwa building custom discord build from source to troll us

charred monolithBOT
charred monolithBOT
surreal storm
surreal storm
#

don't see an error for that

charred monolithBOT
limber skiff
surreal storm
# limber skiff mb if I was rude

it's all good, i always remember it's hard to interpret tone when reading messages that are just text so i don't take offense easily when it's edgy as far as if it's rude or not. you're completely fine

limber skiff
charred monolithBOT
jagged cloak
frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"more-options-popout"\)\),(?<=let{channel:(\i).+?inCall:(\i).+?)/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"popup".{0,100}?if\((?<=let{channel:(\i).+?inCall:(\i).+?)/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

junior olive
# frail sky

shc patches on their way to explode for the 3rd time in the hour

austere talon
#

haram

olive aurora
#

wtf

austere talon
#

crystal doesn't support

austere talon
olive aurora
#

crystal sucks i hate it now

limber skiff
#

yeah...

#

it's finee

junior olive
#

show hidden channels more like vencord reporter tester

limber skiff
#

@austere talon should I just commit this and call it a day

#

(forgot to upload the image lmao)

charred monolithBOT
austere talon
#

poor autumn

limber skiff
#

what

#

dont tell me

#

...

austere talon
#

a

limber skiff
#

yikes

#

okay but ngl

#

kinda cool we did the same find

austere talon
#

you stole from him!!!11!!1!

limber skiff
#

NO!

#

I found it myself!!

austere talon
#

@cunning canyon let's sue nookies

limber skiff
#

I need to look at prs before fixing stuff

limber skiff
cunning canyon
#

lol

austere talon
#

does it still work the same

limber skiff
#

yeah

#

boolean is deprecated now

charred monolithBOT
charred monolithBOT
charred monolithBOT
distant flax
charred monolithBOT
charred monolithBOT
lament summit
#

0

charred monolithBOT
analog knoll
#

yay, this is way easier to install since it also solves the confusion after macos places it into quarantine and the app appears as broken

nimble plaza
#

ooo, can you send the cask?

analog knoll
#

can we sign vesktop.app without paying for a dev account?

#

if not it can only be a tap in brew : (

analog knoll
#

I guess we can self sign without the dev account

analog knoll
#

brew install --cask zirixcz/vesktop/vesktop

charred monolithBOT
#

@doinkythederp I took your formulae and updated it a little. Went through the process of verifying we're eligible to be in their repositories and found we're not since the Vekstop.app is not signed. Until then, I created a tap that I'll keep up to date. You can find it here: https://github.com/ZirixCZ/homebrew-vesktop

Installation is brew install --cask zirixcz/vesktop/vesktop

I am not sure how to make it a one cask repository (to achieve username/vesktop). If you feel like improving ...

turbid hatch
#

@austere talon i will be taking on a new project soon

#

translating vencordℒ️ by Pure Fucking Insanity

#

(not plugins yet, just the mod itself to begin with)

#

(ill work out what to do with plugins another time)

#

it begins with t and its not telemetry

#

actually it might invite people who dont really speak english to get support

#

which will be hard for us

austere talon
turbid hatch
#

hmm..

#

it has both a positive and negative effect

#

it opens us up to a wider userbase at the difficulty of a harder support experience and the requirement of potentially splitting support into english and everything else support

#

now that's not too hard of an idea, but people might not understand

austere talon
#

i don't really think it opens us up to a wider userbase

turbid hatch
#

eh, i think the idea is good but who knows

#

i have seen support issues due to language barriers where they don't understand enough english to know what the software is asking them

austere talon
#

skill issue

#

use translator

turbid hatch
#

we could do german

austere talon
#

the only people who don't understand english are 13yos and really dumb people

#

i don't think we really want to have either of them as our userbase

#

that is true

#

however we would get even more of them

turbid hatch
#

uhh

#

indonesian

charred monolithBOT
analog knoll
charred monolithBOT
chilly bough
#

how hard would it be, on a conceptual level, to make a plugin that actually renders svg attachments?

austere talon
#

very easy

#

just ```jsx
<img src="some-url/thing.svg" />

charred monolithBOT
charred monolithBOT
#

Closing, moving to user plugins on the Discord server.

@jumpyjacko would you mind linking to the plugin? I'm really interested

I realised I had to rewrite but I couldn't figure out how to because my Javascript/Typescript is not the best so the plugin doesn't exist, sorry for the inconvenience. I also no longer use Vencord.

:(
It's fine tho, I'll maybe end up writing myself a quick one when I get some time. Would really like to somehow manage to get autocomple...

#

:(
It's fine tho, I'll maybe end up writing myself a quick one when I get some time. Would really like to somehow manage to get autocompletion or view the rendered result as I've just learned LaTeX :P. I think discord should support LaTeX out of the box tho, the same way they have great support for codeblocks or file preview with syntax highlightning...

You should be able to reuse most of my code for the rendering part, you will just have to rework the way it integrates with Vencord. Hop...

charred monolithBOT
#

:(
It's fine tho, I'll maybe end up writing myself a quick one when I get some time. Would really like to somehow manage to get autocompletion or view the rendered result as I've just learned LaTeX :P. I think discord should support LaTeX out of the box tho, the same way they have great support for codeblocks or file preview with syntax highlightning...

You should be able to reuse most of my code for the rendering part, you will just have to rework the way it integrates with V...

charred monolithBOT
#

I've heard about MathJax and KaTeX, so I'll try to integrate them as they seem really good options for LaTeX libraries. But I'll have to learn the Vencord API, so your code might come in handy, thanks!

But I can't see any diff on this PR for some reason, can I see it anywhere else?

Also, thanks for the advice!! <3

I almost didn't have the code because I deleted it all on my main computer, but luckily I have it pulled to my laptop. https://pastebin.com/svx87UKi

I chose no...

#

I've heard about MathJax and KaTeX, so I'll try to integrate them as they seem really good options for LaTeX libraries. But I'll have to learn the Vencord API, so your code might come in handy, thanks!
But I can't see any diff on this PR for some reason, can I see it anywhere else?
Also, thanks for the advice!! <3

I almost didn't have the code because I deleted it all on my main computer, but luckily I have it pulled to my laptop. https://pastebin.com/svx87UKi

I ch...

charred monolithBOT
limber skiff
#

wtf

turbid hatch
#

it means it didnt return a match

#

.match returns null

#

@limber skiff

charred monolithBOT
lucid blade
#

does anyone know why moment.js fucks up relative timestamps after so long

limber skiff
turbid hatch
#

because it's rounding

limber skiff
#

well something broke in the reporter

turbid hatch
#

you've gone past 15.5 so it'll round up to 16

#

relative timestamps were never meant to be used on the scale of years

lucid blade
#

ohh that's fucky

turbid hatch
#

it was meant for days at most

lucid blade
#

tempted to see if Day.js has the same problem or if i should just implement it myself

turbid hatch
#

it does

#

they all round

grizzled crow
turbid hatch
#

you can probably mod the dayjs relative plugin to round down all the time though

#

i.e. change it from Math.round() to Math.floor()

#

oh sorry

#

my mistake

#

they dont use rounding

austere talon
turbid hatch
#

they use a breakdown table

austere talon
#

i don't think we account for that error

limber skiff
#

grr

lucid blade
limber skiff
#

you are prob right

turbid hatch
#

it means that they purposely fuzz the numbers a bit

austere talon
#

which would mean decor broke

turbid hatch
#

to make it more natural to humans

austere talon
lucid blade
#

oh

#

ohh i see

turbid hatch
#

we could describe 45 seconds ago as a minute ago

lucid blade
#

yeah

turbid hatch
#

cause its just about

#

you can however change it

junior olive
#

NOOOO

turbid hatch
#

and also it uses rounding but it uses rounding + that table

limber skiff
#

I think more stuff broke too

turbid hatch
#

i have a version of dayjs that is very strict

#

let me check

limber skiff
#

maybe some show hidden channels patches since they changed some stuff about channel unread indicators

#

that's why I was running reporter

turbid hatch
#

play around with this

grave mangoBOT
# turbid hatch https://github.com/lewisakura/botto/blob/master/src/index.ts#L75-L109

**index.ts: **Lines 75-109

dayjs.extend(relativeTime, {
    /*    thresholds: [
        { l: 's', r: 1 },
        { l: 'm', r: 1 },
        { l: 'mm', r: 59, d: 'minute' },
        { l: 'h', r: 1 },
        { l: 'hh', r: 23, d: 'hour' },
        { l: 'd', r: 1 },
        { l: 'dd', r: 29, d: 'day' },
        { l: 'M', r: 1 },
        { l: 'MM', r: 11, d: 'month' },
        { l: 'y' },
        { l: 'yy', d: 'year' }
    ] */
});

dayjs.extend(updateLocale);

dayjs.updateLocale('en', {
    relativeTime: {
        future: 'in %s',
        past: '%s ago',
        s: '%d seconds',
        m: 'a minute',
        mm: '%d minutes',
        h: 'an hour',
        hh: '%d hours',
        d: 'a day',
        dd: '%d days',
        M: 'a month',
        MM: '%d months',
        y: 'a year',
        yy: '%d years'
    }
});
austere talon
#

you will make it handle the group error

#

or just ignore it

limber skiff
#

I will

austere talon
#

maybe remove the group thing

turbid hatch
#

anyway

limber skiff
#

when I'm home I will fix

austere talon
#

yeah just set group to false in the reporter code

austere talon
turbid hatch
#

gotta make a meme

#

one second

junior olive
#

decor is fine

junior olive
#

i just checked

lucid blade
#

god dammit i just realised vencord uninstalled ughhghgghds

#

very necessary settings page

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"more-options-popout"\)\),(?<=let{channel:(\i).+?inCall:(\i).+?)/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"popup".{0,100}?if\((?<=let{channel:(\i).+?inCall:(\i).+?)/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

terror

turbid hatch
#

im making a meme sorry

#

gimme a sec

austere talon
#

aren't those fixed already

wanton wasp
austere talon
#

dummy ran it on main branch

frail skyBOT
#
Bad Patches

ShowHiddenChannels (had no effect):
ID: 319839
Match: /(?=!\(0,\i\.getHasImportantUnread\)\(this\.record\))/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"more-options-popout"\)\),(?<=let{channel:(\i).+?inCall:(\i).+?)/

ShowHiddenChannels (had no effect):
ID: 2830
Match: /"popup".{0,100}?if\((?<=let{channel:(\i).+?inCall:(\i).+?)/

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

FakeNitro (found no module):
ID: -
Match: location:"AppIconHome"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

yes those are fixed

limber skiff
turbid hatch
#

@austere talon but you see

#

there was a reason for doing this

#

it was extremely worth it

lucid blade
#

now to figure out what the fuck is going on

charred monolithBOT
limber skiff
#

@austere talon THIS IS WHY OUR FIND DOESNT WORK, sentry gets initialized in a separate webpack 😭

#

it was the sentry webpack all along

#

how didnt we notice it

austere talon
#

oh right

#

idk how we should best solve that

limber skiff
#

I was eating lunch and thought of that lmao

#

so random

austere talon
#

patching it as well seems kinda insane

austere talon
limber skiff
#

I feel like our patcher should be catching it though

#

it pushes to the same shit anyways

austere talon
#

insane discord why do they even have a separate webpack for it

limber skiff
#

good question

austere talon
#

so it uses its own array lol

limber skiff
#

yeah prob

#

it's not even here lol

nimble plaza
austere talon
#

INTERNAL SERVER ERROR

#

vupdate

nimble pendantBOT
#

I'm back !!! :DDD

austere talon
#

thanks luna

nimble plaza
#

ofc

#

:D

limber skiff
#

message is literally empty

austere talon
#

is it desktop only orrr

limber skiff
#

nah

#

it's not here either

nimble plaza
#

im on desktop with moonlight and dont see itbut its disable sentry might be killing it

limber skiff
#

sentry.5539a4b7f010f3561b69.js

austere talon
#

did u load the chunk?

limber skiff
#

let me put break point

austere talon
#

hmm its only loaded on desktop

limber skiff
#

DiscordSentry is undefined for me too

austere talon
#

no like

#

vesktop doesnt have the chunk

#

nvm it does

#

but yeah its never loaded

limber skiff
#

huh

#

it does run

#

but where is it

austere talon
#

LOL

#
var o = r.O(void 0, ["58409", "3341", "47470", "22843", "94288", "25653", "7273"], function() {
    return r("93629")
});
r.O(o)
#

r("93629")

#

this is the sentry module

#

and .O is .onChunksLoaded

limber skiff
#

yeah

austere talon
#

so it's supposed to run the sentry module on chunks loaded

limber skiff
#

that's very likely super early

austere talon
#

anyway as for why we're not patching it

#

those modules are never pushed to webpackChunk / wreq.m

limber skiff
#

because it runs too early?

#

i dont get it

#

they are pushed to webpackChunkdiscord_app

austere talon
#

no

#

where are they pushed

limber skiff
#

when the main webpack initializes it should push all of those into .m

austere talon
#

show me

#

they arent pushed

limber skiff
#

wait

austere talon
#

sentry webpack has prepropulated .m just like discord's

austere talon
limber skiff
#

oH

#

I get it

austere talon
#

but it doesnt run lol

#

i put a brekpoint and it never ran

limber skiff
#

but at the same time

#

??

austere talon
#

wait it deletes my breakpoints

limber skiff
#

we could try keeping the .m function patch

austere talon
#

WHY DOES IT DELETE MY BREAKPOINTS WHEN I RELOAD

limber skiff
#

so we patch the other prepopulated webpacks too

austere talon
#

LOLLLL

#

look at the last 3 elements

limber skiff
#

yeah

#

found the reporter issue too

austere talon
#
var r = n("51545");
#

this line is erroring

#

ahahah

#

cause that require doesnt have .c

#

thats so funny

#

past me accidently disabled future sentry xd

limber skiff
#

nvm

austere talon
austere talon
limber skiff
#

oHHH

austere talon
#

that means our patch does work

limber skiff
#

is that why it doesnt get defined

austere talon
#

or rather we do patch those modules

austere talon
#

the line above it errors cause of vencord

limber skiff
#

the return is window πŸ˜‚

#

this is so funny

austere talon
#

the line with breakpoint throws an error

limber skiff
#

lmaoooooooo

austere talon
#

anyway

#

that line thats erroring is from our webpack patcher

#

so it means we do successfully patch those chunks

#

USESCLIENTMODS

limber skiff
austere talon
#

O.O

limber skiff
#

we do patch the one that exports 51545

#

or whatever it uses inside

austere talon
#

wait they dont detect vencord

limber skiff
#

nop

#

oh wait

limber skiff
#

wait no ven we dont patch it

#

this is the window export that errors

#

because it's required with sentry webpack that doesnt have cache

#

but that one is exported from another chunk with isnt the sentry one 58409.1811376ebb7f14b0be53.js

austere talon
#

is that from normal webpack?

limber skiff
#

yes

austere talon
#

i see

#

i say just keep the .m patch

limber skiff
#

yeah same

austere talon
#

let me see

#

okay so

#

i fixed patchWebpack and

#

it did run yeah

limber skiff
#

we are so pro

#

we broke sentry without noticing it

austere talon
#

i made the .m patch persist

#

and it patched it successfully

limber skiff
#

nice

austere talon
#

still so cursed that they have two webpacks

charred monolithBOT
#

Hm maybe default values should be put in these lines: https://github.com/Vencord/Vencloud/blob/477392d59bc6d484cf5de7565561c6e544c73e1a/globals/globals.go#L11-L12

Let's say 8080 for PORT and 127.0.0.1 for HOST.

With this function:

func getEnv(key, fallback string) string {
    if value, ok := os.LookupEnv(key); ok {
        return value
    }
    return fallback
}

Because the healthcheck is working on port 8080: https://github.com/Vencord/Vencloud/blob/4773...

austere talon
#

there

#

lets see

#

did u figure out the empty message?

limber skiff
#

i'm fixing reporter

#

ye

#

give me a sec

#

true discord error

charred monolithBOT
#

817cb9b GameActivityToggle: Icon cleanup (#2041) - ruukulada
40b3ec5 FakeNitro: fix non apng gif stickers being sent... - sapphonie
2cf52d0 AlwaysAnimate: Add guild banner (#2036) - zImPatrick
b329591 TypingIndicator: setting to disable for current... - Andrew6rant
a8b0ce6 fix(notrack): murder sentry - Vendicated

austere talon
#

scary

#

WAIT

charred monolithBOT
austere talon
#

DID U NOT FIGURE OUT WHY ITS EMPTY

limber skiff
#

it wasnt empty

austere talon
#

that error looks like a patch error still

#

some patch creating corrupt code

limber skiff
#

ik

#

I fixed

#

the "empty" errors were this

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

LETS GOO

#

we are so back

#

@junior olive this is beautiful look

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

wait our icon broke again

#

😭

charred monolithBOT
limber skiff
#

venbot avatar

charred monolithBOT
limber skiff
#

we should be able to push to main now

#

everything is working

junior olive
limber skiff
#

actually one sec I'm gonna do one thing first

austere talon
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
nimble plaza
#

wtf is Nobara

#

its literally just fedora

charred monolithBOT
austere talon
#

huh how

charred monolithBOT
charred monolithBOT
limber skiff
#

btw @austere talon

#

that's been a thing for a while

austere talon
#

even is is_using_clientmod?

limber skiff
#

.

austere talon
#

oh right

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

As a user of both SilentTyping and SilentMessageToggle, seeing both icons next to each other is a little (very) confusing.

So, I'm proposing an alternate icon, adding the "Z" from the SilentMessageToggle bell icon onto the keyboard and inverting the state of the red slash on the icon.

Old

image
![image](https://github.com/Vendicated/Vencord/assets/58280776/9c65ff5a-0b85-4634-acd2-152eb461...

stoic echo
#

dude

#

how the FUCK is it confusing

#

ones a bell

#

ones a keyboard

#

figure it out

lime stone
#

nah this was a good change

stoic echo
#

im just curious on how the actual hell it was considered confusing husk

#

ones a bell..

#

ones a keyboard..

#

typing comes from a keyboard..

#

noise comes from a bell..

charred monolithBOT
stoic echo
austere talon
#

btw @limber skiff

#

can we fix crash reporter flashbang

#

when it fails to recover it just shows a white screen

#

it should show discord crash screen instead

limber skiff
#

no idea why that happens

#

the code is a bit messy

austere talon
#

@nimble plaza it be fixed

nimble plaza
#

already?

#

that was fast

austere talon
#

ye

#

wait nvm

#

I reloaded again

#

broken again

#

its so weird

#

if i reload a bunch sometimes i will get in

nimble plaza
#

cache?

exotic ridge
#

Extension?

#

Fixed

stoic echo
#

i understand perfectly what hes doing…but what..

austere talon
#

its not really possible lol

#

most vesktop features rely on vencord

crude raptor
#

lmfao

#

why would you want that tho

#

just don't use any themes or plugins

austere talon
#

he deleted his repo

lime stone
#

actually i won't star it because the starboard is getting filled with random stuff iirc

#

so tempting

#

starboard is becoming conversation summaries

charred monolithBOT
nimble plaza
#

which is called first, flux's CONNECTION_OPEN or a plugin's start function

austere talon
#

same time

#

statt literally runs on CONNECTION_OPEN

nimble plaza
#

ah

#

why does decor have them seperate then

austere talon
#

because CONNECTION_OPEN also fires when you switch account

nimble plaza
#

ah

austere talon
#

and start() runs when you enable plugins late

#

if people start your plugin late (by newly enabling it) start will run

#

but CONNECTION_OPEN won't for obvious reason

pine topaz
#

why did they keep messagelogger

charred monolithBOT
nimble plaza
#

why are you scrolled that far up

#

thats from october

pine topaz
#

WHAT

#

WHY AM I THERE

pine topaz
thick rover
#

Then I realize how foolish I am, even though they look exactly the same I still ring the bell because it makes funny noises

junior olive
#

like

#

decor is useless without a restart

jagged cloak
#

eh do it anyway shiddohwell

analog knoll
junior olive
#

rip

analog knoll
#

but perhaps self signing would also work. we dont need an apple dev account

charred monolithBOT
analog knoll
nimble plaza
#

doki theme - qq: nino

analog knoll
#

is that nvim

nimble plaza
#

vscode

analog knoll
#

i have this rn

#

i really like how together it is

charred monolithBOT
woeful sable
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

nimble plaza
#

beautiful

charred monolithBOT
woeful sable
#

what......

woeful sable
#

I tried generating a big chunk in one function

#

Trying to think of a way to make it more "automatic" lol

woeful sable
#

MY BRAIN IS DYING

limber skiff
#

why

austere talon
#

what

#

define chunk

#

what are you generating

charred monolithBOT
charred monolithBOT
jagged cloak
#

YOU MIGHT BE BREAKING THE RULES OF HOOKS

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

This PR contains a draft translation system for Vencord. Powered by Project Fluent, the framework designed here allows us to write translations that are flexible for language grammar and can take context of where the translation is being used (thanks to Fluent's facet system).

Of course, this is purely a draft idea for now, but the actual groundwork for a translation system now exists:

  • translations are bundled into the mod itself by esbuild, so no external ...
charred monolithBOT
charred monolithBOT
lime stone
#

downloa

turbid hatch
#

i couldn't think of a good one

#

web requests are async so that's already off the menu

#

and i guess we could ship the files separately but it seems a bit. eh?

nimble plaza
#

web request, save the file, reload to load it?

austere talon
turbid hatch
charred monolithBOT
austere talon
#

cause the fact that we download like 10 files is kinda meh

#

and makes it hard to ever add, remove or rename files

turbid hatch
#

like what i now need to do

austere talon
#

but migrating to asar is hard now

turbid hatch
#

:P

#

ill work out how to do it in a bit

charred monolithBOT
#
[Vencord/venmic] New tag created: v3.1.0
topaz thistle
#

@austere talon Can you please update venmic in Vesktop once the long ass build finishes? Should greatly improve the troubleshooting of venmic issues in the future ^^

charred monolithBOT
woeful sable
#

Where is the repo for vencord.dev? I want to add instructions for Firefox as it is possible

#

In about:config you can set xpinstall.signatures.required to false and it makes Vencord stay even after restart

#

I believe this should be stated on the website followed by a link to the zip file for firefox

#

The userscript version is slow and doesn's support several features

#

Also using discord in Firefox gives you one huge advantage

#

This thing basically hacks Discord to use the same handlers as screenaudio on Windows, this is superior to other solutions such as Vesktop because other solutions simply pipe audio into microphone which results in terrible audio quality

#

Also Firefox has userChrome which Chrome lacks

austere talon
#

this is superior to other solutions such as Vesktop because other solutions simply pipe audio into microphone which results in terrible audio quality

false, it doesn't do that

#

The userscript version is slow

also false, it's literally the same code...

austere talon
woeful sable
#

Yeah

turbid hatch
#

The Nightly and Developer Edition versions of Firefox have a preference to disable signature enforcement. There are also be special unbranded versions of Release and Beta that have this preference

woeful sable
#

Well I had some issue with Vesktop which I don't have with Firefox using the addon

turbid hatch
#

not according to mozilla wiki

woeful sable
#

Librewolf is based on nightly?

turbid hatch
#

librewolf != firefox

austere talon
#

try on stock mozilla firefox

#

librewolf is a different browser

woeful sable
#

Okay

charred monolithBOT
woeful sable
#

bind = $mainMod, Q, pass, ^(librewolf)$

#

this

#

When I press mod+Q, push to talk works no matter what workspace I am on or if Firefox is focused or not

#

The same does not work for Vesktop

austere talon
#

it should

woeful sable
#

But it doesn't

turbid hatch
#

hyprland issues aren't our priority

woeful sable
turbid hatch
#

then it's a hyprland issue

#

not us

#

if it happens on more than one app

#

it's probably sending it to the wrong process

woeful sable
#

Let me check stable firefox now, I'll check

#

It exists on stable as well (stock Firefox stable)

#

So yeah it can be added as an option on the website

#

Let me check if vencord is persistent just to be extra sure

#

Okay so the config is there but doesn't take effect :/

#

I can't install it

#

even when I set it to false

#

It only applies to nightly and dev, so Librewolf is based on nightly I assume

#

Still, instructions should be present for individuals who use Nightly or Librewolf

#

Given that there are builds for firefox anyway

#

I can make a PR if you tell me where the repo for the wesbite is

woeful sable
#

found it

topaz thistle
#

Also our implementation is better than the one in the repo you linked / discord screen audios implementation.

I'm the original creator of the implementation those two use and they're both using a very incomplete example I posted back then which is not as robust as the implementation of venmic

GitHub

linux audio screenshare for discord (or any electron app) via pipewire - GitHub - Vencord/venmic: linux audio screenshare for discord (or any electron app) via pipewire

crude raptor
#

me when i make false claims trolley

woeful sable
topaz thistle
#

Hotkeys are still missing, but I saw Vee working on them recently

woeful sable
#

system-wide push to talk would be nice, if that gets implemented, I'll switch

topaz thistle
#

Venmic also has a server-mode that Browser extensions can make use of

#

But as far as I'm aware none do as of now

#

Also vesktop doesn't pipe audio into the mic

#

It reroutes the screenshare audio similar to the extension you linked vee said this already

topaz thistle
austere talon
#

vesktop adds a ton of features normally missing in web

#

:p

#

anyway yeah keybinds are planned

charred monolithBOT
topaz thistle
austere talon
#

fear

woeful sable
#

Is it good enough to get merged?

#

The buttons downloads the zip file from builds

stoic echo
#

is what good enough to be merged

woeful sable
#

the screenshot

nimble plaza
#

no

#

thats misleading

#

it makes users think its from the extension store

woeful sable
#

Okay I'll make custom button for that

nimble plaza
#

just put it in the paragraph

#

a link

woeful sable
#

Okay, in that case I'll just move the paragraph lower in the page

#

I'll also add a warning that it is bit more involved and may pose a security risk

#

In case someone installs other unsigned addons that are malicious

charred monolithBOT
topaz thistle
#

Phone coding 🦾

stoic echo
woeful sable
#

@nimble plaza how about now?

austere talon
#

too much text

woeful sable
#

Yeah but I can't really make it shorter

#

The warning about unsigned addons must be there too

austere talon
#

you can by simply not adding those instructions

#

noone uses firefox nightly

woeful sable
#

But people use Librewolf

#

And I know how I felt when I had to figure out how to install Vencord even tho it's unsigned

#

Okay what about putting it in readme and linking the readme instead

#

That's a nice compromise I'd say

#

Why is it that it is not on the firefox store anyway?

#

I remember it was something about Mozilla team not wanting to compile the addon? Like there was some requirement like providing some shit and Ven refused to do that

#

So like what if I do it the way Mozilla wants?

nimble plaza
#

we tried

#

mozilla kept throwing things at us

woeful sable
#

And what was the requirement where you chose to stop trying? I have a lot of time, I can keep going lol xd

nimble plaza
#

csp cant be removed (we cant do half the plugins), no useless code (they were looking at electron code), they need an account to test the extension, which discord has ip verification

#

the last one

austere talon
#

their rules are way too strict

#

vencord cannot function properly without violating their store rules

#

or you get even less functionality than the userscript

woeful sable
austere talon
#

no.

nimble plaza
#

vencord on firefox is dead and nothing anyone can do can fix it

#

:akashrug:

woeful sable
#

Well not really dead, the addon is still being compiled by the build script to this day

austere talon
#

yes and you can install that

#

anything beyond that is dead

eager sable
#

why is vencord strict about third party stuff

#

like dude the stuff loaded are just on the config

nimble plaza
#

its not that were strict

#

its that vencord is built with everything built in

eager sable
nimble plaza
#

itd be extremely hard / downright impossible to add 3rd party plugins without rewriting vencord

eager sable
#

isnt it just a universal javascript that works everywhere

surreal fiber
#

no

#

vencord has a different architecture

eager sable
#

oh okk

charred monolithBOT
woeful sable
#

Well let's hope it gets merged

nimble plaza
#

it wont

charred monolithBOT
nimble plaza
#

that looks like ai

dusky sonnet
#

new copilot update go brrr

nimble plaza
#

its just tiny changes of things that already work

#

and in a spot it made something more complicated?

austere talon
#

yeah that doesn't really contribute anything of value

#

oh god the discord new layout makes me miss dms

#

horror

#

8 new dms i didnt see

turbid hatch
#

oh @austere talon how did you want me to implement asar stuff?

#

i cant think of a cross-plat way of loading it synchronously

#

unless i rewrite it to be async but that'd be awkward hmm

#

ah i suppose its not too bad?

austere talon
#

dw about it

#

it's probably easiest if i rewrite vencord to use asar first

turbid hatch
#

should i bake them in for now and if it gets merged before we work on it later?

charred monolithBOT
woeful sable
austere talon
#

did u use a hook inside your foreach

woeful sable
#

ye

#

Apparently I can't use hooks in conditions or loops or nested functions

#

I'm not used to anything UI related so this is pretty new to me

#

Is there a way for me to make an element go to the right of the modal? Kinda meh example of what I'm trying to achieve, I have the left side complete.

austere talon
#

its really trivial if u know css

woeful sable
#

Fair I'll read into that

#

float:right?

austere talon
#
<div class="wrapper">
  <div class="left">
    Left
  </div>
  <div class="right">
    Right
  </div>
</div>
.wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#

really easy

wraith vessel
nimble plaza
charred monolithBOT
analog knoll
#

huh haha

teal halo
charred monolithBOT
topaz thistle
# charred monolith

@austere talon Could you bump Venmic to 3.1.0? Would help this issue if they were to build from source

#

I can also submit a PR tomorrow

charred monolithBOT
austere talon
#

can u not just transfer them :p

#

do u have perms to do so

charred monolithBOT
topaz thistle
#

But mobile is lacking a lot of features anyway

austere talon
#

the app or website

topaz thistle
#

Website is the same but buggy as hell with beta layout

austere talon
#

website is so unusable but better than the app from my experience

#

lol why did u minimise ur comments

#

instead of just editing or deleting 😭

#

silly banana

charred monolithBOT
#

✍️ Bug Description

Go Live Screenshare audio is mono

πŸ” Steps to reproduce

Account 1: stream something with stereo audio
Account 2: view account's stream with stereo headphones

πŸ—’οΈ Debug Output

[2023-12-16 02:40:07.209] [venmic] [debug] [has_pipewire] pulse-server was pulseaudio (on pipewire 1.0.0)
[2023-12-16 02:40:07.214] [venmic] [info] found speakers: 52
[2023-12-16 02:40:15.829] [venmic] [debug] ignoring 28: no props match
[2023-12-16 02:40:15.829] [venmic] [debug] ign...

topaz thistle
woeful sable
#

What do I have to do so those checks pass, it's been like this for hour

charred monolithBOT
topaz thistle
charred monolithBOT
#

It is arguably prettier for the platform info to show up with a nice transition than changing from one to another. We could theoretically make a not-loaded state that would be sent from the server so there is not an empty space there until it loads, then transition nicely to the actual platform nicely. What is the opinion of you all on this?

https://github.com/Vencord/vencord.dev/assets/49836430/331d101c-cc8c-4732-b743-f6b27265c1ba

austere talon
#

nop

#

it shouldn't be mono anyway

woeful sable
#

Ngl I thought I just broke my vencord when testing and notifier plugin was saying I was leaving a bunch of servers

#

Apparently was just discord crapping itself

charred monolithBOT
#

I do know that microphone encoding (at one point) happened on the client side, and someone once wrote a BD plugin that changed the encoding options to make it stereo. Perhaps something similar could be done. If not, then it is what it is.

Interesting idea, maybe you can open a plugin suggestion in the vencord (or rather vesktop as this is more geared towards vesktop specifically) repository with this issue as a reference.

It would may also help if you link the aforementioned plugin ^^

thorn bolt
#

gays

topaz thistle
# austere talon it shouldn't be mono anyway

Just saw this now, is this actually a Venmic issue or a vesktop issue?

Not sure if I can actually do anything here as I capture all channels (stereo or even higher if available)

austere talon
#

are we back

#

is this thing on

#

yup yup

austere talon
#

someone should test if they can reproduce

topaz thistle
#

True

austere talon
#

and discord only forces mono for your microphone

#

not streams

topaz thistle
#

Yeah wasn't sure on that one just knew that there was something with mono down sampling

topaz thistle
austere talon
#

it's easy to test with alt

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

topaz thistle
charred monolithBOT
#

im too lazy to make issues, so feel free to move this one around as you fit

here is the plugin i found on my hdd, i don't think it works anymore

//META{"name":"stereoSound"}*//

var stereoSound = function () {

  let VoiceConnection = BDV2.WebpackModules.findByUniqueProperties(['getVoiceEngine']).getVoiceEngine().VoiceConnection;

  class Stereo extends VoiceConnection {
    constructor(a, b, c, d, e) {
      super(a, b, c, d, e);
      this.origin = super.setTransportOp...
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
#

https://github.com/Vencord/vencord.dev/assets/49836430/757d92b4-9bd9-4226-88db-91d437df3211

This PR is fixing the platform flash that happens everytime you're not on windows. The part is causing trouble that we don't know the height that the windows platform will have on the server side (to make it the default one).

This kinda is the goal, but without hardcoding the height:

https://github.com/Vencord/vencord.dev/assets/49836430/cddbb13f-9f24-49f3-b006-f228c8e76628

analog knoll
#

wow! 2:30 am

#

and it is pretty simple, too. I just don't know astro. Will push it in a second

#

I should have stored it in a cookie from the get go instead of trying to fight and make compomises for 2 hours lol

#

would have taken 10 minutes as it shoud : (

austere talon
#

even if u use cookie it will still flicker on first visit when u dont have the cookie, no?

analog knoll
#

nope

#

since I'll set the cookie in astro, not in the svelte part

#

so i will have it already ready when download comes into play

#

and i can expose a variable from svelte to astro and pass it that way

north knoll
charred monolithBOT
#

https://github.com/Vencord/vencord.dev/assets/49836430/76435376-9a48-48cd-87ef-ca94292aca6b

The commit at https://github.com/Vencord/vencord.dev/pull/35/commits/e233331ea67eaa58010e23d5332b767586e8a778 resolves the issue by saving the platform information in a cookie. This prevents the page from flashing. However, a user visiting the download page as their first page for the first time will still see an empty box until the page fully loads, which is unavoidable.

analog knoll
#

gn :)

#

glad i could make it look awesome

junior olive
#

its still a draft

north knoll
junior olive
#

oh

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
woeful sable
#

Guys so like it kinda works

#

and I'm happy

#

wooo

crude raptor
#

look pretty sleek

woeful sable
austere talon
#

and you can't unless you're an admin

woeful sable
#

Found that by scrolling the member list you trigger op 14 for gateway

#

Which then I'm guessing adds it to the store

#

It's a little weird hacky solution but yes

#

Still doesn't really get all members and gets it in chunks

woeful sable
lime stone
austere talon
#

no?

#

well kinda, you need the intent

#

do u still need perms even if u have the intent

lime stone
#

shrimply be a bot /j

charred monolithBOT
tawny cipher
#

was wondering if I was tripping

lucid blade
#

is there like some sort of guide for patching because i've looked through like 20 plugins and 3 conversations and i still don't understand what im supposed to do

slim marsh
lucid blade
#

i've already looked through that

charred monolithBOT
analog knoll
charred monolithBOT
light flicker
#

cbghhgpcnddeihccjmnadmkaejncjndb

charred monolithBOT
lucid blade
#

like find vs match and what replace actually replaces

nimble plaza
#

every part of discord code is split into modules

dapper crest
#

that would be neat, but I feel like github pages links fill that purpouse

nimble plaza
#

find is a unique string that matches the module

#

match is the code to edit in it, and its replaced with replace