#πŸ‘Ύ-core-development

1 messages Β· Page 49 of 1

quaint sapphire
#

No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
do I just add the origin to the patched CSP?

jagged cloak
#

where is just exploded

#

i mean i do have a third party plugin thats just vencord debug lmao

#

Vencord Debug Info

Discord Branch: stable
Client: Desktop (Electron v22.3.2)
Platform: Win32
Vencord Version: 8dd70f5
Outdated: false
Enabled Plugins:
guhh nopp spam

quaint sapphire
#

actually, we should just do the TODO

austere talon
#

what?

quaint sapphire
#

code so old ven forgot about it?

#

lol

austere talon
#

yes but

#

what r u trying to do

quaint sapphire
#

well, right now I'm making that esbuild plugin

#

before that I was making a plugin and I couldn't fetch an origin bc of CORS

charred monolithBOT
austere talon
#

okay but

#

CSP != cors

#

CORS is an unrelated thing and u should just fix CORS on the server

quaint sapphire
#

its not my server

#

duh

#

why else would I try to bypass that shit

charred monolithBOT
quaint sapphire
#

nvm

#

a cors proxy works for me ig

#

(i gave up cause my esbuild plugin did not work as expected, and it wouldnt help either way)

charred monolithBOT
austere talon
charred monolithBOT
austere talon
#

currently it just loads all .js files from VencordDir/plugins

#

no updating and no convenient way to install

charred monolithBOT
#

Tell us all about it.

Currently it's a bit meh, with preload just exposing raw (checked) invoke/sendSync & co

To use any form of ipc, you need to know the event name, whether it's sync or async and which return type it has

A nicer way would be for preload to expose methods that do the Ipc call for you, very similar to here. This way, we can type IPC and the renderer / plugins don't have to know the internals

https://github.com/Vencord/Desktop/blob/4721c46d8c1bd055a393e87d432f6a6...

frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

cunning canyon
#

jumpscare

frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors

austere talon
#

guh

#

pronoundb explosion

#

ah it broke in profile

#

im lazy someone else fix

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Oh I didn't know that but the other guy is right I am closing vencord more than opening the menu πŸ˜‚ Not really sure if it is because desktop mode of discord is just laggy on mobile or it is somehow registering my single click as a double press.

It is fine though, I just thought this would be a nice QoL feature for people who use vencord on mobile. It is decent and just as good as the pc version but needs a few tweaks to make it feel "smooth"

charred monolithBOT
honest geyser
desert barn
#

is vencord compatible with mac?

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
lime stone
#

whyy

quaint sapphire
#

(except smart tv browsers, but you may be able to run the userscript there)

round gust
#

@quaint sapphire

quaint sapphire
#

?

#

working on a theme store plugin btw

#

(yes the download links are broken, will fix)

austere talon
#

why tho

#

just go to the bd site

charred monolithBOT
quaint sapphire
# austere talon why tho

just because you don't find it useful, doesn't mean that it is not useful
I believe many of the users here would love for such a plugin

anyways, if you don't plan to accept it as an official plugin it doesnt really matter as third party plugins are progressing rn

lime stone
#

this emote is hurting my eyes :P

charred monolithBOT
lime stone
#

i think this would be good yes!

#

finding the link can be a tiny bit annoying

#

only wastes a few seconds but still

lime stone
#

yes!

#

it would be especially nice if it had support for multiple different repos

quaint sapphire
#

if you have more repos DM them to me

lime stone
#

well I mainly mean you should try and make it nice and abstract :3

quaint sapphire
#

as long as a repo can provide this for each theme, then it should be able to work fine with no UI changes on my plugin

#

(no better discord does not provide that in a REST api, I scrape it)

lime stone
#

maybe ThemeEntry would be better?

#

oof, scraping

quaint sapphire
#

well, I gotta do what I gotta do

#

technically it is REST api, but it returns html...

lime stone
#

and you've asked on their discord server or it explicity says somewhere there's no api?

#

couldn't you say that about anything? lol

quaint sapphire
#

uhhh

quaint sapphire
#

cause thats how im used to doing shit

#

if they have a rest api, i dont see why their website should not be using it

#

in fact, sending html instead of json is more expensive

#

ig they just took the lazy approach and not the cost effective approach

lime stone
#

bouncy (i got the wrong address)

#

not .app either

#

huh

#

oh, it's not a subdomain

verbal pumice
#

it is .app tho?

#

oh

quaint sapphire
#

im confused

charred monolithBOT
charred monolithBOT
#

The idea of this plugin is to let users control every markdown feature, whether to have it display formatted or **unformatted**

I got the idea for this plugin after Discord's markdown update was introduced, and some users might find it annoying. But instead of disabling it altogether, I think it would be better to let users control each element individually.

