#👾-core-development

1 messages · Page 104 of 1

austere talon
#

the code is like this

#
return (b[a] = b[a] !== undefined ? b[a] : new e)
#

so it writes new e to b[a] if thats undefined

#

then returns the value

lime stone
#

but i'm guessing the whole v = function() { ... }() thing is just a class lol

#

and function e() is a constructor

austere talon
#

yes

#

f(this, e)

#

f is assertClassCall

lime stone
#

i think that's just the old way to write classes, and worse because it's not meant to be read by humans

#

for compatibility blobcatcozy

austere talon
#

yeah

lime stone
#

at first it just looks super over-engineered though

#

lol

olive aurora
#

polyfills were a mistake

austere talon
#
function v() {
  f(this, v);
  // ... (this is the constructor)
}

var e = v.prototype;

e.someMethod = function () {
}
#

whenever u see code like this

#

that's a class

lime stone
#

it's not using prototype though

#

i guess that's static

austere talon
#

ye

olive aurora
lime stone
#

good idea

austere talon
#

but its useless because they use modern language features anyway

#

95% of their code would still run on internet explorer but they ruin it with the other 5% using modern features

#

meaning all the polyfills are useless and just make their bundle bloated and make discord slower

nocturne haven
#

I like how they also transform async functions.

lime stone
#

lol

#

obfuscation for free i guess

austere talon
#

all the array methods are es6

lime stone
#

