#๐Ÿ‘พ-core-development

1 messages ยท Page 217 of 1

rugged spire
limber skiff
#

LOL

#

it's okay

#

remember you can always have more than one thing in the filter :)

#

regex is only really needed in very specific cases

#

they made the spinner clickable too

rugged spire
limber skiff
#

yes, always

#

you can webpack find anything with patches

rugged spire
#

i don't think you understand what i mean

#

can you do multiple find strings to narrow down a patch

limber skiff
#

oh

#

no

rugged spire
#

didn't think so

limber skiff
#

that was my original implementation but we opted to allow finds to be a regex

rugged spire
#

should that be possible?

limber skiff
#

when you need you can use a regex find

#

but only when you really need since it's worse performance

rugged spire
#

i know

#

i was just curious if multiple finds was ever considered as an alternative

shut vineBOT
#

@rugged spire, <t:1722526061:R>: beg myself to make channeltabs

rugged spire
#

2 months ago

#

oh

#

thats

#

1

#

hour ago

sterile oak
#

is this correct?

#

the type of onClick

opaque silo
fossil inlet
#

Or just see what's passed and compare.

sterile oak
sterile oak
#

@limber skiff sorry for the ping, but do you know how I could force load a module? my findbyCode fails when the status modal is not opened for at least once

opaque silo
#

you will lazy find

fossil inlet
#

You pass it the code that is in the module that loads your module

limber skiff
#

are u sure u need that findByCode

sterile oak
#

without it, its just some fancy menu

limber skiff
#

whats the find for it

sterile oak
limber skiff
#

you can replicate that function

#

this is the important

#

do you want me to do it for you?

sterile oak
#

the point of the find is not to replicate the function, too much work ๐Ÿ˜ญ

limber skiff
#

you are gonna load a lazy chunk just for that

#

it's a simple function

sterile oak
fossil inlet
limber skiff
#

no it's a call to an user setting definition (if you know what that is)

#
function o(e) {
    if (e !== l.F.TODAY)
        return n()("number" == typeof e, "Invalid custom status clear timeout"),
        e;
    {
        let e = new Date;
        return new Date(e.getFullYear(),e.getMonth(),e.getDate() + 1).getTime() - e.getTime()
    }
}
#

@austere talon wtf is that syntax?

#

what's with the curly braces

austere talon
#

creates a new block scope

limber skiff
#

I swear i didnt know that was possible

austere talon
#

idk why bundler would do that lol

limber skiff
#

so weird ^^

austere talon
#

it's the same as
if (foo) {}

#

but without the if

limber skiff
#

yeah

austere talon
#

xd

#

it's useful for grouping code

#
let sum = 0;
{
  const x = 42;
  const y = 10;
  sum += x + y;
}
{
  const x = 18;
  const y = 28;
  sum += x + y;
}
#

xD

limber skiff
#
import { getUserSettingLazy } from "@api/UserSettings";

const CustomStatus = getUserSettingLazy("status", "customStatus")!;

function getExpirationMs(expiration: "TODAY" | number) {
    if (expiration !== "TODAY") return Date.now() + expiration;

    const now = new Date();
    return new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1).getTime();
}

interface Emoji {
    id: string | null;
    name: string;
}

function setStatus(text: string, emoji?: Emoji, expiration?: "TODAY" | number) {
    const trimmedText = text.trim();

    if (trimmedText.length > 0 || emoji != null) {
        CustomStatus.updateSetting({
            text: trimmedText.length > 0 ? trimmedText : "",
            expiresAtMs: expiration != null ? String(getExpirationMs(expiration)) : "0",
            emojiId: emoji?.id ?? "0",
            emojiName: emoji?.name ?? "",
            createdAtMs: String(Date.now())
        });
    } else {
        CustomStatus.updateSetting(undefined);
    }
}
#

@sterile oak I changed it a bit from discord code so test if it works

#

oh yeah your plugin needs UserSettingsAPI dependency now

#

createdAtMs: String(n()().toDate().getTime())

#

tf discord smoking using moment for that lmao @austere talon

#

literally String(Date.now())

#

this code must have not been touched for years

rugged spire
#

you can make named block scopes and break from a specific block scope

#

@limber skiff also just curious, why is switching to modifying user settings directly preferred for this

brazen bone
#

They're useful for RAII reasons in languages like c++ and rust, too

#

But js doesn't do that, unfortunately

limber skiff
#

I know why closures are useful

#

I just didnt know they were valid in js with no named block for example

limber skiff
#

in a pretty niche thing

rugged spire
limber skiff
#

and it's simple to re-implement

rugged spire
#

thats so much more better than doing the horror of lazy loading

limber skiff
#

I meann the lazy loading is pretty easy

#

most of the times you just need to specify a find

fossil inlet
turbid hatch
#

it's trying to keep the amount of variables it has to go through low, so it's overwriting e in the closure so that it doesnt leak out into the function argument, it doesnt seem like it can quite grasp that e from the args is never used again

#

very funny

sterile oak
#

I'm proud of myself

weak mortar
#

is there a way to set your status with a vencord plugin?

sterile oak
sterile oak
#

the code has your answers

weak mortar
sterile oak
weak mortar
sterile oak
opaque silo
#

theyre trying to make an animated status plugin 100% lmao

sterile oak
#

mods, lobotomize this user

umbral hillBOT
fallen vale
#

mods, lobotomize this user

umbral hillBOT
fallen vale
#

mood

gritty iris
#

my console resets to light mode every full relaunch of discord skullsob

bleak blaze
#

read rules.