quaint sapphire
#

oh

#

i can send markdown links?

#

wow

lament nimbus
verbal pumice
lament nimbus
#

smh

verbal pumice
#

kt discord is ancient so wont show reason

lament nimbus
#

literally 1984

lament nimbus
verbal pumice
#

real

quaint sapphire
#

yes I stole a lot of css from the plugin page vencord has

#

same project + same licence = I can steal anything I want

ruby coyote
#

previews too small

jagged cloak
#

I hope you know the heightened level horrors you are fostering of people going "why frosted glass transparency not work on Vencor"

quaint sapphire
# ruby coyote previews too small

and why is that an issue?
a thumbnail is supposed to be small

when you click on the theme, it will have a popup with a bigger image and more info

#

this is a WIP

quaint sapphire
ruby coyote
spark cove
#

damn i used to use that theme in 2016

#

nostolgia

woeful sable
charred monolithBOT
charred monolithBOT
jagged cloak
#

2 weeks ago moment

jagged cloak
#

who

charred monolithBOT
#

About

A generic theme store.

For now it only has better discord's theme store, but more are planned to be added in the future.
(DM me any store you want added)

TODO:

  • [ ] Finish the search UI
    • [X] Paginate on scroll
    • [ ] Add buttons to the theme cards
    • [ ] Add filters
      • [ ] Query
      • [ ] Tags
      • [ ] Sort-By
    • [ ] Show popup when user clicks theme
    • [ ] Indicate if a theme is installed or not
  • [ ] Actually install themes

and possibly much more
...

quaint sapphire
#

@ruby coyote any ideas on the theme store plugin should go to the PR comments section, so that they are kept organized

median rapids
#

πŸ‘½

charred monolithBOT
quaint sapphire
#

ok enough for today, i wasted so much time writing regex that was not working, bc i didnt think that regex matching outside of the module is not going to work, as the input is the module itself

charred monolithBOT
lament nimbus
#

is it possible to upload a file using vencord cmd api

quaint sapphire
#

Uhh, should be

lament nimbus
#

but how

quaint sapphire
#

If you mean to prompt the user for the file with the file picker

lament nimbus
#

no

quaint sapphire
#

Not arbitrary files

lament nimbus
#

I mean upload a png file

#

and send

#

when a command is run

quaint sapphire
#

Oooh

#

From link?

lament nimbus
#

from file data

#

I could upload it to imgur automatically ig that would be easier

quaint sapphire
#

Where do you get that file data tho?

lament nimbus
quaint sapphire
#

Latex?

#

Ooh

lament nimbus
#

similar

quaint sapphire
#

Should prob do latex, has already been requested

#

Oh well

#

I am no longer on my pc, but look for attachments

#

Actually, just look at the built-in discord commands

#

One of them is bound to have attachments

quaint sapphire
#

Did ya fork my PR?

cunning canyon
#

ye

quaint sapphire
#

If so lemme add you to the repo

#

So you can push

lament nimbus
#

actually im going to be smart and just make my own api with deno or something because it would be 10x easier and im the only one using this

#

well

#

hm

quaint sapphire
#

The easy way is to add a message interceptor and match a specific command, then just add the attachment

#

Not using cmd

#

Ya know what I'm talking about, MessageEvents API, just add a sendListener

frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

quaint sapphire
#

Feel free to push your changes for the cards

#

I will go to sleep, so I'll check up on ur code tomo

cunning canyon
#

pushed

charred monolithBOT
frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

austere talon
limber skiff
jagged cloak
#

cant believe you killed JSHandle@error

austere talon
#

lmaoo someone fix promoundb

austere talon
jagged cloak
#

drop table userreviews

austere talon
austere talon
#

oop hell

limber skiff
#

wdym lol

austere talon
#

this.

#

spam

limber skiff
austere talon
#

turns out you cant use this in nested object

#
definePluginSettings({
  foo: () => "banana",
  flux: {
    MESSAGE_CREATE: this.foo // explodes
  }
})
limber skiff
#

this.foo.bind(this)

austere talon
#

this refers to the flux object

#

not the outer object

topaz widget
#

@austere talon

austere talon
#

so that doesnt work

topaz widget
#

I am watching you

limber skiff
#

true

#

can you bind somehow

austere talon
#

yeah but very ugly

#

just dont use this

#

i alread refactored ur plugin to use top level variables

limber skiff
#

😭

austere talon
#

anyway that change seems to work fine

limber skiff
austere talon
#

actually not really possible

#

but

#

yeah no

austere talon
#

cant u just load mathjax

ruby coyote
charred monolithBOT
lament nimbus
austere talon
#

huge

