#πŸ‘Ύ-core-development

1 messages Β· Page 226 of 1

limber skiff
#

damnn

#

they broke all the plugin

dusk blaze
#

i would approve but vee went WOKE and disabled approvals for non collaborators

odd heath
#

love discord

#

plugin to fix when

shell shuttle
#

actually this is really fire

versed fern
#

I did that pr on my phone

dusk blaze
charred monolithBOT
rugged spire
#

its good now

jolly egret
#

its to prevent the random people coming in out of nowhere clicking approve with no reason and then vanishing into the horizon

dusk blaze
charred monolithBOT
#

Changes

  1. Added a setting to respect Streamer Mode which is enabled by default.
  2. Added all permutations (15) of Nick, Display, and Usernames.
    • Added a setting to exclude duplicates if there is overlap.
    • Nick/Display fill in for each other if either is missing, and if both are then username fills in.
  3. Set custom prefixes and suffixes (up to 3 characters long) for each. Example: Nick [DISPLAY] (@username)
    • The first in the order does not have the symbols unless t...
odd heath
austere talon
#

so much code

#

scary

elder plinth
#

:)

fossil inlet
#

?remind 9pm review #3107

shut vineBOT
#

Alright @fossil inlet, in 9 hours, 49 minutes and 4 seconds: review #3107

odd heath
#

good stuff

dusk blaze
#

my goal is to add as many prs to vee's backlog

#

very big too

dusk blaze
elder plinth
#

is this a good time to press the "request another review" button in my previous pr MRun

fossil inlet
#

Send link

elder plinth
fossil inlet
shut vineBOT
#

Alright @fossil inlet, in 1 day: review

rugged spire
#

?remindme 7pm shy typing

shut vineBOT
#

Alright @rugged spire, in 6 hours, 44 minutes and 57 seconds: shy typing

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fossil inlet
#

Fifty broken patches

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

dusk blaze
#

@fossil inlet can you help

fossil inlet
shut vineBOT
#

@fossil inlet, <t:1735229456:R>: review #3107

odd heath
jolly egret
#

because its funny

odd heath
#

Nop

#

Insulting

elder plinth
#

perhaps but it's already implemented so idk what limiting it further would achieve

charred monolithBOT
elder plinth
#

yeah but then they couldn't color them independently

limber skiff
#

the dropdown with all the permutations is not good...

#

make them separate switches and then just add/removed stuff as needed

fossil inlet
limber skiff
#

uhmm

elder plinth
#

why is the drop down bad?

limber skiff
#

because

fossil inlet
limber skiff
#

15 options...

elder plinth
#

that's not that many? it's also all the possible options so it makes sense

fossil inlet
#

i feel like this pr over-engineers a lot

limber skiff
#

it's not good ux tho

elder plinth
#

I feel like it's better UX than making users format it themselves

#

I'm open to suggestions I just don't think it's as bad as you're making it seem

#

100 options sure but 15?

limber skiff
#

@fossil inlet btw do you still want help with the error boundary

#

my pc had went boom because of a usb cable

fossil inlet
limber skiff
#

right before Christmas lmao

#

i honestly don't even know that's that props.children

#

but for what I think you want I dont understand how it's that

#

well I will see another time

fossil inlet
#

@elder plinth what is a nickname symbol

elder plinth
#

the affixes

#

listed right above it

#

( ) [ ] (@ ) < > etc whatever the user puts

#

Im on my pc now and was about to reply to your comment on the pr about that

#

the main goal of this PR was uncomplicated customization

fossil inlet
#

im reworking the settings a bit

elder plinth
#

making users do string formatting would complicate it to hell and back

fossil inlet
#

feel like theres a bit too many options rn

elder plinth
#

it's a lot of options but super straightforward

#

you go through it once in 2 minutes and you're done

#

you could combine the 3 always show symbols settings into 1 and the 3 always show colors settings into 1 tbh I doubt that niche use case would be missed

fossil inlet
#

@elder plinth thinking something more like this for the settings

elder plinth
#

I would really prefer the color to be completely custom

fossil inlet
elder plinth
#

I was particuarly fond of my Role+- coloring

fossil inlet
#

the user can then use css to style it

elder plinth
#

what

#

rest of the settings look good btw you condensed them well.

#

other than dropping color support for the symbols but I didnt plan on using that personally so idrc I guess

elder plinth
#

the function takes their input and confirms it is valid and then applies it to the style

fossil inlet
# elder plinth what
function renderUsername() {
return (<span> <span className="vc-smyn-username"> username</span> <span className="vc-smyn-nickname"> nickname </span> </span>)
}
#

the user can then add something like this to their custom css

#
.vc-symn-username {
color: red;
}
elder plinth
#

oh. I greatly dislike that personally

fossil inlet
#

i think its a good compromise between a custom color parser and a constant color

elder plinth
#

why does the custom color parser need to be compromised on

#

I can understand why a dozen settings was too much but what does this need changing

fossil inlet
#

i feel like for most users the color input was confusing

#

for the few that will want to change it, css offers them a way to do it

#

without confusing 90% of the normal users

elder plinth
#

It's basic color coding. hex rgb or hsl

#

thats not confusing

charred monolithBOT
fossil inlet
#

@elder plinth

elder plinth
#

yeah?

fossil inlet
#

sorry

#

testing

elder plinth
#

ah ok.

elder plinth
# charred monolith

ok wrote a validator for the name format input and removed the other settings. how do I go about the react state thing you mentioned @fossil inlet