sterile oak
fossil inlet
gritty iris
#

it says dark

#

but its in light mode

fossil inlet
#

horror

gritty iris
scenic brook
#

It resets even just closing and reopening dev tools for me

turbid hatch
glass jasper
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

limber skiff
#

they finally gave us peace

glass jasper
limber skiff
#

life is so great rn

#

๐Ÿ˜‡

limber skiff
#

@sterile oak did it work?

sterile oak
#

thanks again

#

cat:200

#

eh is textreplace broken?

rugged spire
limber skiff
sterile oak
bleak blaze
#

what about output volume slider when extending to 200%

#

i think volumebooster is tampering with that slider idk

rugged spire
#

volumebooster slider logic is kinda aliening

fossil inlet
rugged spire
#

multiplier instead of setting max

bleak blaze
#

surely this cant just be me right

fossil inlet
limber skiff
#

I don't know why I chose that in the first place

fossil inlet
#

?remind tomorrow make settings make sense for volumeBooster

shut vineBOT
#

Alright @fossil inlet, in 1 day: make settings make sense for volumeBooster

rugged spire
limber skiff
bleak blaze
sterile oak
sterile oak
#

?remind 6pm stuff thumbsup

shut vineBOT
#

Alright @sterile oak, in 12 hours, 15 minutes and 22 seconds: stuff thumbsup

rugged spire
#

stuff

charred monolithBOT
shut vineBOT
#

