#πŸ₯-vencord-support-πŸ₯

1 messages Β· Page 2 of 1

latent nebula
#

why is the branch named iLoveSpam

rough saffron
#

I love spam

latent nebula
#

holy shit scary

rough saffron
#

lmao

left crater
#

its the same thing as swap mem

shell veldt
#

how were you this outdated holy shit

left crater
#

you can reduce in system settings

rough saffron
#

xd

left crater
#

its useful if you have a tiny amount of ram

latent nebula
shell veldt
latent nebula
rough saffron
#

damn

left crater
latent nebula
#

do i install and build again?

rough saffron
#

ye

left crater
#

sorry for the dimmed ss

latent nebula
#

fucking advanced

#

why do they hide it in buttons in buttons

#

the fucking tabs

trim knoll
#

I once had ubuntu and windows 10 dualboot, tho at one point I saw myself not having practical use on on linux and went through configuring the boot path back to normal

latent nebula
#

i think you got your wordings the other way around

#

i have no proctical use on windows

#

protical

left crater
#

i had to dual boot arch once because refactoring decompiled discord wasn't possible on an ntfs fs

rough saffron
#

I updated to 22h2 and it bricked my grub

trim knoll
latent nebula
trim knoll
#

tho I won't deny the fact that stuff would run faster and smoother since at the time my laptop was a freaking dual core

latent nebula
#

So I deleted page and now it's 3x slower, what was I expecting?

#

lesgooo

#

ty yall πŸ’œ

prisma mica
#

still havent figured why my plugin is not being listed but cgaf rn stuck watching jjk 0

blissful plank
#

is pnpm just npm with global package cache?

rough saffron
#

pretty much

#

and just better tm

#

but so much storage is saved by using it

#

symlinks my beloved

prisma mica
#

no since it wasnt doc'ed gonna do when i finish doing my thing

eager wolf
#

does vencord still working after new discord changes?

left crater
#

yes

eager wolf
#

alr ty

shell veldt
#

πŸ’―% now

cosmic kite
#

I fixed banger was ez

#

wait modals work now

shell veldt
cosmic kite
#

lmao

shell veldt
#

I mean modals aren't hard to fix just gotta write filters to find them

blazing jewel
#

yo waddup peoples

#

i have a question

#

i just installed vencord and wanted to ask if there are any plugins like messagelogger for betterdiscord?

charred nebula
charred nebula
#

Here is the pr if you wanna have a look

blazing jewel
#

thanks!

#

Also, is it possible to get themes from betterdiscord or is there another way to get themes?

charred nebula
#

yeah

blazing jewel
#

alriightttt tyyy

charred nebula
#

you can use uhhh

blazing jewel
#

?

charred nebula
#
@import url("https://raw.githubusercontent.com/blah/blah/main/theme.css");
#

this is how you import theme

blazing jewel
#

ohh thanks

brazen coral
#

to import a theme u just copy+paste into quickcss right?

frail smelt
#

yea

grand juniper
bright vortex
#

everyone is discord staff now

grand juniper
#

zt is real discord staff

bright vortex
#

yes

potent jay
vale scaffold
#

kinda irrelevant reply

#

@potent jay ur question is uhh, not really a good one, it won't help you even if we answer

#

everybody learns in a different way after all

#

it is not hard to learn CSS, it just might take time

#

personally i learnt CSS by looking at other websites

#

making simple websites is another way to learn it

sly fog
#

speaking of css, how would you import a custom font into quickcss? Tried using fontface and just linking a stylesheet but it only wants to load discord default font, or microsoft default fonts

vale scaffold
#

did you look at the console? it might be a CORS issue

sly fog
#

also just recently started learning css through learning html, definitely start with makin some dummy websites locally @potent jay

#

Thought that could've been an issue, but I was loading it through jsdelivr CDN so I figured they would like, not have that issue on their end lmao

potent jay
vale scaffold
#

also, oh my god what a terrible font

sly fog
#

I got mamp, to host my own webserver, then just started watching youtube videos on how to make websites in HTML, naturally goes into css, and all that fun stuff after for styling. Courses can definitely help though, it got a bit lost on me before doing it through school, but it definitely gets easier

#

jesus my eyes

vale scaffold
#
@import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap');

* {
   font-family: 'Silkscreen', cursive;
}
#

i often watch youtube channels about css, so i learn by doing that as well

#

like web dev simplified, Kevin Powell, etc

sly fog
#

It's unfortunately not a font that's like, anywhere on adobe fonts or google, basically some dudes github passion project, but it was being hosted through a CDN for people to use so figured I'd try with this, I'll mess with it some more, I feel like I know a way to get it to work but it's unreasonably complicated

vale scaffold
#

why not use a github link?

#

or is it not on github?

sly fog
#

yes and no, it's like a rebuild of an abandoned font, so the github is basically a program to generate the rebuilt font, no raw link to the font itself

sly fog
#

got it

#

Was importing the wrong css file, and on top of that, didn't put a line break..... I don't wanna talk about it

green dagger
#

How can I get current user in a patch

shell veldt
#

Vencord.Webpack.Common.UserStore.getCurrentUser()

green dagger
#

ty

green dagger
shell veldt
#

for staff only things

#

like discords own devtools (not the browser ones)

green dagger
#

I'm fixing the thing so it applies staff flag only to current user

#

do they need to have a check too?

shell veldt
#

the hasFreePremium patch is only there because staff have free premium so it's to remove that feature so the client doesn't wrongfully think you have premium