fossil inlet
#

see how rolecoloreverywhere uses it

elder plinth
#

ok think I might have it lets see

#

yeah worked

#

instantly updated chat when I closed settings

rugged spire
charred monolithBOT
fossil inlet
#

||test||

#

nop

#

i think im crazy

elder plinth
shut vineBOT
#

@rugged spire, <t:1735254903:R>: shy typing

elder plinth
#

guess ill comment on the pr too

charred monolithBOT
elder plinth
#

so whats the correct way to handle a review that you disagree with. I dont mean to be rude I just don't have much experience with this. do I leave it unresolved until I manage to change their mind, until I cave in, or what?

charred monolithBOT
charred monolithBOT
scenic brook
#

Have the toggle turn off after a message is sent

charred monolithBOT
brazen bone
#

Too many unicode apostrophes

shut vineBOT
#

@fossil inlet, <t:1735230694:R>: review

rugged spire
# odd heath Wdym

Cancel the typing start request if there isn't a message from yourself in the current channel posted within a certain period of time

odd heath
#

Oh yeah that is good for certain places

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
jolly egret
#

if nobody gets around to adding supoprt for ignored users to that unblock to jump plugin i'll support it

#

but just gonna put this here if anybody wants to get it first

fossil inlet
#

i dont have it

jolly egret
#

i'm not sure what the name of it is and i don't think you could use it if you don't already have it though, its basically just block but less extreme

#

api will probably just say no if you try and use it

long stream
fossil inlet
long stream
#

fyi the ignore part is api-locked

#

so you'll have to fool the client into thinking you've ignored someone

fossil inlet
long stream
#

fair

fossil inlet
#

@jolly egret you should send me your token so i can test it blobcatcozy

jolly egret
#

REAL

limber skiff
#

send me too

#

oh nvm i got yours already

fossil inlet
limber skiff
#

all good πŸ‘

fossil inlet
#

@limber skiff do we hardcode new i18n keys?

#

nevermind

#

guessed the key

limber skiff
#

lmao

fossil inlet
#

hmmmm i wonder what the key for ignored users is

odd heath
fossil inlet
jolly egret
#

thought i was being stupid with git but theres a typo in your branch name despairge

odd heath
#

LMAO

#

This is why you copy and paste

jolly egret
#

it jumps now

#

LGTM

fossil inlet
#

alr

#

im going to fix up the patches a bit then have you test again

jolly egret
#

πŸ‘

limber skiff
#

no in gore to jump

fossil inlet
#

@jolly egret can you pull and test

jolly egret
#

still works

fossil inlet
#

tysm

charred monolithBOT
odd heath
#

Copy paste patches my beloved

fossil inlet
#

also why was that the pr message

jolly egret
#

lmao

#

was that from your discovery show hidden things PR/

fossil inlet
#

yea

#

@jolly egret i blocked you to get this ss lol

jolly egret
#

kek

#

all good

odd heath
#

Nvm you based in on dev immediately

#

Tf

fossil inlet
#

so it wouldnt be in the history

#

every new thing i do is based on its own branch off of dev

odd heath
#

Also wouldn't it make sense to just put an | and the two intl strings into the same match?

#

Since it's like the exact same thing

fossil inlet
#

ehhhhh

#

think this is a bit more readable

odd heath
#

It's regex it doesn't need to be readable trolley

fossil inlet
#

also better because you would have to make one regex global

#

and that wouldnt report in reporter if only one fails

odd heath
#

Like it's that exact same message

fossil inlet
fossil inlet
odd heath
#

Yea that's fair

fossil inlet
#
  • too lazy to make one regex
#

two is eaiser

rugged spire
#

i just called loadlazychunks on a mobile network how slow will this be

#

im dum

rugged spire
#

i think i made my plugger work

austere talon
#

horror

charred monolithBOT
gritty iris
#

