#๐Ÿ‘พ-core-development

1 messages ยท Page 60 of 1

gentle spruce
#

they do show up in the app launcher when launched once, and after a while

quaint sapphire
#

Just add them to ur taskbar or smth

gentle spruce
#

but not after a fresh boot for some reason

gentle spruce
quaint sapphire
#

That might be an issue with zorin lol

#

Never had that issue on arch Linux with GNOME

gentle spruce
#

not sure, but it does work when its on the same drive

lime stone
#

i just remembered the channel name lol

quaint sapphire
#

Oooooh

#

Is ur drive set to auto mount?

gentle spruce
#

i hope so

quaint sapphire
#

At startup

#

You might want to check that

gentle spruce
#

at least its there when i want to access it and doesnt need to mout before i access it

#

as in, each time i boot, the drives are already mounted

quaint sapphire
#

Just double check it

gentle spruce
#

but maybe it mounts too late for gnome to realize that the apps are actually there? no idea

quaint sapphire
#

Yeah, I think that's ur issue

gentle spruce
#

it does remove entries that point to executables that don't exist, so it might be that

#

the drive just mounts too late

#

how do i check automount

quaint sapphire
#

It might be mounted at user login and not boot

quaint sapphire
gentle spruce
#

ill just keep it how it is rn, it works

#

if i do need to start an ide via the app launcher, i can just restart gnome to make it rescan the apps and it'll work

#

oh nevermind it's an option in the drive manager lmfao

#

there we go

#

lets see if it works

#

no, didn't seem to have worked sadly

#

eh it's whatever

quaint sapphire
#

Or you can just make ur own desktop files that point to a shell script

#

And the shell script launches the IDEs

gentle spruce
#

oh i think i know what might've happened just now, the automount mounted it somewhere else where i didn't want it to go

#

and the automount mounts it as root, which fucks up some permissions

#

ill just take the custom shell script route

gentle spruce
charred monolithBOT
#
[nixos@asus:~]$ sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
Downloading Installer...
X11 detected

Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> n
Running unprivileged
sh: line 51: /tmp/tmp.CRFyUEfCzj: cannot execute: required file not found

I assume this is not a bug caused by the script but a linked file being mis...

#

Here is the ldd output:

~ 
 > http get https://github.com/Vendicated/VencordInstaller/releases/latest/download/VencordInstaller-x11 | save vencord

~ took 5s 
 > ldd vencord