(just don't bother to fix your config)

austere talon
#

es6 is also what introduced classes and async funcs

#

yet they transform async funcs and classes

lime stone
#

and i assume lamdas too?

#

that would save space

austere talon
#

arrow functions?

#

yes

lime stone
austere talon
#

yet discord has arrow functions everywhere

austere talon
lime stone
#

i call them lambas because they look like knockoff java lambdas

#

(and they roughly resemble what other languages call lambda functions)

#

javascript is special

austere talon
#

they have many names depending on language

#

anonymous function, lambda function, arrow function, etc

nocturne haven
#

I mean arrow function makes a lot of sense.

lime stone
austere talon
#

yes

lime stone
austere talon
#

you can never safely transform between arrow and normal functions

#

:P

lime stone
#

.contains("this")

#

shrimple

austere talon
#

well i mean automated

#

and no not at all

lime stone
austere talon
#

you can call every normal function with new

lime stone
#

nvm, js doesn't use contains

austere talon
#

while arrow funcs will throw

lime stone
#

includes

austere talon
#

the fact that js is so dynamic makes it very hard to optimise

nocturne haven
#

arrow fns don't have a proper constructor and neither a proper prototype

austere talon
#

for example it's also not possible to safely treeshake object props

#

while in many other languages that's a common thing

charred monolithBOT
olive aurora
#

javascript is evil

austere talon
#

proguard does that a lot in java land

#

or even merges methods into one

lime stone
#

java land

#

ik what proguard is 🗿

#

welcome to java land

#

austere talon
#

how do you statically analyse whether a prop is used when js lets u index with arbitrary things

olive aurora
austere talon
#

love that website

lime stone
#

the compiler would need to send http requests blobcatcozy

#

/obfuscator

olive aurora
lime stone
austere talon
#

yeah java maps are kinda comparable

lime stone
#

but i see the point since you don't always use objects for the same purposes

austere talon
#

js objects are like Map<StringOrNumber, Object>

olive aurora
#

me when i return constructor and escalate to an rce

charred monolithBOT
lime stone
#

this is awful

austere talon
#

...

#

$self.reactions = b

#

silly goober

real flower
lime stone
#

yeah it's a "global" lol

#

i wasn't sure whether it was a class member

lime stone
#

something else stopped working...

#

wait huh

#

this seems correct

#

I wonder why reactions is pointing to a different object to WhoReacted.reactions

#

pointers are just as fun in js

#

ah that's why i opted for the stupid approach

frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 626298
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode 🎉:
w0.__getLocalVars is not a function

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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 252229
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode 🎉:
w0.__getLocalVars is not a function

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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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
charred monolithBOT
verbal pumice
#

because of

  • the Error: cannot send empty message you mentioned (even though discord does the same thing to prevent sending a message windows)
  • felt like it was too niche
    though if you want to pr your version that's fine with me
charred monolithBOT
charred monolithBOT
cunning canyon
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
tawny cipher
#

unless they're running a 10 year old macbook they dont really have an excuse to be on Catalina

violet lodge
# austere talon did bro not read anything in that pr thread

I did read about the PR since I was asking if the minimum requirement could be lowered to 10.13 since it works when built manually.

I was trying to debug an issue where the VencordInstaller.app would not run on 10.13.6 but when built and compiled manually, it work perfectly with no issues found. I found out that the executable was the issue and when replaced, it would work.

austere talon
#

so are you able to pr a working fix

violet lodge
#

I am still trying to figure out where the issue is, since I think there is a problem with the build file but I have not found where that issue is yet.

nimble plaza
#

you guys said you can host stuff on vencord.dev for developers thats in the scope of cors/csp?

#

asking for a simple proxy for shiggy.fun Cutie

austere talon
#

??

#

just fix the api

#

cors proxy should only be the last resort if u have no control over the api

nimble plaza
#

we do have cors iirc

austere talon
#

no you dont

nimble plaza
#

oh

austere talon
nimble plaza
#

oh i forgot to re-add cors when i switched it to express

#

now it works lmao

#

cant get headers from it tho

austere talon
#

?

nimble plaza
#

trying to get Shiggy-Id header

#

or location would work on v2

austere talon
#

thats normal

#

type headers.entries()

nimble plaza
austere talon
#

[...]

nimble plaza
austere talon
nimble plaza
#

ohhhhh

#

tysm!

#

can i add /shiggy to morecommands Cutie

austere talon
#

probably not

#

that has some weird images and many people wouldnt really want that command

nimble plaza
#

yeah fair

#

weve set up a simple moderation system to remove and blacklist images but its only ones were notified of

#

and we have uhh

#

1603 images pureagony

lime stone
#

why - 1?

#

does it include ..?

nimble plaza
#

uhh it should be -3 i think

#

theres a couple non-shiggy files in there

lime stone
#

ah

lime stone
nimble plaza
#

blacklist.json
sizes.json
shiggies.json

lime stone
#

["..", ...fs.readdirSync("./shiggy")] you would do this if you really wanted it lol

nimble plaza
#

oh btw i recently bought an apple dev cert if we want to use it for installer

#

it has a weird name tho

lime stone
#

i thought you said accidentally

nimble plaza
#

why is it not showing in my certs area

charred monolithBOT
cunning canyon
#

lol vietnamese name

nimble plaza
#

lmao

nimble plaza
lime stone
#

maybe ask before doing these things anyway lol

nimble plaza
#

thats what i was doing?

#

i meant like

#

"i have an apple cert if you would like to use it"

lime stone
#

before spending money

charred monolithBOT
nimble plaza
#

oh i bought it for an unrelated reason

lime stone
#

ah

charred monolithBOT
austere talon
#

did u buy it on the black market or smth 😭

lime stone
#

it probably did yeah

nimble plaza
#

:3

austere talon
#

how does that work

nimble plaza
#

they buy a developer account and create alot of certificates with it

charred monolithBOT
lime stone
austere talon
#

yes

#

wrong errors

charred monolithBOT
austere talon
#

now 404s dont redirect to homepage

hazy kindle
#

feature suggestion for FakeNitro Emoji Bypass:
allowing to automagically 1. add 2. post/react 3. remove emoji on servers where the user has that perm.
Particularly useful as the Create Expressions perm is default for @­everyone on new servers since a few months

verbal pumice
#

discord's ratelimits on creating emojis are really strict

#

probably a bad idea

hazy kindle
#

thanks for the un-timeout sunnie

hazy kindle
#

i mean, just brainstorming here, in theory you could enforce a ratelimit in the plugin; but idk if that might still ire dstaffers. (i mean i wouldn’t expect so, but no idea whether it’s worth the risk)

lime stone
hazy kindle
austere talon
#

not a good idea

#

like sunnie said theres a biiig rate limit

#

like 30 an hour or so

lime stone
hazy kindle
#

(i’ve never checked those regularly on the servers i managed and i don’t think anyone else got that time either. Seems more likely you’d be caught modding through a FakeNitro emoji)

#

also from audit log you can’t tell whether it’s automated, as it doesn’t display seconds

lime stone
#

I don't think many people would care about you using FakeNitro

#

(and if they did they'd likely care more than Discord xD)

hazy kindle
#

yeah totally hehe

#

do you think they’d care more about the temporarily adding emoji? (asking mainly only out of curiosity)

lime stone
#

well uh

#

i don't think you'd be able to remove the emojis lol

#

unless you have manage emojis

#

and if it was on a more serious server other staff members would probably find it quite weird

austere talon
#

it works pretty well already

lime stone
#

hmm

austere talon
lime stone
#

it doesn't seem too close to tabs

#

eh... that's not too great

#

it's just multiple windows - and tabs are preferred by most people

#

maybe the plugin could change this feature to use tabs

#

or maybe not, it probably already had something similar

hazy kindle
#

(there’s been a tabs experiment for a long time, never worked for me tho)

lime stone
#

tabs v2?

nocturne haven
hazy kindle
#

yeah sounds right

hazy kindle
#

maybe multiple actually, i’ll check

lime stone
#

pretty good way to see what users want (what users have made) lmao

hazy kindle
verbal pumice
#

desktop and mobile share experiments

lime stone
#

i think tabs v2 was just a ui rework or something?

#

^^ah

#

I wondered why it was appearing on Desktop

hazy kindle
#

why would they call it tabs?

hazy kindle
lime stone
#

oh

hazy kindle
#

🙂

lime stone
#

test emoji

hazy kindle
#

oh

lime stone
#

i was using EmoteCloner to see the servers which have emoji perms

olive aurora
hazy kindle
#

by the by, a bug in the Perms View pluggo

olive aurora
#

HORRIFYING

hazy kindle
austere talon
olive aurora
#

@austere talon you will make vencord settings usable in the context menu

austere talon
#

they're usable

#

or do you mean like you can toggle plugins from there

olive aurora
#

yes

#

do

#

add a search bar to it like the experiments one

austere talon
#

horror

#

never

turbid hatch
#

im surprised there hasnt been much hacktoberfest stuff yet

#

i was prepared for a raid

#

of prs

olive aurora
#

no rewards‼️

austere talon
turbid hatch
#

that's true

austere talon
#

you only get digital goodies now lmao

lime stone
turbid hatch
#

holopin is

#

ok

#

but

#

eh

lime stone
#

@olive aurora

austere talon
#

who's this

#

they have a cute pfp

lime stone
#

just somebody from another server

olive aurora
lime stone
#

actually they're here

#

but i don't think i need to summon them

#

(I'm not a fan of people doing that)

#

oh yeah @lime stone opened this pr

lime stone
#

shouldn't be too hard

#

maybe you should implement a better structure than comma seperated strings though

olive aurora
#

proxy support for messagelagger when

charred monolithBOT
lime stone
hazy kindle
hazy kindle
lime stone
#

i did know but i never thought of using it

lime stone
#

is it a good idea to add vesktop to vencord.dev in the future?

austere talon
#

yes

charred monolithBOT
austere talon
charred monolithBOT
austere talon
#

could you add a README while youre at it?

lime stone
#

me?

#

sure. i guess we're just doing ![placeholder text](link to image on issue)?

mortal fractal
#

"placeholder text"
bruh

lime stone
#

placeholder text

#

yes

#

keep it like that

olive aurora
#

its alt text

lime stone
#

"very good image"

olive aurora
#

so accessible

charred monolithBOT
charred monolithBOT
turbid hatch
# charred monolith

@austere talon i didn't know if can was a human name or a bundler name that appears like a human name, so i did the longer way out

austere talon
#

human name

turbid hatch
#

alr

austere talon
#

can(MANAGE_CHANNELS, channel)

charred monolithBOT
turbid hatch
#

done

#

OH WAIT NO

#

well

#

hold on no that regex is now bad

lime stone
#

is, for example, this, in whoReacted, still needed?

charred monolithBOT
lime stone
austere talon
turbid hatch
#

i hate coding whilst sick

#

xd

#

but i need to be productiveeee

lime stone
#

ye

charred monolithBOT
turbid hatch
#

@austere talon how do you like these apples

lime stone
#

how should i showcase WhoReacted

turbid hatch
#

react to a message that you send

lime stone
#

maybe not everyone wants their avatars in the screenshot

turbid hatch
#

and show how it shows your pfp

lime stone
#

React to this message! 🥳

charred monolithBOT
lime stone
#

I feel bad taking credit for this plugin by being in the screenshot

charred monolithBOT
lime stone
#

nvm, vee has enough attention shiggey

lime stone
#

then it shows two reactions :o

austere talon
#

blud never heard of inspect elements

lime stone
#

I have but it's funnier if I nick

lime stone
#

also, I'm pretty sure it would frequently reset

charred monolithBOT
nimble plaza
#

4 lines to main pureagony

austere talon
#

oh i see

#

but the stacking doesnt even happen to me

#

theme issue maybe?

#

@ebon sage

ebon sage
#

No themes or customcss enabled, could be another plugin but let me check

cunning canyon
#

oh happened with reduce motion

ebon sage
#

so it is, just curious how did you know so quick?

cunning canyon
#

i reproduced it once in #1068 with

[class*=animator] {
  transform: none !important;
}

so when no css i think it relate to reduce motion

ebon sage
#

ah gotcha, yeah transform set to anything other than none makes a new stacking context layer which prevents lower layers from z-indexing above it, transform: none will thus then allow the avatar's default z-index: 1 to appear above

mortal fractal
#

the proper fix would to just be close the user popout before opening profile

ebon sage
#

tbh keeping the popout up, while not consistent with how other modals and popouts work, is nice for quickly snooping on all the reviewers

half notch
#

Discord added a new feature that lets you pop out text channels into their own windows, they dont carry over themes

austere talon
#

ye

#

should be easy fix

#

but not until its a stable feature

half notch
#

good feature

#

surprised it took this long

ebon sage
#

are detached stream windows themable atm?

lime stone
#

nope

austere talon
#

oh yeah its reduced motion that causes it

lime stone
austere talon
#

thats horrid

lime stone
#

same double-pronouns bug

#

you get the idea

austere talon
#

well ur fix to it isnt that good

lime stone
#

couldn't you just close the popout?

half notch
#

nice url

half notch
lime stone
#

the flag thing also shows over modals though

austere talon
#

thanks anyway salt

#

but doing it from js is more robust so class change wont screw us over

lime stone
#

nvm, only if you are hovering the avatar

#

I guess this just about works

ebon sage
austere talon
#

r u gonna push ur stuff toad?

lime stone
#

just did

#

it took a while to make all the changes

half notch
#

it looks like the user count plugin defaults to the server you first popped out and applies to all other popouts

charred monolithBOT
austere talon
#

and?

#

it shouldnt be that way

#

oh btw kode if u wanna know why the types in whoreacted were so cursed

#

i just copy pasted the json data and used json2interface to auto generate those types

lime stone
#

lol

#

amazing

lime stone
#

(for example)

austere talon
#

not rn

#

feel free to fix it and pr

lime stone
#

I guess it's not too important

frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

ImageZoom (had no effect):
ID: 570738
Match: /(return\(.{1,100}\(\)\.wrapper.{1,100})(src)/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 252229
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode 🎉:
w0.__getLocalVars is not a function

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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
austere talon
#

its kinda important for accessibility

lime stone
#

fixed

austere talon
#

thx

lime stone
#

I think the description says enough

austere talon
#

yeah dont repeat what the description already says

lime stone
#

ignore the notification

#

this is a masterpiece

austere talon
#

NO

#

KILL

charred monolithBOT
lime stone
#

ven wants to kill me :c

austere talon
#

thanks for fixing

lime stone
#

you're welcome :D

frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

ImageZoom (had no effect):
ID: 570738
Match: /(return\(.{1,100}\(\)\.wrapper.{1,100})(src)/

MoreUserTags (had no effect):
ID: 609853
Match: /children:\[(?=\i,\(0,\i\.jsx\)\("span",{className:\i\(\)\.botText,children:(\i)}\)\])/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 252229
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode 🎉:
w0.__getLocalVars is not a function

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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
lime stone
#

I spent more time on this than i needed to though (I have the attention span less than that of a paperclip)

austere talon
#

i need to look at more prs tmrw

#

so many O_o

lime stone
#

when it feels like I've stayed up too late i can remember that you're in the future 😎

austere talon
#

i kinda like reduced motion

#

so snappy

charred monolithBOT
austere talon
lime stone
#

cool

spark cove
#

whats the plugin that

lime stone
#

i'm tired so the description is a bit cursed

austere talon
#

fart v2

spark cove
#

has the colored and clickable

#

typing

austere talon
#

TypingTweaks

spark cove
#

TY

austere talon
#

omg why couldnt u open that sooner

#

now its not gonna be in browser releases

cunning canyon
#

i just saw it explod in reporter 😭

austere talon
#

omgosh

charred monolithBOT
austere talon
#

thanks for fix

charred monolithBOT
charred monolithBOT
charred monolithBOT
crude hearth
#

2 minute merge time

#

Racism

charred monolithBOT
pearl bone
#

@austere talon Hey I love your translate plugin but if you can DeepL support to your plugin that would be great because sometimes google translate is so bad

modest peak
tidal cloud
pearl bone
pearl bone
#

thank you so much for the info

smoky tree
jagged cloak
radiant reef
charred monolithBOT
high oracle
#

@austere talon screenshare picker doesn't seem to work for me in vesktop

#

like the button doesn't do anything

austere talon
#

what platform

high oracle
#

mac

#

I've seen someone else opening the picker

austere talon
high oracle
#

and there are no darwin checks in the code

austere talon
#

open from command line to get error

high oracle
#

oh right

high oracle
#

it seems like getDisplayMedia is not working at all?

#

I never get the result of Promise

#

yeah this is stupid

nimble plaza
#

await it silly

high oracle
#

nothing happens

#

doesn't do anything

nimble plaza
#

whats making reporter show betterroledot is broken?

high oracle
nimble plaza
#

weird

#

desktop or vesktop

high oracle
#

vesktop

nimble plaza
#

weird

#

also for me it always shows the permission prompt, ive looked into it but cant find a reason or fix

high oracle
#

hm

#

I'm running a debug build but I doubt that's an issue

#

wait

#

how do electron debug builds work on macOS?

nimble plaza
#

i have zero clue

#

did that to me when i ran debug though

#

:(

high oracle
cunning canyon
high oracle
#

it's either getDisplayMedia not working or the listener to it in electron

#

and both sound awful

charred monolithBOT
nimble plaza
tawny cipher
#

just turn on the exp

nimble plaza
#

i did

#

oh shit do i need open inside vesktop

#

whoops

austere talon
lime stone
#

i can't find the experiment

austere talon
#

blind

#

just search popout or smth

lime stone
#

i did

austere talon
#

maybe they removed it again for now

#

or try on canary

verbal pumice
#

yeah its canary only atm

lime stone
#

ah

#

explains why i couldn't see icons either

#

which - speaking of which

#

they look horrible

#

I guess it's not finished

lime stone
#

yeah this just seems like a worse version of channeltabs lol

#

it's so inconsistent which window things open in

#

obviously they'll fix this though

#

well idk with discord

charred monolithBOT
#

I was told that my idea was suggested before and got declined: https://github.com/Vendicated/Vencord/pull/540#issuecomment-1450623262

The Discord user vending.machine also made me aware of the drawbacks:

settings.json is a very inefficient storage
it's blocking & json is inherently kinda shit
it's also stored in localStorage in browsers which is potentially limited to a few kb
DataStore/indexeddb is much more efficient, not blocking (async) and has no storage limit
settings shoul...

real flower
#

woa

#

lots been done

charred monolithBOT
lime stone
#

should we be using dev or main for prs?

#

also why not make dev the default branch if so

lime stone
#

and rn i'm pretty sure merging main and dev is the same

nimble plaza
#

main triggers an auto update

#

thats why we pr to dev, and when we make enough changes we merge it to main

#

so we dont spam updates

lime stone
#

I was just checking whether to do git merge upstream/dev or upstream/main

nimble plaza
#

for what

lime stone
#

my pr

nimble plaza
#

wym

turbid hatch
#

merge dev

#

not main

#

dev is what we do stuff on, main is our release branch

lime stone
lime stone
#

ye

austere talon
#

just pr to main

charred monolithBOT
lime stone
#

the reason popout doesn't work without this is because it doesn't allow the canary subdomain

austere talon
#

yeah I only tried it on stable

#

and it worked

lime stone
#

oh, i didn't have the experiment on stable

#

or you mean for the vc popout?

austere talon
#

the experiment

lime stone
#

toad skill issue i guess

#

huh i have it on stable now

#

nvm

#

just the icons which i didn't before

austere talon
#

dunno

#

I just have it on stable

lime stone
#

is there an experiment to enable experiments

austere talon
#

LOL

verbal pumice
#

i love how vencord is only half functional in the popup window

austere talon
#

cause no css inject

lime stone
#

hmm, i wonder if i could look at a discord build from 2023-04-01 and patch the sound pack selector back in

#

that'd be nice for testing with sound packs and would also be a nice option

lime stone
#

nvm my brain is stupid

#

they didn't remove the code, the module is just lazily loaded

turbid hatch
#

@lime stone turns out community servers have restrictions too

#

but they again seem to be enforced clientside

turbid hatch
#

so i fixed that shit

lime stone
#

oh

#

lmao you can do that?

turbid hatch
lime stone
#

anarchy

turbid hatch
#

there is absolutely nothing stopping you from doing it serverside

lime stone
#

it should be very easy to limit serverside

turbid hatch
#

it should be yes

lime stone
#

poor communication between client and server development? trolley

turbid hatch
#

oooh hold on

#

community servers cant have their channels deleted!

#

there is a restriction for that

#

it's purely just onboarding that has client side restrictions

#

funny

lime stone
#

does it just error?

turbid hatch
#

yeah it responds with an api error

lime stone
#

does the channel disappear client-side or something? :trol:

#

i doubt it, it probably waits for some event in the websocket

turbid hatch
#

nope

#

doesnt do anything

#

api returns error and the action is cancelled

#

i guess

#

i'll add a note on that in the readme

#

but anyway

#

@austere talon before i pr this, can you actually delete the onboarding channels or are there restrictions API-side

lime stone
#

why don't you just not bypass it in that case

turbid hatch
#

i can't try it on the ones here

turbid hatch
#

i just removed the patch

lime stone
#

at least last time i checked

turbid hatch
#

just wondering why we havent done it for our onboarding chans

lime stone
#

you can just spam remember

turbid hatch
#

hm

austere talon
#

wdym?

turbid hatch
#

we still have our 1-5 chans used for onboarding

austere talon
#

yes but private

turbid hatch
#

is there anything api-side that prevents us from deleting

austere talon
#

noone can see them

turbid hatch
#

i will take that as a no

#

considering i saw one disappear

#

:P

austere talon
turbid hatch
#

cool! i'll write a patch for it then

#
{
    find: "Messages.DELETE_DEFAULT_CHANNEL_BODY",
    replacement: [
        {
            match: /if\((?=null!=\i.{5,20}Messages.DELETE_DEFAULT_CHANNEL_BODY)/,
            replace: "$&false&&"
        }
    ],
    predicate: () => settings.store.onboarding
}
#

short but sweet one this time

#

(there's not really a lot else to go off of here so this is the best one i can think of)

#

though this makes a lot of assumptions

#
DESIGNATE_OTHER_CHANNEL_ONBOARDING: "You must designate a replacement Default Channel in [Server Settings > Community > Onboarding](onClick) before this channel can be deleted.",
DESIGNATE_OTHER_CHANNEL_GUIDE_TODO: "You must remove or replace the To Do in [Server Settings > Community > Onboarding](onClick) before this channel can be deleted.",
DESIGNATE_OTHER_CHANNEL_GUIDE_RESOURCE: "You must remove or replace the Resource in [Server Settings > Community > Onboarding](onClick) before this channel can be deleted.",
#

these are all the failure conditions they have

#

so i'm assuming these ones are all clientside but might result in weird behaviour if you actually delete them whilst they're still in place

#

and i cant create a test server with onboarding enabled so :P

charred monolithBOT
lime stone
#

😭 this is so weird, it starts off empty but you can't seem to remove it

turbid hatch
#

ill take a look another time

austere talon
#

lewi does cloud use go from docker or host

charred monolithBOT
austere talon
real flower
#

so random question
when making a plugin i just make a folder for it in the vencord src/plugins directory?

lime stone
real flower
#

why remove enmity huh

austere talon
#

idk why i even listed it in the first place

#

i don't want to endorse an ios only mod whose community server is very toxic

real flower
#

idk its pretty good from what a few of my friends have said but ig yeah vendetta is probably better just due to cross platform support-

#

yeah

#

that too

austere talon
#

vupdate

nimble pendantBOT
#

I'm back !!! :DDD

austere talon
#

vf mobile

#

huh...

#

oh made it ignore here

#

fixed yeah

verbal pumice
turbid hatch
austere talon
#

good

#

cause i just reinstalled go

#

and was wondering if it would affect cloud

turbid hatch
#

it would be absolutely insane if i made a docker container that used the host go

austere talon
#

IDK BRO

turbid hatch
#

tbf i have seen that before

#

they used go build on the host then built a container

#

stupidest thing i've seen

#

but no i am sane

shy veldt
#

@austere talon fairly certain they are implementing krisp on web?

#

well more like
they did

austere talon
#

lol @spark cove

lime stone
#

yay the only plugin which has a space can go

shy veldt
#

they just dropped krispSDK

olive aurora
#

simply get a better mic

shy veldt
#

@austere talon also with it

#

they broke volume input

shy veldt
#

discor code

olive aurora
#

unstyled scrollbar

#

jumpscare

turbid hatch
shy veldt
charred monolithBOT
lime stone
#

oh my god

austere talon
#

hi

lime stone
#

why not just have a separate name and id?

austere talon
#

?

lime stone
#

like, each plugin has a display name and the id which is used in settings

austere talon
#

why

lime stone
lime stone
austere talon
#

how

#

it doesn't matter

lime stone
#

🤷‍♀️ unless the name needs to change

austere talon
#

idgi

lime stone
#

but it probably doesn't

austere talon
#

there are 0 reasons to require constraints on names

lime stone
#

which is why.. ids

#

but if you're talking about them too... i guess...

austere talon
#

i don't understand what you're saying

#

why would spaces and emojis in names not be okay

#

let people have fun

lime stone
#

in configuration files it's kind of... cursed

austere talon
#

hot link

lime stone
#

and the url is also quite cursed

austere talon
#

okay so you don't like it aesthetically, personally

lime stone
#

but ig it would just break stuff

austere talon
#

but is there any other reason

lime stone
#

if you want to change plugin names and keep compat

#

or want to introduce translations

#

but neither seem likely rn

olive aurora
#

the filenames should be the plugin ids imo

#

but that'd be a breaking change

austere talon
#

why would changing names break compatibility

lime stone
#

right now if you change a plugins name the config will reset..?

austere talon
#

no

lime stone
#

ah

#

that's unused right? but i guess it can work in future

#

why didn't you use spaces in every plugin then

austere talon
#

I still don't get the correlation

#

how does renaming plugins have anything to do with spaces in name or not

verbal pumice
#

consistency i guess?

lime stone
#

yeah

charred monolithBOT
tame escarp
#

what???

verbal pumice
lime stone
#

i assume

tame escarp
#

what??? as in why it was blocked

#

LOL

#

g*veaway

lime stone
#

you're a scammer

tame escarp
#

is blocked

tame escarp
shy veldt
#

give away

#

🙏 🙏

verbal pumice
#

hop off aliucord 🗣️

lime stone
#

yeah look in audit log

#

> create automod rule

tame escarp
charred monolithBOT
tame escarp
charred monolithBOT
charred monolithBOT
spark cove
lime stone
#

but ye it screws up my plugin

charred monolithBOT
limpid badger
austere talon
#

next decade

lime stone
austere talon
#

it kinda is

lime stone
#

hmm... WhoReacted is also a bit suspicious but betterdiscord allows it

turbid hatch
#

lol

charred monolithBOT
hazy kindle
#

yay WhoReacted works again – thanks! 🙂

charred monolithBOT
frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 881335
Match: /!(\i)(\)return null;var \i=(\i)\.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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 881335
Match: /!(\i)(\)return null;var \i=(\i)\.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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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
proud oyster
#

Hey y'all, not sure where to send this but just wanted to let you know that the cleanurl plugin has a slight bug. It will remove calendar id info for Google Calendar links and that'll cause it to lose data

(everything after the ? is gone, I cant even type it out lmao)

ex. https://calendar.google.com/calendar/u/0 ?cid=abcde
will become https://calendar.google.com/calendar/u/0

charred monolithBOT
charred monolithBOT
stark flint
#

Yes this belongs in the installer repo

undone bough
neon crescent
#

guys

#

anyone know how to listen for when my user types on the message bar

#

and prevents default

#

and changes what my user typed to a different thing

limber skiff
#

wdym

neon crescent
#

like

limber skiff
neon crescent
#

no

real flower
#

like autocorrect but just replacing words with other words?

limber skiff
#

edit the message you're sending?

neon crescent
#

yes

limber skiff
#

message events api

neon crescent
#

i alr have a function to parse the message not just how to change it

neon crescent
limber skiff
#

take a look at text replace plugin

neon crescent
#

ok

#

github link?

limber skiff
neon crescent
#

thanks!

#

question

#

doi have to clone vencord

#

or can i just use the installed vencord

#

then make plugins in there

limber skiff
#

for devopment you need a git version, not the installer one

charred monolithBOT
austere talon
#

should we remove rnnoise now that krisp is a thing

ruby coyote
#

but why not keep choice of rnnoise/krisp

austere talon
#

pointless

ruby coyote
#

krisp leaves more unnecessary sounds

lime stone
#

closed source > open source MenheraSmug1

#

/j

dense fossilBOT
#

Hi IThundxr, welcome to .fmbot.
To use this bot you first need to add your Last.fm account.

Please use the </login:928593006293037113> command. The bot will then send you a link so you can connect your Last.fm account.

real flower
#

PFFFT

#

lmao

high oracle
#

@austere talon hiii mr ven

austere talon
#

dunno

high oracle
#

let's keep it the way discord does then

#

we can change it later

lime stone
#

mosaic experiment gon

#

hmm

jagged cloak
#

yeh

#

i've already said my thing so im not gonna repeat

#

working on more important useless things so have fun w un-mosaic stuff

short bridge
#

is there any coder who wants to collaborate to a project for a custom profile decors plugin?

(there's already a vendetta version but we need a vencord one)

shy veldt
#

@junior olive clueless

junior olive
#

LMAO

#

bro 😭

charred monolithBOT
short bridge
charred monolithBOT
mortal fractal
charred monolithBOT
spark cove
#

i should add volumebooster now so that they add it to the real thing

olive aurora
#

i actually used rnnoise before w a v bad mic and it was better than krisp

spark cove
#

mm maybe i should just consolidate it to one button then

olive aurora
#

desktop settings r literally gone for me

#

not there

#

fear

mortal fractal
#

idk how feasible it is on linux but rnnoise is available as a vst and theres programs that allow you to put (some, not all will load) vsts on your mic without needing shit like FL

olive aurora
#

it exists as a pipewire plugin

spark cove
#

i've looked into vst hosts before

olive aurora
#

too

#

i used that

mortal fractal
#

i know a friend that uses that and thats the first time i heard of rnnoise so

spark cove
#

oh wait nvm nvm

#

thought u meant as a plugin

olive aurora
#

discord daw

#

when

spark cove
#

i did wanna do

#

cus making stock plugins would be fun

#

but would be incomplete without vst3 host 💔

charred monolithBOT
frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 881335
Match: /!(\i)(\)return null;var \i=(\i)\.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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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
frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 881335
Match: /!(\i)(\)return null;var \i=(\i)\.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[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP 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 ```
limber skiff
#

@austere talon can I merge IgnoreActivities fix or do you want to review it again?

austere talon
#

uhh idk

#

i didnt look

#

u can merge

limber skiff
#

kk

mortal fractal
#

is ignoreactivities even needed still?

#

idk how extensive it is compared to what discord added

limber skiff
#

discord one completely ignores a game, ignore activities only the activity for the status

charred monolithBOT
charred monolithBOT
#

very bugged on acc switcher, will not let me add or remove bookmarks, says Loading Bookmarks forever

are you sure you're on the latest version of the plugin? (enabling Bookmark Notification Dot should give a Mark as Read context menu on bookmarks, if it's not there please update). if you are, can you look for any errors (open devtools with ctrl+shift+i or cmd+opt+i for mac -> console tab) and ping me on discord (@verbal pumice) with a screenshot of them?

lofty helm
charred monolithBOT
#

Discord Account

godlyavenger

What happens when the bug or crash occurs?

When I'm streaming my screen, I keep my Discord on a separate Windows desktop so that I can still easily send messages while streaming. However, Discord often crashes giving the attached error message. I don't know if it has to do with something while I'm streaming, a plugin I have, or me keeping it on a separate desktop, so any help's appreciated.

What is the expected behaviour?

Discord shouldn't crash w...

charred monolithBOT
charred monolithBOT
quaint sapphire
#

@verbal pumice are draggable tabs not implemented for a reason or nobody bothered to implement that?

asking bc I am interested in contributing that feature

#

nvm I am an idiot

#

ofc it was already implemented

#

there is just no preview before you drop the tab

#

ok thats it, I'll stop talking

#

my brain is too smooth

#

|| sry for the ping sunniee 😭 ||

lime stone
lime stone
#

I just wrote "hmm" and forgot about it

quaint sapphire
lime stone
#

lol

normal chasm
#

hey this isn't a vencord specific question but I'm wondering if anyone knows where favourite gifs are stored? trying to download them all cause most of mine are saved on discords cdn
nevermind I got it

tawny cipher
#

with laravel php is fine otherwise just pain

lime stone
#

php is the best!

tawny cipher
#

fucking raw html bs teachers are throwing out is just a jump off a cliff experience

#

yes I love writing raw html and php to access a database

#

so fun

charred monolithBOT
verbal pumice
#

right click tray icon -> update vencord

#

vns

nimble pendantBOT
verbal pumice
#

latest commit of vesktop

#

not vencord

quaint sapphire
#

I write wordpress plugins 💀

tawny cipher
#

my sincerest condolences

quaint sapphire
#

It do be a nightmare, but after a few weeks I decided to start making templates for all the shit I do
so far I made a plugin template to use Vue3 for wordpress shortcodes

https://github.com/ArjixWasTaken/vite-vue-wpbakery-template


What is a wordpress shortcode?
Well, it is stuff like [component_name][/component_name] and it calls a php function to render the html when viewed

lofty helm
lime stone
#

when me or somebody else goes through the pain :3

lofty helm
#

how do patch

lime stone
lofty helm
#

looks like pain

#

nvm someone else do that please

quaint sapphire
#

regex is really fun

lime stone
#

it's not too hard lol

#

they probably already know how regex works

lofty helm
#

i don't think this would work

lime stone
#

you can use \i to match identifiers

quaint sapphire
cunning canyon
#

they want the old image layout before mosaic

teal halo
#

didn't they just removed that

lime stone
#

exactly

#

a plugin is required rather than an experiment

topaz thistle
#

Alright I've made some changes to rohrkabel, there's still some things I need to change but in case everything goes right I can probably open a PR on the weekend

quaint sapphire
austere talon
quaint sapphire
#

me casually stealing vencord code in production

#

using a mutation observer ❤️

austere talon
normal chasm
#

Ahhh thats nice to know. Thanks.

#

I had to download them all again anyway to rename them so the favourite gif search plugin works properly

quaint sapphire
austere talon
#

anyway have u figured it out?

normal chasm
#

yeah I did

#

I ended up just adding a breakpoint to whereever the fav gif search plugin gets injected and reading this.props.favourites

austere talon
#

lol that works

normal chasm
#

¯_(ツ)_/¯

austere talon
#

how are u gonna add them back

normal chasm
#

I haven't gotten that far tbh. I started making a new dnd character