:(

astral bone
#

😦

jolly egret
jolly egret
#

somebody is about to get blocked

dusk blaze
charred monolithBOT
brazen bone
#

What does that even mean

fossil inlet
#

guhhh

charred monolithBOT
dusk blaze
#

@fossil inlet you love

fossil inlet
#

loll

fossil inlet
#

@dusk blaze you bullied them too much 😭

dusk blaze
#

okay maybe i went a little too far

fossil inlet
#

the quotes were actually good

dusk blaze
#

but how can u miss a huuuuge header telling you not to open an issue

dusk blaze
austere talon
#

probably ai

fossil inlet
charred monolithBOT
fossil inlet
dusk blaze
fossil inlet
dusk blaze
#

hf!userinfo 767083087338274866

grave mangoBOT
dusk blaze
fossil inlet
#

he has roles?

dusk blaze
#

did he also leave bloubcaitcoezy

#

now i feel bad

#

oh he never was there i don’t see his join message

fossil inlet
charred monolithBOT
fossil inlet
#

@dusk blaze can you give him programming

dusk blaze
#

v+ prog 767083087338274866

#

oh hes still here

grave harness
#

hello peoples :D hows everyone doing

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
brazen bone
#

That's impressively bad for something that's one line of css

charred monolithBOT
brazen bone
#

It's also dom manip

dusk blaze
#

yop

#

i think vencord has a styles API

brazen bone
#

Oh and I love the use of Object.assign instead of just =

charred monolithBOT
turbid hatch
#

wot

#

no there's only a password if u set one

austere talon
#

how do they think we run it in production 😭

jolly egret
#

we don't run it, silly

#

Vencloud is a deceptive project that only exists to mask the fact that we use something else in the backend that collects personal data

median rapids
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

since it's basically three copy pasted patches

fossil inlet
#

yop

limber skiff
#

once you do it I will push to main

fossil inlet
#

@limber skiff done blobcatcozy

charred monolithBOT
limber skiff
#

thanks

charred monolithBOT
fossil inlet
limber skiff
#

okay I will see tomorrow

fossil inlet
#

ty blobcatcozy

rugged spire
fossil inlet
#

wait why did fixes not close it wires

rugged spire
#

maybe because I explicitly typed the repo name?

limber skiff
#

when the pr does not close the issue

rugged spire
fossil inlet
#

i will open five new valid bugs blobcatcozy

limber skiff
#

(and then we just forget)

rugged spire
jolly egret
rugged spire
jolly egret
#

well it sucks at that?

#

gh sucks

rugged spire
#

trol

limber skiff
#

I made it use the original component in the fallback

#
return Vencord.Plugins.plugins["FullUserInChatbox"].UserMentionComponent({
    ...arguments[0],
    OriginalComponent: (() => {
        if (null != u) {
            let e = c || u.isPomelo() ? null : "#".concat(u.discriminator);
            return (0,
            i.jsx)(s.Tooltip, {
                text: (0,
                i.jsxs)("div", {
                    className: A.userTooltip,
                    children: [(0,
                    i.jsx)(l.Z, {
                        user: u,
                        animate: !0,
                        size: s.AvatarSizes.SIZE_16,
                        className: A.avatar
                    }), b.ZP.getUserTag(u, {
                        mode: "username",
                        identifiable: c ? "never" : "always"
                    }), (0,
                    i.jsx)("span", {
                        className: A.discriminator,
                        children: e
                    })]
                }),
                delay: 750,
                position: "top",
                "aria-label": b.ZP.getUserTag(u, {
                    decoration: "never"
                }),
                children: e => (0,
                i.jsx)(s.Clickable, {
                    tag: "span",
                    ...e,
                    children: f
                })
            })
        }
        return f
    })()
});
fossil inlet
#

@limber skiff seems to work, the only thing i can think of is that the part of the match that matches the original component might be more likely to break

limber skiff
#

yep

fossil inlet
#

your choice

#

idrc either way

charred monolithBOT
limber skiff
#

thanks blobwob

fossil inlet
scenic brook
#

Forgot I did this and got flashbanged by it

rugged spire
scenic brook
#

I'm not confident in the way it's implemented

#

I hit enter at the same time as ] and sent early pepebigbrain

rugged spire
#

blobcatcozy i am all up to date with the new changes now

limber skiff
#

new changes: you are banned from making plugins

rugged spire
#

feature that tells you to log off and get a life

limber skiff
#

LOL

rugged spire
#

yet again I'm researching discord code to find which experiment activates which ugly feature

limber skiff
#

what feature?

#

i can help if you want

rugged spire
#

nvm my guess was right

#

it just hadn't rerendered

#

this husk one

rugged spire
limber skiff
#

yes

charred monolithBOT
scenic brook
#

I don't understand people that care that much about xp in servers tbh

grizzled halo
#

Me when people care more about xp than the social interaction

brazen bone
#

Those exp shits are literally spambots

odd heath
charred monolithBOT
charred monolithBOT
dusk blaze
#

contribution farming my beloved

charred monolithBOT
charred monolithBOT
jolly egret
#

get a life lmao

#

xp grinding on a discord server

weak thistle
#

😭

long stream
#

im surprised they didn't bother to add malware as well

charred monolithBOT
long stream
#

okay soo... it's still an xp farming plugin

#

which is very niche

dusk blaze
#

@turbid hatch you might want to lock this until its reviewed, probably xp grinding enthusiast sent the PR to all of his friends

grizzled halo
long stream
#

real

turbid hatch
#

messagecountdown?

dusk blaze
#

yeah

grizzled halo
turbid hatch
#

i'll do you one better

weak thistle
#

lewi about to cook

long stream
#

poor lewi is gonna write a paragraph that they won't read...

grizzled halo
#

lewi cooking is always a sight to see blobcatcozy

#

at least i read it blobcatcozy

weak thistle
long stream
charred monolithBOT
#

Like nin0 has said, this plugin has zero use outside of grinding bot XP in guilds, and we recently updated our plugin guidelines to ban these sorts of plugins:

No plugins that interact with specific Discord bots (official Discord apps like Youtube WatchTogether are okay)

Since there was no actual given use case beyond this in the PR description (and the whole plugin is built around the concept of grinding XP based on the settings), I'm going to close and lock this.

turbid hatch
#

locking because of the people replying on it

weak thistle
grizzled halo
#

watch them try again blobcatcozy

turbid hatch
#

ill ban them poi_shrug

#

prs like these do make me sad when i close them because i know people have some benefit out of these, but we have to keep the main build of the mod of high quality and relevant to most people

#

maybe one day we'll get a userplugin loader

long stream
#

the annoying grind: make a terrible pr, complain about it not being reviewed a minute after being open, get it closed, repeat

turbid hatch
#

today however is not that day

grizzled halo
#

please dont i already lose my sanity

long stream
turbid hatch
#

it'll ask them to disable all userplugins, check for the issue again, and then report it

grizzled halo
#

have it auto ban people who vencord-debug in support with userplugins blobcatcozy

turbid hatch
#

i just realised most of my contributions on the repo nowadays are moderation lol

charred monolithBOT
jolly egret
#

you sealed your own fate