ldd: warning: you do not have execution permission for `./vencord'
        linux-vdso.so.1 (0x00007fff8a6d9000)
        libpthread.so.0 => /nix/store/0z5kcds7b6qmm373s3b5w9ykvqbgw87i-glibc-2.37-8/lib/libpthread.so.0 (0x00007fba9d455000)
        libGL.so.1 => not found
        libX11.so.6 => not found
 ...
#
~ 
 > nix-shell -p libstdcxx5 xorg.libX11 libGL

[nix-shell:~]$ ./vencord
bash: ./vencord: cannot execute: required file not found

[nix-shell:~]$ ldd vencord
        linux-vdso.so.1 (0x00007ffd83158000)
        libpthread.so.0 => /nix/store/1nyg1fvhpz8bx3vn3r9f18zhra2rpbx9-glibc-2.37-8/lib/libpthread.so.0 (0x00007f6d2f285000)
        libGL.so.1 => not found
        libX11.so.6 => not found
        libdl.so.2 => /nix/store/1nyg1fvhpz8bx3vn3r9f18zhra2rpbx9-glibc-2.37-8/lib/...
charred monolithBOT
quaint sapphire
#

You can set terminal to false so it doesn't launch a terminal

gentle spruce
austere talon
weak edge
#

how difficult would it be to implement a plugin that allows native uploads from discord client to a custom file hosting? to avoid the max attachment size limit with for example self-hosted sharex-compatible service

austere talon
#

easy but fairly pointless imo especially now that they increased the limit

#

you can upload up to 500mb on boosted servers and you really don't need anything bigger than that

weak edge
#

isn't it still 25mb in dms? also imo on boosted servers you usually upload memes and stuff so it doesn't matter, but on private servers where there are only a few people it would be nice to be able to natively upload video highlights or other stuff

austere talon
#

it's never gonna be native

weak edge
#

"native" as in just dragging a file onto the client and done

charred monolithBOT
charred monolithBOT
austere talon
#

someone already made it ages ago but it wasn't merged

#

file uploaders inside discord are pretty pointless imo, there are so many different hosts that require different formatting that it's impossible to make a plugin that fits everyone's needs

like mentioned above, just visit a website or use sharex

#

there is also no good way to get upload progress with external uploaders so it will be terrible user experience just waiting for the file to upload with no feedback

weak edge
#

you're saying this right when I'm testing a file uploader with self-hosted s3 as backend

#

but yeah, I guess just using sharex is good enough, this would be too much work for too little benefit

charred monolithBOT
charred monolithBOT
verbal pumice
#

one of the prs of all time

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

A lot of aesthetic/comfy servers or servers in general have a bunch of characters in the channel names, and it makes it REALLY hard to read trough, sometimes even impossible, especially for people with difficulty reading.
image

I was thinking it would be nice if there was a simple plugin that just removed all non-ASCII characters in channel names, or removed all non-letter/number characters enti...

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#
[Vencord/Website] New branch created: Vendicated\-patch\-1
#
[Vencord/Website] branch deleted: Vendicated\-patch\-1
#
[Vencord/Website] branch deleted: plugins\-svelte
austere talon
charred monolithBOT
jagged cloak
#

why does it do that

#

are u using their app or smt

charred monolithBOT
austere talon
#

cause just silly markdown

#

im not opening ide to edit markdown

jagged cloak
#

oh

#

just open vsc tho it takes 2 sec

austere talon
#
- grid-template-columns: 1fr;
+ grid-template-columns: minmax(0, 1fr);
#

fixing mobile has never been this easy

#

turns out 1fr goes to fucking nirvana

jagged cloak
#

off screen speedrun

austere talon
#

anyway i added silly search

jagged cloak
#

oh you finally finished

austere talon
#

u know how u can open profile here and it has all the actions including dming and adding as friend (bad)

#

what if we made it always just open this with no further info / interaction

#

so devs don't get harassed for support

#

would look like this

#

well this has a funny consequence lmao

charred monolithBOT
fleet depot
austere talon
limber skiff
#

I like it

#

I've got dms already cuz of that lol

#

I personally don't really mind, but yeah it's better

austere talon
#

bot tag gone

charred monolithBOT
jagged cloak
#

do this for aliucord when

#

except the period of getting stupid dms from there is over

#

pretty much

austere talon
#

nah i still get them occasionally

austere talon
jagged cloak
#

i dont think it even works to begin with actually

#

last time it gave me "oops! we cant view details for this user"

#

lmaoo

#

uncached user

austere talon
#

nah it works for me

#

u just need the user cached

jagged cloak
#

yea

austere talon
#

which anyone in the aliucor server will have

#

if you're online

#

fucking hot holy shit

charred monolithBOT
#

This would require a massive refactor and be very time consuming for us to setup, manage and moderate

I am also not very interested in having many users who can't speak english because that will make support a nightmare

Finally, this would also be yet another thing plugin devs need to learn, and every time a new plugin is added, there will be a new thing to translate. Many plugins might never be translated and you'll have half english, half your language, which is kinda meh

As such i...

austere talon
#

Does BD have translations?

#

actually yeah ive seen it in DevilBro plugins lol

fiery jungle
#

they control the plugin distribution anyways

austere talon
# charred monolith

this doesn't mean i'm against adding translations, i just personally have little interest in it and don't have the time nor motivation to do it

if someone (who isn't a random) is interested in working on this, which entails refactoring the code, setting up translations via some site like weblate, managing and moderating translations in the future and everything else, we can talk about it (but please don't waste your time starting to work on this, bring it up first)

fiery jungle
#

just push out update removing their id from everywhere

austere talon
#

port this

#

it shows name and pfp

#

nothing else

fiery jungle
#

guhh

pallid lava
#

channeltabs is also ready for merging iirc

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:278
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9358:270
    at n (https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:255) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/2df5645b2a43edb68789.js:9370:278
    at https://canary.discord.com/assets/2df5645b2a43edb68789.js:9360:270
    at n (https://canary.discord.com/assets/2df5645b2a43edb68789.js:9370:255) ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
fleet depot
#

Huh

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Something i have noticed on the vanilla discord client is, for some reason, the forum tags are absolutely useless. If you select
2 tags
(Like this:)
image
Instead of only posts that include the 2 tags appearing, all posts that include either of them will appear.

Could that be fixed with a plugin?

charred monolithBOT
jagged cloak
#

maybe i should just finish it lol

#

i rember captain was waiting on some pr

#

oh the array settings thing

quaint sapphire
#

heh, it actually has a thumbnail

stiff cove
#

discord css just died lmao the fuck is this

verbal pumice
#

looks like normal discord to me

#

vf theme

nimble pendantBOT
#
My themes broke and now I can't open settings or disable them

open the dev tools with CTRL + Shift + i and click on the "console" tab at the top. Then paste and run (with enter) the following code.

It will

  • disable custom css (you can turn it back on in Vencord Settings)
  • copy your current theme links to your clipboard as a backup
  • remove all themes
(() => {
    Vencord.Settings.useQuickCss = false
    copy(Vencord.Settings.themeLinks.join("\n"))
    Vencord.Settings.themeLinks = []
})()
stiff cove
#

yea no you are mistaken i dont have any themes enabled

#

discord css just decided it doesnt wanna do its job

#

not even a theme could break discord to this level

charred monolithBOT
#

Discord Account

Ashureth#0125

What happens when the bug or crash occurs?

The bug happens all the time, no matter if I restart it. The activity toggle is on and thes settngs are like they should be.

What is the expected behaviour?

I expect my profile to display my current activity.

How do you recreate this bug or crash?

  1. Just open Vencord

Errors

There is no error in my console.

Request Agreement

  • [X] I am using Discord Stable or tried on Stabl...
woeful sable
charred monolithBOT
austere talon
#

LMAO @devout river check this out

charred monolithBOT
quick ibex
#

@woeful sable what the fuck

jagged cloak
#

he will be paying

charred monolithBOT
jagged cloak
#

quick close and lock

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:278
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9358:270
    at n (https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:255) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/19c8e1cf51a469f53bdc.js:9370:278
    at https://canary.discord.com/assets/19c8e1cf51a469f53bdc.js:9360:270
    at n (https://canary.discord.com/assets/19c8e1cf51a469f53bdc.js:9370:255) ```
