#👾-core-development

1 messages · Page 70 of 1

cosmic willow
cosmic willow
turbid hatch
#

just for you

austere talon
#

REVERT THAT COMMIT RIGHT NOW YOURE SUPPOSED TO BE ASLEEEP

turbid hatch
#

SHUT UP

austere talon
#

make me <3

#

omg so good

#

look how clean it suddenly looks

turbid hatch
#

ven flirting???

austere talon
#

always

turbid hatch
austere talon
#

platonically flirting with the homies is always on the menu

#

although more often thsan not its jolkionmglöy bullying instead

#

okay pretend i can type im sorry

#

idk how that happened

turbid hatch
#

where tf did the umlaut come from

austere talon
#

uhm

turbid hatch
#

you're typing english

austere talon
#

i tried to type jokingly

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
austere talon
#

but my finger slipped kinda

turbid hatch
#

lmfao

austere talon
#

reporter jumpscare

olive aurora
#

minor spelling mistake

austere talon
#

german keyboard has umlauts on the right

#

so its kinda easy to type them

#

programmers using 60% keyboardss, meanwhile im using a 110% keyboard

#

🔥

#

literally has more keys than standard qwerty (i think)

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
turbid hatch
#

@austere talon explode

#

i will submit my review before i sleeop

olive aurora
#

SLEEP

turbid hatch
#

WAIT

#

THE OLD PLACEHOLDER WAS SO MUCH BETTER

#

WHY DID I CHANGE IT

olive aurora
#

my keyboard layout has symbols in insane places

#

i love bit-paired layout

turbid hatch
#

oh

#

because copyright

#

i think

#

maybe

#

i dont know

#

i'll make a new placeholder later

olive aurora
#

my number row has !"#$%&'()~=

charred monolithBOT
austere talon
#

- = nothing

charred monolithBOT
olive aurora
#

insan

austere talon
olive aurora
#

the reason it's that way

austere talon
#

you have to altgr for {[ ]} \

charred monolithBOT
austere talon
#

honestly i dont get the purpose of that plugin

#

why would anyone want a reddit feed in their discord

charred monolithBOT
austere talon
turbid hatch
#

that guy, obvs

olive aurora
#

I have keys for ; and : its so good

#

vim trolley

austere talon
turbid hatch
#

yeah but its just inverting the condition

austere talon
#

the best bet would be to replace the icon with the normal notification icon

#

then invert the strikethrough

turbid hatch
#

cause we have this atm

#

for off

#

wait

#

dfg

#

wait is it not already like this?

#

oh

#

silent type

#

derp

austere talon
#

i wonder how hard adding our own rules to Discord's parser would be

#

i never worked with it

#

🤔

#

i want to add a rule for markdown images