fossil inlet
long stream
# charred monolith

hmm i wonder, how useful would it be to allow installing vencord in a custom directory (assuming it has discord files)

#

oh

#

it already has it, im stupid

fossil inlet
#

frreeeeessss

inland fable
#

https://github.com/Vendicated/Vencord/blob/0fd76ab15a51a8426786b696d422f59bd1250099/src/utils/types.ts#L83
I think this would be more useful as a LiteralUnion with API plugins and string such as this:

dependencies?: LiteralUnion<"UserSettingsAPI" | "MessageAccessoriesAPI" | "MessageEventsAPI" | "MessagePopoverAPI" | "ChatInputButtonAPI" | "MessageUpdaterAPI" | "MessageDecorationsAPI" | "MemberListDecoratorsAPI" | "ServerListAPI" | "DynamicImageModalAPI", string>[],

(perhaps would be better to have the builtin API plugins union be a separate type)
this would help for intellisense because you most likely will use one of those in dependencies

grave mangoBOT
fossil inlet
#

why not just have some runtime warn if a dep isnt resolved

inland fable
#

better dev experience to get to choose from a dropdown imo

fossil inlet
inland fable
#

any time a new API plugin is added to vencord it would have to be added to the union type yeah

scenic brook
#

Seems like a pretty minor thing to do if you're already doing the work of adding an API anyway

inland fable
scenic brook
#

I think just typing API into the plugin search should show you them all

fossil inlet
#

just object.keys plugins then filter for ends with api

scenic brook
#

Searching API overrides the filter

fossil inlet
scenic brook
inland fable
# fossil inlet just object.keys plugins then filter for ends with api

ah that works this is the full list right now

"BadgeAPI" | "ChatInputButtonAPI" | "CommandsAPI" | "ContextMenuAPI" | "DynamicImageModalAPI" | "MemberListDecoratorsAPI" | "MessageAccessoriesAPI" | "MessageDecorationsAPI" | "MessageEventsAPI" | "MessagePopoverAPI" | "MessageUpdaterAPI" | "NoticesAPI" | "ServerListAPI" | "UserSettingsAPI"
scenic brook
#

Has to be caps

fossil inlet
#

ah

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
rugged spire
#

nix user moment

opaque silo
#

nix users complaining that something requiring disk writes isnt working

limber skiff
scenic brook
#

I did look around for any prebuilt kinda thing for it but I didn't find that, thanks

#

I'll look into it later

limber skiff
#

alright, nice

charred monolithBOT
charred monolithBOT
analog knoll
#

Does the discord's game sdk's RPC work for you on Vesktop linux?
It says that f.kio.core: "/var/home/neo/.local/share/flatpak/exports/share/applications/com.discordapp.Discord.desktop" contains supported protocols but doesn't use %u or %U in its Exec line! This is inconsistent.
with vesktop and works normally with the official discord client opened.
interestingly on macos it works

#

I'll make an issue, but just making sure I am not forgetting something

fossil inlet
#

Only arrpc iirc

analog knoll
#

oh, this is vencord only, sorry. Will copy my messages over

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

ripe oxide
charred monolithBOT
odd heath
# frail sky

Were gonna get a terrible update right when they return from holiday lol

fossil inlet
#

NO FUCKING WAY

#

@dusk blaze LMFAO

fossil inlet
jolly egret
#

lmao

fossil inlet
#

And I don’t think I ever worked on that plugin

dusk blaze
#

sadanic...

opaque silo
#

sadans large hole dot com???

dusk blaze
#

@opaque silo @opaque silo

odd heath
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
charred monolithBOT
astral bone
#

is anyone else having path issues on dev shell?

fossil inlet
astral bone
# fossil inlet What do you mean

When building with user plugins, I get this

The plugin 'glob-plugins' was triggered by this import:

src/api/Badges.ts:22:20:
  22 β”‚ import Plugins from '~plugins';
     β•΅                     ~~~~~~~~~~

I think this is bcs of the folder name mix-up because both the plugins and userplugins folders contain 'plugin' in their names.

#

also this

#

same import

fossil inlet
#

pnpm build or pnpm watch

astral bone
#

pnpm build

fossil inlet
#

check if you have any empty directories

#

with no files in them in src/plugins or src/userplugins

astral bone
#

its a clean clone

#

one sec

fossil inlet
#

please just check

fossil inlet
fossil inlet
#

please check and make sure none are empty

astral bone
#

nothing comes up as empty, i also looked through each one manually and nth was empty.

fossil inlet
#

@astral bone clone vencord into an new dir and try building there

#

do you get the same error

astral bone
#

works fine without userplugins, build perfectly. im js trying to find the directory thats empty

astral bone
#

for you it works fine right? with both plugins and a userplugins folder?

scenic brook
austere talon
# astral bone

follow the docs properly and you wouldn't have this issue

#

you put an index.ts[x] file right in your plugin folder

#

why would you do that

jolly egret
fossil inlet
jolly egret
#

maybe you shouldn't have the role because you're using our channels as a substitute for reading

astral bone
austere talon
#

and that's not valid. you would know that if you read the docs properly

#

are you actually interested in developing your own plugins?

astral bone
#

i have already made a few, maybe only "/" commands for now but yes

austere talon
#

you have a different index.ts file

#

anyway you should figure it out yourself instead of littering this channel

#

follow the docs and you'll figure it out, they describe everything

astral bone
#

thank you for your time, all of you

austere talon
#