median rapids
#

proto crying

austere talon
#

i really need to add integrity checking to the vencord installer and updater

#

i love people having corrupted files randomly

#

probably gonna generate a hash json and include it as hashes.json or smth in the release

#

then use that to check integrity

#

probably sha1?

quaint sapphire
#

Imagine if the json was corrupted

#

And somehow it got just enough corrupted to have a valid sha1 for the corrupt files

quaint sapphire
#

How is a possibility pointless?
Possibilities don't have goals, they just could happen

quaint sapphire
#

I was not worrying if the possibility would happen, I only mentioned that it would be funny if it did.
Nothing pointless about that

#

I am not worrying if my UUIDs collide, but I would be amazed if they did

#

is it pointless to feel amazed if smth seemingly impossible would happen?

#

and what made you believe that I considered such a possibility would happen?

#

I said "imagine if ..."

#

not "what if ...."

#

the former is usually for jokes, the latter is usually for people that worry

charred monolithBOT
sand estuary
#

Yo, i still haven't given up. how can i test my plugin and yes i still can't do the "pnpm inject" thing

quaint sapphire
#

Just use vencord desktop

#

And make it load vencord from the dist folder

#

Normal discord frequently crashes when the dev tools are open either way

sand estuary
#

but how can i do that exactly

quaint sapphire
#

notice anything that could be related to vencord desktop?

#

"Desktop Settings" >

#

if you are not seeing that setting, then you didn't understand what I said by vencord desktop

#

it is kinda confusing ngl

sand estuary
#

found it

#

thnx

#

it's crashing every time i try to open the settings

#

how do i always manage to find a problem

quaint sapphire
#

what do the dev tools say?
lmao, cant help you otherwise

sand estuary
#

i'll try to find a way to fix it

quaint sapphire
#

what is freaking error

sand estuary
#

fixed it i was on an old ver

sand estuary
#

Jafar with a new problem coming in hot, the plugin is still named epic plugin although it's not, and it's just not working

quaint sapphire
#

did you rebuild?

#

every time you make a change, you must pnpm build

#

or just do pnpm watch and let it auto rebuild

sand estuary
#

oh yeah completely forgot about that

quaint sapphire
#

do you have a question?

sand estuary
#

i'm just trying to figure out how can i change an existing icon with another custom one

quaint sapphire
#

well, do you want to replace that icon globally or in a specific component?

sand estuary
#

Explain like i'm 5 pls

quaint sapphire
#

no, tell me what you want to do

#

I'm only asking what you want to do

#

do you want to make it so that anywhere a cog is used, it will have ur custom icon instead?

#

or do you just want to change the icon in a specific location?

sand estuary
#

i just wanna change this small icon

quaint sapphire
#

first of all, look at the Activities PR

sand estuary
#

alr

austere talon
#

use css

#

not js

quaint sapphire
#

we don't have enough info to deduce that what he wants to do can be done with just css

#

he might want to add a new icon for specific activities like Genshin Impact or smth

austere talon
#

might still be possible with css

quaint sapphire
#

I doubt that, the activity icon does not have metadata, lol

#

yeah attr() is a nice css function, but it only works for attributes
irrelevant, since you only need to build a specific selector

but still, you can't build that selector, lol

quaint sapphire
#

@sand estuary what do you even want to make?

sand estuary
#