#
![cool image of my dog](https://mydog.png)
turbid hatch
#

what the guy wants is to strike through the silent type icon when its disabled

#

to match the behaviour of silent messages

#

because atm the strikethrough means its

#

on

#

for silent type

#

and off for silent messages

#

which is extremely counterintuitive

olive aurora
#

me when i ![](https://epic-ip-grabber.com)

austere talon
#

nuh uh

#

this is only for our own markdown

#

it's for ^

turbid hatch
#

actually yeah pls merge the strikethrough invert

austere talon
#

no

turbid hatch
#

its a one character change xd

austere talon
#

it doesnt make sense in its current form

turbid hatch
#

wdym

austere talon
turbid hatch
#

no

austere talon
#

the icon it uses is the silent message icon

turbid hatch
#

ignore silent messages

#

compeltely

#

its unrelated

austere talon
#

what

turbid hatch
#

this affects silent typing

#

the change is to invert when the strikethrough is shown on the silent type plugin

austere talon
#

the idea is that

turbid hatch
#

they're using the silent messages plugin as a demo of why the behaviour is jank

austere talon
#

keyboard striked through = typing hidden

#

the silenttyping plugin needs to be fixed, not the other way round

turbid hatch
#

that makes it more counterintuitive imo

austere talon
#

how

austere talon
#

cause its the silent message icon

#

change it to he notification icon

turbid hatch
#

i understand it for silenttype, now i understand why you want it like that

austere talon
#

or just remove the strike through and use colours instead

#

like the translate plugin

turbid hatch
#

so what we could do instead is change silenttype's icon to a keyword with a z

#

:P

austere talon
turbid hatch
#

that makes it more intuitive in my head too

#

or do that yeah

olive aurora
turbid hatch
#

im just

#

tired

austere talon
#

the silentmessage plugin needs to be fixed

turbid hatch
#

anyway

olive aurora
#

trolley

turbid hatch
#

ship the cloud settings multi account stuff shipit

#

i'll do more thingies tomorrow

olive aurora
#

who cares about siltenttyping icon tbh just /silenttype

turbid hatch
#

such as working on

#

uh

#

extended descriptions

austere talon
#

let me add a todo list to it

#

dolfies jumpscare

median rapids
#

very cool blobcatcozy

#

i was scrolling through

#

plugin menus with stuff like image previews worked well for other client mods in the past

#

like goosemod looked really nice

austere talon
#

thats a lot of users btw

#

so many web users

median rapids
#

i didnt know that many people use discord web trolley2

median rapids
# austere talon

with something like this you'd still keep the short descriptions for showing in the plugin list right

#

with extended description only being on click or whatever

austere talon
#

yes

median rapids
charred monolithBOT
bronze schooner
bronze schooner
austere talon
#

lil fork
rewrites entire codebase

bronze schooner
#

true

median rapids
#

lil fork

#

fork shockhorror

austere talon
#

they do now on the latest version

#

them opening in browser is normal but then they will launch in app

austere talon
#

threads husk

quick ibex
#

Huh

#

Looks fine to me

charred monolithBOT
#

why

my current gif usage is basically:

  • open favourite gifs menu
  • scroll through, probably multiple times, looking for the gif i think is in there
  • if it's not i cry

i would like to not do this

the proposal

add a search box to the fav gifs picker which filters your favourite gifs by probably just their URL since tenor includes tags in there.
bonus task: allow adding custom tags to gifs and search those as well. useful for when you favourite a gif hosted on say, discord's cd...

normal chasm
#

oh hey its me

#

thats so c ool

stark kernel
#

hai

#

can i ask a very simple thing from someone that knows css

#

hiding the "explore discoverable servers" icon at the bottom of the server list

#

i couldnt find a snippet for it by searching :(

normal chasm
#

this might be the wrong channel but here you go. also this might suck but idc ```css
div[class*="listItem"]:has(div[aria-label="Explore Discoverable Servers"]) {
display: none;
}

stark kernel
#

it worked ty! thats all i care abt

#

also

#

may i have help with another snippet

normal chasm
charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
livid pendant
#

is there a way to execute a custom builtin command without sending a message as the user

charred monolithBOT
golden gulch
#

bump

tawny cipher
#

unbump

austere talon
#

people bumping their requests instead of just making it themselves

charred monolithBOT
nocturne haven
#

did discord go back to your old cached avatar? lol

charred monolithBOT
austere talon
#

discord try not to cache github pfps for 2 months challenge (impossible)

nocturne haven
#

can't you fix that in your gh webhook proxy?

austere talon
#

uh

#

dunno exactly

#

wtf does the ?v=4 stand for in the url

#

changing v does nothign

nocturne haven
#

you could just add some random query to the avatar url that you send to discord.

austere talon
#

how would I detect avatar changes

#

unless you mean randomising it every time which is an anti feature imo

nocturne haven
#

don't you also get a hash?

austere talon
#

i can see what data github sends and maybe if they send something like an avatar hash i can append that

nocturne haven
#

nope, you don't get a hash, sad

#

or you manually fetch the avatar buffer and create a hash from it smart

austere talon
#

wasting my bandwidth

nocturne haven
#

only fetch like the first 20bytes

austere talon
#

maybe

#

but at that point no hash needed

#

just base64 that shit

nocturne haven
#

true

austere talon
#

that's actually not a bad idea if github supports partial downloads

#

the weirdest thing is that even the media link is up to date

#

its just local cache

nocturne haven
#

ah so client cache?

#

that's odd

austere talon
#

yes

#

???

#

its the right one

#

but its wrong in the embed

#

hello

nocturne haven
#

so they have specific code for embed avatars to be cached?

olive aurora
#

kity

austere talon
#

oh i guess

#

because the embed is generated by discord

#

which has no cache

#

uh

#

actually no that makes no sense

#

WHAT

nocturne haven
#

seems like they have this

austere talon
#

so

#

it really is just local cache

#

its because of this

nocturne haven
#

I assume this is maximum age? why tf

austere talon
#

theyre setting 1y cache on proxied links but ig dont reproxy it

olive aurora
#

1y cache blbctscrd

austere talon
#

i mean it makes sense

#

media proxy files should never change

#

the issue is just that they don't reproxy if it does change

#

they keep reusing the old one

#

query param does fix it

olive aurora
#

u love tetr.io caching avatars server side indefinitely

nocturne haven
#

(okay I could've figured now that its local cache because of this)

austere talon
#

oh god

#

that one is even older

#

thats like months ago

austere talon
#

lets see

charred monolithBOT
nocturne haven
#

first 20 bytes is just the png header I realized

austere talon
#

yes

#

lmao

#

skip a bit

#

they send so much lmao

nocturne haven
#

yup

austere talon
#

so need to patch sender.avatar_url

nocturne haven
#

this is so useful

austere talon
#

oh i just printed the json data in code lmao

#

oh yeah i should remove the debug ip logging lmao

#

i validate source ips (to make sure the requests are genuine requests from github) and had that log to ensure i was getting the right ip (cause double reverse proxy)

#

wdym

#

can't do that cause ghwp is public

#

i just don't want people to abuse it as a general purpose proxy

#

that's why iadded the check

#
if payload.Sender.AvatarURL != "" {
    url, differs := makeUniqueAvatarUrl(payload.Sender.AvatarURL)
    if differs {
        bytes.Replace(data, []byte(payload.Sender.AvatarURL), []byte(url), 1)
    }
}
#

this seems so cursed lmao

#
func makeUniqueAvatarUrl(avatarUrl string) (string, bool) {
    u, err := url.Parse(avatarUrl)
    if err != nil {
        return "", false
    }

    req, err := http.NewRequest("GET", avatarUrl, nil)
    if err != nil {
        return "", false
    }

    req.Header.Set("Range", "bytes=200-250")
    res, err := http.DefaultClient.Do(req)

    if err != nil || res.StatusCode < 300 {
        return "", false
    }

    body, err := io.ReadAll(res.Body)
    if err != nil {
        return "", false
    }

    u.Query().Set("hash", base64.StdEncoding.EncodeToString(body))

    return u.String(), true
}
#

i forgot how horrid go's error handling is

#

wait that should be >= 300

#

testing this is so painful tho

#

we just test in prod i heard

olive aurora
#

why do u return a bool can't u do string | nil or smth

austere talon
#

empty string true

woeful sable
#

how to add own plugins?

#

where is location of plugins?

austere talon
nimble pendantBOT
charred monolithBOT
austere talon
#

bleh

#

not working

median rapids
#

gh webhook proxy fear

#

discord's github webhook interop breaks so often

charred monolithBOT
austere talon
#

wait

#

its working

#

but not replacing in the json

#

reading probably would help

charred monolithBOT
charred monolithBOT
nocturne haven
austere talon
#

the code is cursed

#

because i manually manipulate the url and use string replace to replace the url in the json

#

but it works

#

wait

#

funnily enough the proxyUrl doesnt have the query params

#

but it works regardless??

nocturne haven
#

now change your gh avatar to see if it still works

austere talon
#

LMAO

#

you do it

nocturne haven
#

I don't have a replacement

charred monolithBOT
austere talon
#

well

#

i guess they strip query params but still reproxy

#

cause its a different url

#

cause as u can see, it works

#

- it works for you, right?

nocturne haven
#

it indeed does

austere talon
#

oh wait

#

i see it now

#

it does keep the query params, just embeds them in the middle of the url

#

good idea with the range

#

i just did range=200-300

#

hope that is unique

#

it does seem unique

#

but ig if you use a transparent pfp it might not differ

#

🤔

#

lets see

nocturne haven
#

if in doubt, use a checksum

austere talon
#

well then i have to fetch the entire thing

olive aurora
#

simply return a random url every time

nocturne haven
austere talon
olive aurora
#

that was the fastest husk I've seen ven hates me

austere talon
#

well in any case it isnt the end of the world if this isn't fully correct

#

it worked just fine for two arbitrary images i picked

#

worst case it still shows old stale pfps, but it won't be any worse than before

nocturne haven
#

give them a bottle of copium

charred monolithBOT
median rapids
#

no way

charred monolithBOT
livid pendant
#

Hey anyone knows why I get this error when I put my plugin into src/plugins?

X [ERROR] No matching export in "src/plugins/index.ts" for import "default"

    import-plugins:~plugins:48:7:
      48 │ import p47 from "./plugins/index";
         ╵        ~~~

X [ERROR] No matching export in "src/plugins/index.ts" for import "default"

    import-plugins:~plugins:47:7:
      47 │ import p461 error
 from "./plugins/index";
         ╵        ~~~

1 error
 ELIFECYCLE  Command failed with exit code 1.
verbal pumice
#

export your plugin maybe?

livid pendant
#

how

#

I did export default definePlugin() ... in my plugin.ts file

austere talon
#

you put an invalid plugin

#

show the relevant bit of your file structure & your plugin file

charred monolithBOT
tawny cipher
#

quack

livid pendant
#

quack

verbal pumice
#

one of the plugins of all time

austere talon
#

maybe we could just add eval potential to customtags or whatever it was called

#

so microcommands like this don't haveto be plugins

verbal pumice
#

honestly i see any form of eval as a Really Bad Idea™️
there's already an util for it if you care so much just use console

austere talon
#

yes true

#

i originally thought about allowing javascript: replacements in TextReplace because its very useful

#

but dropped it out of security concerns

livid pendant
#

will you accept my plugin or nah

austere talon
rancid dragon
verbal pumice
#

js in textreplace could be a hidden setting maybe? and add a warning banner if you try to add a js rule
if it still gets abused at that point you can only blame the user

austere talon
#

without the js replacement you'd have to manually url encode agony

rustic nova
#

@austere talon the error boundary breaks the instance. the forceUpdate is lost when using the error boundary. probably because of the spread operator

i tried this but nothing renders 😔
(instance: Instance) => ErrorBoundary.wrap(() => <SearchBar instance={instance} />, {})

can i just do this?
it works soo

return (
        <ErrorBoundary noop={true}>
            <SearchBarComponent
                ...
            />
        </ErrorBoundary>
    );
austere talon
#

yes that works as well

#

well

#

no actually

#
instance => stuff ? <ErrorBoundary><SearchBar /></ErrorBoundary> : null
#

does this work?

rustic nova
austere talon
#

in a component like this

function Comp() {
  throw "banana"

  return <ErrorBoundary><div /></ErrorBoundary>
}

the ErrorBoundary only handles errors thrown by div so it's kinda pointless. The banana wouldn't be caught. You gotta have it as high as possible

rustic nova
#

aaah i see

austere talon
#

it only handles Errors thrown by its children more accurately

austere talon
#

btw @rustic nova

#

does that work with all fabourites?

rustic nova
#

yeah it does

austere talon
#

does searching Epic Gif find epic-gif?

#

perhaps it would be good to decodeURIComponent it and replace things like - _ with space

rustic nova
#

ooh it probably wont work because of the uppercase and the space

austere talon
#

it's case sensitive??

median rapids
#

still W plugin though

austere talon
#

u will to lowercase fear

austere talon
#

i have so many favourites

#

that will be incredibly useful

#

but also force me to name my favourites proper htings

median rapids
#

i could never

#

maybe...

rustic nova
charred monolithBOT
#

Discord Account

alexiaya

What happens when the bug or crash occurs?

"Friend request from [username] has been revoked"

What is the expected behaviour?

It should not show anything, since it was accepted.

How do you recreate this bug or crash?

  1. Get a friend request from someone
  2. Accept it on some client without the plugin (e.g. mobile)

Errors

N/A

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens there as well
rustic nova
#

what do you think of this

props.favorites = props.originalFav.filter(gif => {
            const url = new URL(gif.url ?? gif.src);
            return url.pathname.toLowerCase().includes(quwery.toLowerCase());
        });

lets say we have 1 fav gif https://cdn.discord.balls/epic-gif.jpeg

it will only search /epic-gif.jpeg

so if you type epic it will work

but if you type cdn.discord or for example tenor.com (search for the domain) it wont work

we should probably make this a setting eh

and maybe add a dropdown next to the magnifying glass (but the component doenst take any children so we have to patch the component, so i dont really like this)
ima go eat breafast brb

charred monolithBOT
austere talon
#
<div>
     <SearchBar />
     <Dropdown />
</div>
rancid dragon
#

why is the syntax highlighting so weird here

austere talon
#

define here

#

oh because i used css lmaoo

#

braintoot

#

that is very much css code

rancid dragon
#

oh yeah that would do it

charred monolithBOT
rustic nova
austere talon
#

hmm

#

why so

#

it's fine

rustic nova
austere talon
#

yep yep

#

lmao i noticed a funny bug in thje translate plugin

#

since it stores updaters by message id

#

if the same message is rendered multiple times, for example because of message link embeds, the most recently rendered ones override previously rendered ones so only one of them gets the translation

#

lmao

median rapids
#

i love relationships api

median rapids
#

i love that they sent relationship add (and no remove) instead of update when the relationship type changes

charred monolithBOT
austere talon
#

whats this for

#

what is the difference

#

oh is FRIEND_REQUEST also outgoing ones

#

lets see

#

time to find some victim to add

#

how tf do u cancel request

#

uh

#

it doesnt notify me

#

huh

#

even when i do from a different client it doesnt notify me

#

are u sure that change is necessary

median rapids
#

since theres both incoming and outgoing

austere talon
#

oh

#

so it was already using the correct value, just the name was inaccurate

median rapids
#

yea

#

i changed it since i also added the second value

austere talon
#

oh right i see

#

yeah looks good then

#

thanks

median rapids
austere talon
#

now add me back sorrykirino

median rapids
#

ofc blobcatcozy

austere talon
#

i didnt want to harass some stranger with friend requests

#

so i just used u as dummy

#

uh

#

would we not also want to check outgoing requests

#

if i add you and you reject my request

#

i would want to be notified for that i guess?

#

so we should likely also add OUTGOING_REQUEST to both handlers and show a different message "{user} has rejected your friend request"

fringe basalt
#

fwiw rejecting a friend request doesn't show that to its sender

#

it just stays as pending for them

#

(unless you're blocked, then it actually disappears)

austere talon
#

are u sure??

median rapids
#

yeah

median rapids
#

which is possible for some reason

austere talon
#

why does it do that

fringe basalt
#

¯_(ツ)_/¯

median rapids
#

"privacy"?

fringe basalt
#

privacy or something

median rapids
#

idk

fringe basalt
#

ye

austere talon
#

how

median rapids
#

discor™️

austere talon
#

wtf its true

#

goofy ahh

median rapids
#

😨

#

now i gotta test it

austere talon
#

just fact checked

median rapids
#

thats so alien

austere talon
#

so many pings on my alt

median rapids
#

i will add

austere talon
#

you dont know my alt

#

discord keeps bugging me about pomelo on my alt

median rapids
austere talon
austere talon
median rapids
#

youll get force migrated soon probably lol

austere talon
#

what willthey do

median rapids
#

<@&1118512957396107336>sernamediscrim

#

guh

#

what did i even ping

austere talon
#

honestly the only reason i didnt migrate is cause im curious what will happen

#

<@&1118512957396107336>sernamediscrim

median rapids
#

a role apparently

#

skull

austere talon
#

yes lmao

#

we have roles a-z

#

it used to make it "impossible" to ping pomelo users

cosmic willow
#

Wait

austere talon
#

i made discord add a workaround for it lmao

cosmic willow
#

I got a ping?

#

But I don't have any roles...

median rapids
#

i hate how pings work so much

#

in-chat

austere talon
median rapids
#

kotler supremacy

austere talon
#

so funny how they implemented that hacky workaround instead of fixing their shitty broken parser

#

it was an issue for quite a while where you just couldnt mention people

#

i tweeted about it and got 36k likes ultra_realistic_skull

#

after a week-ish they fixed it with that shitty workaround

austere talon
median rapids
austere talon
radiant obsidian
#

The menubar on Desktop was goated

austere talon
#

do u actually use it lmao

radiant obsidian
#

Yes

#

Was an easy way to restart the client in case of fuck ups

austere talon
#

what for lmao

#

oh

#

u can do it from the tray too

#

inb4 non tray user

radiant obsidian
#

True

#

But it was like muscle memory for me

austere talon
#

i removed it because it was bothering people and ultimately it's pretty useless so i was too lazy to implement an option for it

radiant obsidian
#

L

austere talon
#

if u really need it i can add it back but

#

just use tray 💢

radiant obsidian
#

Plugin PeepoSmile

austere talon
#

plugin cannot add it back

#

L

radiant obsidian
austere talon
#

plugins run entirely in the browser process

radiant obsidian
#

oh I see

austere talon
#

they have no control over the native process

frail skyBOT
#
Bad Patches

ShowAllMessageButtons (errored):
ID: 455452
Match: /isExpanded:([A-Za-z_$][\w$]*),(?<=,\1=[A-Za-z_$][\w$]*&&(!.+);.+?)/
Error: Invalid shorthand property initializer

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Z_e' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
limber skiff
frail skyBOT
#
Bad Patches

ShowAllMessageButtons (errored):
ID: 455452
Match: /isExpanded:([A-Za-z_$][\w$]*),(?<=,\1=[A-Za-z_$][\w$]*&&(!.+);.+?)/
Error: Invalid shorthand property initializer

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'D_e' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
austere talon
#

Invalid shorthand property initializer

#

wtf is that

#

nightmare

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

while using .includes works, wouldn't it be better to do, say, fuzzy find instead? or similar? perhaps a lil sneaky matching of individual words? idk.
otherwise searching for gifs you don't remember the URL of will be slightly annoying, you'll need to search for 1 word only since you might be wrong on the order of words perhaps. also it prevents queries like tenor cat or discord dog.
also also shouldn't you replaceAll - with spaces for convenience?

regardless: thank you very much...

charred monolithBOT
#

Discord Account

ashiqtasdid

What happens when the bug or crash occurs?

Whenever I click on a server (large), Discord crashes.

What is the expected behaviour?

I expect it to open the server instead of crashing

How do you recreate this bug or crash?

  1. Go, to a server

Errors

0facd097dc0284ae4de5.js:10124  Vencord   Webpack  Error: Didn't find module matching this filter
    at webpack.ts:110:21
    at webpack.ts:129:28
    at [vencord.lazy.get] (lazy.ts:83:5...
charred monolithBOT
austere talon
#

don't merge yet

#

i'll do later

#

along with some other stuff

charred monolithBOT
#

Discord Account

Enderteck#0172

What is it that you'd like to see?

You can use Chomium flags to make it work on wayland ! I tried enabling those two flags in chrome then using discord and it works great, I could screenshare and everithing ! Could there be an option in Vencord settings or under the Linux settings tab to enable those chromium flags to be able to screenshare wayland ? (apps and entire desktop).

I don't know if that's possible but I'm still asking. Thanks in advance ...

verbal pumice
#

i do not know what half the words in the title mean

limber skiff
charred monolithBOT
austere talon
#

people try not to open the 21st duplicate challenge

charred monolithBOT
median rapids
#

i should make nitor classic plugin blobcatcozy

charred monolithBOT
charred monolithBOT
sour drum
charred monolithBOT
#

alright i think adding the dropdown in the gif picker is a bad idea.

The problem is that the Select component uses a popout to render its items, and having a popout within a popout makes it difficult to select any of the items in the dropdown

I have a fix but implementing it in this plugin may not be the best idea

so basically its because of target === g.current the target doenst match the current active element, which makes discord think we clicked outside the gif picker and cause...

austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Discord Account

sodie.

What happens when the bug or crash occurs?

the plugin doesnt work. i still have to press shift to show all the message buttons. normally it works, but suddenly it doesnt.

What is the expected behaviour?

all the message buttons are supposed to show up, without having to press shift.

How do you recreate this bug or crash?

it doesnt work. i've tried restarting, checking for updates, disabling and re-enabling it. nothing fixes it.

Errors

...
frail skyBOT
#
Bad Patches

ShowAllMessageButtons (errored):
ID: 455452
Match: /isExpanded:([A-Za-z_$][\w$]*),(?<=,\1=[A-Za-z_$][\w$]*&&(!.+);.+?)/
Error: Invalid shorthand property initializer

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

ShowAllMessageButtons (errored):
ID: 455452
Match: /isExpanded:([A-Za-z_$][\w$]*),(?<=,\1=[A-Za-z_$][\w$]*&&(!.+);.+?)/
Error: Invalid shorthand property initializer

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
olive aurora
#

instagram shid

austere talon
#

yop

austere talon
#

@rustic nova maybe we can use a proper fuzzy search library

#

this is pretty cool

olive aurora
#

which one is that

austere talon
#

fuzzysort

olive aurora
#

essem

austere talon
#

we will use

olive aurora
#

the algorithm on htis looks insane

#

i will levenshtein distance in 1kb

austere talon
austere talon
olive aurora
#

accidentally found out you can press ctrl-1 to 9 to switch to the server in that position but it takes half an hour to switch

#

so good

austere talon
#

yes

#

its really fast for me

olive aurora
#

oh github lets you search without an account again

#

nvm not code

#

fuck oyu

fleet depot
#

and not too slow for me

#

ctrl+1 = dms
ctrl+2= favorite server

#

and so on

austere talon
#

vap functions so fire

#

i was about to write myself

#

but vapper clears

#

switch

olive aurora
#

:q

#

um

#

wrong window

rustic nova
austere talon
#

either one works

austere talon
#

:wq!

charred monolithBOT
olive aurora
#

i actually never use :wq cuz i rewired my brain from hitting ctrl+s every secodn to doing :w

austere talon
#

but need to add esm.sh to csp allowlist for that

#

or well

#

urs is fine mostly

rustic nova
#

i have to go somewhere in a bit and wont be free for a few hours. so feel free to add or remove anything from the plugin.

austere talon
#

no rush!!

austere talon
charred monolithBOT
#

Discord Account

coburn64#2551

What is it that you'd like to see?

Hi there!

Thank you for making Vencord a great quality of life improvement for Discord. Vanilla Discord sucks a big one and with OpenAsar, it really feels snappy and faster than ever before. I migrated from BetterDiscord a while ago and haven't looked back.

I was wondering if I could request a feature/improvement that allows one to only allow keybinds per game/program. You see, for Modern Warfare 2 (the 2022 reb...

charred monolithBOT
olive aurora
#

FaQ

austere talon
#

u lov

charred monolithBOT
charred monolithBOT
charred monolithBOT
tawny cipher
#

macaroniOS

charred monolithBOT
charred monolithBOT
#

Discord Account

f.catus

What happens when the bug or crash occurs?

The bug involves no pronouns displaying next to the timestamps in messages upon opening up Discord. However, when you click on a user's name, their pronouns are suddenly displaying in their messages as intended.

What is the expected behaviour?

I expect all pronouns to already be displayed in each users' messages.

How do you recreate this bug or crash?

  1. Boot up/restart Discord.
  2. Note if any pronouns ...
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

With the Discord client, many many GetRawInputData() calls are done per second for hotkeys polling, which especially on older version of Windows causes performance drops.

It would be great if there was a way to either completely disable hotkeys (therefore also the spam of GetRawInputData() calls) or somehow limit the polling rate on Discord.

https://twitter.com/amitxv/status/1636094504905179138
https://github.com/PrincessAkira/Discord-Fixer

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

https://blogs.windows.com/windowsdeveloper/2023/05/26/delivering-delightful-performance-for-more-than-one-billion-users-worldwide/

See the 'Reduced game stutter with high report rate mice' section, it shows how processes using lots of GetRawInputData() can be harmful, especially with higher polling rates.

Although the latest preview build of Windows 11 limits the GetRawInputData() calls to 125hz for all applications, it still can be problematic (see below how the 125hz polling rate...

austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
lucid lynx
#

could work by if no keybinds are set, no listener, but if there are keybinds set then limit the rate of the GetRawInputData() calls

austere talon
charred monolithBOT
charred monolithBOT
limber skiff
#

I swear I have to look more into it

fringe basalt
#

discord competing with vencord

median rapids
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 290082
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
limber skiff
austere talon
#

does it really matter now

limber skiff
#

true

austere talon
#

as opposed to

#

🤔

#

old looks way better imo

#

the white is ugly

#

at least put something more interesting like rainbow flag

#

or the c gradient

olive aurora
#

put rainbow flag to scare homophobes not in the server

#

port to other platforms soon

charred monolithBOT
fleet depot
#

Quit!

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

SyncedBD

This plugin DOES prevent people who are casually snooping. Still, if anyone has access to the computer with Discord logged in and is actually determined to get access to it, there's nothing PasscodeLock can do within the scope of a BD plugin to prevent them. The real solution from a security perspective is... lock or log out of your computer when you're not at it. (c) Qwerasd
...

tropic wagon
#

idk if i should make github issue but the loadingquotes moyai emoji quote is broken

#

not a huge deal since this is pretty funny too

verbal pumice
#

oh that's supposed to be a moyai?

charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

I installed Vencord yesterday into my browser (Official Brave) as I wanted to have some nice themes. However, this morning, I'm getting an error "Failed to fetch," like it couldn't access the CSS file anymore. I even tried clearing my browser's cache and cookies. Sadly, it didn't work. I tried removing the extension and installing it back. This time, the themes were back, until I've restarted everything. The s...

rancid dragon
# tropic wagon

damn i thought that was just supposed to be a joke about character encoding being stupid

austere talon
#

but it for some reason is broken

#

but i never bothered fixing it cause this way is funny too

austere talon
#

lol remember https://github.com/grant who i accidently mentioned once in a vencord issue

verbal pumice
#

lmao

austere talon
#

this is pretty decent but i honestly still prefer the normal one

#

can people not just change the icon locally?

charred monolithBOT
lament nimbus
#

I have my vencord desktop icon set to the default discord icon in my icon theme just so it fits in

charred monolithBOT
torn knot
#

what are you using for your graphics?

charred monolithBOT
charred monolithBOT
#

Discord Account

heckadecimal

What happens when the bug or crash occurs?

The bug happens when you have Vencord running, any icons that are supposed to show up from external apps don't show up until you quit out of Vencord. (I feel like this partially happens because you can't Hide Vencord)

(The bug is not happening on normal Stable discord, I had to check it because I wasn't able to submit an issue)

What is the expected behaviour?

I expect the icon from an app I open to sho...

charred monolithBOT
woeful sable
#

What's discord remixing anyways?

woeful sable
#

image editing in discord

austere talon
charred monolithBOT
charred monolithBOT
#

Apparently this is caused by you closing Discord via CTRL+C. Or there is an issue with Electron's data persistence. Observe the console for errors and try reinstalling

Closing as wontfix because this is not under our control

@Vendicated It isn't due to closing Discord with CTRL+C.
I was able to reproduce this by adding another Discord account to Vencord and then closing it with the "x" in the top-right corner. When reopening the app, the first Discord account will have been logge...

olive aurora
charred monolithBOT
median rapids
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 290082
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
austere talon
#

wait

#

does thius work on linux --enable-blink-features=MiddleClickAutoscroll

olive aurora
#

let me try

#

yes but it also pastes the middle click buffer lmao

austere talon
#

lol

#

you might be able to preventDefault()

#

it seems there is a reason this is disabled by default (on linux at least). if you are using xorg (x11) and you try to use autoscroll while a textbox is selected, it will paste the last selected text to it. a way to fix this is to "disable" the selection clipboard.

olive aurora
#

it doesnt happen on firefox

#

this is a skill issue from them

austere talon
#

well you can probably fix this easily

#

document.addEventListener("paste", e => e.preventDefault())

#

try if this fixes it

#

obviously this will break all pasting but it's just for quick test

olive aurora
#

doesnt work

austere talon
#

fix

#

i honestly couldn't care less about CrapOs standards

#

if it looks good it looks good

#

if it doesn't it doesn't

#

why not make it configurable + again does apple seriously not have a solution for this

#

even android has the option to generate adapted icons

#

common MacOs l

#

i think the pride one is fine but i'd make it configurable

#

the white one is just plain ugly imo but if you're making it configurable ig you might as well have it too

#

either or

#

then why not just do that

olive aurora
#

u love apple too much

austere talon
#

anyway, the former

#

there shouldn't be any need for the latter since people can already do this themselves

cosmic willow
austere talon
#

why do people even want all their icons to look the same

#

so lifeless

#

lifeless

olive aurora
#

whats an icontrolley

austere talon
#

true

#

icons overrated

#

sure

#

and i would add a fallback for discords colours

#

that sets the background colour to white or discord grey depending on system theme

olive aurora
#

i need to theme my rofi but their format is so insane and im so lazy

austere talon
#

how is that yes

#

O

olive aurora
#

japanese

austere talon
#

does o mean yes in japanese

olive aurora
#

austere talon
olive aurora
#

austere talon
#

ooo

#

i can see x but i have never seen o as yes

charred monolithBOT
austere talon
#

isn't the spread pointless

#

listening to this castlevania cover and for some reason the start of the song is just 2 minutes of german talking

#

taken from dracula i think

#

does prettier really format it like that

#

my hatred

#

it should indent the second ternary

olive aurora
#

hop on eslint-config-loosely-strict

#

we must riir prettier

#

and make it not suck

austere talon
#

virus

#

i just used prettier because i regret not using prettier in main vencord repo

olive aurora
#

its probably a setting in prettier

austere talon
#

not because i like prettier, i find it horrid, but because it makes me not have to think about formatting

olive aurora
#

nope it isnt

#

so bad

austere talon
#

that's a good thing actually

olive aurora
#

their opinions are wrong though

austere talon
#

a lot of vencord prs are formatted questionably and i would rather not want to waste my time having to review formatting

#

prettier just works so that's good in a community project

olive aurora
#

dprint is cool and much more configurable

#

but its kinda bloated

#

cuz its implemented in rust🚀🚀🚀🚀🚀🚀

#

but they use wasm

austere talon
olive aurora
#

lol

austere talon
#

in function calls????

#

does that mean it formats function calls as banana(1,)

#

or is that only for function calls broken inmultiple lines

olive aurora
#

trailing comma is only when multiline

austere talon
#

ohh

#

yeah that's good then

olive aurora
#

idk i kinda dont like that for func calls

#

for lists and objects i always use trailing comma though

austere talon
#

in go not having trailing comma in multi line call is syntax error

olive aurora
#

insane

austere talon
#

because their parser is funny

#

they didn't want to have semicolons so their solution is that the parser just inserts semicolons at the end of each line

#

which turns a lot of things into syntax errors

#
func main()
{
}```
#

this isn't valid either lol

#

neither is this go if stuff { }

olive aurora
austere talon
#

kinda based

rancid dragon
#

literally just

olive aurora
#

so is this why you're forced to put the dot in the end of the line instead of the start of the next line?

#

lmao

rancid dragon
#
if line.next().chars()[0] == '{'
{
  dont_put_a_semicolon()
}
#

not that hard

austere talon
#

nah

#

they didn't wanna add lookahead to their parser because of performance and simplicity

olive aurora
#

clearly you've never implemented a parser

olive aurora
#

flashback to my LL(1) parser

austere talon
olive aurora
#

*dies*

rancid dragon
#

parser
simplicity

olive aurora
#

rinl parser doesnt tokenise

#

it does everything in one go🔥

rancid dragon
#

i know a guy who has 8k subs on youtube who managed to make a parser that can add semicolons while still letting you have dot chaining and brackets on the next line

#

i have no idea why go wouldn't do that

austere talon
#

i know a guy who eats pickles with nutella

#

i have no idea why go wouldn't do that

rancid dragon
#

they're really sacrificing user qol for their own simplicity

austere talon
#

no

rancid dragon
austere talon
olive aurora
#

killyourself please

rancid dragon
#

there is literally nothing in there about putting dots on the next line

jagged cloak
#

simplicity? i was simple once. they locked me in a room, a white room, and white rooms make me simple.

austere talon
olive aurora
#

omor

austere talon
#

some have argued that the lexer should do lookahead to permit the brace to live on the next line. we disagree. since go code is meant to be formatted automatically by gofmt, some style must be chosen. that style may differ from what you've used in c or java, but go is a different language and gofmt's style is as good as any other. more important—much more important—the advantages of a single, programmatically mandated format for all go programs greatly outweigh any perceived disadvantages of the particular style. note too that go's style means that an interactive implementation of go can use the standard syntax one line at a time without special rules.

#

go formatting is really good imo

#

i love the go ecosystem

#

you don't have to worry about package managers, formatters, testing frameworks, etc

#

it just works

olive aurora
#

i love the rust ecosystem

olive aurora
#

you CANT say rustfmt is bad.......

rancid dragon
#

I love the java ecosystem !!! /s

#

please help me

austere talon
#

clearly you are not well

olive aurora
#

the java ecosystem in question

austere talon
#

is someone forcing you to say this?

rancid dragon
#

hold on let me just

#

there we go

austere talon
#

noone could unironically utter those words