gritty kernel
#

(BTW if your confused premium could be nitro in the code)

green dagger
#

But it doesn't have to be overrided in the isStaff plugin because it checks if the user's staff with the already overriden isStaff(), so not sure why it's being patched at all

shell veldt
#

because isStaff() is hardcoded to true so isPremium() will also return true

#

which is unintended

#

you don't want the client thinking you have nitro when you don't

#

but every staff has nitro automatically

grand juniper
lyric echo
#

is using the nitro spoof stream thing safe to use?

shell veldt
#

yes

#

technically no since they could easily detect it but discord doesn't care

#

I use it all the time

muted marsh
#

keep in mind it makes you look poor

lyric echo
#

welp if one day discord gonna kill us

earnest kiln
foggy plank
#

is vencord compatible with bd

#

also vencord in chrome store when

hazy breach
foggy plank
#

why

hazy breach
#

actually on second thought it might be possible as gm was on chrome store

foggy plank
#

yep

shell veldt
random siren
#

I will add

shell veldt
#

I'm not paying Google money to host my extension on their store

round tree
#

So uhh... Anyone else seeing this for every user in a private chat?
Turned off the custom css to see if that was interfering and it was persistent.

foggy plank
random siren
foggy plank
#

how do you use custom css in browser version of vencord

charred nebula
#

You cant

foggy plank
#

aw

charred nebula
#

Id suggest using Stylus if you want custom css

foggy plank
#

well Ive been always using the one built in the client mod

#

like in goosemod before

#

easy backup and restore

shell veldt
#

easy backup and restore how?

nocturne root
#

were is the the location were vencord searches for installed discord clints. I cant find it or i am to dumb to find it in the patcher.js so i can change it so that it finds my instalation if i dont have it on the default path?

shell veldt
#

checkout the installer-custom branch

#

or whatever I named it

charred nebula
nocturne root
#

i guess i am to dumb and i am not even suprised

shell veldt
#

oh

#

where tf is ur discord at anyway

nocturne root
#

ok intresting

#

it seemlike the script is not asking for a costum instalation when it doesn not detect it

shell veldt
#

yes

night hollow
#

are you trying to install it on a portable version or something?

nocturne root
#

~/scoop/apps/discord-canary

#

i guess it would be nice to be able to skip the check of if discord is installed and go forward and be able to define a path anyways

bronze stump
#

horror

frail smelt
#

trolley never seen discord installed through scoop

#

but ig package managers do exist

nocturne root
#