i just wanna change the activity icons for serten activities like Vs code and some games

#

i was just wandering if you can add custom icons, like from google

#

ofc i don't even know if this is possible, the main reason is i'm just trying to learn how to make plugins out of curiosity

lime stone
#

it should be possible

#

assuming you can work out the app id

quaint sapphire
#

it is possible, that question about it not being possible was about the icons loading

austere talon
quaint sapphire
#

not the activity

austere talon
#

i'm not on pc so i can't check

quaint sapphire
lime stone
#

oh wait i'm so bad at reading

#

i wonder why you'd want to change that icon

quaint sapphire
charred monolithBOT
sand estuary
#

i only understood half of what you guys said i'm very new to this stuff, i usually code simple stuff in python

austere talon
#

@limber skiff lmao

charred monolithBOT
limber skiff
#

bruhhh

austere talon
#

crazy how noone noticed

#

now that I'm aware, every time I look it's so obviously off center

charred monolithBOT
charred monolithBOT
austere talon
quaint sapphire
#

Basically fake notifications

#

Do you remember avast?
It didn't use windows notifications, it has its own notifications

azure jay
#

windows 7 insan

lime stone
azure jay
#

that would require native windows code

lime stone
#

oh not possible with a window?

#

i kind of find how discord notifications appear on gnome (and probably windows) not to be great, but tbh i don't really like notifications at all

austere talon
#

no its possible

#

you can make a custom borderless browser window

lime stone
#

ye

charred monolithBOT
limber skiff
#

now this is unaligned too

#

why.

charred monolithBOT
fleet depot
lime stone
#

lol

woeful sable
#

ven will remove the goofy ahh distok.top that no longer works

jagged cloak
#

whyd you reply and put a message link lol

limber skiff
#

yoo

#

@austere talon I remembered now that was one reason I never tried to fix distok stickers

austere talon
#

but that's not all of them right

woeful sable
#

just the ones by discord

#

yes

austere talon
#

how about Chaos cat, Clyde, the doggo, the bulldog, etc

woeful sable
#

yop

austere talon
#

oh nice

#

that's convenient

woeful sable
#

time to remove disktop trolley

limber skiff
charred monolithBOT
woeful sable
#

I love chaos cat

median rapids
#

sending nitor stickers without nitor already works

#

it's client-side only

limber skiff
#

wha

fleet depot
charred monolithBOT
austere talon
#

will u pr @limber skiff

#

distok exploder

#

or should i

limber skiff
#

you do

charred monolithBOT
charred monolithBOT
limber skiff
#

you will merge my latest pr too

austere talon
#

ye

limber skiff
charred monolithBOT
austere talon
#

pr bleh

#

isnt rosetta near native performance

umbral hedge
#

nop

#

filed this issue for my friend whos sat next to me at the world trade centre trolley

#

discord is shit on rosetta

#

hes decided to try fix it himself now trolley

austere talon
#

i dont wanna see u in the news

umbral hedge
fleet depot
#

Ah. Yet another "remove channel emoji" snippet

charred monolithBOT
austere talon
#

@limber skiff lookie

#

i didnt test it

limber skiff
#

ping jumpscare

#

I'm pretty sure you have to check for this on the preEdit listener too

austere talon
#

it works :D

limber skiff
#

wha

charred monolithBOT
limber skiff
#

this is like almost the same logic

#

I will test though

austere talon
#

ye

#

done

charred monolithBOT
still roost
charred monolithBOT
austere talon
limber skiff
austere talon
#

test bleh

limber skiff
#

yeye I'm just cleaning up a bit

austere talon
#

i rewrote the preEdit

#

because it was ugly

#

match into replace

#

instead of using replace directly

limber skiff
#

agreed

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:278
    at https://discord.com/assets/ad1fde4a477ddef962ae.js:9358:270
    at n (https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:255) ```
austere talon
limber skiff
#

trying to make this part cleaner

austere talon
#

how

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'Gfe' before initialization ReferenceError: Cannot access 'Gfe' before initialization
    at Module.default (WebpackModule248059:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at _r.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23261)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/1a9a618b93cd3472669e.js:9384:278
    at https://canary.discord.com/assets/1a9a618b93cd3472669e.js:9374:270
    at n (https://canary.discord.com/assets/1a9a618b93cd3472669e.js:9384:255) ```
limber skiff
#

hold on ven I'm thinking lol

austere talon
#

thinking is illegal

#

sorry

limber skiff
#

didnt change any logic

#

just made a bit cleaner

#

I will test now

#

I cant believe I'm actually using these snippets

austere talon
#

LMAO

limber skiff
#

grr no vencord

#

I hate canary update

#

seems to work

median rapids
#

so real

charred monolithBOT
median rapids
austere talon
#

