#๐Ÿ‘พ-core-development

1 messages ยท Page 71 of 1

austere talon
#

factual

rancid dragon
#

yeah

austere talon
#

i love aliening webp

olive aurora
#

but it does a single lookahead bc im too lazy to fix control flow trolley

#

real

austere talon
#

horror

#

i hate them

cosmic willow
#

Is there a good way to get a array of mentioned roles in a message? Cause when I try to do it, it seems to not exist

#

I thought so

#

but this errors

jagged cloak
#

<@&1118512699836481547>

#

it is real

rancid dragon
#

this is such a 1118512699836481547 moment

cosmic willow
#

wut?

#

discord change somthing?

jagged cloak
#

.length

cosmic willow
#

bruh

#

that fixed it

#

whyyyy

gloomy mortar
jagged cloak
#

vns

nimble pendantBOT
cosmic willow
#

support

gloomy mortar
# cosmic willow whyyyy

in typescript doing ?. checks to see if the type is undefined or null before calling a member

cosmic willow
#

hm

gloomy mortar
austere talon
#

shorter

#

i love dolfies

#

he's the only alien i like

median rapids
#

you're my favorite automated mechanical dispensary ๐Ÿฅฐ

cosmic willow
#

mhm

#

its werid

tawny cipher
#

werid

cosmic willow
austere talon
#

uh

#

what are u doing this for

#

honestly i don't even understand why you're using mentioned roles

#

it will not work if allowed mentions is used

#

just do unconditional regex replace

#

then you can obtain the role from discord

cosmic willow
#

but if there is a better way im all ears

austere talon
#

what i just said

#

unconditional replace

#

also discord might already have a transform function

#

do mentions show up human readable in notifs

cosmic willow
#

not 100% sure about that

#

u mean like windows notifs right?

austere talon
#

yes

cosmic willow
#

I mean it would make sense

austere talon
#

try it

#

if they do you should just use that

#

if they don't it's not hard to reimplement

#
const cleanContent = message.content
  .replace(/<@!?(\d{17,20})>/g, (_, id) => `@${UserStore.getUser(id)?.username || "unknown-user"}`)
   .replace(/<@&(\d{17,20})>/g, ...)
   ....
#

do that for channels, roles, users, maybe some more

cosmic willow
#

okii, I look at it more tomorrow. it late and my head is gonna explode

austere talon
#

oh yeah emotes too

austere talon
#

yop

cosmic willow
#

I think I got emotes to work with this

#

but that part is out of the old ver

austere talon
#

why do it like this

#

that's horrible

cosmic willow
#

lol

#

ill rewrite it tomorrow

#

XD

austere talon
#

match into replace is usually anti pattern

#

just replace directly

#

it might be a habit from other languages but js replace allows a replacer function so you can do everything with them directly

cosmic willow
#

Ill rewrite it after I research how tf regex actually works cause ive always gotten help with it and i should prob understand what im doing

cosmic willow
#

anyway

#

thx for the help

austere talon
#

regex is a fairly easy concept honestly

#

it's just very hard to read

#

you get used to it

#

rest well!!

#

is there actually any relevance in doing that

#

what does that achieve

#

if you have a malicious actor listening to keypresses on your system you kinda have deeper issues than someone stealing ur discord password

#

no?

#

yes i know that

austere talon
#

also are you sure chromium doesn't already do that by default

#

nope you're not sure?

#

i don't see why it wouldn't do it by default for password fields

austere talon
#

lmao

#

i kinda figured

#

cause it would be stupid for it to not do it

#

i wonder why it's even an electron api at that point

#

seems somewhat pointless, no?

olive aurora
#

wtf is that even

#

oh

#

i cant read

tawny cipher
#

option command s, make it a longer shortcut KazuhaKek

charred monolithBOT
round gust
#

Issue can be fixed if relationship viewer gets accepted

tawny cipher
#

M

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
radiant reef
#

this plugin is not working anymore

#

๐Ÿ˜”

austere talon
#

vns

nimble pendantBOT
charred monolithBOT
charred monolithBOT
#

The bug happens when you have Vencord running, any icons that are supposed to show up from external apps don't show up until you quit out of Vencord. (I feel like this partially happens because you can't Hide Vencord)

Here's a video of me using Mac's built in screen recorder (which also has an icon for the topbar) before and after closing Vencord.