if (menuItems.length === 1) {
console.log("No Discord installations found.");
process.exit(1);

#

changed the 0 to a 1 and it works now

#

or it should

night hollow
#

How the fuck

nocturne root
#

that is something new

#

good that i dont understand java and only make guesses

shell veldt
#

just install without scoop

#

or bug megu to support

night hollow
#

yeah you're fighting a losing battle by trying to use package managers on windows

nocturne root
charred nebula
#

First of all, did automatic installation not work?

#

send a ss of output

#

???

#

Why would you uninstall git and njs

#

that still doesnt explain

nocturne root
#

your executuion policy is set wrong

#

Set-ExecutionPolicy RemoteSigned should do it

#

more or less you try to run a script with the setting beinglike dont run scipts more or less

#

^^

shell veldt
#

Also don't uninstall node and git

#

it's needed for updates

viral harness
#

lets say i need to make a patch that adds an import

#

how would I name the variable so that it wouldn’t break anything?

left crater
#

wha

#

elaborate

green dagger
#

and how to make more efficient

viral harness
#

like var a = n(274637)

#

I need to add one of those

left crater
#

a better solution would be to:
make a patch for the target module that makes an export thats clearly named
find the module at plugin start and assign to plugin
use the module by Vencord.Plugins.plugins.Yourplugun.cachedmodule

#

probably easier as well

#

I did this in message logger

shell veldt
#

you know you can just return condition? xD

shell veldt
#

do what rusher said

green dagger
green dagger
shell veldt
#

that function is just a getter

#

in fact discords themselves call it multiple times a second

viral harness
ebon flicker
viral harness
#

@green dagger I believe this is the most efficient way

green dagger
#

pr if you want

#

I'll link yours and close mine

ebon flicker
#

Oh you’re here too

green dagger
#

i joined from dejays

#

lol

green dagger
#

πŸ‘

viral harness
#

and it returns isstaff correctly on actual staff members too

#

which is kinda unnecessary but at least its the full staff flag experience

#

you also forgot to credit yourself in the first pr lol

potent raptor
#

i need help

left crater
#

love someone else had the same problem

#

are you using minTTY

eternal knot
#

can plugins add css?

muted marsh
#

yop

eternal knot
#

how

muted marsh
#

i forgor πŸ’€

potent raptor
left crater
#

use cmd

potent raptor
#

im using git bash

#

oh le met try cmd

left crater
#

mingw

#

same problem

potent raptor
#

cmd whit admin or normal?

left crater
#

normal

left crater
potent raptor
#

Fixed yes

#

thanks

foggy plank
#

its convenient

charred nebula
#

Stylus is a browser addon

#

How is that not more convenient

random meadow
#

what does norpc actually do like what does it mean

ripe rivet
#

disable/hide rich presence maybe?

random meadow
#

I still see others. Is it supposed to "not send discord my own rpc" or what

frail smelt
#

yes

random meadow
#

well thats stupid if Im never even online it doesnt do anything

frail smelt
#

ok then dont use it lmfao

#

??\

real mountain
#

RPC is "remote procedure call", it isn't just rich presence

#

it's what allows games to connect and request information from your discord client, and is what allows discord to automatically log you in from browser credentials as well as opening invite links in the desktop app from your browser

#

it has nothing to do with your rich presence status actually being sent to discord's servers - rpc is purely a local machine thing

bronze stump
#

bad boy

random siren
#

You will show terminal output

shell veldt
#

ya screenshot terminal

#

system32

prisma mica
shell veldt
#

do it again and this time open cmd as non admin

prisma mica
#

this happended one time

random siren
#

My man installing Vencord to system32

bronze stump
#

baaaaaaaaaad boy

prisma mica
shell veldt
random siren
#

Yeah ik

#

Othereise it opens in user folder

broken tiger
#

hey sorry to even have to ask but does the fake nitro work and what does it allow

#

I did see something about the .isStaff stuff

shell veldt
#

Read its description

broken tiger
#

Sorry papa spook ill go read now

#

All i see is the hasFreePremium edit

#

but just diddt know if that gave anything cool

#

other than being part of the devtools stuff

shell veldt
#

why you reading code instead of description lmao

broken tiger
#

"Gives access to client devtools & other things locked behind isStaff"

#

Hurr Durrr imma dummy

#

i just wanted free bigger uploads kek

bronze stump
#

i forgive you

shell veldt
broken tiger
#

wait rlly?

shell veldt
#

that's isStaff not nitro stuff

broken tiger
#

nitroBypass

#

why id i not see that

#

am i the dums

shell veldt
#

nitro stuff is just freemotes and Max quality screen share

#

anything else not possible

broken tiger
#

dayummm well ty

prisma mica
#

enable increase free file max size or whatever in experimental flag discord updated it to 25MB or maybe just upload to 3rd party and share the link husk

shell veldt
#

is it not api locked

prisma mica
#

ok they did actually api locked it i did not try sending files

green dagger
#

any way to get user's settings for discord

crystal frost
#

yes but you dont know what key is which without remapping it

#

prob have to be an API

rugged grove
#

banger seems to be broken

#

doesn't play the mp4, just shows the static beginning image

broken tiger
#

'uninject' is not recognized as an internal or external command, operable program or batch file

Poggers... Guess I have to reinstall Discord now.

charred nebula
left crater
#

it should work

broken tiger
#

pnpm uninject, but nevermind. I just reinstalled Discord and it's all gravy now.

night hollow
#

yeah lol

broken tiger
#

No, I was running pnpm uninject

#

But like I said, it's all good now.

night hollow
#

well then you either modified the error message or pnpm wasn't installed

random meadow
#

which plugin shows the idle status I forgot

crystal frost
#

wdym idle status?

random meadow
#

I'm trying to disable it thats why I'm asking

dreamy trellis
#

uh just change your status?

random meadow
#

that's not it. It's a plugin on vencord. I'm trying to turn it off.

raw dome
#

IDLE STATUS: ACTIVE

dreamy trellis
#

I don't get what you mean, sorry

raw dome
#

disable whatever plugin does that?

shell veldt
#

you enabled a developer option lmao

raw dome
#

πŸ˜‚

shell veldt
random meadow
#

oh god nvm its part of IsStaff which is very annoying I use a few of the is staff things

crystal frost
#

...this is why you dont let random fucks have access to this shit...

shell veldt
crystal frost
dreamy trellis
#

lol i was so confused

random meadow
viral harness
#

isStaff is pretty useful btw

viral harness
#

not enable it

gray sun
#

how to use themes?

ember hound
#

where to PUT- custom CSS?

shell veldt
#

nowhere yet if you're on Web

broken tiger
#

Hey can someone help me. I tried to install vencord I did all the steps downloaded git and js but when I lunch discord it's stuck on update failed. only if I open it with admin it will open but without vencord. How do I fix this?

shell veldt
#

show screenshot

broken tiger
broken tiger
#

erm this may sound dumb but what do i do if i use 2 themes on BD and want to transfare them to vencord

shell veldt
#

import them in quickCss

#

gonna add theme support eventually

broken tiger
#

they are custom and not on github tho?

shell veldt
#

custom made by you?

broken tiger
#

by a friend

shell veldt
#

put them on github / similar and import by url

broken tiger
shell veldt
#

or use the discord cdn url

broken tiger
#

is this πŸ™‚

shell veldt
#
@import url("https://cdn.discordapp.com/attachments/1026515880080842772/1029763130131222598/unix2.theme.css");```
#

put this on top of ur css

#

should work

broken tiger
#

oh yay nazi backgrounds back

shell veldt
broken tiger
#

eeee

#

wait

#

it doesnt fir the same 😦

#

fit

shell veldt
#

how

broken tiger
#

wait nvm

#

is there a way to change text color on messages

#

hmmmm

shell veldt
#

is the theme supposed to change them?

broken tiger
#

no

#

but the text is sometimes hard to read

#

see

rough saffron
#

have you considered not putting text in your background

#

that's generally not good design

night hollow
shell veldt
night hollow
#

no i dont like the nazi shit either, but it's funnier to point out the shitty font

crystal frost
night hollow
#

that makes more sense lmfao

shell veldt
#

font Lora

charred nebula
#

font trolley

charred nebula
night hollow
#

Still a fucking serif font

#

Which looks shit anywhere but a printed book

broken tiger
#

is not stealing πŸ˜›

night hollow
#

so not only do you have a nazi theme, you didnt even bother writing it yourself?

charred nebula
#

nazi moment

#

makes sense

broken tiger
#

yes πŸ˜›

broken tiger
grand juniper
#

why is vencord browser extension keep getting uninstalled im going to explo

shell veldt
#

what browser

#

I think the install is just temporary for one session

#

beg @left crater to finish his extension pr

grand juniper
grand juniper
grand juniper
#

rushii is keeping all the good prs to themselves

left crater
#

yop

shell veldt
#

I enabled strict branch protection rules for prs (not actually that strict it just forces u to rebase first)

#

rusher loves

left crater
left crater
grand juniper
#

building for web and dragging in the extension.zip into chrome://extensions

left crater
#

does it not prompt you to keep unsigned extensions on restart

#

chrome says it does

shell veldt
#

nop

#

it yeets it trol

#

you need to build crx

left crater
#

guhhhh

#

gUh

grand juniper
shell veldt
#

does Firefox one also work on chrome

#

have u tested rusherrrr

left crater
#

no

#

I dont think xpi works on chrome

shell veldt
#

hus

left crater
#

anyways someone make a website to distribute extension

#

:bleh:

shell veldt
#

wait

grand juniper
shell veldt
#

try this @grand juniper

#

unzip the extension somewhere

#

then do that with the folder

#

then install that and see if it persists

grand juniper
#

alr sure

shell veldt
real mountain
#

just load unpacked chrome extensions guh

shell veldt
#

mv3 loric

shell veldt
real mountain
#

it does not

#

I have been running with unpacked extensions in chrome for months

shell veldt
#

eh

real mountain
#

maybe loading it as a zip unloads at each restart

shell veldt
grand juniper
# shell veldt

so when i drag in the .crx nothing happens, am i supposed to do something with .pem

shell veldt
#

Well good luck making a .pem file cross platform tonguecat

grand juniper
#

hhh

shell veldt
#

wdym nothing happens

#

just nothing?

#

try using the folder like Kate suggested

real mountain
#

even restarting with the zip it persists between restarts for me

shell veldt
#

maybe you enabled some preference

#

pretty sure it nuked itself for me as well

grand juniper
grand juniper
shell veldt
#

but as I said just beg rusher to figure it out xd

grand juniper
#

love

#

but also this time i cleared the manifest v2 error

shell veldt
# shell veldt Well good luck making a .pem file cross platform <:tonguecat:1013251244787253258...

rusher will try ```js
import crypto from 'crypto'
import { writeFileSync } from 'fs';

const certKey = crypto.randomBytes(1024).toString('hex')
const certKeyFormatted = certKey.match(/.{1,64}/g).join("\n")
const certContents =
'-----BEGIN CERTIFICATE-----' + "\n" +
certKeyFormatted + "\n" +
'-----END CERTIFICATE-----'

const filePath = 'signingKey.pem'

writeFileSync(
filePath,
certContents,
{ encoding: 'utf8' }
);```

#

@left crater tonguecat

#

inb4 something something not cryptographically secure but who care

real mountain
#

i will publish vencord to the webstores

shell veldt
#

mm

#

do u have chrome developer license

#

Apple too

#

doesn't it cost a fortune

real mountain
#

chrome is like $8 and yea

shell veldt
#

Also gotta make Web actually good and self update before that

real mountain
#

apple no I don't but safari isn't important shrugmin

shell veldt
#

true screw apple users trolley tonguecat

#

mmh how do extensions update

#

do browsers do it for u?

real mountain
#

yeah

#

you just publish a new version to the store and they pull it automatically

shell veldt
#

xd I use browser without webstore integration so I don't have that

shell veldt
#

but imo making new version for each git commit is meh

#

probably could make it either tag based or make extension preload fetch the code

#

is that even allowed (the latter)

real mountain
#

I think it might be, considering things like tampermonkey exist

#

that said, userscript support would be easier in all aspects and support all browsers that support userscripts

shell veldt
#

yeah

#

that's planned anyway

#

shouldn't be too hard

#

but userscript seems a little painful to do in regards to updating

real mountain
#

dedicated extensions could probably be scrapped in favor of a userscript that autoupdates over gh pages

shell veldt
#

the main challenge is the fact that vencord has to load before discord

#

this means async isn't acceptable for the initial loading

#

do userscripts have a kind of preload?

real mountain
#

tampermonkey at least lets you specify an updateUrl for your script

#

it'll auto update from it periodically iirc

shell veldt
#

yeah that's true but then I gotta bump spam

#

ig it's not a big deal

#

users will love Vencord v67.18.124

real mountain
#

in whatever build script you have for the userscript you could probably just set the version to the commit hash

shell veldt
#

how does the updating work? does it just fetch the provided url and compare version header?

real mountain
#

looks like we may not need to specify the update url at all then (from the rest of the SO post)

shell veldt
#

yeah

#

but how do you make a button to install user script from github

#

especially if its gonna be a release which it should be imo

shell veldt
#

same but it's easiest for cross platform support

real mountain
#

I think some userscript extensions check to see if a page is a userscript and then render an install prompt instead of the script contents over it if it is

shell veldt
#

mm

left crater
shell veldt
#

okay looks like just raw link works

#

for user script install

#

can you link to js file in release

#

probably no

real mountain
#

(or something like that, if I made typos)

shell veldt
#

ya but that's download

#

I think to make it show as text instead of download you need to have the right content type (text/plain) ?

#

so release probably won't work

#

I don't wanna do builds branch again that's cursed

real mountain
#

yeah it looks to just download it directly

#

hm

shell veldt
#

Well it's just one file so shrug guess gonna push to the repo

broken tiger
#

i dont fucking get it

real mountain
#

how did you install pnpm

broken tiger
#

pnpm is installed, didnt realize i needed node.js installed

prisma mica
#

huh??

#

how does that work now

broken tiger
#

didn't have git installed either...

#

i think a list of dependencies would be cool

strange hare
broken tiger
#

well shit i dont see it in the readme unless im actually fucking blind

real mountain
broken tiger
#

build is not a git repository

#

oh i was using cyn's version, the readme there is barren

#

ok it worked cool shit

green dagger
#

πŸ™‚

broken tiger
#

can someone help me, I tried to manually install vencord because the regular install didn't work and it gives my this error: How do I fix this?

random siren
#

C:\Users

#

not C:Users920392

charred nebula
#

you are missing several slashes

broken tiger
#

I putted it with sleashes

random siren
#

put double slashes

#

like this \\

shell veldt
#

you're using ancient installer

#

oh he did it manually

#

use / not \

broken tiger
shell veldt
#

make it \\ or /

random siren
broken tiger
#

lemme try

random siren
#

@shell veldt vencord no work

#

fix eta wen

broken tiger
#

πŸ˜‘

shell veldt
#

you removed :

broken tiger
#

where?

shell veldt
broken tiger
shell veldt
#

it's C:

#

why are you even installing manually anyway

shell veldt
#

you should have just posted the issue that happened with the installer

#

but all good as long as it works now who care tonguecat

floral silo
#

hey how would i trun the proxy settings from vencord back to an object


let settings = Vencord.Settings.plugins['CoolestPlugin'];
let realData = {...settings.data} // Uncaught TypeError: Cannot create proxy with a non-object as target or handler
Object.assign({}, settings.data); // Uncaught TypeError: Cannot create proxy with a non-object as target or handler
_.cloneDeep(settings.data); // Uncaught TypeError: Cannot create proxy with a non-object as target or handler
JSON.stringify(settings.data); // Uncaught TypeError: Cannot create proxy with a non-object as target or handler

I tried these and they just give the same error and have no idea whats going on

is there someway to store the data on the client without using vencord settings? like for example using fs.writeFile

left crater
floral silo
#

i see

#

ill use localstorage for now πŸ˜”

broken tiger
#

Is there a way to unplug vencord?

#

(manually added)

#

i accidentally closed discord and when i opened it my discord gets stuck on this

#

its 100% freezing but im not sure why

#

(openasar + vencord)

shell veldt
#

anyway that works fine for me

#

what is data?

floral silo
#

some data from an api

#

i set it using settings.data = data
yk

shell veldt
#

can you show me what it actually is

#

run Vencord.Settings.plugins.CoolestPlugin.data

#

i wouldn't mind exporting non proxied settings if there's actually a use case but everything you sent works fine for me with all sorts of data types i tried

floral silo
#

its basically just a discord message object

shell veldt
#

why are u storing the entire message in settings

floral silo
#

stuff

#

logging deleted messages hehhe

shell veldt
#

are u working on the pr or making it from scratch

floral silo
#

its not a pr tho just a plugin for my self

#

also what do you mean by from scratch?

shell veldt
#

theres already a message logger pr lol

floral silo
#

WHAT

shell veldt
#

anyway i found the issue

#

as for obtaining the non proxied version,
Vencord.Settings.plugins.Test.toObject() ?

#

as for obtaining the non proxied version,
Vencord.Settings.plugins.TestNoProxy?
Vencord.PlainSettings.plugins.Test?

shell veldt
#

i went With Vencord.PlainSettings

floral silo
#

interesting

shell veldt
#

okay pushed fix

#

but also

  1. there's a pr for message logger
  2. for storing massive amounts of messages you
    a) shouldn't store the entire object
    b) shouldn't use Settings api, look into IndexedDB or similar options instead
shell veldt
#

it was an issue with typeof null being object so it tried to proxy null which isn't supported

#

I just had to add a special null case

potent sable
#

@nocturne sierra

nocturne sierra
#

I'm following Megu's instillation guide and I keep getting this error

#

I'm following the guide step by step

#

I've installed both Git and Node.JS LTS already

prisma mica
#

system32 husk

nocturne sierra
#

the package file is there so I don't know if thats not it

prisma mica
#

yes it is but why are u in sys32

nocturne sierra
#

no idea lol

#

powershell spit me there by default

strange hare
#

u get put in sys32 when u open command prompt as administrator

nocturne sierra
#

I had to or else it wouldn't let me install

#

I couldn't run scripts

left crater
#

you have your execution policy set wrong

strange hare
#

^

#

main reason why i moved to linux

left crater
#

@shell veldt guhhh add execution policy step to install directions

strange hare
#

tru

prisma mica
#

or maybe make a gui install app husk

left crater
#

nop

nocturne sierra
#

gui isn't needed tbh

prisma mica
#

isnt there one in go

left crater
#

thats cli

prisma mica
#

oh

nocturne sierra
#

this instructions seem simple enough

left crater
#

we dont need stupit bd users

#

(9 year olds)

nocturne sierra
#

I was a powercord user lol

#

okay time to google how to change execution policy

#

but first should I remove vencord from sys32

prisma mica
#

Set-ExecutionPolicy -Bypass

#

or whatever

prisma mica
strange hare
#

windows expert

nocturne sierra
#

yeah it was pretty easy to install, just needed to change settings to allow me to install scripts

#

I don't know if there was another way to do it, but I had to run powershell as an admin in order to do it

#

then close it and run it normally

prisma mica
#

windows exexution policy thats why

balmy crest
#

cant build for web for... this reason

muted marsh
balmy crest
#

its also not uninjecting when i ask it to...?

#

k nvm that was me being lazy

#

had to kill the app

near aurora
balmy crest
#

ty riven

near aurora
#

Fancy seeing you here

#

Why would you need both builds though?

balmy crest
#

absolutely no reason OMEGALUL

#

it just Didn't Work

near aurora
#

Just like lvsfunc if you don't have an nvidia card

#

Src just dies on a command or file not found error

balmy crest
#

LOL

near aurora
#

Oh shit this is support

left crater
balmy crest
#

16.4.0

viral harness
#

πŸ—Ώ

muted goblet
#

can anyone help me installing vencord. ive been trying to install it for the past hour an a half

muted goblet
#

Ive been stuck here

#

and i did install pnpm

broken tiger
#

globally?

muted goblet
#

yeah.

#

i think so.

charred nebula
#

Can I see the cmd you used?

muted goblet
#

to install pnpm?

charred nebula
#

yea

muted goblet
#

npm i -g pnpm

charred nebula
#

huh

#

thats weird as all fuck

#

well

#

Try replacing pnpm commands with npx pnpm

#

Maybe it will work

#

idk tho, because trolley

muted goblet
charred nebula
#

dont react husk to that

muted goblet
#

seems like with npx it actually sees it

charred nebula
#

yeah

#

because npx doesnt actually install pnpm

#

but it should "in theory" work

#

actually

#

1 second

#

yeah it should work

muted goblet
#

the fuck

charred nebula
#

your sudo is fucked

#

thats my only logical conclusion

muted goblet
#

I literally just reinstalled my entire wsl to fix sudo

#

so idfk what the issue is

charred nebula
#

wait what

#

why are you using wsl

#

do you run discord off wsl???

rain violet
#

wtf

muted goblet
#

no.. im using wsl so i can use sudo to bypass the damn perms. cuz if i use a diff terminal it says i dont have permission.

charred nebula
#

what?????

muted goblet
#

i have a corrupt permission registry key on this system. and i cant edit it what so ever, even if i log into the administrator account i cant delete it from there.

prisma mica
#

why not just reinstall windows husk

muted goblet
#

because i don't fucking feel like spending 3 hours doing that

charred nebula
#

stupid fucking hack for a stupid fucking problem holy shit

rain violet
#

i can speedrun windows installation in 15 minutes

charred nebula
#

Better yet

muted goblet
charred nebula
#

I can speedrun linux installation in 10 minutes

misty fractal
#

3h installing windows ?? wth

muted goblet
#

windows 11-

misty fractal
#

windows 11 🀒

muted goblet
#

Windows 11 isn't as bad as it used to be lol.

#

still alot of issues but most of those issues should be fixed in the next huge update, which i believe the release date is soon

#

Yeah it should release on september 20th

#

It has a completely remade task manager which is what am looking forward to cuz the current one is so unoptimized.

broken tiger
#

have you tried just using npm

muted goblet
#

yes.

broken tiger
#

rip

bitter elm
muted goblet
#

the version 22H2 of win11

#

which has fixes for most current issues

bitter elm
#

that was almost a month ago but okey

muted goblet
#

search index fixes, completely revamped and optimized task manager and alot of other things.

#

oh wait am dumb

#

i thought we were still in september

#

am stupid'

violet dew
muted goblet
#

21H2 or 22H2

#

21H2 task manager works for me its just painfully slow

violet dew
#

22H2

#

and yes, it fucking sucks when you have to literally wait

#

also commandlines seem to be broken too

#

i wish they hadn't remade the task manager like who cares it's a taskmanager

muted goblet
#

Well i care because of it being so unoptimized and slow that upon opening it, it lags my entire pc for like 10 seconds before finally loading correctly after a minute.

#

And my pc is a 3000$ gaming pc.

#

Task manager shouldnt be lagging the whole thing

vague acorn
#

ngl thats impressive

muted goblet
#

the fact that task manager lags my pc?

violet dew
#

the fact that youre this dumb*

vague acorn
#

well i wasn't going for that lol

violet dew
#

no problem bro

vague acorn
#

🀝

mild hound
#

uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh idunno if its normal or not but when I'm in a vc it shows 0 ms ping

left crater
#

probably bug or not updated

vale scaffold
charred nebula
viral harness
#

is there a way to subscribe to a gateway event

#

without patching anything

shell veldt
#

FluxDispatcher

narrow trench
#

Uh, spotify keeps doing this

viral harness
#

ok

viral harness
#

thats what im trying to do

#

nvm im dumb

#

why cant I subscribe to CHANNEL_UPDATE 😩

viral harness
#

for some reason

#

im changing the channel name on CHANNEL_UPDATE

#

but its not changing in the client

#

ok I just used ChannelStore.getChannel instead

shell veldt
#

what

viral harness
#

I fixed it

frosty viper
#

OwO

gritty kernel
#

bros blessed

mild hound
mild hound
#

also I cannot share my screen. I mean I can until someone tries to watch it. The preview of the screenshare just completely freezes and other participant says "it just loads" then my whole client just freezes and restart REALLY SLOWLY.

echo marsh
#

so I'm trying to add a reply feature to message actions, but I'm stuck with this error: MessageClickHandler: Listener encoutered an unknown error. (TypeError: i is not a function)

#

the code I've added is the following: ```js
const replyMessage = findByProps("replyToMessage");

// somewhere else in the code

else if (!isMe && event.detail >= 2 && !isEditing(chan.id, msg.id)) {
replyMessage(chan.id, msg.id, msg.content);
event.preventDefault();
}```

shell veldt
#

findByProps returns the exports object

#

so it would be js const { replyToMessage } = findByProps("replyToMessage")

#

you can also disable minify in the build.mjs file (search for minify: true and set it to false)

#

I was gonna do that for development anyway but uhh forgot

echo marsh
#

seems like it returns a different error: js Failed to start MessageQuickActions TypeError: Cannot destructure property 'replyMessage' of 'X(...)' as it is null.

shell veldt
#

then ur findByProps failed

#

are you doing it on top level?

#

you can't

echo marsh
#

top level?

shell veldt
#

show code

echo marsh
#
import { addClickListener, removeClickListener } from "../api/MessageEvents";
import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
import { find, findByProps } from "../webpack";
import { UserStore } from "../webpack/common";
import consoleShortcuts from "./consoleShortcuts";

let isDeletePressed = false;
const keydown = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = true);
const keyup = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = false);

export default definePlugin({
    name: "MessageQuickActions",
    description: "Quick Delete, Quick edit",
    authors: [Devs.Ven],
    dependencies: ["MessageEventsAPI"],

    start() {
        const { deleteMessage, startEditMessage } = findByProps("deleteMessage");
        const { replyMessage } = findByProps("replyToMessage");
        const { can } = findByProps("can", "initialize");
        const { MANAGE_MESSAGES } = find(m => typeof m.MANAGE_MESSAGES === "bigint");
        const { isEditing } = findByProps("isEditing");

        document.addEventListener("keydown", keydown);
        document.addEventListener("keyup", keyup);

        this.onClick = addClickListener((msg, chan, event) => {
            const isMe = msg.author.id === UserStore.getCurrentUser().id;
            if (!isDeletePressed) {
                if (isMe && event.detail >= 2 && !isEditing(chan.id, msg.id)) {
                    startEditMessage(chan.id, msg.id, msg.content);
                    event.preventDefault();
                } else if (!isMe && event.detail >= 2 && !isEditing(chan.id, msg.id)) {
                    replyMessage(chan.id, msg.id, msg.content);
                    event.preventDefault();
                }
            } else if (isMe || can(MANAGE_MESSAGES, chan)) {
                deleteMessage(chan.id, msg.id);
                event.preventDefault();
            }
        });
    },

#
    stop() {
        removeClickListener(this.onClick);
        document.removeEventListener("keydown", keydown);
        document.removeEventListener("keyup", keyup);
    }
});```
shell veldt
#

so your search fails

#

does findByProps("replyToMessage") work in the console

echo marsh
#

it returns null

shell veldt
#

there's your issue

#

there's no module exporting a replyToMessage module

#

you can check how to create a reply by checking the interactionKeybinds plugin

echo marsh
#

ok, thanks

cunning dirge
#

How can I get better discord for mobile?

hazy breach
#

smartest bd user

cunning dirge
strange hare
cunning dirge
strange hare
#

maybe i shouldn't think about what could possibly be the right server ironmouseSUFFER

broken tiger
#

i followed the manual installation method

dreamy trellis
#

git pull

#

actually:

C:/Users/<your user>/path/to/vencord/...

shell veldt
#

πŸ—Ώ

#

you're supposed to change the path lmao

broken tiger
#

damn sorry
why am i so dumb

#

lmao

shell veldt
broken tiger
#

wait

#

imma try other username

shell veldt
#

bro

#

you need to fix the path lmao

hazy breach
strange hare
#

when file explorer is only ever used for the downloads folder ironmouseSUFFER

broken tiger
#

i.e. C:\Users\{user}\Documents\Vencord

#

or where ever you put it

broken tiger
#

LIKE WTF

#

error in powercord
what.

shell veldt
#

powershell proably

broken tiger
#

oh sorry
powershell

#

i used to use powercord as my discord client recently
so i fucking mixed it up

#

ah

#

it might be because i ran in admin for powershell

hazy breach
#

doesnt it specifically say to not run as admin

broken tiger
#

ok nvm

#

thats only for installing pnpm

#

yeah
it showed error

#

anw

#

it worked now

#

nice

hazy breach
#

yeah makes sense

blazing fog
#

everytime the clients restart for an update i cannot join any vc bcs it just keeps "RTC Connecting...", a restart fixes it but it's strange anyway

shell veldt
#

cant reproduce

blazing fog
#

might be a discord problem, it happened a few times when using pc back in the day but not everytime

azure perch
left crater
coarse quartz
#

In the updater tab

shell veldt
#

hard restart Discord

near aurora
#

Sometimes when I edit messages, my quick css flickers for a bit because it gets reloaded. Is that a Dicksort or a Vencord issue?

#

(will start checking logs before editing, like now)

shell veldt
#

wha

#

css should not get reloaded unless you modify the css file

near aurora
#

That's the best part. It doesn't flicker when I edit it, it just freezes for a second to apply changes

chrome crown
#

help

#

wait nvm

bronze stump
#

@shell veldt you

#

is there a better way to get nanos than

Math.floor(window.performance.now())
#

or an overall better way to get nanos unix timestamp than

`${Math.floor(Date.now() / 1000)}${Math.floor(window.performance.now())}`
bronze stump
#

@rough saffron be nice

rough saffron
#

no no the react was uh

#

why do you need nanos

bronze stump
#

cuz

#

4chan-like timestamps

rough saffron
#

wdym 4chan timestamps

bronze stump
#

when u save an image from 4chan the filename is the unix timestamp in nanos

rough saffron
#

ah

rare sinew
#

im trying to turn off plain icons folder but the plugins keeps it turn on default and i try to unstalling the client and that didnt work

viral harness
#

cope

untold spade
#

when replying to yourself using the interaction keybinds plugin this happens, its not supposed to ping you

#

i dont think its that big of a deal, but you never know

bronze stump
#

wha

#

just turn off ping

#

there's a plugin to have it turned off by default too

sinful matrix
#

test

sinful matrix
bronze stump
#

what

sinful matrix
#

well if you want to be exact replying to yourself normally won't let you ping at all

#

sure it doesn't truly matter but Β―_(ツ)_/Β―

bronze stump
#

cope probably

#

can be easily fixed but idc

near aurora
#

RE: Quick CSS flashing after edits
Finally got it again and the console was helpful!

inland copper
#

@rough saffron be nice.

rough saffron
#

?

#

what

rough saffron
#

hi chat

#

I'm being accused of being not nice and I'm not sure why

frail smelt
bronze stump
#

@inland copper

broken tiger
vague acorn
#

No i did

#

I just posted it on his account

shell veldt
#

it's on revanced server

#

I'm not this talented πŸ˜”

broken tiger
#

Me neither

vague acorn
inland copper
#

cfg

real forum
#

tried to build the extension but it gives me this error

shell veldt
#

get a more recent version of nodejs

#

get v18

real forum
#

k thx

dreamy trellis
#

why do so many windows users have old nodejs versions

shell veldt
#

because lts is v16 I think

real forum
#

bc they instal the lts version

shell veldt
#

I use an experimental feature in build script which ig isn't available in 16 yet

#

should probably add a note that u need node v18 then

real forum
#

yeah

#

lts is still in v16

shell veldt
#

idk why you wouldn't just get latest tbh, lts is dumb concept

#

latest is still stable anyway

rich tide
#

I'm using 16.16.0 and it works fine

shell veldt
#

latest buildWeb?

rich tide
#

the what

#

no idea what that is

real forum
#

vencord worked fine but it was just the buildweb thing that broke

dreamy trellis
#

the web extension

rich tide
#

ohhh

#

i didn't build for web

#

makes sense

shell veldt
#

yes only Web uses experimental feature

#

it's an unfinished proposal so ig it makes sense that it's only in latest and not lts

rich tide
#

why is the spotify crack plugin called ify

#

what's the meaning

strange hare
#

chaos

#

oh shit this is support, retract what i said

shell veldt
rich tide
#

🀨

shell veldt
#

clearly u don't know

rich tide
#

I do not know

crystal frost
#

||spotify without the stop||

nocturne birch
#

so I was trying to get viewicons to work, removed openasar, all other plugins.... banners and server icons still work but no pfps.... wish I could say confidently which update it broke on but I cannot pensivekogasad

rough saffron
#

perhaps its related to having the new profile layout

#

well banners have never worked

#

but pfps work for me

nocturne birch
#

ohhhh maybe, is there an experiments flag for it or am I DOOMED

rough saffron
#

but im on the old profile layout

#

it's an experiment so you should be able to disable it yeah

nocturne birch
#

rad I will try this

#

that fixed it! sorta, banners don't work but pfps do with old profiles pftgifkaguyatea

#

appreciationed

rough saffron
#

yeah banners never worked idk why xd

nocturne birch
#

they do with the new layout oddly enough

#

discord fixed for you...

rough saffron
#

oh banners dont work for me on the old layout

#

lol

nocturne birch
#

yeahhh same, just on the new one, kinda weird

shell veldt
#

it's ur theme or smth

rough saffron
#

i don't have a theme

#

it's just amoled exp

#

which just overrides css vars

#

trol

#

disabling amoled did nothing

nocturne birch
#

both work now, I appreciate your labors prayvanilla

blissful plank
#

is there any universe in which we could write plugins (that need to do react-y tomfoolery) in tsx directly and transpile that to normal ts with something?

rough saffron
#

we already support tsx

#

it'll transpile automatically

#

the plugins folder has a few tsx ones already

#

I think

blissful plank
#

poggers, thank you

rough saffron
blissful plank
#

sorry for being lazy and not reading any docs (yet)

rough saffron
#

nw

blissful plank
#

this seems 100x better that bettergaycord

rough saffron
#

idk if we mention tsx in docs

blissful plank
#

you guys are awesome

rough saffron
#

Best way to learn is to look at existing plugins imo

rough saffron
#

but we do have two guides in the readme

blissful plank
#

main one and urs?

rough saffron
#

ye

blissful plank
#

great, will soonish try to make a plugin for my meme indexer + cdn which (in a perfect world) would have a menu like the integrated gifs one and also put some dynamic button on all media shit like the star for gifs

#

does that seem feasible?

rough saffron
#

yep

blissful plank
#

great

#

thanks again and good night

#

(mini plugin idea: timezone database like the pronouns one)

broken tiger
#

existed for bd

left crater
#

husk

left crater
#

will be waiting patiently for you to finish

#

I've needed this for so long

#

also make it support text only entries

#

I will organize my 5 morbillion images

vague acorn
#

I'll morb you