wow i cannot believe youre spamming stickers in the dev channel hello??

#

banned!!!

limber skiff
#

oops

austere talon
#

uh

#

did u test normal emotes too

#

especially the edit part

limber skiff
#

well I have nitro

austere talon
#

also how r u even testing, do u just UserStore.getCurrentUser().premiumType = 0

limber skiff
#

no lol

austere talon
#

i will hop on alt bye

limber skiff
#

my nitro doesnt have stickers

austere talon
#

i also added transform for unavailale emotes

#

but

#

we don't actually patch it so they will be unselectable in the picker i think?

limber skiff
#

I dont even know what are unavailable emotes

austere talon
#

when boost level drops

#

some emotes become unusable if you have too many

limber skiff
#

oh

austere talon
limber skiff
#

could change that hold on

#

LETS GO DISCORD CRASHED

#

I simply cant do plugins anymore discord keeps running out of memory

#

so bad

fleet depot
austere talon
#

okay i found a server with unavailable emotes

fleet depot
#

after that discord runs out of memory so much faster

austere talon
#

ye u cant use them

limber skiff
#

it's somewhere here

#

maybe this

#

@austere talon can you send invite?

austere talon
limber skiff
#

thank

austere talon
#

i forgot how many bots it has lmao

limber skiff
#

ya it's this

#

let me make quick patch

austere talon
#

oh yeah hold on lemme try funny emotes now

#

seems to work

limber skiff
#

wdym funny emotes

austere talon
#

nothing

#

just the emote changes

#

lmao

limber skiff
#

ah

austere talon
limber skiff
#

nono

austere talon
#

cause i already wrote the replacement logic for it

#

wha

limber skiff
#

cant break reactions and stuff

austere talon
#

fair

limber skiff
#

I have to check for the intention

austere talon
#

but fakenitro already adds emotes u cant use to reactions

#

does it

#

or no

limber skiff
#

it does not

austere talon
#

nice

limber skiff
#

wtf

#

oh lol

#

I have to scroll to the bottom for the unavailable ones

austere talon
#

i will snap and refactor fakenitro one day

#

into a folder :3

limber skiff
#

wait

#

aaaaaaa

#

my brain is dying

#

ok yeah it did work

charred monolithBOT
austere talon
#

nice

limber skiff
#

does the same exist for stickers?

austere talon
#

uh

#

yeah i think

limber skiff
#

I think we may have to patch there too

#

oh...

#

we already do

austere talon
#

yeah i think it worked for me ages ago

#

i was confused why it converted cause i had nitro

limber skiff
#

where can stickers be used?

#

just chat?

austere talon
#

but it was unavailable

limber skiff
charred monolithBOT
limber skiff
limber skiff
austere talon
#

so many conflicts

#

lazy

charred monolithBOT
austere talon
#

i left some feedback last week

charred monolithBOT
limber skiff
#

ven watching his client explode when using dev

austere talon
#

huh?

limber skiff
#

joking lol

austere talon
#

bleh

charred monolithBOT
austere talon
#

bleh vencord stil lworks

jagged cloak
charred monolithBOT
#