Your plugin should be either a simple myCoolPlugin.ts or myCoolPlugin.tsx file, or a folder containing an index.ts or index.tsx file

charred monolithBOT
fossil inlet
#

me when textreplace

jolly egret
#

thats just a worse version of textreplace

weak thistle
#

tbf you could add like a toggle to textreplace with defaults for the fixup links or smth

scenic brook
#

You never know when they could just lapse and become links to literally anything though

charred monolithBOT
odd heath
#

Oh no I'm getting the terrible idea to attempt to implement that

charred monolithBOT
odd heath
#

okay now how did i achieve this LMAO

fossil inlet
odd heath
#

yesn't

fossil inlet
#

if vencord is undefined then how

odd heath
#

i made it error while loading i just needed a moment to realise

fossil inlet
#

becuase $self in plugins would just error

odd heath
charred monolithBOT
#

Added the README as requested. I'm unsure of the format of these (I took a look at a few but wasn't consistent) so I just wrote one that highlighted its features.

i feel like this would be better as an addition to message tags instead of its own plugin

I considered this, but I felt as though messageTags is geared towards a more keyboard-based usage experience, whereas QuickSnip is a simple button interface aimed at server admins/mods who repeatedly send the same basic messages to use...

charred monolithBOT
#

I considered this, but I felt as though messageTags is geared towards a more keyboard-based usage experience, whereas QuickSnip is a simple button interface aimed at server admins/mods who repeatedly send the same basic messages to users.
i see no reason not to combine the two, sometimes I don't want to type a command / would rather type a command. plus it would be confusing having snippets in two separate places

odd heath
#

is there a way to force writing the current settings to the settings file

fossil inlet
odd heath
#

no i meant from code 😭

#

im trying to make it update when i add an item to an array of the plugin settings

limber skiff
#

overwrite the array instead of pushing

odd heath
#

o

#

couldve thought of that 😭

odd heath
#

guhhhhhhhhh

#

how do i fix

limber skiff
#

you messed up something, I dont know what

odd heath
#

i didnt tho

limber skiff
#

show your code

odd heath
#

fixed itself after restarting everything so shrug

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

uhm

#

weird

odd heath
#

cant be my code

frail skyBOT
#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:.{0,40}children:[(?<=showDownload:(\i).+?isVisualMediaType:(\i).+?)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

odd heath
#

restarded and switched back and its fine now

#

lmao

limber skiff
#

they just went back to work and already exploded something

odd heath
#

yop

jolly egret
#

incredible

fossil inlet
charred monolithBOT
odd heath
#

@fossil inlet im gonna shamelessly borrow your code

odd heath
#

i needed the user mention component and remembered you just made a pr with it blobcatcozy

fossil inlet
odd heath
#

love when my code doesnt work bc the place that calls it is commented out

#

trol

fossil inlet
#

@odd heath you should give me plugin ideas

odd heath
#

just me not having drank anything the last 5h points to that being a good idea

dusk blaze
#

@fossil inlet do i try making discord terminal

#

plugin

fossil inlet
#

add vim to discord

odd heath
#

when will i learn react

dusk blaze
dusk blaze
odd heath
#

😭

#

at least it doesnt crash lmao

#

oh

#

im so dumbb

odd heath
fossil inlet
#

does this happen for anyone else when clicking on a channel descriptioin

limber skiff
#

now I'm surprised discord doesn't have something like

const states = VoiceStatesStore.use(() => this.getVoiceState(channelId), channelId)

#

shortcut for useStateFromStores

limber skiff
fossil inlet
limber skiff
#

Enabled Plugins (103):

