#๐Ÿ‘พ-core-development

1 messages ยท Page 67 of 1

austere talon
limber skiff
#

nope

austere talon
#

huh

limber skiff
#

it doesnt have that functionality

#

unless you are talking about the show all channels option

#

that's a discord thing lol

austere talon
#

i will run patch tester

#

cause discord pushed decently big update

limber skiff
#

aight

austere talon
#

it never succeeds

limber skiff
#

๐Ÿ˜”

austere talon
#

maybe i should make discord errors not make it fail

#

wait

#

i could just ignore the shit one

#

the one that errors

#

why is it so slow this time brahhh

limber skiff
#

it always is

austere talon
#

WHY IS IT SO SLOW

#

nodejs setup taking 6 minutes

#

๐Ÿ”ฅ

limber skiff
#

wtf

austere talon
#

i restarted

#

๐ŸงŒ

#

yeah this time it was instant

#

goofy

#

jumpscare

charred monolithBOT
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 ```
limber skiff
#

epic

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'qye' before initialization ReferenceError: Cannot access 'qye' before initialization
    at Module.default (WebpackModule318827:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:9195
    at [vencord.lazy.get] (VencordWeb:5:7558)
    at Kr.<computed> [as get] (VencordWeb:5:7969)
    at Object.handleProtoChange (VencordWeb:42:20780)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9808:975
    at https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9798:847
    at n (https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9808:952) ```
limber skiff
#

how doesnt the web version break with this issue

austere talon
#

qye

austere talon
#

:P

limber skiff
#

oh

#

true

austere talon
#

web never loads that chunk

#

their code is like

limber skiff
#

makes sense lol

austere talon
#
if (isDesktop) {
  nativeModules.ensureModule("discord_rpc").then(() => require(1829192));
}
limber skiff
#

oh

charred monolithBOT
#

Discord Account

deepinyahmum

What happens when the bug or crash occurs?

While streaming with fakenitro plugin discord will crash while scrolling through chats or randomly.

What is the expected behaviour?

To be able to stream in higher quality than standard

How do you recreate this bug or crash?

Begin streaming with fakenitro at 1080p+ scroll through chats. tab in and out if you have to and it will eventually crash you out. "states plugin may of failed try again error" n...

fleet depot
#

9/10 chance it's oom

charred monolithBOT
fringe basalt
#

they attached a screenshot of betterdiscord crash message BocchiPain

woeful sable
#

๐Ÿ’€

charred monolithBOT
round gust
#

Does vencord have a discord styles preset

#

Or do I grab it with findbylazy

round gust
charred monolithBOT
charred monolithBOT
stark flint
#

???

fleet depot
charred monolithBOT
fringe basalt
fleet depot
#

why is my discord crashing
Installed Vencord on top of better discord

#

Horror

charred monolithBOT
buoyant nebula
#

honestly i had betterdiscord installed first because I didn't know any better

#

i got vendetta to use account switcher on mobile and was like hmm i wonder if something like this exists on pc

fleet depot
#
interface SettingsExtended {
    relaunchDiscord?: PluginSettingDef;
    notifs?: PluginSettingDef;
    quickCss?: PluginSettingDef;
    toggleQuickCss?: PluginSettingDef;
    updater?: PluginSettingDef;
    BadgeAPI?: PluginSettingDef;
    DevCompanion?: PluginSettingDef;
    pluginSettings?: PluginSettingDef;
    includedPlugins: string[];
  }

    const ps = settings.use(["includedPlugins"] as any) as SettingsExtended;
    const { includedPlugins = [] } = ps;

is... is this what you wanted me to change all along?

#

was this it?

austere talon
#

no

fleet depot
#

oh

#

i tried

#

i really did

#

i have no idea what you want still

#

im sorry

austere talon
#
const settings = definePluginSettings({
  stuff: {}
}).withPrivateSettings<{
  coolStuff: string;
}>();
#

sorry i should have been more precise

fleet depot
#

oh withPrivateSettings! you said withInternalTypes before and i had NO idea what that meant

austere talon
#

or rather told u how to fix it

fleet depot
#

(im still fuzzy on it)

fleet depot
#

i just thought i could riddle it out

austere talon
fleet depot
#

which is string[]!

#

in our case

#

okie

austere talon
#
const settings = definePluginSettings({
  stuff: {}
}).withPrivateSettings<{
  includedPlugins?: string[];
}>();
#

the method does nothing btw xD

#
withPrivateSettings() {
  return this;
}
#

it's just typescript shenanigans

austere talon
#

actually im not sure if .use works with privateSettings

#

i think i only implemented it for store