184c03b PluginModal: Anonymise authors (#1176) - Vendicated
5219fb7 PermViewer: Add ability to change sort order; P... - Nuckyz
6bf6583 FakeNitro: Fix unavailable emotes; Discord Stic... - Vendicated
9d62dec Uwufy: Add option to uwufy all messages (#1036) - pandaninjas
9aef97c fix(TypingTweaks): use global displayName over ... - 0xallie

charred monolithBOT
limber skiff
#

ven with the duplicate typescript import

#

@austere talon my linter is screaming please fix

austere talon
#

lolol

#

shrimply don't look at that file

charred monolithBOT
limber skiff
#

that pr is failing cuz of that trolley

austere talon
#

oh right markdown is back again

#

i noticed earlier when making #info

austere talon
#

can u fix it and also do another small change

limber skiff
#

ye

#

in a new pr?

austere talon
#

nono

#

same pr is okay

grave mangoBOT
austere talon
#

basically

limber skiff
#

oh you are gonna merge I see

austere talon
#
return devs[getName(e)!] ?? {
   name: getName(e)!,
   id: "0"
}```
#

change it to this

#

the issue I fixed with that commit was that I slightly changed how the dev constant worked which made it failed to parse and all devs were null so https://vencord.dev/plugins errored and just rendered a white page

austere talon
austere talon
#
const d = devs[getName(e)!];
if (!d) throw fail(`couldn't look up author ${getName(e)}`);
return d;
#

better

limber skiff
#

I just copy pasted is it fine

#

seems fine

#

okay pushed

austere talon
#

Also my bad

#

I was too lazy to test, just wanted to fix the site real quick before sleep

limber skiff
#

lmao it's fine lol

austere talon
limber skiff
austere talon
#

Mark as not draft when

limber skiff
#

marked

limber skiff
#

lmao

limber skiff
#

@austere talon I will do like this instead

austere talon
limber skiff
#

nono you did Boolean

#

I want to keep other falsy values

austere talon
#

is content a react node?

#

if so there's React.cloneNode

limber skiff
#

(with node being string and actual elements)

austere talon
#

uh

#

content.map(e => React.cloneNode(e))

#

try this

#

if lodash clone works too that's fine too but idk using react clone seems more robust if it's actually react stuff

#

other than that and the suggestions looks good

limber skiff
#

there's cloneElement only

#

tbh I would keep the one using loadash for now

#

it's confirmed to work

austere talon
#

yeah I meant that

#

cloneElement

limber skiff
#

doesnt seem to accept a string

austere talon
#

it should

#

it accepts any valid react node according to docs

limber skiff
#

nah I don't think so

#

it needs to be an actual ReactElement

austere talon
#

but yeah looks good

#

gonna sleep now

#

u can merge if u want just don't explode everything

limber skiff
#

I'm just gonna double check one thing first

charred monolithBOT
limber skiff
versed sonnet
#

okay i have a suggestion about the read all messages plugin, can you make it to where it reads your dms as well because it only reads server messages and not dm messages.

fleet depot
# charred monolith

i'm trying this again but better and different this time and mangled the last one

#

sooooooo

#

here's to a new try

fleet depot
#

and that works for dms as well as channels

quaint sapphire
#

Ok I'm done

fleet depot
#

should this be... named

#

is it the master plugin for all plugins?

gentle spruce
fleet depot
#

.... the picture in the message i sent above that message?

gentle spruce
#

no i know which file you're referring to

fleet depot
#

then what do you mean

gentle spruce
#

your description of it just doesn't make any sense

fleet depot
#

well i don't really understand the file

gentle spruce
#

"the master plugin for all plugins"

charred monolithBOT
verbal pumice
fleet depot
verbal pumice
#

it's the root that registers plugins and stuff

#

not a plugin

fleet depot
#

ah

verbal pumice
#

just look inside shiddohwell

fleet depot
#

but it does control them all

#

i did!

#

doesn't mean i understand what it's doing(!)

fleet depot
quaint sapphire
#

@fleet depot index.ts is to make a folder act as a module
kinda similar to python's __init__.py

#

when you import a folder, it understands that you meant the index.ts in that folder

fleet depot
#

ah, that makes sense

quaint sapphire
#

import smth from "hello"
if hello is a file then it imports the file, but if it is a directory, it looks for the index file

charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

When you post a message with a link in it, it will also attempt to UwUify the link, which will probably cause a broken link if it happens to have the letters "r" and "l" in it.

What is the expected behaviour?

Not UwUifying the link

How do you recreate this bug or crash?

  1. Try to UwUify a message with a link in it.
  2. It does letter substitution on your link.
  3. The link is broken nyow 3:

Er...

wise berry
#

make client for updating i don't want to download vencord everytime it breaks

fleet depot
#

why is vencord breaking so much for you

#

the update tab seems to be fine

#

is there a way to detect if the channel you have currently open has unread messages with js

jagged cloak
#

if i were to guess dispatch

fleet depot
# charred monolith

currently working on this again and i have two versions
1)

FluxDispatcher.subscribe("CHANNEL_SELECT", this.onSwitch = data => {
  if (settings.store.closeAllEscape)
     for (const id of ExpandedFolderStore.getExpandedFolders())
            FolderUtils.toggleGuildFolderExpand(id);
});

which nearly works but is still laggy for some reason i do not understand

and
2)

function onKeydown(e: KeyboardEvent) {
    if (settings.store.closeAllEscape) {
        if (e.key == "Escape") {
            for (const id of ExpandedFolderStore.getExpandedFolders())
              FolderUtils.toggleGuildFolderExpand(id);
        }
    }
}

which is not laggy at all but will mark all your messages read in the currently open channel at the same time. i could use another key that's not escape but im not sure what would fit as well as escape does

fleet depot
#

weird

jagged cloak
#

@components lmao

fleet depot
#

don't know why that's not doing the thing

#

must be the new markdown?

#

yeah it was the markdown

#

w/ev

jagged cloak
#

oh the numbers

#
  1. sdas d
  2. adsdas
  3. sadasdas
fleet depot
#

yeah
1.

some code
some code
jagged cloak
#

it probably doesnt like parenthesis

fleet depot
#

nah it's not the parens it's the .

jagged cloak
#

ah

fleet depot
#