#

codeberg jumpscare

#

wait tyman name dox

median rapids
#

omg dox me next

charred monolithBOT
lament nimbus
charred monolithBOT
charred monolithBOT
charred monolithBOT
round gust
#

kebab

charred monolithBOT
charred monolithBOT
charred monolithBOT
lament nimbus
lament nimbus
#

I didn't want to use latex ok can people stop asking about it

charred monolithBOT
charred monolithBOT
#

@LemonjamesD if you dont mind some hacky scripting stuff, you can get Vencord running with a out-of-tree module and some scripting.

I personally use the setup that i install Discord via environment.systemPackages with the openAsar override ((discord.override { withOpenASAR = true; })).

Then or the out-of-tree package i use a simple overlay with a dumb derivation fetching the latest release:

{ buildGoModule, fetchFromGitHub, lib }:
let
  version = "1.2.8";
in
buildGoM...
charred monolithBOT
quaint sapphire
lime stone
#

nice!

quaint sapphire
#

one thing I noticed is that the json API is slower

#

because it provides way more info

#

so maybe it does more database calls on the backend

lime stone
#

so there's no graphql-style thing?

#

:C

quaint sapphire
#

this is the data returned by the json api as an interface

export interface Theme {
    id:            number;
    name:          string;
    file_name:     string;
    type:          Type; // "theme"
    description:   string;
    version:       string;
    author:        Author;
    likes:         number;
    downloads:     number;
    tags:          string[];
    thumbnail_url: null | string;
    release_date:  Date;
    guild:         Guild | null;
}

export interface Author {
    github_id:           string;
    github_name:         string;
    display_name:        string;
    discord_name:        string;
    discord_avatar_hash: null | string;
    discord_snowflake:   string;
    guild:               Guild | null;
}

export interface Guild {
    name:        string;
    snowflake:   string;
    invite_link: string;
    avatar_hash: string;
}
#

basically its just Theme[]

lime stone
#

ah, so i suppose some stuff which only shows on the full page?

quaint sapphire
#

i dont think we should use the json api imo

#

it feels bloated and slow

#

for what should be fast

#

it also has all the themes in one response

#

if we could paginate I would consider it

#

but I don't know how

lime stone
#

are there any docs?

quaint sapphire
#

only for the discord side of stuff

#

not their website

#

and devilbro's theme repo plugin just fetched the entire json

quaint sapphire
lime stone
#

does it have every theme ever uploaded?

#

surely there are more than that?

quaint sapphire
#

it has 125 themes, and there are only 11 pages of 12 themes per page

#

if we were to fetch the json in the background it would make sense
but that aint really what I had in mind

#

so yeah, i wont use the json

#

lol

#

*correction 12 themes per page is what I use in the code

austere talon
#

why not

#

how long does it take

#

it's almost instant for me

quaint sapphire
#

that depends on the region I bet

lime stone
#

only 125.. wow

quaint sapphire
#

fetching all the themes at once would remove the point of fetching as you scroll

#

and for some users it would be slow af

lime stone
#

considering betterdiscord is quite popular [citation needed]

lime stone
quaint sapphire
#

the json api does not have pages

#

i tried

lime stone
#

well you could in the ui to make it more digestable

quaint sapphire
#

if you mean to have fake pages on the UI, then my question is why?

lime stone
#

hm...

#

or maybe you could render it lazily

#

like when you get to the bottom it adds some components

#

and then at the bottom... it can say
#that's it
##there are no more themes

#

##tune in next time

austere talon
#

u can use Discord's lazy list lmao

quaint sapphire
austere talon
#

you're always over engineering arjix

#

just fetch the entire json

#

it doesn't matter that much

lime stone
#

this looks really nice so far! well done. i may have said that but i'm going to say it to the point where it's annoying!

quaint sapphire
#

sighs

#

fine

tropic estuary
#

Will vencord be available on mobile

quaint sapphire
#

and it is husk

tropic estuary
#

Why not

quaint sapphire
#

use vendetta

#

much better

tropic estuary
#

On mobil?

quaint sapphire
#

yeah

tropic estuary
#

Mobile*

#

Aight

#

So it's vencord but on mobile

lime stone
#

well because on mobile you either use the discord website which doesn't work well or the app which is an entirely different codebase i'm pretty sure :p

quaint sapphire
quaint sapphire
#

vendetta is an actual word

#

means revenge

tropic estuary
austere talon
quaint sapphire
#

you sir are cursed

lime stone
#

or you're not in a lot of servers, it may work quite well then but idk

#

maybe there could be a nice preview theme action which uses the theme with a header to go back?

lime stone
#

ah...

quaint sapphire
#

that would be a bit too bloated, I can instead link to another site that has the preview