AccountPanelServerProfile, AlwaysExpandRoles, AlwaysTrust, BetterGifAltText, BetterRoleContext, BetterSettings, BiggerStreamPreview, CallTimer, ClearURLs, ClientTheme, ConsoleJanitor, ConsoleShortcuts, CopyEmojiMarkdown, CopyFileContents, CopyUserURLs, CrashHandler, Dearrow, Decor, DevCompanion, DisableCallIdle, DontRoundMyTimestamps, EmoteCloner, Experiments, FakeNitro, FakeProfileThemes, FavoriteGifSearch, FixImagesQuality, FixSpotifyEmbeds, FixYoutubeEmbeds, ForceOwnerCrown, FriendsSince, FullSearchContext, FullUserInChatbox, GameActivityToggle, GreetStickerPicker, IgnoreActivities, iLoveSpam, ImageZoom, ImplicitRelationships, MentionAvatars, MessageClickActions, MessageLatency, MessageLinkEmbeds, MessageLogger, MoreUserTags, Moyai, MutualGroupDMs, NewGuildSettings, NoDevtoolsWarning, NoMaskedUrlPaste, NoOnboardingDelay, NoPendingCount, NormalizeMessageLinks, NoUnblockToJump, NSFWGateBypass, OpenInApp, PauseInvitesForever, PermissionFreeWill, PermissionsViewer, petpet, PictureInPicture, PinDMs, PlatformIndicators, ReactErrorDecoder, ReadAllNotificationsButton, ReplaceGoogleSearch, ReplyTimestamp, RevealAllSpoilers, ReverseImageSearch, ReviewDB, RoleColorEverywhere, Summaries, SendTimestamps, ServerInfo, ShikiCodeblocks, ShowAllMessageButtons, ShowConnections, ShowHiddenThings, ShowTimeoutDuration, SilentMessageToggle, SortFriendRequests, SpotifyControls, SpotifyCrack, StartupTimings, SuperReactionTweaks, ThemeAttributes, Translate, TypingIndicator, TypingTweaks, UnsuppressEmbeds, UserMessagesPronouns, UserVoiceShow, USRBG, ValidReply, ValidUser, VencordToolbox, ViewIcons, ViewRaw, VoiceDownload, VoiceMessages, VolumeBooster, WhoReacted, YoutubeAdblock
```**Enabled UserPlugins (1):**

AliucordDetector

fossil inlet
#

Enabled Plugins (88):

AccountPanelServerProfile, AlwaysTrust, WebRichPresence (arRPC), BANger, BetterFolders, BetterGifAltText, BetterNotesBox, BetterRoleContext, BetterRoleDot, BetterSettings, BetterUploadButton, BiggerStreamPreview, BlurNSFW, CallTimer, ClearURLs, ConsoleJanitor, ConsoleShortcuts, CopyFileContents, CrashHandler, Dearrow, DevCompanion, EmoteCloner, Experiments, FakeNitro, FakeProfileThemes, FixYoutubeEmbeds, ForceOwnerCrown, FriendInvites, FriendsSince, GifPaste, iLoveSpam, ImageZoom, ImplicitRelationships, LastFMRichPresence, LoadingQuotes, MemberCount, MessageLogger, MessageTags, MoreKaomoji, MutualGroupDMs, NewGuildSettings, NoBlockedMessages, NoDevtoolsWarning, NoF1, NoProfileThemes, NoUnblockToJump, NSFWGateBypass, OpenInApp, PermissionsViewer, petpet, PictureInPicture, PinDMs, PlainFolderIcon, PlatformIndicators, QuickMention, ReactErrorDecoder, RelationshipNotifier, RevealAllSpoilers, ReverseImageSearch, ReviewDB, RoleColorEverywhere, Summaries, ServerInfo, ShikiCodeblocks, ShowHiddenChannels, ShowHiddenThings, ShowMeYourName, SilentTyping, SortFriendRequests, SpotifyControls, SpotifyCrack, StartupTimings, StickerPaste, TextReplace, Translate, TypingIndicator, TypingTweaks, UserVoiceShow, USRBG, ValidUser, VencordToolbox, ViewIcons, ViewRaw, VoiceMessages, VolumeBooster, WebKeybinds, WebScreenShareFixes, WhoReacted
```**Enabled UserPlugins (11):**

FriendCodes, CopyFolderId, CopyStatusUrls, CtrlEnterSave, DarkDevTools, EmojiOnMouseUp, CustomFolderIcons, UnitConverter, ShowChars, StaticTitle, UrbanDictionary

limber skiff
fossil inlet
limber skiff
#

😞

#

well it probably works

fossil inlet
#

somehow it happens when vencord doesnt load

limber skiff
#

what do we think of that?

fossil inlet
limber skiff
fossil inlet
limber skiff
#

i think you can

fossil inlet
#

Arrow functions don't have their own bindings to this, arguments, or super, and should not be used as methods.

limber skiff
#

you are right lol

fossil inlet
#

i love when reading mdn at 3 am for no reason is useful

limber skiff
#

better

#

I'm gonna monkey patch πŸ”₯

#

in this case VoiceStateStore is any so it cant do magic, but yeah

#

it worked

fossil inlet
#

@limber skiff how does discord use state from store in their code

#

or do they do something else entirely

limber skiff
#

they do the same as us currently

fossil inlet
#

im a bit stupid

#

for some reason i thought the useStateFromStores function was ours

rugged spire
#

just make a common hooks script and add a useVoiceStates in there?

#

also what are you even doing with voice states

#

and can vcnarrator be less cursed afterwards

limber skiff
#

me?

#

that wasn't the point I was just experimenting

rugged spire
#

oh blobcatcozy

odd heath
rugged spire
#

If you do, do not just make an array setting type, add options for lists of users, channels, and guilds

odd heath
#

Alr did blobcatcozy

#

Just need to make the plugin modal render properly

#

And then fix some things

#

(the code is so husk)

#

I also added the adding to array via context menu thingy

rugged spire
#

Guh

odd heath
#

The api proposal says filtering for user arrays by roles and names, I don't really see how that would be useful?

rugged spire
#

they probably just want to match every moderator role in every server for example

odd heath
rugged spire
odd heath
#

Like textreplace does

rugged spire
#

true

#

~~but thats also how array config effectively works already TrollInsane ~~

odd heath
#

my implementation for array config of textreplace is just to put the arrays that it already has into another array instead of data store

#

I might be able to finish it on train later and open PR

#

Just needs some more polishing tho the code is still terrible lmao

charred monolithBOT
odd heath
#

bwa

#

So Horror

fossil inlet
#

@odd heath wires

odd heath
#

And it was 4am when I made this I think

jolly egret
#

i know its super unlikely but the old way most plugins were doing could allow user id confusion

odd heath
#

So annoying

jolly egret
#

lol

odd heath
#

I wanna add channel and guild mentions kinda but I was too lazy to find out how it works blobcatcozy

#

Soontm

granite wharf
#

who ping

opaque silo
#

the ghost

odd heath
fossil inlet
odd heath
#

Guhh when

fossil inlet
odd heath
#

Eval setTimeout createmessage trolley

odd heath
#

@fossil inlet @fossil inlet Hi

fossil inlet
#

@odd heath shouldnt src/plugins/_api/settingArrays.tsx go under _core instead

#

wait maybe not

#

guhhh idk

charred monolithBOT
odd heath
fossil inlet
#