anyway idk where the lag is coming from

#

the other parts of the plugin work fine using this

#

it's better than it was by a smidge i think? maybe?

#

but it's still not good
example for 1)

#
  1. conversely if i use the escape key:
fleet depot
#

where is the lag coming from

#

so maybe jank idea but i thought of detecting if the channel contained unread messages. if it did it would first close all open folders and then if you hit escape a second time would mark all unread messages as read

charred monolithBOT
charred monolithBOT
crude hearth
#

MERGE CONFLICT JUMPSCARE

#

@austere talon solve this ๐Ÿ˜ญ I hate conflicts

crude hearth
lime stone
#

well easier

crude hearth
#

i doubt its fixable with github ui

#

I will probably revert commit,fetch upstream

#

and rewrite

#

oh great this made it uncompatible with my pr

charred monolithBOT
austere talon
#

you can make buttons an array in props

crude hearth
#

i will do that way ig

#

I will hardcode these

#

and make optional "buttons" field

charred monolithBOT
crude hearth
austere talon
#

I will look later

#

what is this

#

btw @crude hearth

#

when will you add new username support to reviewdb

#

currently it shows Megumin#0

#

lmao

dusk hill
#

no support

crude hearth
crude hearth
radiant reef
#

what's the new party mode plugin

#

oh no

crude hearth
#

I probably only need to check if discrim is 0 and if its it wont include it

austere talon
#

yop

#

hmm but maybe use display name instead of username

#

it will be user.globalName

dusk hill
#

wait are discrim #0000 or just #0?

austere talon
#

0 bleh

dusk hill
#

normals cant have #0000 right?

crude hearth
#

no

verbal pumice
#

no

royal bane
#

no

glass cedar
#

no

tame escarp
#

wtf why did you let manti back in

austere talon
#

he left on his own accord

tame escarp
#

oh

#

still that decision should have been accepted as final and he should have been pre-banned to protect himself

#

๐Ÿ™„

austere talon
#

LOL

#

why is it actually called meatball

#

i thought it was just random mantika name

crude hearth
austere talon
#

๐Ÿ˜ญ

lime stone
#

wait, there's no burrito menu

crude hearth
lime stone
#

sad

#

why not just balls menu

fleet depot
austere talon
#

maybe name it moreMenu/more or smth @crude hearth

#

bleh

crude hearth
#

onMoreMenuClick

#

hmm

#

I can do

quaint sapphire
#

Or just onMoreClick

azure jay
crude hearth
#

hunger

fleet depot
#

this wasn't working for me (probably an update borke it)
changed it to use openModal.

toolboxActions: {
    "Open Settings": () => {
        let plugin = Object.values(Vencord.Plugins.plugins)[102]
        openModal(modalProps => (
            <PluginModal {...modalProps} plugin={plugin} onRestartNeeded={() => null} />
        ));
    },
},

i tried using the .find() method but cuz it can sometimes return undefined it doesn't work in the pluginModal. (i don't really know what im doing so there's got to be a better way to give it a plugin object i just don't know of)

#

but hardcoding it to be 102 is a bad idea too.. yet it works for now

limber skiff
#

just return and dont do anything if it's undefined

jagged cloak
fleet depot
# limber skiff just return and dont do anything if it's undefined

would it be egregious to do it this way:

toolboxActions: {
    "Open Settings": () => {
        const pluginIndex = Object.values(Vencord.Plugins.plugins).findIndex(plugin => plugin.name === "TextReplace");
        openModal(modalProps => (
            <PluginModal {...modalProps} plugin={ Object.values(Vencord.Plugins.plugins)[pluginIndex]} onRestartNeeded={() => null} />
        ));
    },
},
limber skiff
#

that has the same undefined problem

fleet depot
#

hm but this time it let me build without error so i thought the undefined-ness was handled better

limber skiff
#
toolboxActions: {
    "Open Settings": () => {
        const plugin = Vencord.Plugins.plugins.TextReplace;
        if (!plugin) return;
        openModal(modalProps => (
            <PluginModal {...modalProps} plugin={plugin} onRestartNeeded={() => null} />
        ));
    },
},
lime stone
fleet depot
#

ty

#

i knew there had to be a better way

jagged cloak
#

cant you also use just plugin under toolbox action?

fleet depot
#

whar

jagged cloak
#

oh well you werent supposed to use lazy also

#

ven said under my msg

fleet depot
#

ye

#

that's why i switched it

jagged cloak
#

oh yeah you definitely can

fleet depot
#

i tried using just "plugin" but it said undefined

jagged cloak
#

idk why i have that return there

#

it does depend on the typical export default plugin = i think

fleet depot
jagged cloak
#

cause i set a const then export it and it works