lime stone
#

why would it be bloated?

lime stone
#

it would just apply the theme temporarily i mean

#

and you could use discord normally with it

#

this site seems to have broken a bit

quaint sapphire
#

broken where?

lime stone
charred monolithBOT
austere talon
#

do you think we could somehow incorporate integrity check to our installer / updater?

#

we could add hashes.json or smth to each release

quaint sapphire
#

or we could analyze the js files if they are valid or not

#

that would also work for the dev builds

lime stone
#

maybe there could be a hashes.json in the build itself?

#

but i suppose you could for each file

#

I suppose it depends what the cause was

#

idk enough about how the installer works ;-;

charred monolithBOT
quaint sapphire
charred monolithBOT
charred monolithBOT
#

Something I've wanted to see for a long time in discord, and i've seen threads of people asking discord for this for years, but something that would normalize the volume of the people I'm in a call with.
The amount of times i have to manually adjust peoples volumes in every VC call is ridiculous if i want to be able to hear everybody clearly. Not have to continually fuss around with making sure soft-spoken people aren't borderline muted even at 200% and others aren't so loud nothing else c...

charred monolithBOT
stark flint
#

voicetop

charred monolithBOT
jagged cloak
#

reviewdb so horror

#

i stopped using cause all my profile reviews are insan

jagged cloak
#

so bad

#

stupid aliucoprd brainrot

austere talon
#

made fart plugin,pretty good developer

lament nimbus
#

you will review me immediately

charred monolithBOT
lime stone
#

it's kind of broken... sometimes

#

maybe it's firefox

jagged cloak
#

lol

austere talon
austere talon
lime stone
#

discccord

#

disc cord

lime stone
#

sadly i only have this

#

@devout herald it's your fault!! i'm annoyed. can you help fix? (/j)

charred monolithBOT
lime stone
#

a smol merge?

austere talon
#

144 commitsl maooo

lime stone
#

Sizes.SMOL

charred monolithBOT
umbral hedge
#

smallest merge

charred monolithBOT
umbral hedge
#

@spark cove can u make sure ur happy with my changes on ur reviews

spark cove
#

LMAO

umbral hedge
#

you love not being able to code for a whole month

austere talon
#

I will lookie later

umbral hedge
#

one thing i notice is editing this doesn't seem to change theme until i refresh
idk if vencord bug or something messed up during the merge conflict stuff

austere talon
#

it uses onBlur aka unfocus

#

maybe should change lol

umbral hedge
#

ye i never changed that

#

onblur is the same as it used to

#

but when i "blur" it

#

the theme doesn't change

umbral hedge
#

well it's certainly an issue

austere talon
#

i think we should change it from blur anyway uhh

#

kinda weird

umbral hedge
#

I vote for just having a save button

#

I can do that if u want

austere talon
#

sure

#

actually no

umbral hedge
#

you want me to just get rid of online themes entirely?

#

im more than happy to do that

austere talon
#

no

spark cove
#

Ur still doing React.useEffect and stuff

umbral hedge
#

yes

#

like many other files

spark cove
#

Other than. That it's chillinh

austere talon
#

idk how u did it now but I would make an add button that opens a modal where you can pick from file or url

umbral hedge
#

can i say "out of scope"

austere talon
#

and either one will add the theme

umbral hedge
#

i really cant be fucked

austere talon
#

how do u have it rn

umbral hedge
#

I didn't change online themes at all

#

so my assumption is something messed up in the merge

#

e.g. something changed and my merge undid it

austere talon
#

Well text input broke

#

we had to add a new property to it

#

you probably incorrectly merged that

umbral hedge
#

but like this obviously isn't darkmatter

#

it applies if i ctrl+r tho

#

that's what im confused about

#

settings isn't detecting the theme change or smth

#

maybe i messed up smth

#

LOL yeah i messed up

#

mb sk

austere talon
#

how

umbral hedge
#

oh wait

#

no i didnt

#

yeah idk why its ded

#

it preloads the links array with the online themes

#

i guess the settings watcher isnt working for some reason

austere talon
#

show it

umbral hedge
#

show what

umbral hedge
#

i never changed that

#

i just added enabledThemes on line 71

#

ye the watcher isn't running bc that console.log never happens

lament nimbus
devout herald
#

hi

jagged cloak
lament nimbus
#

good

quaint sapphire
#

gotta love it when development about themes is happening right after i made a PR about a theme store plugin

#

@umbral hedge are ya making smth that will render my plugin obsolete?

jagged cloak
#

lmao

#

that's been in dev for a while just got finished now

charred monolithBOT
#

Tell us all about it.

Currently, utils are extremely messy. For instance, we have a dedicated file for react utils, except the majority of react stuff is in utils/misc