https://github.com/Vendicated/Vencord/assets/45497981/00fd0328-fac7-459d-b1df-ad38db9b468e

#

Not sure why it was closed. Maybe they didn't like something. Maybe they didn't want to bother reviewing it.

The author themselves closed the PR. I am unsure if this is due to discussions in Discord or whatnot.

From a contributor standpoint, this is a HUGE change and as aforementioned would be better suited for when the third-party plugin system comes out fully. The only reasonable way this would get reviewed would be if this was split into two separate PRs (one for the BetterSc...

austere talon
#

finally a cool suggestion

#

i've been meaning to try dearrow for a while

#

love ajay

woeful sable
#

(I turned off title formatting and thumbnail changing)

charred monolithBOT
turbid hatch
charred monolithBOT
turbid hatch
#

i didnt think it was that complicated

#

i wanted to make sure it was futureproofed :P

austere talon
#

usually you should avoid using ranges

#

.{250,300}

#

thsi should only be used for very few characters or as a last resort

#

you match the entire start of the function just to capture e

#

you should usually avoid that, instead rely on arguments or use a lookbehind

turbid hatch
#

i have zero idea how to write lookbehinds

austere talon
#

for example this would also work:

/ref:\i,className:.{0,20}markup(?<=(\i)\.message.+?)/
austere talon
#

aka match ref:v,className:...markup

#

then the lookbehind walks back until it finds \i.message

#

then it finishes the match by walking forward again from that point to see if the rest of the lookbehind works

turbid hatch
#

that

#

sounds terrifying

austere talon
#

take this example of it

#

it first finds c then walks back until it finds b

#

now it walks forward again up to the point it matched c to check if the rest of the lookbehind matches

#

if we didn't have the .+? in the lookbehind it wouldnt match

jagged cloak
#

lol

woeful sable
#

no

#

user submitted titles

jagged cloak
#

ah

#

when i first heard about it i only heard thumbnail changing

austere talon
#

its neat

woeful sable
austere talon
olive aurora
#

i am so confused why is the lookbehind in front

austere talon
olive aurora
#

the former makes sense to me

austere talon
#

there's an important difference

olive aurora
#

idgi why are they different

rustic nova
austere talon
#

so by default it will be undefined

rustic nova
austere talon
#

if the lookbehind is in front it first checks the lookbehind then the actual match

#

if the lookbehind is in the back it first finds the match then walks back for the lookbehind

#

on bigger modules the difference is 1ms vs 200ms

#

because function.+? is very unspecific so it will try a looooot of combinations and walk the entire module many many times

austere talon
rustic nova
#

oooh oops

austere talon
#

yours might also work, i honestly dont know

#

but having default: true is more maintainable

#

with yours if you accidently rename the option and forget to change the default

#

good luck

#

also that search seems very convoluted

#

i feel like using a proper library would be more maintainable

rustic nova
austere talon
#

thats fine

austere talon
#

emote search also just uses includes

#

and its fine imo

fleet depot
#

Ven reviewing my PR blobcatfearful

austere talon
#

ya

#

honestly the array rendering seems kinda poorly written

#

there is at least one construct that is O(n^2) and multiple other unnecessary loops

#

you should try to refactor it to one single for loop

olive aurora
#

vee dump ur gifs list and i will make tiny fuzzy search trolley

#

1000 caption.gif results

austere talon
#

horror

fleet depot
olive aurora
#

honestly smth like query.split(" ").some(x => url.includes(x)) is prob good

#

well

#

.every

fleet depot
olive aurora
#

hmm

fleet depot
#

Rn it's super dumb they have to be hardcoded

austere talon
#
{plugins.filter(isEnabled).map(p => {
  const checked = includedPlugins.some(...);
})}
fleet depot
#

I think what would be way better is if it has a toolbox action then have a toggle

austere talon
#

this is what i was talkking about btw

austere talon
#

it's already two loops cause of filter map

#

then also another nested loop over includedPlugins

#

andu have more loops above

#

it can likely be rewritten better by using one single for loop doing everything

#

and also be cleaner code

fleet depot
olive aurora
#

urls.map(url => [query.split(" ").reduce((p, v) => p + +(url.includes(v)), 0), url]).sort().filter([c] => c).map([, url] => url) trolley

limber skiff
fleet depot
limber skiff
#

also smh discord how come an img embed not have the image prop ughhh

austere talon
#

somehow image went missing lol

limber skiff
#

skull so specific

austere talon
olive aurora
#

ive been doing too much rust i almost wrote function foo() => x {}

limber skiff
#

oh lmao

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 173273
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
jagged cloak
#

Downloading the full bad domains file

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 173273
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'npe' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
#

Discord Account

opticraft

What happens when the bug or crash occurs?

VoiceChatDoubleClick joins VCs with a single click

What is the expected behaviour?

To not join the VC

How do you recreate this bug or crash?

  1. Enable VoiceChatDoubleClick
  2. Double click a voice chat

Errors

Nothing other than this, doesn't seem to be related

175c7fd4cae4563bb201.js:5600 [Spellchecker] sh is not a valid locale.
(anonymous) @ 175c7fd4cae4563bb201.js:5600
175c7fd4cae4563bb...
opaque badger
#

there will be an update where they will put the Loggers in MessaloggerV2?

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
verbal pumice
#

.filter(Boolean) my hatred

austere talon
grave mangoBOT
austere talon
#
[...].filter(isTruthy);
grave mangoBOT
#

**filter-boolean.d.ts: **Lines 1-9

/// <reference path="utils.d.ts" />

interface Array<T> {
  filter(predicate: BooleanConstructor, thisArg?: any): TSReset.NonFalsy<T>[];
}

interface ReadonlyArray<T> {
  filter(predicate: BooleanConstructor, thisArg?: any): TSReset.NonFalsy<T>[];
}
austere talon
#

ohh i see

#

wait where r u again

#

oooh right

#

wait did u go there for work / education

#

or haveu always lived there

#

ah

#

you seem american thats why i asked

#

usually when i meet people living in china on discord they're americans who went there for work

#

plus your english is very good

#

are u on vpn 24/7

#

funny

#

china moment

#

thats cool tho

#

oh its past midnight

#

rest well ryan!!

#

e

patent minnow
#

e

lime stone
#

e

#

deveeelopment

charred monolithBOT
sour drum
#

there are so many good PRs right now catsitR cannot wait

jagged cloak
#

for them to not be merged? yeah, crazy right? crazy? i was crazy once...

austere talon
rare shale
#

@austere talon genuine question, if i rewrite uwuifier will you consider merging it

charred monolithBOT
dusty finch
austere talon
#

whar

austere talon
#

since it's kinda useless and can be done with textreplace for the most part

rare shale
dusty finch
#

merged pog

#

W

austere talon
dusty finch
#

yeah

austere talon
#

i wanna get some of ryans prs merged once some issues are resolved

rare shale
#

do I get to keep my contrib tag @austere talon

austere talon
#

and possibly update electron to fix wayland screenshare

rare shale
#

o oki ty blobcatcozy

austere talon
#

this is for vencord focused development

jagged cloak
#

discord try not to fetch clyde settings every 10 seconds challenge

austere talon
#

lmao yop

#

i noticed this too

jagged cloak
#

lol

stark flint
fleet depot
austere talon
#

uh huh

#

for vesktop

#

not vencord main repo

#

i still need to look at those too

#

ryan is the merge conflict master

#

every single pr has conflicts

verbal pumice
#

mfw changing code causes conflicts in pr's

austere talon
#

lmaoo

#

true true

fleet depot
#

Why not main repo

#

It seems super simple to implement

#

For my dev build I did this

stark flint
median rapids
austere talon
#

should we officially rename vencord desktop to vesktop

#

๐Ÿค”

#

i say do it

olive aurora
#

ventop.

austere talon
#

ventop

#

vesktop better sorry

fleet depot
woeful bisonBOT
fleet depot
#

Ah doesn't show the tag itself

charred monolithBOT
jagged cloak
#

Vencord/Vesktop

charred monolithBOT
charred monolithBOT
sour drum
#

seems like some of the Vencord Desktop changes (the ones that haven't been released yet) have made it impossible to maximize the window/resize it

#

FeelsDonkMan I looked at the changes and nothing jumped out at me

stark flint
#

can you run VencordDesktop.Settings.store.transparencyOption in devtools

#

might've been an oversight on my part

sour drum
#

VencordDesktop.Settings.store.transparencyOption
undefined

#

let me checkout to the head again

stark flint
#

yeah i figured since i'm setting the window transparency

#

the issue is i check if the transparency option is none and set transparency to false, otherwise it sets it to true and does the rest

#

so maybe i should also check if it's undefined or just default it to none

sour drum
#

setting it to none and relaunching fixed it CATTHUMBSUP

sour drum
stark flint
sour drum
#

aww that's a shame

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 173273
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'npe' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
shut verge
frail skyBOT
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 173273
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Jde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
austere talon
shut verge
#

Don't see why it would completely disable window resizing, since it seems to work just fine elsewhere

sour drum
#

is it a quirk with electrons implementation?

austere talon
#

electron thing

#

you tell me

stark flint
austere talon
#

just remove the property

#

inb4 setting it to false causes issues somehow

#

electron momento

stark flint
#

well the issue is that it doesn't default to any option

#

which is an oversight on my part bleh

#

so that person had their transparency option as undefined but since i check for none their window was still transparent

woeful sable
#

not electron. not electron

#

sucks so much ass

austere talon
#

i mean our settings kinda meh

#

we should add default values

stark flint
#

yea i was looking and i only really found ""default"" values in the first launch tour

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

The installation command for linux, i.e., sudo sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh) doesn't show installation prompts in Linux systems. Issue might look like a bug but removing flags doesn't work.

Ways to replicate

  • Copy installation command for Linux from https://github.com/Vencord/Installer
  • Paste in terminal and hit enter
  • If the process goes right (in creating the issue ofc), it will show this output
    ![Termina...
olive aurora
#

๐Ÿ˜ญ

#

bro forgot the end quote

austere talon
#

sane

charred monolithBOT
austere talon
#

so just patch the code / add it manually

#

platform-web isn't used

#

so you can safely just replace it

#

doesn't matter

#

use it anyway

#

there is no better way

#

terrible

#

just use navigator.platform

#

they should have never deprecated it but it will also never go away

#

so just use it :P

#

so good luck with that

#

just use navigator.platform

#

deprecated but widely standardised api >>>> experimental api that may be changed/removed at any time

#

typescript doesn't even have typings for userAgentData

charred monolithBOT
charred monolithBOT
charred monolithBOT
shut verge
# austere talon electron thing

Late response but oh well
Looked through Electron's documentation and it looks like it might not be possible to make transparent windows resizable, at least from what I can find https://www.electronjs.org/docs/latest/tutorial/window-customization#:~:text=Transparent windows are not resizable

The BrowserWindow module is the foundation of your Electron application, and it exposes many APIs that can change the look and behavior of your browser windows. In this tutorial, we will be going over the various use-cases for window customization on macOS, Windows, and Linux.

#

Also is it a Vesktop only thing? Considering I can't find anything relating to window transparency in patched desktop other than what's been there for some time-

#

Nvm yeah seems like it
Oh well, time to try out vesktop I guess lol

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
#
[Vencord/Vesktop] New branch created: Vendicated-patch-1
verbal pumice
#

realll

woeful sable
#

THE VESKTOPENING

rancid dragon
#

IT'S OFFICIAL !!!
VESKTOP

austere talon
#

hmm

#

idk if we can just rename it

charred monolithBOT
olive aurora
#

rest

verbal pumice
#

werent the open and copy link above the rest of the options

#

or am i going insane

olive aurora
#

just dont no one will notice trolley

#

keep the old dir

austere talon
#

probably not gonna

#

unless nsis can do it automatically

#

doubt

#

oh hold on

#

is renaming the app gonna mess up config dirs

olive aurora
#

yes

austere talon
#

oh well

#

oh

#

it seems to still use the old name for dirs if i dont change name in package.json

olive aurora
#

yea productName is different

austere talon
#

the horror

#

pending join requests

charred monolithBOT
woeful sable
#

oop

charred monolithBOT
stark flint
shut verge
#

Also can't even find anything about it in vesktop either, like how do I use it on vesktop?

stark flint
#

it hasn't made it into a release yet

#

you'd have to build it from source

shut verge
#

Ah I see

olive aurora
#

fffffff Add vesktop to .cspell.json - Vendicated

charred monolithBOT
stark flint
#

oh ty for the fix ven blobcatcozy

charred monolithBOT
#

Like discord's new emoji pack feature. (No Text To Speech video on it - https://youtu.be/RRmVSrKV7dc?t=273 ) You guys could made a emoji pack plugin where if you like a servers emojis you could "press get emoji pack" and then you would be joined into that server, then vencord would copy the emoji link and paste it in a server made for emojis. Then leave the server. Then when you want to use a emoji from that server you would just open the emoji picker and click that emoji and it would send as...

charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

whar

woeful sable
#

ven you love

#

ACCEPT THE PR

#

and give rad back cute person and contrib blobcatcozy

charred monolithBOT
#

@Vendicated I tested it and it kinda works.

  1. There is a dep conflict about the required version of es-lint. I ignored it by using --force since its just es-lint
  2. The buil from source section refers to the repo still as Vencord/Desktop, even tho its now Vencord/Vesktop. It still works with the old name, but im not sure for how long GitHub keeps an alias like that alive, so better change it
  3. It works, but is super tedious to use. I recorded the stuff i need to go trough, thats easier...
charred monolithBOT
stark flint
#

@rancid dragon it's "intentional" because it's the same behavior as stock web

rancid dragon
#

oh

stark flint
#

it could probably be implemented i dunno but yeah

#

i think that's also why the user volume boost plugin is desktop only

austere talon
#

not possiblke probably

normal sleet
#

There a way to make some JS run when Discord starts?

jagged cloak
#

a plugin

charred monolithBOT
median rapids
frail skyBOT
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 173273
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Jde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 526557
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Xde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
austere talon
#

Xd

rustic nova
limber skiff
#

I wonder if it's possible to somehow modify the discord updater to auto install vencord if the host changes

austere talon
#

already do

#

but it doesnt work correctly ig

limber skiff
#

it doesnt seem to even work lol

austere talon
#

do u use opรผenasar or no

limber skiff
#

nah

austere talon
#

windows right

limber skiff
#

ye

#

but I know you have the same issue

#

cuz canary uninjects 343 times a day

austere talon
#

i dont

limber skiff
#

didnt you say vencord keeps uninjecting off canary

austere talon
#

BD

#

:P

#

fix this then

#

but dk if its possible

#

we might have to monkey patch like process.exit

limber skiff
#

odd

limber skiff
#

I'll try sometime

#

let me run the updater to see what the console logs

#

GRRR

#

now that I want to test

#

it didnt uninject

charred monolithBOT
fleet depot
#

vesktop my love

median rapids
#

vesktop blobcatcozy

charred monolithBOT
charred monolithBOT
charred monolithBOT
verbal pumice
#

rate my theme ๐Ÿ”ฅ

charred monolithBOT
austere talon
#

there's nothing to fix

#

it works fine

#

if you can't join servers that's a you issue

#

your account is flagged or smth

austere talon
#

works on my machine

#

theres not much we can do

#

it's just Discord deciding you're somehow suspicious

austere talon
#

also getting captcha is fairly normal

#

just pass it and it should let u in, no?

charred monolithBOT
median rapids
#

same as web?

austere talon
#

just web

#
{
    "os": "Windows",
    "browser": "Chrome",
    "device": "",
    "system_locale": "en-GB",
    "browser_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
    "browser_version": "114.0.0.0",
    "os_version": "10",
    "referrer": "",
    "referring_domain": "",
    "referrer_current": "",
    "referring_domain_current": "",
    "release_channel": "stable",
    "client_build_number": 212637,
    "client_event_source": null
}
#

well it doesn't have referrer

#

but that shouldnt be an issue

median rapids
#

that's fine

charred monolithBOT
#

goodbye. you will be missed.
you may have a few questions

why?

uwuifier was a useless and a meme plugin. it was never meant to be serious. with vencord getting more and more mainstream and meme/useless plugins now having their own place (#third-party-plugins channel on discord)
Discord_03OTu2SyV5

what happens next?

i will 100% work on either a textreplace rule or a third party plu...

rare shale
#

im crying rn

#

that was so hard to do

median rapids
#

damn not uwuifier

charred monolithBOT
rare shale
verbal pumice
woeful sable
rare shale
woeful sable
rare shale
woeful sable
#

ven eepy blobcatcozy

rare shale
#

oh

#

that kind of backlog

#

true

charred monolithBOT
median rapids
#

ven so ๐Ÿ‘ฝ

austere talon
median rapids
#

explosion

charred monolithBOT
#
[Vencord/Vesktop] branch deleted: Vendicated-patch-1
austere talon
charred monolithBOT
austere talon
#

oh cause its just the js file

#

not a zip

rancid dragon
#

literally just a js file renamed to zip ???

#

why would someone do that

austere talon
#

idk ๐Ÿ˜ญ

olive aurora
#

this is a "renaming .webm to .mp4 to convert the file" type beat but he tried to compress it

austere talon
#

i think it's because github only allows you to upload certain file types and names zip as the first one

#

so that person just went ah yeah lets rename it to zip

#

silly

olive aurora
#

i prefer my theory

austere talon
#

that actually works for a lot of apps

olive aurora
#

true

austere talon
#

cause they have arbitrary restrictions on the formats you can use but the libraries they use actually support more

#

it's true for Discord

#

mkvs don't embed but rename to mp4 and they suddenly work โœจ

charred monolithBOT
charred monolithBOT
olive aurora
#

file extensions arent real anyway

#

magic numbers>>>>>

austere talon
#

yop

rare shale
#

vendy can we discuss my pr blobcatcozy

austere talon
#

uh

#

do u really wanna remove it

rare shale
#

yes

austere talon
#

rip uwufier

rare shale
# austere talon rip uwufier

||can i have my permissions to thirdparty plugins back so i can have it there tho i wont shitpost pinky promise||

austere talon
#

okay

rare shale
#

omg ty love

austere talon
#

i just removed u

#

๐Ÿ’”

olive aurora
#

no more echo

rare shale
#

NOOOO neqThanos

barren flare
# charred monolith

there is a plugin i want but nobody made it yet (for some reason despite having been mentioned many times) favorite media

charred monolithBOT
charred monolithBOT
round gust
#

MEOW MEMOW MOEW

jagged cloak
#

cause anyone who wouldve made it by now dont like patching

charred monolithBOT
rare shale
#

uwuifier still not deleted ๐Ÿ˜ญ

charred monolithBOT
austere talon
#

@limber skiff is IgnoreActivities obsolete now?

#

i never used it so i have no clue

limber skiff
#

not totally

#

It can still block things like youtube activity

#

but i will prob edit the plugin and add to the discord functionality so you can ignore activity only instead of the whole game being detected

charred monolithBOT
austere talon
#

i was gonna ping ryan but uh oh

austere talon
#

oh good morning ryan!

#

i fixed ur prs without your consent i am so evil

#

๐Ÿ’ข

olive aurora
#

wth

#

how dare you

austere talon
#

splash themeing seems pretty nice, I would never have thought of doing it this way

olive aurora
#

why is typescript a devdep anyway

austere talon
#

not sure how we could best fix that

olive aurora
#

making Object.prototype.into soon

charred monolithBOT
frail skyBOT
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 146345
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Qde' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 146345
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'lpe' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
stark flint
charred monolithBOT
#

Discord Account

itz_coffee

What happens when the bug or crash occurs?

The userscript isn't working with either Vencord or Userscripts on safari

What is the expected behaviour?

Vencord should load on the web page

Safari: Version 17.0 (19616.1.20.11.3)
Discord: Stable 212637 (6da172b)
Mac: Sonoma 14.0

How do you recreate this bug or crash?

  1. Download Tampermonkey or Userscripts from the app store
  2. Add vencord userscript
  3. Open the discord web app

Errors

...

charred monolithBOT
cosmic willow
austere talon
#

:3

olive aurora
#

:3

charred monolithBOT
charred monolithBOT
austere talon
#

oh huh?

#

i swear i added it because it was needed

#

or maybe i just added it because i also added it for windows (where it is needed)

charred monolithBOT
austere talon
#

done!

#

i did so much review today

austere talon
#

xd

#

yeah it's a gradient

#

i don't expect you to have the entire gradient, but picking like the primary colour of the theme is what i was thinking

#

idk if that's possible, i haven't looked into themes much

#

if it's not then no stress

#

what are the glow variables defined as

#

are they just colours?

austere talon
#

should be fine

#

you're using computed style map, no?

#

isn't it already computed for u

#

or you could hardcode colour for each theme aliening

austere talon
#

@cunning canyon only got phone now?

#

i've kinda been wondering why you've been less active

cunning canyon
#

yes

austere talon
#

what happened

#

did u get bad grades or smth

charred monolithBOT
rare shale
#

wym a color parser

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

The MessageLogger plugin currently can see deleted messages and view deleted images, is there anyway to redirect where the images are automatically saved, or is there a specific directory where they are currently saved that we can view? Also is there a log anywhere of the messages deleted?

charred monolithBOT
fleet depot
#

people still use windows 8?

#

wow

quick ibex
# charred monolith

Having "default css" is such an absurdly bad idea that I almost think it's a good idea

warm forge
pulsar lark
#

So, I've got a patch ready to PR.
Question is, to which branch is this to be sent? Some are against main, and some are against dev.
I wasn't able to find that in CONTRIBUTING.md, but it may be elsewhere where I haven't looked yet.

charred monolithBOT
austere talon
#

mainly to hide the "Download desktop app" stuff

#

but yes what that person proposed is somewhat opinionated

#

so shouldn't be included

austere talon
#

i will change branch if applicable

pulsar lark
#

okay, gonna send it in a hot second

charred monolithBOT
#

Add an option to outright ignore channels from creating logs with the
MessageLogger plugin.

In some high-traffic channels that receive a lot of edits and/or
deletions (by virtue of so-called "sticky messages"), the MessageLogger
plugin tends to get in the way of reading the chat history.

This patch adds an option to provide a comma-separated list of channel
IDs to ignore from logging.

Local tests confirm it is working as intended. To the best of my
knowledge, I followed the style guide of ...

pulsar lark
#

there we go ๐Ÿ˜Ž

austere talon
#

p sure thats a duplicate

pulsar lark
#

I haven't found any

austere talon
#

oh

#

user ignore list is an option

#

not channels tho

pulsar lark
#

yeah

austere talon
#

maybe also add ignore guild ids?

#

so it's fully complete

pulsar lark
#

would feel more comfortable sending that in a separate PR, but it's really easy to whip that up.
what do you prefer? add to this, or create a new one?

austere talon
#

just add to this!

pulsar lark
#

on it ๐Ÿ˜Ž

#

time for vim magic

charred monolithBOT
#
[Vencord/Installer] New tag created: v1.3.1
pulsar lark
#

edited the PR body + title and pushed the change for guild ignorelist.
feel free to post feedback via github, i dont check discord often :P

austere talon
#

(its in dev for now, will be in main soon-ish)

#

i still want to get some more changes in first

pulsar lark
#

no hurry, I have my local build for now ๐Ÿ˜Ž

charred monolithBOT
charred monolithBOT
charred monolithBOT
lime stone
#

uwuifier is pretty much essential.

quick ibex
median rapids
#

vesktop Nod

fleet depot
#

vesktop upDoge

warm forge
#

vesktop MenheraThumbsUp3

charred monolithBOT
#

Cool! Thanks for sharing ๐Ÿ‘
I didn't know you could do that in CSS :D


However, I had to change the width of the time[id^="message-timestamp"]::after element to 200% because the timestamps of some messages weren't displayed entirely:

<p align=center>
<img height="90" alt="Screenshot" src="https://github.com/Vendicated/Vencord/assets/66956532/6ddd253c-f9a6-44cb-9bf7-f3646930ff2f">
ย ย ย ย ย 
<img height="90" alt="Screenshot" src="https://github.com/Vendicated/Vencord/assets/669...

woeful sable
#

๐Ÿ’€

rancid dragon
#

hello i would like to stalk my friends please

charred monolithBOT
jagged cloak
#

discor

charred monolithBOT
frail skyBOT
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 146345
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

OpenInApp (had no effect):
ID: 967783
Match: /(?<=href:[A-Za-z_$][\w$]*,onClick:function\(\)\{)(?=return [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/

IgnoreActivities (had no effect):
ID: 146345
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
real knot
#

why does vencord have a trojan

austere talon
#

it doesn't +

#

vns

nimble pendantBOT
real knot
#

well i dont have a problem for support

#

i just file checked the .exe

woeful sable
#

:)

real knot
#

o

#

k

#

ty

woeful sable
#

yw

austere talon
#

so yes it belongs in support

#

half the engines on virustotal are total bullshit so you should disregard any you have never heard of like ikarus

real knot
#

thats 50%

austere talon
#

idk what that's supposed to mean

median rapids
fleet depot
#

it's generated on command

median rapids
#

love

fleet depot
nimble pendantBOT
median rapids
austere talon
#

lmao do u really think i would screenshot every channel ๐Ÿ˜ญ

median rapids
#

nah it's cuz of the highlight under the channel

#

it looked like a screenshot

fleet depot
#

it originated from a screenshot

austere talon
nimble pendantBOT
austere talon
#

it uses a blank template without the text and just draws text on it

fleet depot
#

yee

median rapids
#

oh yeah the two template images are different

austere talon
#

whar

rain shard
nimble pendantBOT
rain shard
#

no

#

wrong way

nimble pendantBOT
median rapids
#

thats why i thought

austere talon
#

oh lmao

charred monolithBOT
real knot
#

๐Ÿค“

rigid venture
spark cove
#

ok bet

#

SOON

charred monolithBOT
#

I've looked as much as I can and haven't found anything on this which is surprising so its possible that I'm just blind and missed why someone hasn't suggested it yet.

But an ad blocker for YouTube together would be nice. While sure the ads are short, it skips content which what the actual fuck?

Cant find this existing elsewhere which is sad and might mean its impossible, but who said you couldn't try right?

true gullBOT
charred monolithBOT
tawny cipher
#

emoji server premium check

verbal pumice
#

most sane french person

charred monolithBOT
grave mangoBOT
#

**color.ts: **Lines 7-42

const digitRegex = "([\\d.%]+)";
const validFormats = ["rgb", "hsl", "hwb", "lab", "lch", "oklab", "oklch"] as const;

const colorRegexes = [
    ...validFormats.map(fmt => new RegExp(`(${fmt})\\(${new Array(3).fill(digitRegex).join(" *, *")}\\)`)),
    ...validFormats.map(fmt => new RegExp(`(${fmt})a\\(${new Array(4).fill(digitRegex).join(" *, *")}\\)`)),
    ...validFormats.map(fmt => new RegExp(`(${fmt})\\(${new Array(3).fill(digitRegex).join(" +")}\\)`)),
    ...validFormats.map(
        fmt => new RegExp(`(${fmt})a\\(${new Array(3).fill(digitRegex).join(" +")} ?/ ?${digitRegex}\\)`)
    )
];

const hexRegex = /^#([\da-fA-F]{6})$/;
const hexAlphaRegex = /^#([\da-fA-F]{6})[\da-fA-F]{2}$/;

export const alpha = (original: string, alpha: number): string => {
    for (const regex of colorRegexes) {
        const match = original.match(regex);
        if (match) {
            const [, format, a, b, c] = match;
            return `${format}a(${a} ${b} ${c} / ${alpha})`;
        }
    }

    for (const regex of [hexRegex, hexAlphaRegex]) {
        const match = original.match(regex);
        if (match) {
            const [, str] = match;
            return `#${str}${Math.round(alpha * 255)
                .toString(16)
                .padStart(2, "0")}`;
        }
    }

    return original;
};
charred monolithBOT
lime stone
#

more convincing

charred monolithBOT
#

๐Ÿ‘‹๐Ÿฝ When using screensharing, if HDR is enabled on a monitor, the entire screen becomes unavailable for screensharing. When selecting a window running on the monitor with HDR, the output is a black screen while focused, but the preview does work correctly when tabbed out.

Enabling HDR while screensharing also seems to have no effect (that is to say, HDR can be enabled, and enabling it does not cause the black screen).

HDR off:
![image](https://github.com/Vencord/Vesktop/assets/4243826...

austere talon
#

what's the problem with that?

charred monolithBOT
austere talon
#

then wait a bit for them to be available

charred monolithBOT
charred monolithBOT
normal sleet
#

How do I access plugin settings in code?

austere talon
#

look at any plugin using settings

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

bro deleted his account

verbal pumice
#

aint no way

#

oh my god

pulsar lark
#

LMFAO

#

this is why we have disabled the issue tab on yagpdb's repo
too many idiots spamming nonsense / requesting support

charred monolithBOT
charred monolithBOT
spark cove
#

@austere talon please merge its so tiny

#

wait i dont even need this im so slow

#

why have i been writing this like they arent compiled into the client

#

lmao

austere talon
spark cove
#

im so tired i wrote code to convert typescript imports to vencord global destructures

austere talon
#

lmao

#

i already have that done for vesktop and plugin template

spark cove
#

imma just reopen with the thing i actually need

austere talon
#

what it do

spark cove
#

and it will ignore them

#

like cl("item", isEpic && "epic")

charred monolithBOT