@odd heath for something like this, when an invalid value is entered, wouldnt it be better so the user can fix any typos, etc... instead of erasing it

odd heath
#

Uh yeah True

#

I just had copy paste in mind in which case I thought clearing it out makes more sense

#

But yeah

fossil inlet
#

even with copy paste

#

user could hit a key by accident

#

just annoying to have to re-enter it

odd heath
#

True

fossil inlet
#

@odd heath is there any reason to not make these javadoc comments?

odd heath
#

Nop

#

Will change

jolly egret
#

explode

fossil inlet
jolly egret
#

jokes on you i don' thave one

odd heath
frail skyBOT
#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:.{0,40}children:[(?<=showDownload:(\i).+?isVisualMediaType:(\i).+?)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

PictureInPicture (had no effect):
ID: 546432
Match: ```
/.nonMediaMosaicItem]:.{0,40}children:[(?<=showDownload:(\i).+?isVisualMediaType:(\i).+?)/

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

odd heath
#

Also @fossil inlet What do you think about the guild and channel rendering, should it be text or a mention?

fossil inlet
#

havent tried it yet

limber skiff
#

guild icon and name

#

channel symbol and name

#

like voice, text, etc

fossil inlet
odd heath
#

Okay

limber skiff
#

group dm icon or users icon

#

(like user voice show)

odd heath
#

Ob right I need to add gdm

odd heath
odd heath
#

Bc a lot of guild have generic names like general

limber skiff
#

and add a guild icon and name on top of it each section

odd heath
#

Okie

#

?remind 12h this shit

shut vineBOT
#

Alright @odd heath, in 12 hours: this shit

odd heath
limber skiff
#

you might wanna focus on just array cuz all of this is a lot

#

and it's honestly pretty hard to implement in a extensible way

odd heath
#

True

#

I'm still gonna try

limber skiff
#

is there any pr someone would like a quick look rn

#

preferably a new plugin, but nothing too big

fossil inlet
limber skiff
#

oh yeah that's minimum

#

oh yeah I need to finish the dependencies update

fossil inlet
limber skiff
#

one from vee

#

it might be almost ready

jolly egret
#

if only people didn't ask despairge

limber skiff
#

the devbuild people yes

limber skiff
charred monolithBOT
fossil inlet
#

@limber skiff dont push to main yet, i think d60a8efcbff5f6eebdc29c6ed73e6012f6b9f064 might have a bug

limber skiff
#

uhmm alright

fossil inlet
#

@limber skiff unshift returns the new length 😭

limber skiff
#

nahh u gotta be kidding me

#

LOL

limber skiff
#

didnt found

#

peak grammar

charred monolithBOT
limber skiff
#

@fossil inlet thanks for it

#

I completely forgot about that

#

(and trusted my simple change)

fossil inlet
#

did you fix

charred monolithBOT
limber skiff
#

yeah

charred monolithBOT
limber skiff
#

...

#

I literally ran tests before pushing lmao

fossil inlet
limber skiff
#

now you tell me there are problems

#

god

#

wait why are we even updating react types @austere talon

#

discord is still on v18

#

there is no point on having types for a different version

#

I'm reverting that

austere talon
#

nah

#

I just updated everything, only halfway through I realised it should probably match version

limber skiff
#

oh

austere talon
#

but it doesn't change much and it was already done

#

and future proofing :p

#

so i decided to just leave it in

limber skiff
#

alright I will see a better way to fix this awaitable stuff

austere talon
limber skiff
#

yeah

#

they prob arent updating so soon either way

#

will likely have exploding type definitions like us

austere talon
#

anyway it's only types so it hardly matters xD

if anything it made me find a part of code that was using deprecated stuff

austere talon
#

I'm mostly joking but it really was that way lmao

#

(with the react dom root in console shortcuts plugin)

limber skiff
#

uhh

#

how does one module patch

#

do I clone the repository in the specific version, do the diffs and then make a .patch from it

fossil inlet
#

pnpm patch iirc

austere talon
#

do you mean how to patch npm modules?

limber skiff
#

yeah

austere talon
#

yeah you just use the pnpm patch command

limber skiff
#

oh

austere talon
#

it creates a folder with the files in tmp folder

#

you edit

#

then you run a second command to submit

#

it generates patch and installs it

#

Super easy

limber skiff
#

god

#

the other day I cloned a repo for it

#

and couldnt even produce the correct patch file

fossil inlet
#

before i knew about the pnpm patch command i just had a script to edit node_modules 😭

austere talon
#

lmao

#

insane

austere talon
fossil inlet
limber skiff
#

alright that was easy

austere talon
#

why

#

you can return promise

#

it's part of new react stuff

limber skiff
#

in v19

#

not in v18 as we currently are using

#

so for now lets patch that out

austere talon
#

nah that's terrible 😭

limber skiff
#

how?

#

it's the only conflicting types right now

fossil inlet
#

why have types for something thats not supported yet?

limber skiff
#

if we dont do this we have to write a custom functional type for every single part

#

or custom ReactNode type

austere talon
#

no

#

it works fine everywhere else

#

just that one place

limber skiff
#

yeah but at the same time we don't want to allow Promise stuff

#

current react does not support it

#

it makes no sense to have it in the types

#

as you said, future proofing

#

but what's causing issues we take off

#

it's just a patch file that can easily be removed in the future

austere talon
#

it's very cursed to do and just not necessary in the slightest

#

the way it is is perfect

limber skiff
#

I dont think it's cursed at all

#

I removed all the references of promise stuff in the types

#

everything continues to work as expected

#

I find the alternative of making a custom functional type more hacky and worse

#

since it's not perfect types for it

austere talon
#

just leave it the way it is

limber skiff
#

the patch seems more correct

#

it has no issues either

junior olive
fossil inlet
junior olive
#

since my favorite hot topic hedgehog went to the big screen

fossil inlet
#

sending this to my friend right now

#

(saw the movie with him opening night)

austere talon
#

the correct way is manually typing the specific thing you need

limber skiff
#

well but it's very annoying thing

junior olive
#

Isn't this a issue of installing the wrong version of types?

limber skiff
#

yes

fossil inlet
#

@junior olive is it no longer in the shop?

junior olive
junior olive
limber skiff
#

future proofing

austere talon
#

it's really not a big deal :p

this was one specific thing

limber skiff
#

I mean, the types are already incorrect, I don't see a reason to not edit them and make them a little more correct blobwob

austere talon
#

just leave it as is it's perfectly fine

limber skiff
#

I'll just do this then

#

and pretend that's how it's supposed to be

charred monolithBOT
limber skiff
#

this is gonna explode so many devbuilds

charred monolithBOT
#
[Vendicated/Vencord] branch deleted: dependabot/npm_and_yarn/nanoid-5.0.9
junior olive
#

@dependabot fuck off

grizzled halo
austere talon
#

it renames a bunch of api methods

limber skiff
#

yep

austere talon
#

but it's not fully ready yet

limber skiff
#

but that one needs a bit more work

#

i'll leave it for another day

austere talon
#

I'll do tomorrow

limber skiff
#

o

#

alright

#

I will review again after you do

#

I'll wait for tomorrow to push to main

#

lets break all the stuff at once

charred monolithBOT
shut vineBOT
#

@odd heath, <t:1735950944:R>: this shit

odd heath
#

Guhhh

rugged spire
charred monolithBOT
odd heath
#

nop

#

isnt

rugged spire
odd heath
#

horror

#

i did not know that diff was 600 lines 😭

rugged spire
#

are you writing the next fakenitro by accident

odd heath
odd heath
charred monolithBOT
#

thanks for your contribution!

unfortunately this is way too niche, sorry

For the record, a lot of us who would use this plugin see your reply as pure bigotry. I know in a previous response it was mentioned that its not common in the servers that you as developers are in- That may be true, but that's an extremely selfcentered point of view. I highly implore you to reconsider.

rugged spire
# charred monolith

i would so love to leave my comment on this if it wasnt for the fact that such comment would basically be worthlessly neutral

odd heath
#

now does discord have any kind of picker one could hijack for these

#

or do i keep it with text boxes

rugged spire
#

There is this design systems page

#

You should check it out

odd heath
#

i didnt know that existed lol

rugged spire
#

Maybe you could also steal the modal from the roles settings?

#

nah

#

steal the components from the forwarding menu instead

#

they're not as fucked up for your use-case as they are for selecting a channel

rugged spire
#

actually

#

vee will kill you for stealing components for a settings menu

rugged spire
#

also forwarding menu is so awful

#

you cant type an ID into it

#

maybe just take the design from it

odd heath
#

can keep text input and picker as extra menu next to it

brazen bone
#

Forward menu deliberately excludes current channel

#

It's retarded

odd heath
rugged spire
brazen bone
#

Did they change that?

#

I made a plugin to fix it

rugged spire
#

No I'm trolling you.

#

oh come on dont tell me you're the 3rd person to make that same plugin

brazen bone
#

Bad sqaa, stop fooling me into thinking discord would ever improve any feature

odd heath
#

kannasip so should i try to put the forward menu in there or should i just leave it as is

rugged spire
#

Use the list for inspiration.

#

Make use of the Checkbox component

#

The types for it are very poorly documented iirc

rugged spire
rugged spire
odd heath
odd heath
#

tbf i just need the search component technically

brazen bone
#

Also tweaks the menu prioritization

rugged spire
#

is that right?

brazen bone
#

What

#

I remove the "is current channel" check

rugged spire
#

I implemented it in a really weird way

#

How

brazen bone
#

Don't remember, was a while ago

rugged spire
#

2 MONTHS AGO?

#

vencord's worst problem is any new development happens without any discussion so everyone with a contributor role here likely has their own secret plugins that are published somewhere but nobody knows they exist
not to mention that if they are submitted they never get accepted

rugged spire
dusk blaze
#

i have so many private plugins

odd heath
#

I have 0 blobcatcozy

charred monolithBOT
rugged spire
charred monolithBOT
fossil inlet
#

@main swallow if you want it sooner, fix it yourself

astral bone
odd heath
#

mfw i spent 1h looking for something only to realise i was looking at the wrong place agony

charred monolithBOT
turbid hatch
#

i believe their "previous response" is that PR, but i added it just to make sure

#

and also highlighted that its against our plugin rules now anyway

#

once again, i wish userplugins were easily accessible and we had a proper plugin loader, but not today

austere talon
#

(and never)

#

and that person has been blocked

granite wharf
#

@turbid hatch I've wrote most if not all the backend needed for the tauri installer, could you help me incorperate it? Currently there is a CLI, but the project is structured severely different than what currently is present within the tauri branch, and I have no experience in working with tauri in the slightest

turbid hatch
#

ive never worked with tauri :p

#

i only started my rust adventure a few days ago

#

but ill take a look tomorrow

granite wharf
austere talon
#

it should be interactive like the current one

#

not type number