#πŸ‘Ύ-core-development

1 messages Β· Page 51 of 1

austere talon
#

what is the profile state for

#

just updating the component when u switch?

knotty horizon
#

yea

#

i got it to work how i want i think

#

hell yeah

#

the ugly way but

#

now saves profile outside of component

austere talon
#

you don't write js often do u

knotty horizon
#

i try not to

austere talon
#

Why's that

knotty horizon
#

I just don't like it

#

although typescript is cool

austere talon
knotty horizon
#

a lot of my typescript code is hacked together

austere talon
#
const [signal, refetchProfile] = useReducer(x => x + 1, 0);
useAwaiter(..., { deps: [signal] });```
#

do this instead

#

now you can just call refetchProfile() whenever

#

but u need to call it after the value in the DataStore has been updated

knotty horizon
#

yeah

austere talon
#

setProfile(...).then(refetchProfile)

knotty horizon
#

ok yay that works exactly how i want

austere talon
#

react hooks are really something else

knotty horizon
#

you can tell I don't spend too much time doing react

austere talon
#

the most annoying thing about react hooks is that u can't call them conditionally

#

you always have to call the same amount of hooks

knotty horizon
#

if I have this, how can I declare profile as type Profile:

const profiles = await getProfiles();
for (const profile in profiles) {
austere talon
#

huhhh wdym?

#

oh

#

what's profiles

#

array?

knotty horizon
#

yeah

austere talon
#

for ... of not for ... in

knotty horizon
#

its a Profiles[]

knotty horizon
#

me when 2 letters mess it up

austere talon
#

for in is for looping over property names

#

which in the case of an array will loop over the indexes :)

knotty horizon
#

I'll work on this more tomorrow... all I have to do really is:

  • get encrypt and decrypt working with profiles
  • add colors for different profiles
  • color picker in add profile menu (not a big deal if I can't get it to work/not possible, hex codes are fine)
austere talon
#

do u mean make the context menu not go off screen?

#

even discords own context menus do that lmao

knotty horizon
austere talon
knotty horizon
#

discord moment

charred monolithBOT
charred monolithBOT
tight yacht
#

Sighhh πŸ₯Ί

charred monolithBOT
vestal grove
shut verge
#

Ah yes
GirlΒ² ℒ️

charred monolithBOT
quaint sapphire
#

while it can be automated, it is a necessary process

charred monolithBOT
charred monolithBOT
#

Discord Account

𝕄𝕣. 𝕄𝕔𝕐𝕖𝕖π•₯#9300 (@"Kotlin Enthusiast" in Vencord discord)

What is it that you'd like to see?

I find that I don't care when people edit their messages, I mainly use the message logger plugin to keep track of deleted messages.
With that in mind, I find it quite annoying to have to right click -> remove message history for messages, as the circles I find myself in tend to edit their messages 3, 4, 5, even 6+ times in some cases, and it can become quite spammy.
...

cunning canyon
stark flint
#

@deep glade ^

deep glade
charred monolithBOT
charred monolithBOT
knotty horizon
#

need to figure out how to set message colors

quaint sapphire
#

css?

#

or are you talking about specific messages?

charred monolithBOT
jagged cloak
#

whyre there like 50 tiktok embedders lmao

quaint sapphire
#

where did the text replace plugin go? lmao

#

also, instead of replacing the link, it would be better if it edited the embed

#

(cause that would fix a lot more issues)

charred monolithBOT
charred monolithBOT
knotty horizon
#

@austere talon profiles and colors implemented!!!

charred monolithBOT
#

Hello, where can I install the cli, please reply and send the link :)

On Tue, Apr 25, 2023 at 9:23β€―PM V @.***> wrote:

use the cli

β€”
Reply to this email directly, view it on GitHub
https://github.com/Vencord/Installer/issues/58#issuecomment-1521783743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7NKQBCZBRVPVLV25PI2TPTXC7F3JANCNFSM6AAAAAAXK3RBJU
.
You are receiving this because you authored the thread.Message ID:
@.***>

knotty horizon
#

I wish there was a way to make the context not overflow

austere talon
# charred monolith

tbh @cunning canyon it doesn't seem like array option will be done any time soon

#

So we can probably just merge it how it is for now

austere talon
knotty horizon
#

no

#

that was just the name

#

for testing

#

i was testing with a friend

austere talon
#

alright, but I feel like someone is definitely gonna request being able to always use a specific profile for a specific server/channel

knotty horizon
#

the selected profile persists so

#

it can always be switched

#

I'm debating wether it should toggle when changing profile

#

its just annoying because once you have 3 profiles you cant delete them because it overflows

austere talon
#

make the profiles a separate tab

#

as in

#

right click your chat box and there's some option that opens a second menu

#

u could have it like that

knotty horizon
#

do you have an example of a plugin that does that

austere talon
#

yes

#

the greet plugin

#

but it's really easy, you just nest MenuItems

#
<MenuItem ...>
   <MenuItem ...>
</MenuItem>```
knotty horizon
#

oh

austere talon
#

the outside MenuItem doesn't need an action in this case

knotty horizon
#

oh nvm

#

i know why

#

ok it all works

charred monolithBOT
austere talon
#

lmao

#

me when i forget to add keys

knotty horizon
#

wen merge

charred monolithBOT
fleet depot
#

that's creepy

#

i tab away and then tab back and i've been possessed

#

i wonder if they'll even be able to open their terminal