fleet depot
#

but it's.. unwieldy

austere talon
#

yes dont lol

fleet depot
#

also saves a lot of unecessary stuff in settings :(

fleet depot
#

im not sure how to use use with privateSettings... at all

austere talon
#

the type parameter is just used to extend settings.store

fleet depot
#

im still getting
Property 'includedPlugins' does not exist on type 'Pick<SettingsStore<.... when i try to do this part:
const { includedPlugins = [] } = ps;

#

and the old error of
Conversion of type 'Pick<SettingsStore<{...}> to type '{ includedPlugins: string[]; }' may be a mistake because neither type sufficiently overlaps with the other

#

hmm

austere talon
#

hold on

fleet depot
#

all g

charred monolithBOT
austere talon
#

there u go

#

update ur fork to add that commit

#

then it will work properly

fleet depot
#

okie!

#

TY

austere talon
#
const settings = definePluginSettings({
  someNormalSetting: {
    stuff
  }
}).withPrivateSettings<{
  includedPlugins?: string[];
}>();

const s = settings.use(["includedPlugins", "someNormalSetting"]);
charred monolithBOT
austere talon
#

[skip ci] soososo fake

fleet depot
#

what's easiest for you: should i reopen the old PR or make a new one?

austere talon
#

doesnt matter

fleet depot
#

oki

limber skiff
#

can you do the same for perm viewer

austere talon
limber skiff
#

clean up settings

#

it has a hidden setting too

austere talon
#

i will combust

#

so many commits

#

i cant force push ๐Ÿ’”

limber skiff
#

unsafeViewAsRole

austere talon
fleet depot
#

yee

austere talon
#

it just extends your settings definition with the type u give it without adding them to the ui

fleet depot
#

im eating some icecream rn in celebration lol

austere talon
#

LETS GOO

#

what flavour

fleet depot
#

chocolate + cherry

austere talon
#

odd combo

fleet depot
#
  • vanilla
#

oops not cherry, raspberry

fleet depot
austere talon
#

typescript is a rabbithole

fleet depot
#

all it really means is that includedPlugins (string[]) wasn't in the DefinedSettings type... and yeah that's where i hit the brick wall

#

i tried lots of extending things?? but they weren't quite right

fleet depot
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 ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'qye' before initialization ReferenceError: Cannot access 'qye' before initialization
    at Module.default (WebpackModule318827:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:9195
    at [vencord.lazy.get] (VencordWeb:5:7558)
    at Kr.<computed> [as get] (VencordWeb:5:7969)
    at Object.handleProtoChange (VencordWeb:42:20780)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/3a665c4b246e696edb16.js:9809:975
    at https://canary.discord.com/assets/3a665c4b246e696edb16.js:9799:847
    at n (https://canary.discord.com/assets/3a665c4b246e696edb16.js:9809:952) ```
charred monolithBOT
sacred echo
#

Look mom! I'm famous!

charred monolithBOT
charred monolithBOT
fleet depot
#

god

#

why does it send two messages

#

horror

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
charred monolithBOT
austere talon
#

someone test linux autostart thank

charred monolithBOT
olive aurora
austere talon
#

are u sure

#

oh

#

ig

#

true

#

calm

charred monolithBOT
austere talon
#

test @olive aurora

#

uh

#

u probably have to package

#

to test

#

cause otherwise it needs argv

#

and i dont add that

#

uhh

#

actually i should probably fix that

olive aurora
#

I'll test in a bit but my xinit might be silly

#

I'll pr systemd user unit trolley

austere talon
#

HORRIBLE

#

forbvidden

austere talon
charred monolithBOT
austere talon
#

?

austere talon
#

whats wrong

olive aurora
#

the nonsync exists is deprecated

charred monolithBOT
olive aurora
#

@austere talon fix

charred monolithBOT
austere talon
#

ui almost done

#

(but havent implemented resolution and framerate yet lol

charred monolithBOT
stark flint
#

ooo

olive aurora
charred monolithBOT
austere talon
#

now i have to find where it determines resolution and fps

charred monolithBOT
olive aurora
#

simply not doing it is a real solution

#

aur is bakc i dont have to bother building myself yippee

austere talon
#

screensharing done

round gust
#

sex

stark flint
#

yooo

charred monolithBOT
crystal marlin
#

i thought screenshare was already there in discord

round gust
#

it is

stark flint
charred monolithBOT
crystal marlin
austere talon
#

doesnt matter

charred monolithBOT
crystal marlin
rancid dragon
#

vencord has a standalone desktop app

#

which is different to just having normal discord and injecting vencord

crystal marlin
#

okay does it have any extra features??

austere talon
#

no

austere talon
#

on windows yes

#

other platforms no

charred monolithBOT
austere talon
#

I FUCKING HATE CIRCULAR IMPORTS SOSOSOSOOSOSOSOSO MUCH

nocturne haven
#

oh yeah, they are gross

#

I'm forcing myself to structure my projects differently

austere talon
#

it's really hard to avoid in some cases

austere talon
# charred monolith

@limber skiff this is why i always tell you to avoid circular imports as much as possible

#

that single import of settingsSync exploded vencord

limber skiff
austere talon
#

for some reason it only exploded web

#

not desktop

limber skiff
#

any idea why?

#

I mean at least you didnt make a release like that

austere talon
#

so it's some of the bar logic

limber skiff
#

ahh

austere talon
#

F

#

whar

halcyon current
#

now that screensharing is added, when are the keybinds coming

austere talon
#

next decade

#

i probably won't make cause i find them useless

#

i'd have to be really bored to add keybinds

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Xye' before initialization ReferenceError: Cannot access 'Xye' before initialization
    at Module.default (WebpackModule381394:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:9195
    at [vencord.lazy.get] (VencordWeb:5:7558)
    at Kr.<computed> [as get] (VencordWeb:5:7969)
    at Object.handleProtoChange (VencordWeb:42:20780)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://discord.com/assets/8cf33fbec96b5781a6ec.js:9798:975
    at https://discord.com/assets/8cf33fbec96b5781a6ec.js:9788:847
    at n (https://discord.com/assets/8cf33fbec96b5781a6ec.js:9798:952) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'nme' before initialization ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
fresh cloak
#

BetterFolders* lol

charred monolithBOT
charred monolithBOT
#

This plugin improves the sessions (devices) tab in settings:

  • Each session gets an os-specific color and a platform-specific icon
  • Sessions can be given custom names (indicated with a trailing asterisk)
  • Session timestamp labels are replaced with the markdown timestamp component, which displays the exact date on hover
  • New sessions get the "NEW" badge, which goes away when settings are closed

Platform icons were obtained from https://fontawesomeicons.com/svg/icons. All icons list...

fringe basalt
austere talon
#

hi amia

fringe basalt
#

hi

fringe basalt
azure jay
fringe basalt
#

yep

austere talon
#

straightest polish person

austere talon
fringe basalt
#

cuz discord app

#

opposed to browser for example

#

the green bg already indicates it's mobile

#

(and also there's no svg of discord logo inside a phone, and im too lazy to figure out how to make one xd)

halcyon current
#

its just a faster way than clicking the mute button

fringe basalt
#

idk it'd look weird if only the discord icon changed to phone icon

#

while chrome stayed the same for example

#

it's what the bg color is for

#

i kinda based it on telegram's

austere talon
#

do u really use the sessions tab this much

#

i never used it in my life

fringe basalt
#

ye i check it every while just in case

azure jay
fringe basalt
#

and it's annoying when the sessions are unlabelled so i made this

austere talon
#

why not make smth like session notifier instead then

#

seems more useful probably

#

shows notif if there are new sessions

fringe basalt
#

cant do that without making requests to the api every while

austere talon
#

thats fine probably

austere talon
#

lmao

azure jay
#

(its probably all the same device)

fringe basalt
fringe basalt
#

that'll reduce the sessions spam in there

agile gull
#

@austere talon is there any findInReactTree thing because husk

austere talon
#

there isnt

#

you shouldnt need it

#

if you need to go this deeply into children, regex patching the child is probably more appropriate

agile gull
#

also this component is used in other places too because it is generic scroller

#

so i doubt that patching a scroller for a single thing is good idea

austere talon
#

what r u doing

charred monolithBOT
agile gull
#

line 39

austere talon
#

oh it moved deeper

agile gull
#

lol

#

well maybe not one time

#

but rarely

austere talon
#

so you could patch the parent to modify the children there

agile gull
austere talon
#

urzฤ…dzeล„

agile gull
austere talon
#

why are u german

azure jay
agile gull
austere talon
#

horror

azure jay
austere talon
#

why do u use it lmao

agile gull
azure jay
#

ublin

agile gull
#

it was more accurate than just Lublin

#

explod

agile gull
azure jay
agile gull
#

it is just that one line guhh

fringe basalt
#

it's so bad

azure jay
#

i am polish therefore i use polish

agile gull
#

cloud insane

azure jay
#

im very sane

fringe basalt
#

ik but the names are long in some places and some get cut off

azure jay
#

never noticed that

fringe basalt
#

have you seen the server boosts tab

azure jay
#

tbh i have polish cuz its the default shiddohwell

fringe basalt
#

the beta badge is usually cut off too but i can't find any place with it rn

azure jay
agile gull
#

@austere talon guh

fringe basalt
#

and the context menu is like 2x wider

#

because of this

azure jay
#

eh this is only slightly slimmer

agile gull
#

cloud insane

fringe basalt
#

english one

azure jay
fringe basalt
#

also things like the translation for "embed" husk

azure jay
fringe basalt
#

idk

#

english better

azure jay
#

link, embed lub plik

agile gull
fringe basalt
azure jay
fringe basalt
#

a bunch of things are too long too

azure jay
#

yeah true tbh

fringe basalt
#

i love myself some "requests regarding messages"

azure jay
#

lol

austere talon
#

multiple overflows

agile gull
#

ven click mergee

austere talon
#

imn on ohone

#

๐Ÿ“ฑ

agile gull
#

you can click merge on phone

austere talon
#

ye but i don't wanna look rn tonguecat

#

busy

azure jay
fringe basalt
buoyant nebula
#

some people just wanna watch the world burn

median rapids
#

so long

#

๐Ÿ˜จ

buoyant nebula
#

Benachrichtigunge
n

austere talon
#

whar

charred monolithBOT
#

Discord Account

sekwah.

What is it that you'd like to see?

Currently the sorting order for emotes seems to favor lower-case emotes over UPPER-CASE emotes. So for example, if you're in several servers but one of them has a :lul: emote, while all the others have :LUL: emote, it will prioritize the :lul: one over the server correct one.

This causes a problem with compound messages since it adds the link after them, and it looks a bit weird to non-vencord users. By prioritizing serv...

silver shoal
#

wrong chat

charred monolithBOT
#

QuickSuppression

Be able to suppress your noise faster!

What does it do?

  • When clicking on the noise suppression button in the bottom left in a vc or group call, it immediately turns it off/on instead of showing the menu to do so.
    Screenshot 2023-06-22 210623 copy copy
  • (Extra) When you Ctrl+click it, it instead opens the menu like normal.
    ![Screenshot 2023-06-22 213808 copy copy](...
charred monolithBOT
quick ibex
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'nme' before initialization ```
charred monolithBOT
austere talon
#

:3

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'rme' before initialization ```
charred monolithBOT
woeful sable
#

fix pinned dms when

charred monolithBOT
austere talon
woeful sable
#

ignore the chat

#

but

#

if u have a pinned dm

#

then close all other normal dms

#

it does that

austere talon
#

okay dont do that then

woeful sable
#

๐Ÿ˜ญ

#

NAH ๐Ÿ’€

#

even the dev channel not safe

austere talon
#

wdym safe lmao

woeful sable
#

from the horrors horror

long heart
#

whats the policy on submodules

austere talon
#

elaborate :p

long heart
#

if i want to add a submodule for a plugin im making can i just do it inside the plugin folder or is this not possible rn

austere talon
#

you mean a dependency?

long heart
#

git submodule

austere talon
#

what for

long heart
#

actually hang on i didnt think this out at all

#

i can just link directly to the images

#

dont mind me :p

austere talon
#

what exactly does that plugin even do

#

oh emoji replacer

long heart
#

switches all emoji in the client to microsoft fluent

austere talon
#

why not just use css

long heart
#

needs to override twemoji

austere talon
long heart
#

hm

#

i mean that is one option but it could also be a very simple regex replace

long heart
#

how do i run vencord locally ๐Ÿ˜จ

#

oh just pnpm inject

quick ibex
long heart
#

the plugin ๐Ÿ˜จ

#

oh should i have put the plugin into the place vencordinstaller cloned it to

#

nop

#

no way its literally just pnpm inject im so stupit

nocturne haven
#

*you're too lazy to read the readmes

long heart
#

(except its not because it doesnt inject)

long heart
tight vapor
long heart
#

what

#

obviously i did that since i read the plugin guide

#

but i did unfortunately skip the installing guide โ˜น๏ธ

long heart
#

im way too dumb for this

#

๐Ÿ˜ƒ๐Ÿ‘

charred monolithBOT
#

you know how some bots have "purge" or "clear" make a / command for like deleting ur messages for example "/clear 10" and it clears 10 of ur most recent messages and make a limit of like 100 or 500 so people don't crash their computers

woeful sable
#

don't crash their computers deleting discord messages

buoyant nebula
#

i hate banning people but accidentally deleting their messages lol

#

i swear guys they were being an asshole. i just accidentally deleted the evidence

charred monolithBOT
buoyant nebula
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'rme' before initialization ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'ime' before initialization ```
charred monolithBOT
charred monolithBOT
austere talon
#

wait wtf electron 25 is the latest stable now

#

i will see if we can update to 25 tmrw

olive aurora
#

electron 100 to release in 2024

austere talon
#

22 was latest stable not too long ago

#

now 25

#

what are they smoking with their release schedule

#

almost as frequent updates as vencord ๐Ÿ”ฅ

sacred echo
#

Lol

charred monolithBOT
#

seems to be an electron 22 bug: https://github.com/electron/electron/issues/36660

This is supposedly fixed in electron 23. Would you be able to test? To do so, you would have to clone the repo, manually update the electron npm dependency to 23, then pnpm start

Interesting. Yes, I can definetly test that c: Programmer and passionate Nerd, so no problem.

Expect me to send a message about it in like 12 hours, since I just laid down with my blahaj for bed time.

jagged cloak
#

did discor murder embed author image or something

verbal pumice
#

yeah apparently

grave mangoBOT
golden gulch
#

i guess their logic makes sense because chrome has an 8 week extended release schedule and they want to keep up with that

#

but dang, that release schedule is crazy, no wonder everyone falls behind on their electron versions so quickly

#

electron 15 was only two years ago

jagged cloak
#

yeah makes sense

charred monolithBOT
charred monolithBOT
woeful sable
#

For the show all buttons plugin, could it be updated so that you don't have to hold shift to delete messages

charred monolithBOT
#

Discord Account

alexiaya

What happens when the bug or crash occurs?

"You are no longer friends with pomelouser#0000."

What is the expected behaviour?

"You are no longer friends with pomelouser."

How do you recreate this bug or crash?

  1. Enable RelationshipNotifier
  2. Have someone who has a Pomelo (discriminatorless) username remove you as a friend, cancel their friend request, etc.

Errors

N/A

Request Agreement

  • [X] I am using Discord Stable or tried on Sta...
#

i can't tell if its intended behaviour or not, but the description of the plugin is as follows:
Disables the taskbar and system tray unread count badge.

however, it also disables the system/taskbar mention badge - which is actually kinda useful - is it possible to have a setting so the unread badge (the big O with a red outline) is to be disabled, whilst maintaining the mention badges?

austere talon
#

whar

charred monolithBOT
charred monolithBOT
woeful sable
#

double click

#

lol

charred monolithBOT
woeful sable
#

oh it's android

charred monolithBOT
austere talon
#

WHY DID THEY REMOVE PFPS FROM GITHUB EMBEDS

#

terrible

charred monolithBOT
austere talon
#

not fixed

#

looks like github is shitting itself

#

nvm?

#

this si so strange

charred monolithBOT
#
[Vencord/Desktop] New tag created: v0.2.3
charred monolithBOT
#

It works fine as it is. I think the problem is rather the review process. Since Vencord has every plugin built in, and no way to add them manually, everything needs to be reviewed thoroughly before it gets added to the project. And this is a HUGE plugin(s) to review.

Not sure why it was closed. Maybe they didn't like something. Maybe they didn't want to bother reviewing it.
But it works. I'm using philhk's fork now. Ofc that means I won't get any other updates, but right now it does every...

austere talon
#

^ someone test this on mac and linux thanks

summer topaz
austere talon
summer topaz
#

i use the browser ;-;

#

can i still or not? sry btw

austere talon
#

they're not here ๐Ÿ˜”

verbal pumice
#

(except it doesn't work for the official discord account and clyde cause Discordโ„ข๏ธ)

austere talon
#

its the same as our check lmao

#

i didnt know that

#

but also dont care to change now

verbal pumice
#

oh

austere talon
#

surprised they have an .isPomelo() but not a .getUniqueName()

charred monolithBOT
summer topaz
#

woah

#

you have vencord badges

woeful sable
#

woah almost like vee made vencord,,,...

summer topaz
#

did they?

#

sry im dumb and new

woeful sable
#

no

summer topaz
#

oh

woeful sable
#

vee did not make vencord blobcatcozy

summer topaz
#

hi hru

woeful sable
summer topaz
#

whats that

woeful sable
#

general ๐Ÿ˜ญ

verbal pumice
#

beef made vencord

woeful sable
austere talon
charred monolithBOT
charred monolithBOT
olive aurora
#

horror

woeful sable
#

is bro serious right meow?

charred monolithBOT
austere talon
# charred monolith

wasn't this already supposed to be fixed @devout river i could have sworn one of the more recent electrons fixed it

#

@devout river (cause first ping didn't work lmao)

#

also crazy how fast electron moves, you should probably bump armcord to 25 (it has native global.fetch ๐Ÿ”ฅ)

devout river
#

it just keeps breaking and breaking

austere talon
#

lmao

devout river
#

not even mentioning webrtc crashing in voice chats

austere talon
#

see this is why i nevered bothered switching to wayland

#

xorg just works meowlien

devout river
#

idk I just install fedora and don't care lol

#

wayland by default but shit works ig

verbal pumice
#

if you like things that just work you should try windows

olive aurora
#

somehow I've been having more issues on xorg than wayland but i also cant be bothered to go back

devout river
devout river
#

global keybinds also coming

austere talon
#

oh cool

devout river
#

also if you find a way to unlock the custom keybind maker on web let me know

austere talon
#

well shouldn't be hard

#

but you'll need to patch it

devout river
#

lovely

austere talon
#

armcord is so limited cause it doesn't ship with a mod by default

devout river
#

it does sort of actually

#

it now forces you to pick

austere talon
#

that's one of the reasons i made vencord desktop, it's way nicer to have control over everything

devout river
#

and vencord is default in the picker

austere talon
devout river
#

nope

#

too much whining about so I removed express

#

Well you can disable all mods

#

I basically have 3 choices:

  1. Have a preferred mod and have like shelter as more of a fun addition than real deal
  2. Write a mini mod to handle shit like this, too much work will probably break
  3. Do nothing lol
austere talon
#

even with minimod it wouldn't be that mini

#

cause you can't just monkey patch regularly, you need to patch webpack if i'm not mistaken

#

as exports are all non writable getters

charred monolithBOT
summer topaz
#

oh woah nice

#

youre vending machine

austere talon
#

hoi

austere talon
#

๐Ÿฅด

half shell
#

Can't we just dispatch the message edit event

#

hm

#

no

nocturne haven
#

just put a string patch onto the root component and allow updating

austere talon
#

yes i considered that

#

patch the root and add a force updater state

#

but making an entire api plugin just to rerender messages would be kinda husk

austere talon
#

it breaks attachments and iirc it doesnt even work reliably

nocturne haven
#

yep

half shell
nocturne haven
summer topaz
charred monolithBOT
#

@Vendicated
No i wasnt, but i tried anyways now:

aki@Barbara:~$ vencorddesktop --ozone-platform-hint=auto --enable-webrtc-pipewire-capturer
[arRPC > bridge] listening on 1337
[96663:0624/020906.452675:ERROR:browser_main_loop.cc(274)] Gdk: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
[arRPC > ipc] not available, trying again (attempt 1)
[arRPC > ipc] listening at /run/user/1000/discord-ipc-1
[arRPC > websocket] 6463 in use!...
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 635622
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'p_e' before initialization ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 26781
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'h_e' before initialization ```
charred monolithBOT
cosmic willow
#

by "enable the "DevCompanion" plugin" is that a plugin in vencord?

#

cause im a little lost here

#

hmm

#

i dont see it

#

oh

#

I guess I am looking for instructions to run a dev build in the first place

#

lol

#

ahh

#

oki

#

thx

#

hmm

#

seems like when i try to inject it just removes it

#

also this

#

maybe im missing a step

#

cause with the --watch it is waiting for somthing but idk what, XD

#

I'm sorry for being a bit slow here lol, never mess with any web/ts stuff

#

it builds

#

so then i close the watch

#

and inject

#

but still just does not install anything

#

yah

jagged cloak
#

cant believe ytou face revealed bono in that vid

#

also for furture reference u can use the flux field on the plugin class insteado f messing with dispatcher manually

#

itll unsub for u

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

Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> yes
sh: -c: line 53: syntax error: unexpected end of file

No matter what I put as an input I get the same error ... I tried with :

  • Y -> uppercase
  • y -> lowercase
  • yes
  • no...
austere talon
charred monolithBOT
austere talon
#

can u rebase and see if that works for your case @half shell

#

what other plugins had issues with updating messages?

charred monolithBOT
woeful sable
stark flint
#

lol what

charred monolithBOT
cosmic willow
#

Shhh

#

I totally didn't do that by accident

austere talon
charred monolithBOT
cosmic willow
#

Ig a mutual friend of me and them

#

Lol

austere talon
summer topaz
charred monolithBOT
half shell
austere talon
#

huh

half shell
#

Added these debugs

#

that's what shows on the right

#

so it does fetch the function to forceUpdate correctly, and calls it, but it just doesn't render

#

idk

charred monolithBOT
charred monolithBOT
cosmic willow
#

Yah I can't get the dev build to inject at all

#

kinda lost here

jagged cloak
#

unno

#

check ur discord folder it should be like this if it touches it correctly

cosmic willow
jagged cloak
#

look in resources

cosmic willow
#

oops

#

so i had normal vencord

#

then tried to inject a dev build

#

and then vencord seems to not load

#

and these are literally the only 2 files i edited/added

jagged cloak
#

does dev build load without those changes? also check console maybe its just erroring and it did load

stiff beacon
#

what can I use to send message from user not bot?

jagged cloak
#

i feel like this is jumping through a bit of a hoop and someone could probably help better but I would check if resources/app.asar/index.js is in fact pointing to your dev build

jagged cloak
#

mhm

cosmic willow
#

im dumb

jagged cloak
#

that is odd though

#

except no its not i handle mine

#

nvm raujinn_derp

stiff beacon
#

finished the plugin just need to make system where it will send message to the channel that everyone can see

jagged cloak
#

anyway for my websockets i just copied the connection from arrpc

cosmic willow
#

ill look at that! thx

jagged cloak
cosmic willow
stiff beacon
#

this how it should look but it won't send the message for some reason

{
"URL":"google.com",
"IP":"108.177.14.102",
"IPv4/IPv6":"IPv4",
"Organization":"Google LLC",
"Service Provider":"Google LLC",
"Continent":"United States",
"Country Capital":"Washington D.C.",
"City":"Mountain View",
"Region":"California",
"CountryPhone":"+1",
"Timezone":"America/Los_Angeles",
"Currency":"US Dollar"
}
jagged cloak
#

are u trying tio send an embed as a user lmao

stiff beacon
#

i made it send embed as ephemeral message

#

But sending it as user not the embed but the json is not working

tight vapor
#

How are u sending the message?

stiff beacon
#

im sending it as clyde ephemeral message

#

I don't know how to send it as user

#

like with Tags thingy

charred monolithBOT
jagged cloak
#

look at any plguin that sends a normal message

tight vapor
#

like js return sendBotMessage({ content: "Hello, World!" })
to js return { content: "Hello, World!" }

#

Inside the execute function

#

For the cmd

stiff beacon
#

doesn't work for me

tight vapor
#

Send the code

charred monolithBOT
stiff beacon
crude hearth
#

5 billion people will come and ask if its ip grabber

stiff beacon
#

ofc

olive aurora
#

I'm sure you can come up with a better name

stiff beacon
charred monolithBOT
olive aurora
#

whar

verbal pumice
#

???

charred monolithBOT
rancid dragon
#

the next step is to make a /google command

jagged cloak
#

/fart when wait that already exists

#

trol

charred monolithBOT
fringe basalt
cosmic willow
#

Anyone know where I can get the info on if a message is supposed to send a notification. Ig a mute store of channels and users muted.

austere talon
#

what is the ip address of a domain gonna do for u

#

"ooooh thats 151.210.68.20 i shouldnt click that"

#

??

fringe basalt
#

yea

#

vt integration is pointless too

#

just use a normal antivirus xd

charred monolithBOT
olive aurora
#

can you set a dns record to localhost trolley

fringe basalt
austere talon
#

click the link i sent.

#

it's not for malware it's for websites

fringe basalt
#

ik

olive aurora
#

antiviruses are stupd

fringe basalt
#

antiviruses protect you from malicious websites too

#

at least some

#

malwarebytes does iirc

austere talon
olive aurora
#

fire

half shell
fringe basalt
#

oh that could work i guess

charred monolithBOT
fringe basalt
#

tho i think most websites flagged on vt would already be on discord's block list

#

at least the ones spread on the platform

austere talon
#

discords block list sucks

fringe basalt
olive aurora
#

does discord even block domains lol

austere talon
#

yes

fringe basalt
#

if you find a phishing site spread on discord feel free to dm me it and I'll get it flagged

austere talon
olive aurora
#

real

austere talon
#

every time discord blocks one of their domains they have 10 new ones

fringe basalt
#

do you know of fishfish?

austere talon
#

back when the steam scams went rampant, we wrote a pretty decent scam detector bot for aliucord

#

nuh uh

fringe basalt
#

I'll dm you

olive aurora
#

u love that it takes like 10 seconds for them to edit it

charred monolithBOT
jagged cloak
#

you love

olive aurora
#

lmao the eicar test file gets marked as a virus

#

upload a file with X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

jagged cloak
#

its supposed to

olive aurora
#

NOT VIRUS!!!

#

it shouldnt in production antiviruses really

jagged cloak
#

funny how its came up like 4 seperate times because of people liek that

olive aurora
charred monolithBOT
crude hearth
austere talon
olive aurora
#

you're not supposed to test in production smh

royal bane
#

bee

stark flint
#

๐Ÿ

austere talon
#

it exists on both

#

yes :P

#

you're talking about suggestions?

#

yes they are not implemented

#

possibly

fleet depot
#

:o

opaque badger
#

Hai

cosmic willow
#

Hey, I'm trying to port a better discord plugin rn and I'm a bit stuck. They use some webpack stuff I don't they we have here or maybe I am confused.

const MuteStore = WebpackModules.getByProps("isSuppressEveryoneEnabled");
const isMentioned = WebpackModules.getByProps("isRawMessageMentioned");

This is the function I am trying to replicate (https://github.com/Eidenz/XSOverlay-BetterDiscord/blob/main/XSOverlay.plugin.js#L318), its to check if the user as muted the channel that the message is from. I was just wondering if anyone had some sugestions on how I should go about doing this?

GitHub

Get your discord notifications in VR through XSOverlay! - XSOverlay-BetterDiscord/XSOverlay.plugin.js at main ยท Eidenz/XSOverlay-BetterDiscord

austere talon
#

second one is kill

#

its likely this

#

it seems painful

#

idk how discord does it

#

electron's api for it sucks and only gives u suggestions in the context-menu event

#

but the context-menu event is never fired, likely because discord is calling event.preventDefault()

cosmic willow
austere talon
#

skill issue unfortunately

#

show code

cosmic willow
#
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { ChannelStore, FluxDispatcher, UserStore } from "@webpack/common";
import { Webpack } from "Vencord";

const MuteStore = Webpack.findByProps("isSuppressEveryoneEnabled");

export default definePlugin({
    name: "XSOverlay",
    description: "Sends notifications to XSOverlay to be easier to see in VR",
    authors: [Devs.Penny],
    start() {
        FluxDispatcher.subscribe("MESSAGE_CREATE", onMessage);
    },
    stop() {
        FluxDispatcher.unsubscribe("MESSAGE_CREATE", onMessage);
    }
});

function onMessage({ message }) {
    var finalString = message.content;
    const author = UserStore.getUser(message.author.id);
    const channel = ChannelStore.getChannel(message.channel_id);

    // if (!supposedToNotify(message, channel)) return;

    console.log(author + ": " + finalString);
}
#

thats everything ive got so far

austere talon
#
- findByProps
+ findByPropsLazy
cosmic willow
#

this is my frist time using ts

#

sry

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 635622
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'p_e' before initialization ```
austere talon
#

also instead of manually subscribing, you'll want

definePlugin({
  flux: {
    MESSAGE_CREATE({ message }) {
      your logic goes here
    }
  }
}
#

it auto manages it for u

cosmic willow
#

my home is farrrr in .net land XD

austere talon
#

plugins load wayy before discord so you cannot do webpack search on top level

austere talon
cosmic willow
#

ah, so the lazy just waits till plugins are fully loaded to seach?

austere talon
#

it searches first time u use it

cosmic willow
#

oki

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 26781
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'h_e' before initialization ```
cosmic willow
#

Seems to work now, so it will only send to the overlay if its a message that would send a notification

olive aurora
austere talon
#

true

charred monolithBOT
austere talon
#

I DID IT

#

@main trout

#

this is so hacky tho lmao

#

basically

#

the hacky bit is mixing codebase of vencord and vencord desktop

#

i don't really like that

#

optimally i would want this patch in the vencord desktop codebase but thats slightly problematic

#

wait maybe not

#

lemme see mmm

tardy kayak
#

i have a question

austere talon
#

nice

tardy kayak
#

By chance, is Vencord used because there is a ban on the discord account?

tardy kayak
#

OH...

#

sorry

austere talon
#

@main trout

woeful sable
austere talon
#

almost done

woeful sable
#

OMG SUGGESTIONS FOR DESKTOP

#

praise ven

austere talon
#

and i even isolated the code to only vencord desktop

#

its slightly weird but we ball

woeful sable
#

๐Ÿ™‡โ€โ™‚๏ธ

austere talon
#

now i just need to figure out how to accept suggestions

#

oh its easy

woeful sable
#

ven I love you

austere talon
#

:3

austere talon
#

oh yeah i should have probably tested the unread badge on linux & mac

#

too late now sorrykirino

charred monolithBOT
austere talon
#

testing in prod is the way

#

i will find out soon enough if it works or not blobcatcozy

charred monolithBOT
charred monolithBOT