fleet depot
#

suddenly it all makes sense

austere talon
#

what's this for

fleet depot
crude hearth
#

good pr

#

merge

#

does vencord support i18n

austere talon
#

wh

lime stone
#

using i18n from util iirc

austere talon
#

I'm not talking about that

#

the other half

lime stone
#

it removes this

#

it's kind of redundant because it only shows accounts corresponding to a role

#

and it means there are two connections sections which is bad

austere talon
#

oh

#

how do u even get that

lime stone
#

basically if a user has a linked role

#

in that section it shows all the account that are linked to a role

#

wait, i repeated myself :p

austere talon
#

well anyway i agree then

#

thanks for the clarification

#

i thought u just removed the roles section

#

and was like

#

........???

#

anyway your patch is way too unspecific

#

it can easily affect different code if discord changes smth and crash discord

#

make it more specific

#

danger danger

lime stone
#

is something like \i.length>0&&\(\i=\(0,\i\.jsxs\)\(\i\.Fragment,{children: specific enough?

#

it still seems quite generic

austere talon
#

as a rule of thumb, optimally you always want to include some fairly unique string

#

such as matching the class name or the .CONNECTIONS

charred monolithBOT
lime stone
#

that's going to be long :P

austere talon
#

nah

#

not if you do it correctly

#

I can help u in a bit

charred monolithBOT
quaint sapphire
#

@crude hearth in case you didn't understand

This plugin loads opera gx mods into discord

#

It has nothing to do with the browser

#

It's not a plugin that controls opera

#

With that in mind, yes the volume levels will be customizable

crude hearth
#

I thought a music was playing in opera

#

and whenver you play a video on discord it would mute audio on opera

charred monolithBOT
knotty horizon
#

@austere talon meowcrypt got dmca'd

austere talon
#

lol what

quick ibex
#

huh

#

isnt meowcrypt that one encryption plugin that one crypto bro with ai was claiming was theirs?

knotty horizon
#

yeah

#

should I just remove it I can't be bothered to appeal it

#

it's a stupid plugin anyway

charred monolithBOT
austere talon
#

dmcad how lol

#

github?

#

ur repo is still up

#

so is the pr

knotty horizon
#

yeah I have a business day to remove it

austere talon
#

and on what basis

#

you didn't use any of their code

knotty horizon
austere talon
#

show the notice

knotty horizon
#

this might be fake

#

I'm going to email GitHub support

austere talon
#

i mean

#

whats the emai lthat sent it to u lol

#

probably isn't bleh

quick ibex
#

Do you have the alleged infringerโ€™s contact information? If so, please provide it.

We do not.
Bull fucking shit

#

๐Ÿชฆ

austere talon
#

in any case that's a bogus claim so if you really care you can likely fight it

knotty horizon
austere talon
#

but if you don't care enough then thats fine too

knotty horizon
#

that doesn't resolve to a site

austere talon
#

nah thats genuine lol

knotty horizon
#

fr

quick ibex
#

dont fight it tbh

#

you would probably wil

#

But not worth the money

knotty horizon
#

yeah no it's not worth it

#

I'm not spending money on a dumb plugin

#

will deleting the fork resolve it

quick ibex
#

yeah

#

from the looks of it

knotty horizon
#

someone delete pr pls

crude hearth
austere talon
#

cant lol

knotty horizon
#

ugh

crude hearth
#

husk ios jailbreaker

knotty horizon
crude hearth
#

@austere talon

#

@austere talon

#

M

#

ERGE

austere talon
#

son

crude hearth
austere talon
#

soon*

knotty horizon
#

s0n

fleet depot
#

in the video you're not a bot im not exactly sure when you become one

#

oh i think it's when i change channels

austere talon
fleet depot
#

eh i got used to it

charred monolithBOT
fleet depot
#

if anything everyone being a circle is weirder than some people having funny corners

median rapids
#

how lol

fleet depot
#

but not wanting to take the time to code it in

median rapids
#

could post it in the snippets channels

fleet depot
#

oh also all my icons on my phone are squircle too

fleet depot
median rapids
#

oh my bad I thought you meant the square avatars

fleet depot
#

square avatars are ez

median rapids
#

vencord toolbox ๐Ÿ‘ฝ

fleet depot
#
:root .messagesWrapper-RpOMA3 .cozy-VmLDNB.wrapper-30-Nkg .avatar-2e8lTP {
  border-radius: var(--avatar-radius);
}
:root [class*="banner"] mask {
  display: none;
} 
#

ez pz

fleet depot
royal bane
#

i agree

fleet depot
#

that's the one

austere talon
#

see my comment on github

jagged cloak
#

you can takeover my pr idc

#

or just make a new one

#

e

fleet depot