austere talon
#

i edited ur reply because there's no way in hell someone who can't even find the cli knows how to run a cli program

fleet depot
#

yea all good i saw edited by you
can't wait to get another comment saying "where do i run this"

austere talon
#

i generally just don't reply to stuff like this because if someone isn't able to read basic instructions I'm not very keen on helping them haha

fleet depot
#

yeaaaahhh

#

i happen to be procrastinating work right now so this is at least more productive than going through all my unreads in all my servers again

austere talon
#

and goes "waaaah how to fix this 😭"

fleet depot
#

"why does this no work"

[please close discord in the tray before patching]

fleet depot
jagged cloak
#

lol all the time

woeful sable
jagged cloak
#

that is so me

#

with anything that is more than just basic instructions

#

or anything not related to software

charred monolithBOT
charred monolithBOT
knotty horizon
austere talon
#

the problem is that MESSAGE_UPDATE expects an api message

#

but the message u have is a processed message

woeful sable
#

:3

charred monolithBOT
quaint sapphire
#

no screenshots for now, as it is still in development

charred monolithBOT
charred monolithBOT
umbral hedge
#

they sure do love their beard

jagged cloak
#

true'

#

everyone react with laugh emoji

umbral hedge
#

they reacted to their own message

#

but yes i don't feel like introducing a license violation

#

however

#

this seems to be

#

fake

stark flint
#

meowcrypt is older than "eggcrypt" by a week

umbral hedge
#

yeah

#

and i cant find where this random git commit came from

stark flint
#

also like powercord lol what

umbral hedge
#

im trying to find evidence but i think this is a troll

stark flint
#

it is

#

they joined discord last week

#

or github*

jagged cloak
stark flint
#

an hour later the repo was published

jagged cloak
#

quite odd

charred monolithBOT
umbral hedge
#

such a weird license too

stark flint
#

wtf is going on from l44 to l156

umbral hedge
#

why would anyone go through that much effort for a little trolling

charred monolithBOT
#

My sincerest apologies, in my previous missives on this topic I neglected to mention that the maintainers of Eggcrypt recently released updated source code under the auspices of β€œProject Beijing” which implements several new security features that may be of interest.

In particular, this new release of Eggcrypt utilizes an in-house pseudo-Mandarin encoding solution to provide an additional layer of plausible deniability for encrypted communications. Users of the novel Project Beijing edit...

stark flint
#

yeah nah

jagged cloak
#

shakes head gravely

charred monolithBOT
umbral hedge
#

lmao

stark flint
# charred monolith

that would "explain" the 2020-2021 copyright notices on the files i guess...

#

but this is so troll

charred monolithBOT
stark flint
#

loool it's the post you sent

umbral hedge
#

lmaooo

jagged cloak
#

lmaoooo

charred monolithBOT
umbral hedge
#

this guy sk

quick ibex
#

this guy is actually

umbral hedge
#

also why are they writing their prompts with chatgpt

quick ibex
#

i swear what he is doing is edging legality

umbral hedge
#