@sterile oak, <t:1727847878:R>: stuff thumbsup

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PermissionsViewer (had no effect):
ID: 166584
Match: ```
/.collapseButton,.+?})}),/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
fossil inlet
jolly egret
#

i wish i did not check out some of the additions to their fork of vencord

jolly egret
#

yeah...

still wasp
#

Add files via upload

#

Please do not add the files via upload

shut vineBOT
#

@fossil inlet, <t:1727834473:R>: make settings make sense for volumeBooster

dusk blaze
#

ofc its a French...

fallen vale
charred monolithBOT
charred monolithBOT
charred monolithBOT
dusk blaze
charred monolithBOT
charred monolithBOT
bleak blaze
dusk blaze
#

thing is, you currently can't add spotify vars in rpceditor!

#

but it will soon(tm) be added

glass jasper
sterile oak
bleak blaze
# sterile oak does it?

sorry mistaked it for something else it's because of the amount of buttons, within my embed. i thought i saw an existing pr-request for this

rugged spire
rugged spire
#

yes this should be using a ref and a state

#

but hollow

#

don't they already need a ref to play/pause?

#

@fossil inlet this is just copied entirely from pictureInPicture btw

fossil inlet
#

does that mean they're both bad or good

rugged spire
#

both are bad

bleak blaze
#

i updated his videoLooper and changed the color from green, to white and then merged it into the videoControls rather than near the download button makes it easier to access

#

but it works!111

rugged spire
#

this doesn't solve the real issue

bleak blaze
#

no it doesnt

rugged spire
#

this is just hardcoding where hardcoding is a bad idea

#

also what is that person icon

bleak blaze
#

i'm just making it look more appealing lol

rugged spire
#

what does that do

bleak blaze
#

increases the speed

#

i have 2

rugged spire
#

OH

bleak blaze
#

yeah

#

it changes the icon upon click

rugged spire
#

that fill in the SVG should just be currentColor and be updated (ideally) through react

bleak blaze
#

yepyep if imported through main

rugged spire
#

what

bleak blaze
rugged spire
#

hang on

#

so you already have a loop plugin

#

that patches in the right place

bleak blaze
#

no i used his existing code, and edited it so instead of inserting it near the download button

#

it puts it in the videoControls area

rugged spire
#

oh

bleak blaze
#

just looks better than inserting it near the download button lol (easier to access)

rugged spire
#

yes?

bleak blaze
#

exist already

#

why green of all colors

rugged spire
#

i now understand why these plugins don't use react

#

i forgot how horrible react is to debug

frail skyBOT
#
Bad Patches

PermissionsViewer (had no effect):
ID: 166584
Match: ```
/.collapseButton,.+?})}),/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PermissionsViewer (had no effect):
ID: 166584
Match: ```
/.collapseButton,.+?})}),/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jolly egret
#

oof, it hit stable

scenic brook
#

I forgot to take out the "doesn't work with always automod embeds" bit from the setting description, it does now

fossil inlet
charred monolithBOT
scenic brook
#

I don't use git enough, PRing makes me nervous

austere talon
#

do we really need to reimplement the spoiler

#

have you checked if we can use discords component

scenic brook
#

It seemed to be built into the embed rendering

#

It's entirely possible I was just dumb but I couldn't really find a way to get it without having an embed to provide which defeated the purpose of the automod embed option

austere talon
#

I see

charred monolithBOT
#

I wanted to be able to use the funny freaky font text easily without having to go to the freaky font website. Thought I might as well share it here in-case anyone else wants to enjoy it just converts ABC -> ๐“๐“‘๐“’
Run it with /freaky ABC
Works great on my machine and I'd assume it'd work with anybody else.
Font pulled from because Im lazy and didn't want to do it my self
https://c.r74n.com/converter/freaky-text

fallen vale
#

no

fossil inlet
fossil inlet
#

๐Ÿ˜”

jolly egret
#

lol didn't even give them a message just CLOSED

#

tbf this is mentioned on the contribution guidelines

sterile oak
charred monolithBOT
jolly egret
#

why do people still star this

torpid vessel
fallen vale
fallen vale
jolly egret
#

freedom!

jolly egret
#

oh crazy theres a mirror

frail skyBOT
#
Bad Patches

ShowHiddenThings (had no effect):
ID: 212093
Match: ```
/{"auto_removed:.*?}/


**__ShowHiddenThings (found no module):__**
ID: `-`
Match: ```
"horny","fart"
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoBlockedMessages (had no effect):
ID: 306680
Match: ```
/(?<=function (\i)((\i)){)(?=.*MESSAGE_CREATE:\1)/


**__VolumeBooster (had no effect):__**
ID: `345953`
Match: ```
/(?<=isLocalMute\(\i,\i\),volume:(\i).+?\i\(\i,\i,)\1(?=\))/

MessageLogger (had no effect):
ID: 375954
Match: ```
/function (?=.+?MESSAGE_DELETE:(\i))\1((\i)){let.+?((?:\i.){2})getOrCreate.+?}(?=function)/


**__MessageLogger (had no effect):__**
ID: `375954`
Match: ```
/function (?=.+?MESSAGE_DELETE_BULK:(\i))\1\((\i)\){let.+?((?:\i\.){2})getOrCreate.+?}(?=function)/

MessageLogger (had no effect):
ID: 375954
Match: ```
/(function (\i)((\i)).+?).update((\i)(?=.*MESSAGE_UPDATE:\2)/


**__NoBlockedMessages (had no effect):__**
ID: `375954`
Match: ```
/(?<=function (\i)\((\i)\){)(?=.*MESSAGE_CREATE:\1)/

WhoReacted (had no effect):
ID: 542578
Match: ```
/function (\i)(){(\i)={}(?=.*CONNECTION_OPEN:\1)/


**__FakeNitro (had no effect):__**
ID: `581883`
Match: ```
/function (\i)\((\i)\){(?=.*CONNECTION_OPEN:\1)/

ConsoleJanitor (had no effect):
ID: 613568
Match: ```
/\i.totalTime>\i&&\i.verbose("Slow dispatch on ".+?));/


**__MoreUserTags (had no effect):__**
ID: `674563`
Match: ```
/(\i)=\{\}\)\);(?=let \i=100)/

MessageLogger (had no effect):
ID: 869765
Match: ```
/MESSAGE_DELETE:\i,/


**__MessageLogger (had no effect):__**
ID: `869765`
Match: ```
/MESSAGE_DELETE_BULK:\i,/

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canUseCustomStickersEverywhere:)\i/

Error: ```
Unexpected token '{'

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canUseHighVideoUploadQuality:)\i/g

Error: ```
Unexpected token '{'

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canStreamQuality:)\i/g

Error: ```
Unexpected token '{'

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canUseClientThemes:)\i/

Error: ```
Unexpected token '{'

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canUsePremiumAppIcons:)\i/

Error: ```
Unexpected token '{'

FakeNitro (errored):
ID: 74538
Match: ```
/(?<=canUseCustomNotificationSounds:)\i/

Error: ```
Unexpected token '{'

SuperReactionTweaks (had no effect):
ID: 960020
Match: ```
/((\i)=\i=>{.{50,100})(\i(\i,\i))>=\i(?=.*BURST_REACTION_EFFECT_PLAY:\2)/


**__NoticesAPI (had no effect):__**
ID: `933429`
Match: ```
/(?<=function (\i)\(\i\){)return null!=(\i)(?=.*NOTICE_DISMISS:\1)/

NoPendingCount (found no module):
ID: -
Match: ```
.getSpamChannelsCount();


**__ShowHiddenThings (found no module):__**
ID: `-`
Match: ```
"horny","fart"
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

never cook again

fossil inlet
#

That looks like they reverted a bunch of the patches from a week or two ago

#

@gritty iris @limber skiff

austere talon
#

ya

#

try to undo the fix and see if it's good again xd

fossil inlet
#

cant, i'm not at home right now

#

i'm out of town

limber skiff
#

I'm sleeping now guh

jolly egret
limber skiff
#

no way they push this before the weekend

gritty iris
fossil inlet
jolly egret
#

oh

gritty iris
#

@fossil inlet its cooked

#

oh wait

#

nvm

dusk blaze
gritty iris
#

less cooked

austere talon
dusk blaze
#

ฤฑnsane

austere talon
#

who tf searching for fart in discovery

#

and why does discord not want you to

gritty iris
#

wait I reverted 2 much

austere talon
#

1984

fossil inlet
jolly egret
#

for what purpose

fossil inlet
gritty iris
#

messagelogger serverlistapi and showhiddenthings

#

Ima rerun for perm viewer

#

oh wait I actually have canary updated nvm

gritty iris
fossil inlet
#

Why can't discord just have consistent bundler settings?

gritty iris
#

I lied

#

replytimestamp is also broken

#

I thought that was 3rd party for a second

fossil inlet
#

So we just have to revert a few and then fix a few

gritty iris
#

so replytimestamp messagelogger serverlistapi and showhiddenthings

#

yes

#

I cant read PensiveAnimated

#

oh wait

#

I added stuff to serverlistapi

#

so exclude that

#

I cant just do this correctly can I with gh desktop

#

๐Ÿ˜ญ

jolly egret
#

git web moment

gritty iris
#

I just forked off web

#

lemme rerun everything

#

for a sanity check

fossil inlet
gritty iris
#

I cant fork vencord as a branch

fossil inlet
#

lazy git and the command line are good enough for me

gritty iris
#

so it forked my dev branch and I forgot it does that

fossil inlet
gritty iris
#

but running reporter rn

#

correctly at that

fossil inlet
#

It's legitimately been so good for me. I love it so much.

#

i should probably donate to them

gritty iris
gritty iris
#

its correct now

#

trust

#

replytimestamp messagelogger and showhiddenthings

spark pivot
fossil inlet
#

ok

#

You know you can also run reporter locally, right?

gritty iris
#

I forgot is correct technically

fossil inlet
#

PNPM build --dev --reporter

#

It just spits the logs out to console.

rugged spire
gritty iris
#

It keeps the new patch

charred monolithBOT
frail skyBOT
#
Bad Patches

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canUseCustomStickersEverywhere:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUseHighVideoUploadQuality:function\(\i(?:,\i)?\){)/

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canStreamQuality:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUseClientThemes:function\(\i(?:,\i)?\){)/

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canUseCustomNotificationSounds:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUsePremiumAppIcons:function\(\i(?:,\i)?\){)/

ShowHiddenThings (had no effect):
ID: 212093
Match: ```
/{"auto_removed:.*?}/


**__NoBlockedMessages (had no effect):__**
ID: `306680`
Match: ```
/(?<=MESSAGE_CREATE:function\((\i)\){)/

VolumeBooster (had no effect):
ID: 345953
Match: ```
/(?<=isLocalMute(\i,\i),volume:.+?volume:)\i(?=})/


**__MessageLogger (had no effect):__**
ID: `375954`
Match: ```
/MESSAGE_DELETE:function\((\i)\){let.+?((?:\i\.){2})getOrCreate.+?},/

MessageLogger (had no effect):
ID: 375954
Match: ```
/MESSAGE_DELETE_BULK:function((\i)){let.+?((?:\i.){2})getOrCreate.+?},/


**__MessageLogger (had no effect):__**
ID: `375954`
Match: ```
/(MESSAGE_UPDATE:function\((\i)\).+?)\.update\((\i)/

NoBlockedMessages (had no effect):
ID: 375954
Match: ```
/(?<=MESSAGE_CREATE:function((\i)){)/


**__WhoReacted (had no effect):__**
ID: `542578`
Match: ```
/(?<=CONNECTION_OPEN:function\(\){)(\i)={}/

FakeNitro (had no effect):
ID: 581883
Match: ```
/CONNECTION_OPEN:function((\i)){/


**__ConsoleJanitor (had no effect):__**
ID: `613568`
Match: ```
/\i\.totalTime>100&&\i\.verbose\("Slow dispatch on ".+?\)\);/

MoreUserTags (had no effect):
ID: 674563
Match: ```
/((\i)={}))[(\i).BOT/


**__NoPendingCount (had no effect):__**
ID: `869404`
Match: ```
/(?<=getSpamChannelsCount\(\),\i=)\i\.getMessageRequestsCount\(\)/

MessageLogger (had no effect):
ID: 869765
Match: ```
/MESSAGE_DELETE:function((\i)).+?},/


**__MessageLogger (had no effect):__**
ID: `869765`
Match: ```
/MESSAGE_DELETE_BULK:function\((\i)\).+?},/

NoticesAPI (had no effect):
ID: 933429
Match: ```
/(?<=,NOTICE_DISMISS:function(\i){)return null!=(\i)/


**__SuperReactionTweaks (had no effect):__**
ID: `960020`
Match: ```
/(BURST_REACTION_EFFECT_PLAY:\i=>{.{50,100})(\i\(\i,\i\))>=\d+/

ShowHiddenThings (found no module):
ID: -
Match: ```
"horny","fart"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

ShowHiddenThings (found no module):
ID: -
Match: ```
"horny","fart"

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

@median rapids fix that one ^

austere talon
#

poor foldie

#

can't you find it or something

limber skiff
#

there are like

#

4 arrays

#

I dont know what's the right one

opaque silo
austere talon
limber skiff
#

americoon

#

africoon ๐Ÿ˜ญ

austere talon
#

africoon, americoon, arabshit, assrape ๐Ÿ˜ญ

#

what are these words

#

who says these lmaooo

#

I never heard any of these

austere talon
#

but idk

#

just check the code to see how they're used

#

hunter2 and frik are funny

jolly egret
#

LMAO

limber skiff
#

WHY DO STAFF HAVE HUNTER2 AND FRIK BANNED

#

@austere talon ๐Ÿ˜ญ

austere talon
#

probably for testing

limber skiff
#

so random tho

austere talon
#

probably so they can test it without typing nasty words

limber skiff
#

they are so freaky

austere talon
#

anyway yeah just clear all arrays

jolly egret
#

i can't believe big discord is hiding the friking from me

charred monolithBOT
frail skyBOT
#
Bad Patches

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canUseCustomStickersEverywhere:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUseHighVideoUploadQuality:function\(\i(?:,\i)?\){)/

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canStreamQuality:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUseClientThemes:function\(\i(?:,\i)?\){)/

FakeNitro (had no effect):
ID: 74538
Match: ```
/(?<=canUseCustomNotificationSounds:function(\i(?:,\i)?){)/


**__FakeNitro (had no effect):__**
ID: `74538`
Match: ```
/(?<=canUsePremiumAppIcons:function\(\i(?:,\i)?\){)/

ShowHiddenThings (had no effect):
ID: 212093
Match: ```
/{"auto_removed:.*?}/


**__NoBlockedMessages (had no effect):__**
ID: `306680`
Match: ```
/(?<=MESSAGE_CREATE:function\((\i)\){)/

VolumeBooster (had no effect):
ID: 345953
Match: ```
/(?<=isLocalMute(\i,\i),volume:.+?volume:)\i(?=})/


**__MessageLogger (had no effect):__**
ID: `375954`
Match: ```
/MESSAGE_DELETE:function\((\i)\){let.+?((?:\i\.){2})getOrCreate.+?},/

MessageLogger (had no effect):
ID: 375954
Match: ```
/MESSAGE_DELETE_BULK:function((\i)){let.+?((?:\i.){2})getOrCreate.+?},/


**__MessageLogger (had no effect):__**
ID: `375954`
Match: ```
/(MESSAGE_UPDATE:function\((\i)\).+?)\.update\((\i)/

NoBlockedMessages (had no effect):
ID: 375954
Match: ```
/(?<=MESSAGE_CREATE:function((\i)){)/


**__WhoReacted (had no effect):__**
ID: `542578`
Match: ```
/(?<=CONNECTION_OPEN:function\(\){)(\i)={}/

FakeNitro (had no effect):
ID: 581883
Match: ```
/CONNECTION_OPEN:function((\i)){/


**__ConsoleJanitor (had no effect):__**
ID: `613568`
Match: ```
/\i\.totalTime>100&&\i\.verbose\("Slow dispatch on ".+?\)\);/

MoreUserTags (had no effect):
ID: 674563
Match: ```
/((\i)={}))[(\i).BOT/


**__NoPendingCount (had no effect):__**
ID: `869404`
Match: ```
/(?<=getSpamChannelsCount\(\),\i=)\i\.getMessageRequestsCount\(\)/

MessageLogger (had no effect):
ID: 869765
Match: ```
/MESSAGE_DELETE:function((\i)).+?},/


**__MessageLogger (had no effect):__**
ID: `869765`
Match: ```
/MESSAGE_DELETE_BULK:function\((\i)\).+?},/

NoticesAPI (had no effect):
ID: 933429
Match: ```
/(?<=,NOTICE_DISMISS:function(\i){)return null!=(\i)/


**__SuperReactionTweaks (had no effect):__**
ID: `960020`
Match: ```
/(BURST_REACTION_EFFECT_PLAY:\i=>{.{50,100})(\i\(\i,\i\))>=\d+/
Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jolly egret
#

why do we have a dev2

#

was dev not good enough so you needed another one

limber skiff
#

I'm selfish I need a branch just for me

#

obviously

torpid vessel
jolly egret
#

forks aren't real

austere talon
#

branch protection stuff

long stream
#

something related to discovery

rugged spire
#

it's this

rugged spire
#

i dont think they use this for server discovery?

#

they don't

#

@limber skiff you patched the wrong thing I think

#

definitely wrong

#

do not push this to main

#

i'm confident this is wrong

#

oh?

#

old discovery is Gone Gone?

limber skiff
#

HAHA

#

oops!

rugged spire
#

deffo remove it

limber skiff
#

so where the heck is the filter now

rugged spire
#

remove the filter entirely, keep the 2nd part

rugged spire
#

for clarification

limber skiff
#

is it no more

#

oh

rugged spire
#

i did a bunch of searches

#

hold on

#

let me restart

limber skiff
#

I knew those 4 arrays were sus

rugged spire
#

little known secret

limber skiff
#

huh?

rugged spire
#

i have a plugin that scans these lists and warns you before you send anything in them

#

using the same system used for the censoring itself

limber skiff
#

ah

rugged spire
#

i'm surprised not a lot of people know about this feature/how it works

limber skiff
#

I think the other list is gone now

rugged spire
#

agreed

limber skiff
#

just have to remote the patch then

rugged spire
limber skiff
#

thanks for warning me haha

charred monolithBOT
rugged spire
#

force pushing to dev branch time

cunning bobcat
#

how would one find the ID of the module for forwarding messages (33648) when its not loaded, so you can wreq.e() it to force load it?

limber skiff
#

wdym module for forwarding messages

charred monolithBOT
cunning bobcat
#

this

limber skiff
#

yes and what do you want there exactly

#

the method to forward?

#

the component

cunning bobcat
#

yeah, .sendForward()

limber skiff
#

which

cunning bobcat
#

aka the actual function to forward a message

limber skiff
#

are you sure it's lazy loaded

cunning bobcat
#

yes because unless i open the forwarding menu the module is not found by findByProps

#

either that or i am severely misunderstanding how to webpack properly

rugged spire
cunning bobcat
#

oh oops didnt see that channel

rugged spire
#

it isnt pinned

cunning bobcat
#

oh it wasnt on my list thats why

limber skiff
#

horror

#

they really defined sendForward in a lazy loaded file

cunning bobcat
limber skiff
#

lol

limber skiff
#

just search for that number in devtools

rugged spire
#

this is it

#

i was looking for it

limber skiff
#

and you are gonna find where it's loaded

rugged spire
#

should that be pinned?

cunning bobcat
brazen bone
#

But hardcoding module ids is no good

limber skiff
rugged spire
cunning bobcat
#

oh hell yeah it works

#

thanks

limber skiff
#

how did you do it?

cunning bobcat
#
await Webpack.extractAndLoadChunks(["let{ForwardModal:"]);```
#

for force loading it

limber skiff
#

['"forward-modal"', "initialSelectedDestinations:"]

#

I recommend this instead

#

just so you don't rely on the component name not being mangled

cunning bobcat
#

ok yeah that works too thanks

fossil inlet
#

Have they pushed to stable and are things fixed yet

limber skiff
#

no

#

yes

fossil inlet
opaque silo
#

how do i force vencor to explod the cached remote theme

brazen bone
#

Ctrl f5, isn't it?

fossil inlet
charred monolithBOT
grizzled halo
#

Posted a known issue announcement, ping me when things are fixed (but I might be asleep in a few hours so feel free to just remove it)

limber skiff
#

when did they push to stable what

grizzled halo
#

A while ago

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

grizzled halo
#

Wack, since when was there a update, people keep complaining

charred monolithBOT
limber skiff
#

done

grizzled halo
#

Cool

#

Got automoded trying to edit the message

limber skiff
#

I see no automod

umbral hillBOT
#

mods crush this person's skull

nimble pendantBOT
limber skiff
#

HAHA

#

LMAO

grizzled halo
limber skiff
#

gangbanged by tessie and venbot

grizzled halo
#

They love me

austere talon
#

need to bump version

fossil inlet
limber skiff
austere talon
#

yes

#

cause mucho stuff broken

charred monolithBOT
limber skiff
#

I love waiting for workflows

charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.10.4
austere talon
#

thanks

jolly egret
#

Whats the general workflow around here? Do you just go between pure maintenance and pushing new plugins/features whenever or is there a predefined schedule?

#

I'm guessing you push stuff when you feel like it

sterile oak
#

I have the same question

jolly egret
#

Not being picky about how you do stuff (i know maintaining software is tricky and burnout happens) but I've seen seemingly perfectly good stuff just sit eternally waiting and waiting

austere talon
#

there's no workflow or schedule

#

fixes are merged immediately

#

new features whenever I feel like it

#

(or nuckyz)

fringe basalt
#

can you feel like merging SVGEmbed? CR_nice_plead

austere talon
#

and by feel like it i mean have motivation to

#

maintaining large software is not fun ๐Ÿ˜ญ

#

every merge has to be carefully reviewed

#

in my personal projects I just push whatever tf I want without much care

#

if I do that in vencord and explode something... oh boy

austere talon
#

discord changed something about cdn cors

fringe basalt
#

it does

#

just checked

glass jasper
austere talon
#

i think it broke emotecloner

austere talon
#

one faulty push and you cause billions in damages

fringe basalt
#

real

#

this is why they have 9999999 of them though

jolly egret
#

its okay if you make vencord explode its okay you only get dmed 1000 times and the server has to go on lockdown

fringe basalt
#

it's okay if you push the vencord rat and steal everyone's tokens

glass jasper
fringe basalt
#

shh it was supposed to be a secret

glass jasper
#

mb gang

jolly egret
#

Whatever is done on this repo to alert PRs when they are out of date with the base branch just causes people to spam the shit out of the update branch button

#

do they not understand it'll be done when the PR is being reviewed or merged? ๐Ÿ˜ญ

#

we don't need 50 merge commits on one PR

sterile oak
#

I broke my branch many times because of force pushs

#

๐Ÿ’ฅ

jolly egret
#

skill issue

brazen bone
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
rugged spire
#

I want to shove even more stuff into SupportHelper

#

How horrible of an idea is this?

#

Specifically

#

Deep links to settings

#

and plugin URL embeds like invites

sterile oak
#

I am so out of ideas rn

rugged spire
grizzled halo
#

lmao its stock discord too

rugged spire
#

what kind of DOM even causes this shit?

rugged spire
#

its real

#

@grizzled halo you can actually click anywhere on the profile picture to activate it?

grizzled halo
#

wha

rugged spire
#

im stupid

#

i thought it was between the boxes

rugged spire
limber skiff
#

HAHA

#

THIS is so funny

charred monolithBOT
dusk blaze
#

โ€œhi jason citrus can u please terminate meโ€

rugged spire
#

exactly what I was thinking

#

as soon as discord bombs the experiment, it will immediately set off red flags

limber skiff
#

nah I don't think so

#

they wouldn't be like that towards old clients I think

spice python
#

i feel like theyll probably just send those hidden channels regardless of if that is sent once the experiment is rolled out

limber skiff
#

unless they use something like your super properties to determine if you should have it

rugged spire
#

do clients send their version number to gateway

limber skiff
#

unsure

#

@grizzled halo would you know if emote cloner is broken or just an issue some people have

grizzled halo
#

Idk, it worked for me

#

Petpet doesnโ€™t work for me though

#

Theyโ€™re on latest too

spice python
#

petpet didnt work for me too until it just started working

rugged spire
#

Petpet worked for me trolley

limber skiff
grizzled halo
#

Oh now it works, it didnt work the first time

#

but considering it works now i cant check my console

spice python
#

cant repro it anymore either tho

scenic brook
#

I can cause that by entering a non image url in the url option on mine, maybe something is up with the url returned sometimes? suffoPeepoShrug

rugged spire
limber skiff
#

yes

rugged spire
limber skiff
#

why

rugged spire
limber skiff
#

images getting shitted due to webp?

limber skiff
#

hmm

#

pretty minimal

#

but maybe

rugged spire
#

it totally is minimal

#

but it looks horrible once you notice

#

hmm

#

30k bytes non shitted

#

and 16k bytes shit quality image

charred monolithBOT
#

Discord Account

isatsou_01682

What happens when the bug or crash occurs?

when i run petpet

What is the expected behaviour?

pet

How do you recreate this bug or crash?

run petpet

Errors

[object Event]

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens there as well
  • [X] I have read the requirements for opening an issue above
rugged spire
sterile oak
charred monolithBOT
jolly egret
#

i don't see them in the server so they probably ignored the 500 messages that say not to open issues without asking first

spice python
jolly egret
#

oh just tried it

#

wow

austere talon
#

yes discord changed something about cdn cors

cunning canyon
#

insane fix: i add 1 more & until it works trolley

brazen bone
#

Genius

#

But why

cunning canyon
#

idk lmao

austere talon
#

this seems like a bug on discords end

#

cause it will also break the save image button on desktop

jolly egret
#

incredible

austere talon
#

oh yeah it's definitely a bug

#

*,* lmao

grave mangoBOT
rugged spire
#

shouldn't this get the branch at build time just like the remote?

rugged spire
#

totally different color lmao

limber skiff
#

ikr

#

who would have guessed the screenshot of me doing the plugin would be affected by it

#

LOL

rugged spire
#

why aren't you patching it to just be png instead of webp (like the old plugin?)

limber skiff
#

it's not that easy

#

the other plugin caused issues with gifs or autoplay or something

#

like I said here

#

but that requires more than just removing part of the Discord code, and a bit of study to make sure it does not cause issues.

rugged spire
#

oh?

dusk blaze
torpid vessel
#

mb wrong channel sad

rugged spire
limber skiff
#

nono

#

testing FixImagesQuality

rugged spire
#

oh

charred monolithBOT
rugged spire
#

fr what's wrong with using the thread sidebar itself without modifications

long stream
long stream
#

aaaaaaaaa my gpg thing broke

uneven needle
long stream
#

Merged branch dev into main? wrong, git reset --hard

rugged spire
#

though, why don't you just hardcode the channel key ID to 0?

uneven needle
#

originally i used the mod view thingy lol

rugged spire
#

mod view and thread sidebar are already mutually exclusive

uneven needle
#

oh yeah true

uneven needle
fossil inlet
charred monolithBOT
fossil inlet
#

@limber skiff is the icon supposed to be right here

limber skiff
#

yes

#

its just in the same container as the notes button

median rapids
# limber skiff

these arrays are all for the client-side word filtering pretty sure

#

so none of those

limber skiff
#

thinking now

#

I could find the build where they changed that

median rapids
limber skiff
#

don't worry haha

#

okay yes

#

I've confirmed they just removed those

charred monolithBOT
opaque silo
jolly egret
#

if they mean 0.0.70 instead of 0.0.60 then probably

#

but given how old this issue is i doubt it

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

glass jasper
charred monolithBOT
spark pivot
#

2 repos with no code

long stream
#

woah

#

rare pr from the steamdb owner

somber thorn
#

steamdb owner uses vencord confirmed

pine topaz
#

how easy would it be for me to remove vencord from vesktop

pine topaz
brazen bone
pine topaz
pine topaz
#

wait actuallu

somber thorn
#

just don't turn any plugins on and leave it there, NoTrack/WebContextMenus and stuff could be nice to have

pine topaz
#

yeah i'll just delete every non-default plugin and the themes

#

im just thinking about a potential Vesktop-Lite

somber thorn
#

alternatively just make this load nothing / look at where vesktop downloads vencord from github and yeet that code

pine topaz
#

though im pretty sure some of vesktop's added linux support comes from vencord does it not

limber skiff
#

a lot of vesktop stuff has connection to vencord

charred monolithBOT
pine topaz
charred monolithBOT
pine topaz
#

witnessing a commit live

austere talon
#

vesktop deeply depends on vencord

#

it can't work without it

pine topaz
austere talon
#

all its browser sided code uses vencord apis

pine topaz
#

just finding out whats possible

austere talon
#

e.g. its settings page, the screenshare modal, rich presence, etc

opaque silo
austere talon
#

true

somber thorn
#

and venmic?

charred monolithBOT
sterile oak
#

๐Ÿฅฑ

scenic brook
#

Sick

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
rugged spire
fossil inlet
#

@rugged spire rate

rugged spire
#

Is this ShowMeYourName for mentions?

charred monolithBOT
fossil inlet
sterile oak
desert cosmos
#

im pretty sure there was a find for getting the icons

#

yea lol

findByProps("AIcon")
sterile oak
#

and btw that find is the same as Webpack.Common.Icons

desert cosmos
#

isnt your solution well.. harder to maintain especially if discord removes/adds icons

sterile oak
desert cosmos
#

as long as it works blobcatcozy

glass jasper
sterile oak
rugged spire
desert cosmos
#

grabbing the icons manually would probably be faster than grabbing all names

rugged spire
#

true

#

but also that is absolutely cursed

#

why not ```js
Object.keys(Vencord.Webpack.Common.Icons).filter(k => k.endsWith("Icon")).map(k => Vencord.Webpack.Common.Icons[k])

#

oh no

#

why not ```js
Object.fromEntries(Object.keys(Vencord.Webpack.Common.Icons).filter(k => k.endsWith("Icon")).map(k => [k, Vencord.Webpack.Common.Icons[k]]))

sterile oak
desert cosmos
#

AssetExplorer

#

IconViewer

rugged spire
rugged spire
#

sound effects arent that hard to find

glass jasper
sterile oak
#

current name: IconViewer

glass jasper
sterile oak
sterile oak
#

you seem so excited blobcatyellow

charred monolithBOT
jolly egret
#

that sucked the soul out of me

#

i do not wish to do that again

#

i went through all 5 stages of grief to come up with shit code ๐Ÿฅฐ

brazen bone
#

On your next patch I'm sure you can optimize it down to only 4 stages

austere talon
#

show screenie pls

jolly egret
austere talon
#

discord might change in the future

#

you shouldnt rely on anything that comes from discord

jolly egret
#

true this is a client mod discord ruins everything

charred monolithBOT
frail skyBOT
#
Bad Patches

SupportHelper (had no effect):
ID: 600084
Match: ```
/BEGINNING_DM.format({.+?}),(?=.{0,100}userId:(\i.getRecipientId()))/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

SupportHelper (had no effect):
ID: 600084
Match: ```
/BEGINNING_DM.format({.+?}),(?=.{0,100}userId:(\i.getRecipientId()))/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
#

Rip support helper

jolly egret
#

wtf how are we going to tell people not to dm plugin devs anymore

#

am i stupid or did the patch helper vanish too

sterile oak
jolly egret
#

yes lol

fossil inlet
#

im using it to fix support helper right now

jolly egret
#

dang i was gonna fix it but now i don't feel like it

carmine wave
#

@jolly egret i see you

jolly egret
#

either way i don't see dev companion anymore and i was using it earlier, nothing else changed but i also don't care to debug it if somebody else is fixing the broken patch

jolly egret
#

why do you have an alt here for testing ๐Ÿ˜ญ

#

what are you testing here

carmine wave
#

support helper ๐Ÿ˜ญ

carmine wave
#

@jolly egret you love

charred monolithBOT
austere talon
#

it just broke cause the bundler reordered some code

#

if it reorders again like previously

#

it will break again

jolly egret
#

gg

jagged reef
#

Hey uh, it's been like 2-4 months since my PRs were last looked at, so can I just quickly link them?

sterile oak
rugged spire
#

sdadsadsaasd

#

guh

#

dont you need to test a different way

#

yeah that bug still exists

limber skiff
charred monolithBOT
jolly egret
#

wow PRs are being merged

limber skiff
#

totally not the one they complained

jolly egret
#

i'm afraid of becoming one of those guys with PRs from 2022 voidvoid

jagged cloak
#

loool rip

#

timedones was never meant to be timedone

jolly egret
#

timedone frfr

#

nobody fixed the title

surreal fiber
#

what needs to be fixed is the english language to say timedones

jolly egret
#

instead of fixing the typos fix the language

charred monolithBOT
opaque silo
#

the switches in main vencor settings arent var based

#

ohhh

#

guhhh

fossil inlet
rugged spire
opaque silo
fossil inlet
#

duality of man

opaque silo
#

plugins and themes menu switches use switch.tsx which defines var based switches

#

other switches yoink the discord component

#

guhhh

fossil inlet
#

?remind 5pm

shut vineBOT
#

Alright @fossil inlet, in 8 hours, 6 minutes and 55 seconds: โ€ฆ

limber skiff
#

switches were so slow

#

so we remade them

opaque silo
#

actually not even its just for the plugin/theme card

fossil inlet
limber skiff
opaque silo
#

yeah

scenic brook
uneven needle
#

Oh

scenic brook
#

Which also made me notice that the chatbar api doesn't take sidebar chats into account

#

Even for stock ones from threads and stuff

uneven needle
fossil inlet
#

@scenic brook you should upload your companion port

scenic brook
scenic brook
fossil inlet
scenic brook
#

I've set a reminder to go into it after work

fossil inlet
jolly egret
#

maybe you should've used a closing keyword

#

oh nvm you did but you targetted dev not main

charred monolithBOT
fossil inlet
#

finally fixed the show hidden channels ordering bug

limber skiff
#

how lmao

#

I never looked into it ngl

fossil inlet
#

weird fuckery with the uncatorgorized channel

limber skiff
#

show code or patch

fossil inlet
#

one moment

limber skiff
#

i honestly hate how shc is made

#

(i made it)

fossil inlet
#

the id for the uncatgorized channel is "null" (a string) and SHC doesnt include it when it filters hidden channels

#

its weird

charred monolithBOT
limber skiff
#

absolute horror

hot hatch
#

I was trying to see why settings searchbar doesn't search for vencord tabs and apparently the function that filters the tabs relies on some giant static list slugjudgement

fossil inlet
#

ive been meaning to do that for a while

#

never got around to it

hot hatch
#

after like 20 cycles of trying to find what function does that I finally randomly found the needed one lol

#

tho now if I want to try to fix it, I gotta come up with some smart and not shitcode solution

#

terms is where all these uh searchable strings are stored, perhaps I can modify the highlighted line to append the list with the vencord strings

charred monolithBOT
charred monolithBOT
austere talon
#

almost like it was a discord issue that discord fixed

shut vineBOT
#

@fossil inlet, <t:1728478385:R>: โ€ฆ

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

scenic brook
#

I'm also aware some of the code in there is horrible but it's a WIP so y'know

#

Let me know if you want a built version and I'll dm you the zip, I feel like sending a built plugin in zip form publicly seems sketchy

fossil inlet
#

nah im building myself

scenic brook
#

I'm gonna PR a couple of changes I added to dev companion in your branch as well, feel free to rework them as I kinda just threw them together

fossil inlet
#

@scenic brook where is the entrypoint?

scenic brook
#

kinda actions.Startup but it just uses a bunch of extension points so there isn't one particular place

#

Under /resources/META-INF/plugin.xml, in the extensions tag, basically all of those

fossil inlet
#

@scenic brook what

scenic brook
#

ngl I don't really get what they want the version number to say, I got that error to begin with too and just changed it around until it stopped complaining, what it's currently at works for me suffoPeepoShrug

#

Actually that being said, I did change from the old intellij gradle plugin to the new one last night so I guess it might treat it differently, I was previously using since("2024.2.0.1"), maybe it's now treating it as until instead
Should be sorted

charred monolithBOT
jolly egret
#

incredible

charred monolithBOT
limber skiff
#

NOT THE TYPO

charred monolithBOT
torpid vessel
charred monolithBOT
rugged spire