Utils should be refactored so that each utils is in a file that makes sense

Request Agreement

  • [X] This is not a support or plugin request
quaint sapphire
#

nvm

umbral hedge
#

themes pr is a month old

quaint sapphire
#

I was already told that

umbral hedge
#

themes store would be nice tho

austere talon
#

it's a shame we don't have a convenient #πŸ€–-bot-commands channel for testing stuff like this

jagged cloak
quaint sapphire
#

such a shame

umbral hedge
#

actually so true

quaint sapphire
median rapids
#

theyre probably fucking the member profile cache somehow lol

#

they keep doing that on and off

limber skiff
#

alien machine knows way too much about discord

#

this is scary

charred monolithBOT
median rapids
#

could send the sound over the socket trolley

austere talon
#

isnt soundboard client side

#

i thought it just sent the sounds through ur mic

median rapids
#

theres an endpoint and event

quick ibex
#

I think the server just adds the sound via a separate stream

median rapids
#

no

#

it's just

#

played client-side

#

after an event is received

#

same system as the little floating reactions

quick ibex
#

just fetch audio file

median rapids
#

you could just send the audio over the socket but that sounds like it would be mildly annoying

#

especially since different clients use different protocols for voice

quaint sapphire
#

you can force a client to use a specific protocol
they all have a fallback to a plain protocol

lament nimbus
median rapids
#

youre probably thinking of encryption modes

quaint sapphire
#

oh yeah

frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors

quaint sapphire
#

@cunning canyon I started adding filters, I'd suggest you give them a look and polish them in any way you want.
I'll finish the filters tomorrow, for now I'm going to sleep.

New screenshot

frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

quaint sapphire
#

darn them embeds

lament nimbus
#

Though the lack of "USER_POPOUT_PRONOUNS" is concerning
They better not have removed their useless code like normal people would

cunning canyon
charred monolithBOT
austere talon
#

NO

charred monolithBOT
jagged cloak
#

STOP POSTING ABOUT TIMEDONES

charred monolithBOT
round gust
#

i want timedones

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
calm shore
#

@median rapids

calm shore
#

y not @austere talon

austere talon
#

that person wants a plugin to bypass permissions

#

obviously not gonna do that

#

that's just abusive

charred monolithBOT
calm shore
#

oh i thought it was talking about nitro permissions

austere talon
#

yeah no that person wants to bypass server permissions

#

nitro requirement sure but they didn't ask for that and there's already an issue for that

quaint sapphire
#

even if we wanted

#

unless you are talking about the soundboard?

calm shore
lime stone
quaint sapphire
#

since when does github have translation capabilities?

charred monolithBOT
#

Recently discord pushed a new update to the discord app which urlencodes unicode urls before displaying them which destroys a lot of the custom url types of image uploading services like upload.systems. This plugin reverts this change(only visually, the link that is opened in the browser gets encoded as it should be).

Without plugin:
grafik