(it's illegal)

quick ibex
#

exactly

stark flint
austere talon
#

why are u feeding the trolls

umbral hedge
#

I can't block him from the repo :)

austere talon
#

you can just ignore it or mention me or similar

umbral hedge
#

anyways im gonna report their comments

#

dont delete them

quick ibex
#

yeah reported them

charred monolithBOT
#

My good sir, upon close scrutiny of the particulars encompassed within this pull request, it has become strokes beard pensively abundantly clear that the legal and ethical ramifications inherent herein simply cannot be disregarded.

As evidenced by the commit history for this repository, readily available here, this code has been derived from [Eggcryp...

umbral hedge
#

their use of chatgpt is funny tho

#

shakes head gravely

stark flint
#

strokes beard pensively

#

should've used that one more often

umbral hedge
#

shigs shiggy shiggily

jagged cloak
sour compass
charred monolithBOT
#

Well howdy there partner! tips cowboy hat Looks like ya'll done gone and decrypted that egg-crypt doohickey. Must've taken a whole heap of effort and smarts to unscramble that there techno-wizardry. I hear they really muddled up the insides to keep folks from peekin' under the hood.

No matter how slick ya'll are at coverin' your tracks though, takin' someone else's code without askin' still ain't right. My associates and I are gonna have to ask ya kindly to mosey on over to that repo...

sour compass
#

bro

umbral hedge
#

im just gonna start deleting them now

jagged cloak
#

LMAO

sour compass
#

"anonymous associate" can we ip ban users lol

umbral hedge
#

vencord repo in vencord org never

sour compass
#

im very glad i got subscribed to this pr 😊

umbral hedge
#

lol

austere talon
knotty horizon
#

mfs were harassing me in my discord about code i never used

austere talon
#

just ignore, github support takes care of it RenShrugGif

umbral hedge
#

I have however read the edit history

#

but looks like it got force pushed sooo

austere talon
#

and there's a powercord plugin

#

where

#

i cant even find it lol

calm shore
#

im trying do a thing but the if never gets ran, how can i make it run!

jagged cloak
#

thats probably because powercord plugin was named that xd

stark flint
#

it's on the nft dude's profile

sour compass
austere talon
stark flint
#

o

umbral hedge
#

the pr is older than the repo

jagged cloak
umbral hedge
#

if they spoke like a normal human i'd actualyl put effort into verifying their claim

#

however they are acting like a 5 year old

#

so i will not

austere talon
knotty horizon
austere talon
#

does it work

stark flint
#

i mean fwiw the powercord code there has a 2021 copyright notice, however fake that may be

calm shore
jagged cloak
#

pnpm watch

knotty horizon
austere talon
#

u need to pnpm watch then this option when right clicking settings cog

knotty horizon
#

and encryption algo, now its all different

calm shore
#

oh right

umbral hedge
#

lmao

jagged cloak
#

i dont even need to it just connects itself

umbral hedge
#

yeah the code all looks unique

knotty horizon
umbral hedge
#

so by changing the key & algo there's literally nothing that links to the old project

austere talon
sour compass
jagged cloak
#

reply moment

calm shore
jagged cloak
#

m

sour compass
#

m

austere talon
#

enable companion plugin sorrykirino

knotty horizon
#

m

umbral hedge
#

m

umbral hedge
calm shore
#

oh right

#

thanks

#

Patch failed: Replacement 1 failed: SyntaxError: Unexpected token 'if'

umbral hedge
#

if

jagged cloak
#

not the if statement 😭

sour compass
#

'if'

umbral hedge
#

trolled by if

jagged cloak
#

vencord patches still confuse me so i wont be any help lol

#

trolled

knotty horizon
#

do i try and make a patch that exports color picker

#

πŸ’€

jagged cloak
#

fakeprofiletheme should already have one

#

i think

austere talon
#

no need

#

i already wrote one ages ago

#

for fakeProfileThemes

knotty horizon
#

oh

umbral hedge
#

I like how i deleted it but its saying ven deleted it

#

lol

austere talon
#

also ur patch wont work

#

because you're changing this to return dispatch({}),if(

#

thats not valid js syntax

jagged cloak
#

while im here hwo do you patch a render function

#

lol

austere talon
#

wdym

jagged cloak
#

like getting a component to use it for whatever

#

for example if you wanted to use these of the textarea

#

although i could just use whatever dom event

#

actually i think i tried to patch one of these directly before and gave up for whatever reason so

austere talon
#

that shouldnt be too hard

#

well getting the component is harder

#

but u can technically just use dom for it

#

what exactly are u trying to do

#

there's likely a better solution

charred monolithBOT
#

As an established and respected software engineer, I feel compelled to comment on the troubling matters surrounding this Pull Request and its dubious origins.

At IBM, transparency and ethical conduct are of paramount importance in all of our business operations, especially open-source software development. We strive to build trusted relationships with both users and the greater technical community through a commitment to responsible disclosure and strict compliance with all legal obligat...

knotty horizon
#

lmaoo

stark flint
#

dude

austere talon
#

i just locked the pr for now lol I'm gonna unlock once github support responded

#

can u still push commits to a locked pr i have no clue

knotty horizon
#

yea

jagged cloak
#

except i use silent typing so startTyping is already off

austere talon
#

be more precise xd

#

what exactly are you trying to make

#

youre being really vague

calm shore
#

its a secret

austere talon
#

animal making keylogger very_mad

jagged cloak
#

skulley no

#

cause it doesnt really matter xd
i'm making an update to my userplugin that sends a typing indicator through osc

austere talon
#

horror

#

whats an osc

jagged cloak
#

open sound control

#

funnee protocol

#

or

#

wellno

quick ibex
jagged cloak
#

but funnee

quick ibex
#

i dont get it

jagged cloak
#

theyre insane

quick ibex
#

what they are doing is illegal, right?

knotty horizon
#

yeah probably

#

idk

jagged cloak
#

probably

#

tfw i make accounts and use ai to troll

knotty horizon
#

bro has no evidence to back his claims either

umbral hedge
#

impersonation is indeed illegal

quick ibex
#

I have a feeling claiming something as your copyright when it indeed is not is illegal

umbral hedge
quick ibex
#

I didnt get to read that one in time

calm shore
# austere talon thats not valid js syntax

Patch failed: Replacement 1 failed: SyntaxError: missing ) after argument list
dispatch({type:\"GUILD_JOIN\",guildId:$1,lurker:$2,source:$3,loadId:$4}); if($2){$self.patchLurk($1)}

umbral hedge
#

it didn't get deleted

#

it's the most recent

quick ibex
#

oh

#

I see it

austere talon
calm shore
#
patchLurk(id) {
        findByProps("getGuildsTree").getGuildsTree().root.children.unshift({ type: "guild", id, unavailable: false, children: [] });
        findByProps("getGuildCount").getGuild(id).joinedAt = new Date;
        findByProps("lurkingGuildIds").lurkingGuildIds().pop();
        findByProps("joinGuild").transitionToGuildSync(id);
    }
knotty horizon
#

whats the whole guild lurking thing I don't get it

austere talon
#

you want to run something after the event gets emitted?

calm shore
#

yeah

austere talon
#

why not subscribe to the event then

quick ibex
#

I should report to IBM and have them tear him a new legal hole trolley

austere talon
#
flux: {
  GUILD_JOIN({ guildId }) {
    console.log(guildId);
  }
}
#

this will run whenever that event is emitted

austere talon
calm shore
austere talon
#

yeah

calm shore
#

alr

half shell
#

Jup coding πŸ™ƒ

calm shore
#

barley

charred monolithBOT
umbral hedge
#

horror

calm shore
#

i was trying to commit the changes

#

but i guess i need to fork it first

crude bloom
#

NO WAY

calm shore
#

@shut ridge you will merge immediately

shut ridge
#

how

sour compass
#

i think u pinged the wrong person

calm shore
#

lmao

#

dunno how that happened

calm shore
sour compass
#

what is this plugin lmaoo

#

console.log("lol");

calm shore
#

just what it says on the tin

#

oops

#

fixed

knotty horizon
#

I don't get it

#

what's lurking guilds

calm shore
#

yk server discovery?

#

and how u can see the guild

#

before joining

austere talon
#

@limber skiff what the hell

#

im trying to find the code that updates messages

#

but i literally cannot find it

#

i checked every single MESSAGE_UPDATE handler

#

none of them do it

limber skiff
#

yeah lmao I spend hours the other day

#

I think it's stateFromStore ven

austere talon
#

i found the function that modifies messages which we could patch to do nothing if it's already a proper message

#

but i dont weanna do that

limber skiff
#

in the MessagesStore

austere talon
#

ye but i called MessageStore.emitChange() after updating store

#

and it just didnt do it

limber skiff
#

yop that's where I got stuck the other day

#

but I ended up stop and never came back

austere talon
#

wtf is getChangeSentinel

limber skiff
#

idk

#

there is so method there that calls all hooks for changes

#

I was manually firing it

austere talon
#
function updateMessage(channelId, id, updater) { 
    let store = wreq(815678).Z.getOrCreate(channelId)
    if (!store?.has(id)) return false;
    store = store.update(id, m => (updater(m),m))
    wreq(815678).Z.commit(store)
}
#

this can update messages without breaking shit but it doesnt rerender the component

#

note how it doesnt break attachments but it also doesnt update until i hover

limber skiff
#

ugh I have a stash saved with the stuff I was testing with

#

I'm not home though

limber skiff
# austere talon

lol you can just change the message obj prop on the cache and it works too

austere talon
#

wait wdym

limber skiff
#

cache.getMessage(...).content = "as"

austere talon
#

whats cache

#

MessageStore?

#

oh yeah MessageStore.getMessage() just returns MessageActionCreator.getOrCreate(channelId).get(id)

limber skiff
#

ye

#

if you want when I get home I can send you my testing stuff

#

that will be in like 3 hours

austere talon
#

well this func is what's fucking up the message

#

you can find it by searching for !=e.edited_timestamp

#

we could just patch it to do nothing if the passed message is already proper format

#

would probably work

jagged cloak
#

@calm shore YOU

austere talon
#

MessageUpdaterAPIposttroll

limber skiff
#

yop I got to that too

woeful sable
calm shore
limber skiff
#

but call stack horrible you cant find where it's called from

limber skiff
austere talon
#

thats message store

limber skiff
#

I know

#

expand the prototype there

austere talon
#

like this?

limber skiff
#

invokeAll

austere talon
#

does nothing

limber skiff
#

that's what I was calling

#

I was going to manually step the call stack til I found something useful

austere talon
#

// This feels strange - but no one knows why it's like this.

#

least buggy discord code

limber skiff
calm shore
#

file name is there

#

message record utils

limber skiff
#

okay but why did you post that

calm shore
#

its what ven posted

#

except readable

limber skiff
#

wait

#

that's the non compiled source code??

calm shore
#

yea

limber skiff
#

how the

knotty horizon
#

wtf lmao

austere talon
#

if youre used t oit

austere talon
limber skiff
#

yeah lol

austere talon
#

some people downloaded everything

limber skiff
#

I need

#

do you have them?

austere talon
#

nuh uh

limber skiff
#

😭

austere talon
#

sending them in a public place is probably unwise tho

limber skiff
#

true

sour compass
#

anonfiles

austere talon
#

how tf can you edit files in chrome devtools

#

i saw fiery do it when he streamed

#

but it doesn't let me edit

sour compass
#

magic

austere talon
#

like he just edited a file in the sources tab

limber skiff
#

oh it happens to me too

sour compass
#

i thought u could

knotty horizon
#

trolled

#

i thought you could too

sour compass
#

like u saw me try it and it just froze

limber skiff
#

idk I just can lmao

austere talon
limber skiff
#

I never tested

austere talon
#

like does it actually change the code

limber skiff
austere talon
#

wait

#

i just

#

changed some setting

#

and it works now

sour compass
austere talon
#

one of these

calm shore
austere talon
#

no

sour compass
austere talon
#

its this

#

LOL

#

i typed and it froze discord

sour compass
#

ez

woeful sable
calm shore
#

gl

#

only 13k of them

calm shore
limber skiff
#

woah I thought != null was a minimifier thing

#

they actually do that

austere talon
#

what else would u do

#

!= null means not null or undefined

limber skiff
#

yeah it does make sense

austere talon
#

it's the one time you should actually use != over !==

limber skiff
#

it's way better than checking for both lol

austere talon
#

but that will also be false for falsy values

#

like 0, "", etc

limber skiff
#

yop

#

It's not as good

sour compass
austere talon
#

no thats a useful thing in most cases

#

and actually the same in c and many other languages :P

sour compass
#

o

umbral hedge
#

iirc you have to set a folder

#

where it saves the files to

austere talon
#

i already figured it out

umbral hedge
#

k

austere talon
#

but doesnt work jasonzoom

umbral hedge
#

rip

austere talon
#

it hard freezes discord and u have to close it from task manager

#

the will never remove the now obsolete electron 13 fix

#

wait discord has a multi instance flag

#

i never knew

#

we do a little

charred monolithBOT
sour compass
charred monolithBOT
#
[Vencord/Desktop] New tag created: v0\.1\.9
charred monolithBOT
austere talon
#

btw @placid hinge

#

this doesnt work

#

it shows

#

u also broke about

charred monolithBOT
frail skyBOT
#
Bad Patches

PronounDB (had no effect):
ID: 507250
Match: /\(0,.\.jsx\)\((?<PronounComponent>[A-Za-z_$][\w$]*\..),(?<pronounProps>{currentPronouns.+?:(?<fullProps>[A-Za-z_$][\w$]*)\.pronouns.+?})\)/

UserVoiceShow (had no effect):
ID: 1764
Match: /,{user:\w{1,2}}\)(?!;case)/

WebContextMenus (had no effect):
ID: 638525
Match: /(?<=showApplicationCommandSuggestions;)if\(![A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\)/

WebContextMenus (had no effect):
ID: 638525
Match: /("submit-button".+?)(\(0,[A-Za-z_$][\w$]*\.jsx\)\([A-Za-z_$][\w$]*\.MenuGroup,\{children:[A-Za-z_$][\w$]*\}\),){2}/

PronounDB (found no module):
ID: -
Match: .Messages.USER_POPOUT_PRONOUNS

Bad Starts

None

Discord Errors

#
Bad Patches

ViewIcons (had no effect):
ID: 74188
Match: /style:.{0,10}\{\},([A-Za-z_$][\w$]*)\)/

PronounDB (had no effect):
ID: 507250
Match: /\(0,.\.jsx\)\((?<PronounComponent>[A-Za-z_$][\w$]*\..),(?<pronounProps>{currentPronouns.+?:(?<fullProps>[A-Za-z_$][\w$]*)\.pronouns.+?})\)/

UserVoiceShow (had no effect):
ID: 1764
Match: /,{user:\w{1,2}}\)(?!;case)/

WebContextMenus (had no effect):
ID: 759725
Match: /return [A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\?(?=\(0,[A-Za-z_$][\w$]*\.jsxs?\)\([A-Za-z_$][\w$]*\.Menu)/

WebContextMenus (had no effect):
ID: 638525
Match: /(?<=showApplicationCommandSuggestions;)if\(![A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\)/

WebContextMenus (had no effect):
ID: 638525
Match: /("submit-button".+?)(\(0,[A-Za-z_$][\w$]*\.jsx\)\([A-Za-z_$][\w$]*\.MenuGroup,\{children:[A-Za-z_$][\w$]*\}\),){2}/

PronounDB (found no module):
ID: -
Match: .Messages.USER_POPOUT_PRONOUNS

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

charred monolithBOT
sour compass
#

new lang just dropped

charred monolithBOT
charred monolithBOT
fleet depot
#

tho ig this one is pretty badly named

#

oh wait this one has been brought up 3x

austere talon
#

why did u reply to the issue I already closed like half an hour ago xD

fleet depot
#

hm

#

oh

#

cuz i didn't see when you closed it oop

#

oh also cuz i couldn't comment and tell the person it was a duplicate πŸ˜”

#

so i commented here instead

austere talon
#

horror

#

Aliucord plugins moment

lament nimbus
austere talon
#

the horror

#

this server was just my personal test server before I repurposed it to vencord server I think that's why Aliucord plugins is here

jagged cloak
#

true

#

vencord server server server

charred monolithBOT
#

Hello, I just clicked on the link, and downloaded the file and did not
work. I tried the Powershell thing still did not work I got this error on
Powershell

On Thu, Apr 27, 2023 at 12:32β€―AM Rendundakat @.***>
wrote:

https://github.com/Vencord/Installer/releases/download/v1.2.8/VencordInstallerCli.exe

β€”
Reply to this email directly, view it on GitHub
https://github.com/Vencord/Installer/issues/58#issuecomment-1523721512,
or unsubscribe
<https://github.com/notifications...

#

Hello, The CLI Version did not work, I tried the Powershell one, but I got
this error. Please Reply to me and help me with this problem. Thank You :).
[image: image.png]

On Thu, Apr 27, 2023 at 12:32β€―AM Rendundakat @.***>
wrote:

https://github.com/Vencord/Installer/releases/download/v1.2.8/VencordInstallerCli.exe

β€”
Reply to this email directly, view it on GitHub
https://github.com/Vencord/Installer/issues/58#issuecomment-1523721512,
or unsubscribe
<https://github.com...

cunning canyon
#

you love [image: image.png]

cunning bobcat
#

how exactly does vencord allow imports from @whatever/whatever?

#

(ping on reply or i'll break your kneecaps :P)

cunning bobcat
#

yeah but that only does for typing, no?

#

because i tried that in bandager and it works for types but when running it throws a MNF error or whatever it's called on node

cunning bobcat
#

apparently there's something called tsc-alias which seemingly does what i want

limber skiff
#

there's a lot of packages that fix this issue but there isn't any near perfect

#

some things work on some but not others

tawny cipher
#

node has path aliases built in as well

cunning bobcat
charred monolithBOT
#

At the moment, when using the fake nitro plugin to send emojis, it will replace the emoji by a link to an image of the emoji, this works perfectly fine when the link is the only thing in the message because image links show as the linked image. But when you type a message and add an emoji at the end, it shows as a link and the embed.
A solution to a part of this is to use a "trick" that I've seen in a YouTube video of NTTS. So it consists into adding :
`||​||||​||||​||||​||||​||||​||||​||...

cunning canyon
#

why dont they just press enter at the end of message and send emoji alone ???

cunning bobcat
#

why are there multiple ven

#

this is getting out of hand, now there are 3 of them

charred monolithBOT
lime stone
#

so ven uses github web a lot??

#

i find that hard to believe

#

oh wait that's basically all pr merges xd

charred monolithBOT
austere talon
lime stone
#

maybe now but not previously

austere talon
lime stone
#

ohh

cunning bobcat
#

fun

lime stone
#

so it's three setups :P

charred monolithBOT
austere talon
#

oh cause rounded ig

quaint sapphire
#

@austere talon when we face CORS issues, is it with you to use a proxy?

austere talon
#

elaborate

quaint sapphire
#

on what?

austere talon
#

why are u facing cors issues

quaint sapphire
#

cause the webserver sends non-permissive cors headers?
(or doesn't send, which is the same)

violet hazel
violet hazel
#

@quaint sapphire suggests that we should use a cors proxy
and i think that we modify the response at client side is more elegant (but somehow looks dangerous? idk)

quaint sapphire
#

I did not refuse bc of safety

#

but a plugin is not important enough to have that much power

#

mixing plugin specific code with vencord core code is smth I want to avoid

#

as it makes it harder to merge

violet hazel
quaint sapphire
#

one other issue is that vencord works for web as well, and modifying headers is smth we can't really do on web

#

well, we can do it, but not w/o extension specific APIs

violet hazel
#

oh that makes sense

#

No other plugins faced cors issue before?

quaint sapphire
#

well, most plugins that contact an API have control over the webserver

violet hazel
quaint sapphire
#

I like how ven only gives questions but no answers

#

(no I don't like it)

violet hazel
austere talon
#

is it just me or does the lock icon seem slightly too big

charred monolithBOT
umbral hedge
#

themes never trolley

charred monolithBOT
quaint sapphire
umbral hedge
#

it just looks kinda fat

quaint sapphire
#

maybe a keyhole would fix it

#

but can you add a keyhole?

charred monolithBOT
charred monolithBOT
austere talon
#

why is styling inputs so painful

austere talon
charred monolithBOT
austere talon
#

u have to reimplement checkboxes from scratch...

charred monolithBOT
charred monolithBOT
#

The timezones are taken from Intl, a JavaScript built-in library.

One possible reason for a city missing is that multiple cities can have the same timezone and there is no point having many cities.

For example Greece has only one timezone, there is no reason to have more cities than Athens.

But yeah, Intl is where we are getting the timezones from.

(If you are talking about the website TimezoneDB then I don't know)

fleet depot
#

Not the timedones again

charred monolithBOT
jagged cloak
#

stop posting aboput timedones! i mtired of seeing it!

charred monolithBOT
#

I have no idea how I would even begin to implement this feature but I think it'd be a nice enhancement to be able to edit the data of a message and have it update in the client, for example, if you switched the bot boolean inside the author object to true, then it'd show the bot tag next to the user's name that bots and webhooks have on Discord. You'd also be able to edit the content of other's messages without using something as tedious as Inspect Element. Overall, it isn't a very impo...

jagged cloak
#

how is inspect element tedious

woeful sable
woeful sable
#

new electron versions hate

charred monolithBOT
austere talon
#

the forbidden module

charred monolithBOT
limber skiff
#

wtf is that

austere talon
#

the null.launchMonacoEditor?

#

xD

limber skiff
#

yeah

austere talon
#

it's just a lazy imported module

limber skiff
#

why is it like that lmao

austere talon
#

esbuild recognises that path is dead so it doesn't include it

#

and null is the best alternative to make it still compile

limber skiff
#

ahhh

#

unsane

austere talon
limber skiff
#

insane

austere talon
#

this is the input code

limber skiff
#

(void 0).launch

austere talon
#

but yeah the idea is that plugins can add stuff here

limber skiff
#

ooo nice

austere talon
#

like reconnect dev companion

limber skiff
#

I mean if you wanted you wouldnt even need an api

austere talon
#

idk what to use as icon for this cause it should fit with discord's icon

limber skiff
#

contextMenuAPI gang

austere talon
#

LOL

#

u mean patch the context menu

limber skiff
#

yes

austere talon
#

naaah

#

im thinking like

limber skiff
#

it would work perfectly

austere talon
#
definePlugin({
  quickActions: {
    "Reconnect Dev Companion"() {
      console.log("cliiick")
    }
  }
})
#

and then it adds that as button

limber skiff
#

ohh nice

#

I see

charred monolithBOT
austere talon
#

cause of the "..."()

limber skiff
#

It does

austere talon
limber skiff
#

I never thought of that

jagged cloak
#

yeahr

austere talon
#

does this syntax scare u @limber skiff

charred monolithBOT
limber skiff
#

one thing only actually

#

how are you calling loadItems without wrapping the await in parenthesis

austere talon
#

the await awaits the loadBadges() return value

#

:P

limber skiff
#

OH

#

dang I was dumb now

austere talon
#

lmao yeah kinda but dw

charred monolithBOT
austere talon
#

😭

charred monolithBOT
charred monolithBOT
calm shore
#

how do i create like a store for a plugin

#

something that persists between refreshes

#

literally just want to store a single int

austere talon
#

settings

calm shore
#

so very description

charred monolithBOT
lament nimbus
fathom herald
austere talon
austere talon
#

Vencord.Plugins.plugins does not have exact types, it only has the base plugin type

#

so to use custom plugin specific properties u need to cast

lament nimbus
#

you will use plugin classes trolley

austere talon
lament nimbus
austere talon
#

no?

#

how

#

Vencord.Plugins.plugins is typed as Record<string, Plugin>

lament nimbus
#

as PluginName

#

Or use strong plugin types

#

By diving into type hell

austere talon
#

you don't need to use classes for that

lament nimbus
#

then why are you doing as any

austere talon
#

because it doesn't matter

quick cosmos
austere talon
#

wtf is that plugin

#

you're trying to use typescript types as a value

quick cosmos
#

what

#

idek i wrote the code at like midnight

#

lmfao

#

still havent figured out a good way to edit a clyde message

frail skyBOT
#
Bad Patches

ViewIcons (had no effect):
ID: 74188
Match: /style:.{0,10}\{\},([A-Za-z_$][\w$]*)\)/

PronounDB (had no effect):
ID: 507250
Match: /\(0,.\.jsx\)\((?<PronounComponent>[A-Za-z_$][\w$]*\..),(?<pronounProps>{currentPronouns.+?:(?<fullProps>[A-Za-z_$][\w$]*)\.pronouns.+?})\)/

UserVoiceShow (had no effect):
ID: 1764
Match: /,{user:\w{1,2}}\)(?!;case)/

WebContextMenus (had no effect):
ID: 759725
Match: /return [A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\?(?=\(0,[A-Za-z_$][\w$]*\.jsxs?\)\([A-Za-z_$][\w$]*\.Menu)/

WebContextMenus (had no effect):
ID: 638525
Match: /(?<=showApplicationCommandSuggestions;)if\(![A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\)/

WebContextMenus (had no effect):
ID: 638525
Match: /("submit-button".+?)(\(0,[A-Za-z_$][\w$]*\.jsx\)\([A-Za-z_$][\w$]*\.MenuGroup,\{children:[A-Za-z_$][\w$]*\}\),){2}/

PronounDB (found no module):
ID: -
Match: .Messages.USER_POPOUT_PRONOUNS

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

charred monolithBOT
frail skyBOT
#
Bad Patches

ViewIcons (had no effect):
ID: 74188
Match: /style:.{0,10}\{\},([A-Za-z_$][\w$]*)\)/

PronounDB (had no effect):
ID: 507250
Match: /\(0,.\.jsx\)\((?<PronounComponent>[A-Za-z_$][\w$]*\..),(?<pronounProps>{currentPronouns.+?:(?<fullProps>[A-Za-z_$][\w$]*)\.pronouns.+?})\)/

UserVoiceShow (had no effect):
ID: 1764
Match: /,{user:\w{1,2}}\)(?!;case)/

WebContextMenus (had no effect):
ID: 759725
Match: /return [A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\?(?=\(0,[A-Za-z_$][\w$]*\.jsxs?\)\([A-Za-z_$][\w$]*\.Menu)/

WebContextMenus (had no effect):
ID: 638525
Match: /(?<=showApplicationCommandSuggestions;)if\(![A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\)/

WebContextMenus (had no effect):
ID: 638525
Match: /("submit-button".+?)(\(0,[A-Za-z_$][\w$]*\.jsx\)\([A-Za-z_$][\w$]*\.MenuGroup,\{children:[A-Za-z_$][\w$]*\}\),){2}/

PronounDB (found no module):
ID: -
Match: .Messages.USER_POPOUT_PRONOUNS

Bad Starts

None

Discord Errors

charred monolithBOT
calm shore
# austere talon settings

Type 'OptionType.BIGINT' is not assignable to type 'OptionType.STRING | OptionType.NUMBER | OptionType.BOOLEAN | OptionType.SELECT | OptionType.SLIDER | OptionType.COMPONENT'.

can i not use BIGINT in plugin settings?

charred monolithBOT
austere talon
#

okay im done now trol

austere talon
#

try changing it to 8189n

calm shore
#

that errors too

#

Type 'bigint' is not assignable to type 'number'.

austere talon
#

(im also definitely not merging that plugin nyaboom)

calm shore
#

yeah its just for me

quick cosmos
#

this a bug or am i going crazy?

austere talon
#

use the options: property on ur plugin instead

#
definePlugin({
  options: {
    capabilities: {
      type: OptionType.BIGINT,
      ...
    }
  },
})
#

u can then access it via Settings.plugins.YourPluginName.capabilities

calm shore
#

alr thanks

austere talon
#

actually scratch that just pull and it should work properly

charred monolithBOT
austere talon
quick cosmos
austere talon
quick cosmos
#

ne

#

i also tried silentMessage, and it doesnt get the event either

austere talon
#

did u enable ur plugin

#

did u add dependency on the api you're using

quick cosmos
#

the button shows

#

i did not

austere talon
#

dependencies: ["MessageEventsAPI"],

#

add this to ur plugin

quick cosmos
#

fuck yes thank goodness

charred monolithBOT
charred monolithBOT
#

kind of jank animation for some reason probably my fault. thank you nookies for basically doing this for me :)
works well if you have the floating folders css where folders float over the rest of the window.
https://github.com/Redundakitties/quickCSS-snippets/blob/master/snippets/floatingfolders.css

OR

if you turn on dedicated sidebar for folders + no animation in the Betterfolders plugin

fleet depot
#

oh im 999

#

dang

charred monolithBOT
austere talon
#

cause im unsure what it does

fleet depot
#

o yea

#

when server is selected β†’ folder closes basically

austere talon
#

that looks really laggy lmao

fleet depot
#

I K

#

animation JANK

#

i don't get it

#

it's me. im the problem

austere talon
#

oh that's what u said

fleet depot
#

but idk what it is

austere talon
#

Well the plugin uses an animation

#

u gotta fix it probably

fleet depot
#

but when the plugin uses it it works perfectly

#

and when i use it it borks

#

i think it has to do with the click action

austere talon
fleet depot
#

def

austere talon
#

no idea, maybe @agile gull can help

fleet depot
#

hmM

charred monolithBOT
charred monolithBOT
#

perhaps something that isnt useful in the moment can be a day later? idk personally i was very disappointed when i found out vencord logger deletes logged messages after restarting discord. also irritating how there's no actual log but that makes sense cause ur only gonna have like 10 max logged messages at a time probably

cunning canyon
#

oh i'm one thousand

fleet depot
#

i just found something really weird

#

has anyone gotten a false positive on an invisible chat before

#

i asked the person who sent it and they had no idea what i was talking about (i don't think they're trolling)

#

yet i still have this lock icon next to their message

austere talon
#

it means their message has zero width chars

fleet depot
#

ah

#

okie

austere talon
grave mangoBOT
fleet depot
#

yep

#

neato

austere talon
#

did they copy a channel mention or

fleet depot
#

yep

austere talon
fleet depot
#

looks like it

#

well

austere talon
#

it might be that discord uses a char like that in it

#

is this no access for u

#

try copying from it and see if you get the same

fleet depot
#

it's #Unknown for me interestingly. b'yeah either one

austere talon
fleet depot
#

i think they're different. cuz the guy must have copied it exactly to have picked up the WJ and also on my phone the one he saw as no access also showed to me as #No Access

austere talon
#

the first one I sent is a message link the second one a channel mention

fleet depot
#

they're both just #Uknowns to me

austere talon
#

but yeah that should answer ur question

fleet depot
#

ye

#

ty

austere talon
#

no access might be #v part 2

fleet depot
#

is that unknown

austere talon
#

Unknown

#

ye

true gullBOT
#

Unlown

austere talon
fleet depot
#

okie makes sense
channels of servers you're not in are unknown
channels you don't have perms to se are no access

#

it's #v part 2 lol

austere talon
#

oh

#

show hidden channels moment

fleet depot
#

i thought you'd edit it but that never happened

#

probably

#

OH

#

right

austere talon
fleet depot
#

forgot about that

austere talon
#

is this no access

fleet depot
#

nu

#

ill have to check my phone

#

one sec

fleet depot
#

Yep

austere talon
#

the previous ones I sent are from different server

fleet depot
#

also everyone one of these fancy channel links has the WJ

austere talon
#

I have it on too from testing stuff related to it

fleet depot
#

@fleet depot time to test ping

austere talon
#

but I actually hate that plugin lmao

#

So pointless to see hidden channels and it just clutters ur discord with unnecessary channels you can't use anyway

fleet depot
#

nothing in ping ig

fleet depot
#

idk when i saw vencord had it even tho BD removed it i enabled it just for the "that's cool it's back" vibes but then never disabled it

limber skiff
#

no bully show hidden channels I spent so much time on it 😭

fleet depot
#

if you hadn't made it imagine how many plugin requests we'd get all demanding it

austere talon
#

nah its a good plugin I just don't personally like it

#

I never used the BD hidden channels plugin either

limber skiff
#

lol I have it enabled but I barely use too

limber skiff
#

that's why I'm not the first dev in the plugin dev list

#

but I did completely rewrite it

austere talon
#

but nookies is insane and rewrites plugins

limber skiff
#

nah tbh I do use shc

#

to see people in hidden voice channels

#

that one is useful

austere talon
limber skiff
#

yeah I saw

#

maybe I will fix

austere talon
#

that'd be nice but don't waste ur time on the Web context menus ones they're literally false positives somehow

#

idk my force chunk loader is broken or smth

limber skiff
#

ye

charred monolithBOT
#

Hey there, first of all i really like Vencord ! the project is criminally underrated and it doesn't get the recognition it deserves!
I wanted to support the project by translating the Installer in French to make it more accessible. I created a '''FR''' folder where i translated cli.go, find_discord.go, gui.go, patcher.go, self_updater.go and util.go. I translated the readme as well.

I didn't use GO in my life so I didn't know how to make the installer detect the language of the system an...

lime stone
#

lol

#

Lintgit add .

#

I have no idea what happened

#

oh, does !! do something

charred monolithBOT
#

Don't repeatedly fetch modules on an event.
Fetch them once.

import { findByPropsLazy } from "@webpack";

const getGuildsTree = findByPropsLazy("getGuildsTree");
const getGuildCount = findByPropsLazy("getGuildCount");
const lurkingGuildIds = findByPropsLazy("lurkingGuildIds");
const joinGuild = findByPropsLazy("joinGuild");

export default definePlugin({
    name: "PermLurk",
    description: "allows you to perm lurk guilds",
    authors: [Devs.Jup],

    flux: ...
quaint sapphire
#

fish doesn't have it 😭

lime stone
#

oh

violet hazel
#

πŸ™‚