With plugin(and how it was before the dis...

median rapids
calm shore
#

because it’s a dumb thing

median rapids
median rapids
calm shore
#

sometimes you might wanna, if someone else has the token your using currently

charred monolithBOT
austere talon
charred monolithBOT
austere talon
austere talon
charred monolithBOT
austere talon
median rapids
#

insan

charred monolithBOT
charred monolithBOT
#

Can this code be modded and compiled for Android device so that Android devices can use more plugins just like old Aliucord in the new updated versions of Discord. Discord is updated their app to react native so the old Aliucord is broken so it can get any new updates and features by Discord. Aliucord is based on old method of modding and they have for a lot years so much cool and best plugins in the world that is ported from BetterDiscord but after this freaking Discord update, this adventur...

stark flint
#

jesus

charred monolithBOT
quaint sapphire
#

i like how they knew that a mod for the new mobile discord exists, but bc it doesnt have all the plugins they want they came here to complain

#

like, how does that make sense

#

instead of asking the plugin devs to port their plugins, they asked for a new android mod?

charred monolithBOT
#
[Vendicated/VencordWebsite] New branch created: cloudflare
quaint sapphire
#

( Ν‘Β° ΝœΚ– Ν‘Β°)

austere talon
#

which errors in cf

#

need to probably stop using that if we use cf

quaint sapphire
#

did vercel remove the free tier or smth?

austere talon
quaint sapphire
#

do you have a service worker to cache the network calls so that the website loads even when offline?
(i know this wont stop the spam, because the spam won't use a browser, but its good to have it either way)

charred monolithBOT
austere talon
charred monolithBOT
#

I don't know how the fuck this will be done, we could maybe attach a debugger to electron.
But reloading for every single tweak is sooooooooo slow.

Possible solutions:

  • Mount vencord as a web extension and use vite-plugin-web-extension for the hot reloading it offers.
  • Manually implement the hot reloading ourselves
  • Give up

The first option will probably not even work since we inject our components, and we don't use "normal" ways.

charred monolithBOT
#

You should instead go complain to aliucord for not porting over the plugins you liked lol.

(vendetta is better btw)

They don't have plugins I used before in old Aliucord so I can't use that client. BetterDiscord for example have everything, but they hates mobile phones so they don't want to integrate their project to android even if they can so I need to use those plugins that is going to never be ported to React-Native

austere talon
lime stone
#

is there nothing like hotswapping for js?

charred monolithBOT
#

Tell us all about it.

you can use https://github.com/Vencord/Android, other than that, not possible

@Vend

Well, Vencord doesn't support most plugins that old Aliucord have. As I already told, I need and not only me, every Android user needs a modded Discord client like BetterDiscord to have many mods like old Aliucord have but the mods that will work on the latest Discord versions.

Many devs don't even want to port many mods from old Aliucord framework to new Aliucord RN to ge...

jagged cloak
#

@Vend

charred monolithBOT
jagged cloak
#

πŸ’€

jagged cloak
#

also aliu kt and bd are farther apart than vd and discord desktop tf is bro on

austere talon
#

what

#

smartest mobile User

quaint sapphire
#

@austere talon how would I pass react to an external dependency that gets react from a global?

austere talon
#

elaborate?

quaint sapphire
#

uhh, im loading an external module, and it gets react on its own

#

ig ill just use a string replace to point to the vencord export for react

austere talon
quaint sapphire
#

supports all three (I think, dunno about amd)

austere talon
#

send library?

quaint sapphire
#
austere talon
#

why not use react spring

#

discord has it already

quaint sapphire
#

does it animate even when the element is deleted and re-added?

#

thats what I want

#

you just give it a layoutId, and it magically works

austere talon
quaint sapphire
#

i may be wrong, but I cant find what I want in spring

#

does it use the key attribute to know which element to animate?

charred monolithBOT
quaint sapphire
#

yeah spring is not a direct alternative to what I was looking for

#

it can do what I want, but I am not a spring expert
and nothing similar exists on their examples

#

ig the list re-ordering example is the closest to what I want

charred monolithBOT
lime stone
# charred monolith

idk how it would work, but there could be a sub-tab? idk how to make this not cluttered though

quaint sapphire
#

its not about how it would look
its about the code design

#

a plugin, cannot really patch another plugin

#

the settings section for vencord, is a plugin

#

i cant patch that

lime stone
#

why couldn't it be part of that plugin?

quaint sapphire
#

bc that would mix the theme plugin with the settings plugin

lime stone
#

huh?

#

isn't there already a theme ui?

#

couldn't you add to that?

quaint sapphire
#

can you stop?

#

like, is there a need for this?

lime stone
#

wdym?

quaint sapphire
#

is there a need for this?

lime stone
#

i'm just trying to discuss

#

:c

quaint sapphire
#

it works fine as is

#

leave it be

#

if ven wants to merge the theme store plugin with the theme section in the settings, then thats another story

#

but i am not ven

lime stone
#

I'm not trying to argue about it, I'm just trying to suggest features to make it a less incoherent experience (not that it's terrible right now)... and I'm happy to help implement anything

quaint sapphire
#

and we usually dont agree

lime stone
#

hm, well i don't think it's healthy to assume you will disagree with somebody

#

vendicated can respond to my messages too

#

anyway, personally the reason why i dislike how it is, is because there would be two inconsistent places to manage custom themes

#

so that's why i brought it up

#

not trying to cause problems for you!

charred monolithBOT
quaint sapphire
#

@austere talon finally made the library import
but it wasnt worth it (as in, it didnt work the way I want it to)

export const getFramerMotion = makeLazy<Promise<typeof import("framer-motion")>>(async () => {
    const exports = {};
    const winProxy = new Proxy(window, { set: (_, k, v) => exports[k] = v });

    let code = await fetch("https://unpkg.com/framer-motion@10.12.4/dist/framer-motion.dev.js").then(r => r.text());
    code = code.match(/^.*?(["']use strict["'];.+)\}\)\)/s)![1];

    Function("exports", "React", code)(winProxy, Vencord.Webpack.Common.React);

    // @ts-ignore
    return exports as typeof import("framer-motion");
});
lime stone
#

:O

#

anyway i'm sorry for my feedback on things which admittedly aren't very important

#

can you assume i mean well though? xD

quaint sapphire
#

yeah

lime stone
#

your response to it didn't feel very nice πŸ˜”

quaint sapphire
#

yeha was a typo

#

i then changed it to yeah

lime stone
#

no I mean when you asked me to stop idk

quaint sapphire
#

im working on the tags rn, thats why i was late to respond

lime stone
#

πŸ€·β€β™€οΈ it just upset me slightly

quaint sapphire
#

and I think the tags are perfect (besides the background color)!

quaint sapphire
lime stone
#

oh, what's wrong with constructive feedback though?

#

well i assume it was

#

basically i suggest something, and then say "why not" 10 times until they give in!! /hj

austere talon
#

I don't think he realises he's always being rude

lime stone
#

:(

quaint sapphire
#

its as if im talking to a wall

quaint sapphire
quaint sapphire
#

i am not comparing you to a child

#

but thats why I was frustrated

quaint sapphire
#

especially for autistic people like me

lime stone
#

how would i express the level to which i am joking though? a percentage??

lime stone
quaint sapphire
lime stone
#

well generally you use it when there's some truth to what you're saying but you don't want to fully admit i suppose

quaint sapphire
#

most of the times that I've seen /hj used, it is to test the waters
waiting for how the others react, if they dont like it then its a joke

#

if they are ok, then its serious

lime stone
#

oh i see

#

yes it does seem to be ambigious

#

surely not more ambigious than without it though...

#

anyway even if you understand there are always things the other person may not

quaint sapphire
#

/j alone would be fine for me
/s if you are not being serious

#

/s is for sarcasm, but its mostly used when not being serious, at least in my circles

lime stone
#

we can't understand each other perfectly though..

#

unfortunately you'll have to deal with some level of explaining things because of someone's oversights

quaint sapphire
#

indeed

lime stone
#

and you're talking to me i miss everything

quaint sapphire
#

basically, I understood what you asked for, but I can't do anything about it other than wait for ven to allow it

#

so it got frustrating when you kept asking

lime stone
#

well i wasn't asking for the same thing

austere talon
#

MEOW this is vencord dev not whatever this is

lime stone
#

anyway...

#

yes

lime stone
#

character development

#

i don't know xD

quaint sapphire
#

@austere talon would it be ok if the theme store plugin, was to be integrated with the theme section of vencord?

#

like a tab

#

or another section (below it)

#

like here

umbral hedge
#

u might wanna base the branch against the themes pr and add a tab in there

quaint sapphire
#

hmm

austere talon
#

I still don't really see the point of this

#

just open the website

quaint sapphire
#

^ this is the reason why I said no @lime stone

lime stone
#

well that's saying no to the whole feature kind of

#

it doesn't relate in anyway to its position i'm pretty sure

quaint sapphire
#

yeah, if ven rejects it, it will be a third party plugin

#

if its a third party plugin, how will I integrate it with the settings section of vencord?

lime stone
#

oohh

#

i see

charred monolithBOT
quaint sapphire
#

thats my dilemma

lime stone
#

well, ask ven whether it would be merged

#

would it be merged?

charred monolithBOT
lime stone
#

probably well-known tbh

charred monolithBOT
umbral hedge
#

mantika so insane

charred monolithBOT
quick ibex
#

does nobody ever look at settings??

charred monolithBOT
royal bane
#

doesnt happen to me

#

L ig

#

:sungaalalsses:

jagged cloak
#

lol comment deleted

charred monolithBOT
austere talon
#

oh they deleted their command, probably realised

austere talon
# charred monolith

I love people putting in zero effort to check if their request already exists

charred monolithBOT
stark flint
charred monolithBOT
austere talon
#

wtf is 7tv

#

I only know ttv

wise rain
#

7tv is app adding emotes to twitch

royal bane
#

bttv

wise rain
#

yes

#

like it

#

but other app

#

better

#

7tv.app

umbral hedge
#

on vencord desktop

royal bane
#

its smth to do with some library iirc

umbral hedge
#

wut

#

its just because discordnative isnt implemented

royal bane
#

oh

#

welp

royal bane
umbral hedge
#

lmao

charred monolithBOT
austere talon
#

its easy fix

#

crazy how much slower cloudflare deploy is

#

than vercel

umbral hedge
#

ye

austere talon
#

vercel is nearly instant

#

cf is sloooow

umbral hedge
#

cloudflare deploys very slowly

#

iirc they were supposed to be speeding it up soon

#

idk

austere talon
#

epic deploy success

umbral hedge
#

so real

austere talon
#

wow its way faster than vercel

umbral hedge
#

you mean page load?

#

cloudflare datacentre hosted in ur neighbours basement blobcatcozy

austere talon
#

okay seems to work fine, should we just move?

umbral hedge
#

why not

charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

When I try to open the plugins menu on Vencord Web on Opera GX, it thinks the search box is for Discord accounts, so it autofills my email into the searchbox. When I try to remove it, it autofills again.

What is the expected behaviour?

I expect it to NOT force my email into the Plugins search box on Vencord Web

How do you recreate this bug or crash?

  1. Open up Opera GX
  2. Open Discord from the sid...
austere talon
#

u know how people often get rate limited from github? we could just add /releases/installer and /releases/vencord endpoints on our site FubukiThinky

charred monolithBOT
austere talon
#

ig we can move the repo again now

austere talon
#

WAIT

#

I MOVED THE VENCORD MAIN REPO LMAO

#

nightmare

#

holy fuck

#

okay seems like nothing bad happened

austere talon
#

heart attack

charred monolithBOT
austere talon
umbral hedge
#

it's your current main deployment
ig they dont have a rollback feature?

austere talon
#

i figured it out

austere talon
#

cloudflare forces u to switch nameserver thats really cringe

umbral hedge
#

indeed their entire business revolves around that feature lol

austere talon
#

but why

#

thats so stupid

#

it's not necessary

#

u can just A or even cname

umbral hedge
#

not yet for me

austere talon
umbral hedge
#

nameserver moment

austere talon
#

it works on mobile data

#

dns cache is silly

umbral hedge
#

ye

#

imagine if clearing ur dns cache didn't involve getting a masters degree in astrophysics

austere talon
#

now it works on wiif too erm

charred monolithBOT
austere talon
#

this never works

umbral hedge
#

ye

austere talon
#

🫠

umbral hedge
#

because the browsers also have their own dns cache

#

i hate

austere talon
umbral hedge
#

and for whatever reason clearing the browser dns cache doesnt fix shit

quaint sapphire
austere talon
#

anyway we are now cloudflaring

#

vercel too slow to reply

quaint sapphire
#

My feelings for cloudflare are bittersweet

#

On one hand they make websites faster and provide a reliable DNS.

On the other hand they are my mortal enemy as a web scraper dev

charred monolithBOT
#

Discord Account

whatup#6537

What happens when the bug or crash occurs?

All time that i try to launch the vencord installer its not launching when i go to task manager there nothing who appear

What is the expected behaviour?

dont know

How do you recreate this bug or crash?

  1. You get Vencord installer
  2. you launch it.

Errors

No response

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens there as well
frail skyBOT
#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors

#
Bad Patches

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

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

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

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

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

Bad Starts

None

Discord Errors
Cannot use SettingsStoreAPI without setting as dependency.

tight vapor
#

Just got an insane idea, what if the MessageLogger plugin had a thing like GitHub, where it showed you what got added or removed line by line. This is an example that hopefully illustrates what I mean:
Original: Hello, World This is an example.

Changed to: Hello, World! This is an example.

MessageLogger:```diff

  • Hello, World
  • Hello, World!
    This is an example.```
cunning canyon
charred monolithBOT
austere talon
#

it still happens to me when switching account then restartin app

#

i think cause when you switch account it doesnt clear cache so notifier will log servers of ur other account cause theyre still in cache

#

i hope u actually can do this

#

the cf object

#

its a cloudflare thing but idk if u can use it from astro

charred monolithBOT
proven sierra
#

Vercel is no longer lame

austere talon
proven sierra
#

😭

charred monolithBOT
austere talon
charred monolithBOT
dusty finch
#

if someone wants to give this a try

#

not possible to play the clips/videos

charred monolithBOT
quick ibex
#

works on stable

#

so doesnt need fixing

charred monolithBOT
jagged cloak
#

discord canary when the discord is actually canary (nothing fuckign works)

#

client mods ideally shouldnt have to fix discord fuckups

#

except we do all the time so whatever if someone wants to fix edge case canary moment go ahead

charred monolithBOT
quaint sapphire
#

I thought canary was just faster updates

quaint sapphire
#

@umbral hedge hmm, I think it would make sense to conditionally have a Theme Repo tab when the plugin is enabled and initialized

lime stone
#

i realise i wasn't invited to comment here but wouldn't that plugin kind of be fake if it's just there for the toggle?

quaint sapphire
#

pardon?

lime stone
#

oh, idk unless the plugin actually has the logic

quaint sapphire
#

i just didnt understand what you said

lime stone
#

but it's not modifying discord

#

there could be an option to hide the tab... but why

#

so i assume the main purpose would be to separate code

quaint sapphire
#

what?

#

yes

lime stone
#

but i guess there are other ways to do that?

quaint sapphire
#

instead of having it have its own section

lime stone
#

yes this is better :D

quaint sapphire
#

it would integrate with the new theme settings UI

#

i dont understand your confusion

lime stone
#

well what would the plugins code be?