#πŸ‘Ύ-core-development

1 messages Β· Page 57 of 1

limber skiff
#

I'm pushing the func name

#

not the whole func

#

so idk I dont remember

nocturne haven
#

just literally scrape the component body.

limber skiff
nocturne haven
#

I see

#

Can't you just do $self.assets.push(() => $1); so it's like a getter?

quaint sapphire
#

I fail to see how this is better

austere talon
#

doable but honestly regex patch is nicer than AST

#

i had to parse AST in vencord companion and it's so painful

nocturne haven
#

ast is pain but can be very powerful

quaint sapphire
#

ya, it would solve all our problems with the SVGs

nocturne haven
#

you gotta bundle something like acorn

austere talon
grave mangoBOT
# austere talon https://github.com/vencord/companion/blob/main/src/PatchCodeLensProvider.ts#L103...

**PatchCodeLensProvider.ts: **Lines 103-118

function parsePossiblePatchesVencord(node: Node): ArrayLiteralExpression | ParseResult {
    if (!isExportAssignment(node) || !isCallExpression(node.expression)) return ParseResult.NOT_FOUND;

    const callExpr = node.expression;
    if (!isIdentifier(callExpr.expression) || callExpr.expression.text !== "definePlugin") return ParseResult.NOT_FOUND;

    const pluginObj = node.expression.arguments[0];
    if (!isObjectLiteralExpression(pluginObj)) return ParseResult.INVALID;

    const patchesObj = pluginObj.properties.find(p => hasName(p, "patches"));
    if (!patchesObj) return ParseResult.INVALID;

    const patchesArray = isPropertyAssignment(patchesObj) ? patchesObj.initializer : patchesObj;

    return isArrayLiteralExpression(patchesArray) ? patchesArray : ParseResult.INVALID;
}
austere talon
#

this is just for parsing a plain object

#

vencord plugins

nocturne haven
#

the typescript compiler api is ass

austere talon
#

maybe estree is better

#

but writing companion with ts api was pain

somber ginkgo
#

do plugins count as vencord plugins before they are merged, very important semantic question

limber skiff
quaint sapphire
#

iirc the goal is 258, (that is how many I found with a broader regex)
function (\w)\(\w\){.{1,80}void 0===\w\?.{1,100}"svg"

quaint sapphire
limber skiff
#

then do

austere talon
#

also you can never account for brackets inside strings

#

same reason you can't use regex to parse html

#

```function foo() { function bar() {}; foo(function() {}({}}}{{function)}

#

try parsing this with regex

#

bit of an extreme example but u get my point shiggy

somber ginkgo
#

ven did you see this

austere talon
#

just use the userscript / manually install the zip

quaint sapphire
#

but yeah

charred monolithBOT
#

Discord Account

Mero#5496

What happens when the bug or crash occurs?

It's a visual bug, displaying all/most discord employee's as bots, instead of users

What is the expected behaviour?

I excepted to not see any badge next to account's nickname, but there is a bot bagde

How do you recreate this bug or crash?

  1. Join official discord server like DAC
  2. Verify
  3. Go to annoucnements

![image](https://github.com/Vendicated/Vencord/assets/128172119/28bed503-12d8-4335-...

quaint sapphire
#

if you don't write a parser that utilizes regex then its impossible

#

(the parser doesn't have to use regex ofc)

somber ginkgo
#
  • i already am using the userscript
  • not being able to just git pull to update the built extension because its in a zip is aids
#

cant wait to make a script just to curl and unzip the extension only to have to manually reload the extension in browser

austere talon
#

i already tried and acorn has acceptable performance

#

might be viable

#

but i haven't tried further

charred monolithBOT
nocturne haven
#

Zerebos and I attempted to make one

austere talon
#
await import("https://cdnjs.cloudflare.com/ajax/libs/acorn/8.8.2/acorn.min.js")
#

run this in ur console and u can play around with it

quaint sapphire
#

I tried to say the least

#

even with a try/catch when rendering the component it crashes discord

#

the amount of false positives is way too high

austere talon
#

simply don't have false positives

#

but yeah i imaginef this

#

the bundler shadowing variables

limber skiff
quaint sapphire
#

I think multiple specific patches are the best way of doing this

nocturne haven
#

what if they are never rendered

quaint sapphire
#

well, technically you don't have to render an icon for it to be added to the list

#

it just has to be exported

#

aka loaded

nocturne haven
#

well, afaik most arent

austere talon
#

not exported

#

just in a loaded bundle

quaint sapphire
#

yeah wrong word

nocturne haven
#

makes more sense

quaint sapphire
#

well, these are a lot of icons

#

228 to be precise

nocturne haven
limber skiff
#

give a moment

#

ugh

#

I would have to escape code

#

whatever I will try this when I get home

#

in the next days

quaint sapphire
#

ayy, reached 251

#

out of a total that I think is 258

austere talon
#

but yeah, u probably already know this but u can name the file .dev.ts(x) and it becomes dev build only @quaint sapphire

quaint sapphire
#

cool

austere talon
#

i love that i added all these filename modifiers they're so useful

quaint sapphire
#

uhh, one issue I have with dev builds, is that only pnpm watch adds the constant

austere talon
#

yes

quaint sapphire
#

if I slip up and use pnpm build it is a waste of time

#

why not make it a setting?

#

or env var? (is it already an env var?)

austere talon
#

setting how

#

oh

#

it's a command line flag

#

--watch

quaint sapphire
#

can it be an env var? i dont want watch

austere talon
#

i guess yeah

#

PR it

quaint sapphire
#

ugh

austere talon
#

we could also just change it to --dev

#

so we have pnpm build, pnpm dev and pnpm watch

#

the latter 2 add the dev flag

quaint sapphire
#

oh we have pnpm dev?

#

is it pnpm build but with dev flag?

austere talon
#

no we don't

#

i'm saying we could change it to --dev

quaint sapphire
#

yeah

austere talon
#

not a thing rn but we could change it to that

#

that's how the other vencord codebases do it

quaint sapphire
#

lmao discord has a tv icon

#

where is it used?

austere talon
grave mangoBOT
nocturne haven
#

watch party icon?

dense matrix
#

Does the rich presence still work?

austere talon
#

pnpm start:dev

#

well

#

it wouldn't be start

quaint sapphire
#

uhh, I don't like the prefix start:, but I can deal with it

austere talon
#

pnpm build:dev probably

#

we could also just do pnpm dev

#

but i like the prefix to make it clear

#

cause with vite dev also means serve, hmr and so on

quaint sapphire
#

ayy, one more

quaint sapphire
nocturne haven
#

It's right there.

#

I can see it.

quaint sapphire
#

current regex: /function (\w)\(\w\){.{1,100}void 0===\w\?"currentColor":.{1,200}"svg"/gs

charred monolithBOT
cunning canyon
#

column 4 row 3

quaint sapphire
#

I think 260 is the limit

austere talon
#

wrong

quaint sapphire
#

for icons?

austere talon
#

sky's the limit

quaint sapphire
#

or svg in general?

#

lazy loaded chunks

lean elm
#

why is discord sometimes randomly rebooting when i open devtools?

stark flint
charred monolithBOT
#

Warning

This plugin is for plugin devs, to use it you must build vencord in dev mode. (eg pnpm watch)

About

This is a plugin to make finding icons an easier task for plugin devs.
Many icons are not exported, so you might have to either patch the icon to export it or copy the component and paste it in ur plugin.

TODO

  • [ ] Maybe load all the webpack chunks so all the icons are loaded?
quaint sapphire
#

@limber skiff maintainers are allowed to edit my PR
so if you want to change stuff you can

quaint sapphire
#

electron + discord web

lean elm
#

ah wow

#

tho why can't i just upgrade the electron version from 32 to 64 bit? I mean i tried before and it didn't work, but why?

stark flint
#

it's the chromium renderer that's capped at 2gb

quaint sapphire
#

well, dunno about upgrade

#

but you can launch discord with a different electron version

lean elm
#

i just downloaded the electron binaries from github and copy pasted discord's resource files in there. Worked for 32bit, but not 64 for some reason

austere talon
#

they likely can't handle large 64bit addresses

#

you have to use 32 bit electron with discord desktop

lean elm
#

ah the .node files?

gray pollen
#

why still 32 bit things

austere talon
#

cause discord

gray pollen
#

😭

lean elm
#

anyway why when i go newer electron version then stuff like camera or streaming crashes discord?

austere talon
#

wha?

#

elaborate

lean elm
#

sec

#

wait they upgraded discord stable to electron 22?

#

nvm then xd

austere talon
#

ye

#

ages ago

lean elm
#

huh mine was like electron 13 two months ago

verbal pumice
#

yeah it was like 2 months ago

lean elm
#

ah lmao, didn't notice

#

i wanna try upgrading to electron 26 πŸ‘€

#

meh they don't have v26 binaries

charred monolithBOT
lean elm
#

basically acts like it doesn't know it's being run in electron. No mic and when i try to stream it tells me to download Discord desktop lol

charred monolithBOT
tight yacht
#

robot invasion 😭

#

how on earth did someone react so fast to my message

stark flint
#

bots tend to do that

tight yacht
#

don't talk to me, you filthy machine, I know you're one of them

stark flint
#

😭

tight yacht
#

don't try to fake emotion, I am a psych major, I can tell when someone isn't being genuine

gray pollen
#

damn psych majors can do that

tight yacht
#

okay next question

stark flint
#

i swear i'm real

tight yacht
#

meanwhile

stark flint
#

please

austere talon
#
  • already fixed, update dogsmirk
tight yacht
#

I don't trust you

limber skiff
#

I see no plugin to tranate messanges

#

tbh I've never seen a messange

austere talon
#

real

somber ginkgo
#

tranate

somber ginkgo
tight vapor
#

There's probably a simpler way of doing it

#

also add option to copy the name of the song, artist, and album

charred monolithBOT
tight vapor
#

In the message buttons

nocturne haven
austere talon
#

this looks like funny CRLF

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
median rapids
#

that's crazy

charred monolithBOT
austere talon
median rapids
#

funny wording

charred monolithBOT
pallid lava
median rapids
#

never bleh

limber skiff
#

bro

#

what the heck is wrong with github mobile

#

I literally cant select more text

quaint sapphire
#

That ain't GitHub mobile tho

limber skiff
#

I mean the mobile website

quaint sapphire
#

Well, if you want to edit code from your phone, use the app

#

The beta version

austere talon
#

??

limber skiff
#

lol

stark flint
#

What the hell are the repos on their profile

royal bane
charred monolithBOT
#

What should the plugin/feature do?
How does it work?
Any images or mockups?
Possible links to any existing plugins for other mods that could be used as inspiration!

A clientside audio fix for users' volume to not exceed a certain db level. Should serve to prevent excessive background noise.
The plugin should cut out audio under a certain threshold you set of DBs per discord user in voice chat, and should be a slider module in the context menu once you right click a user in a voice chat...

royal bane
royal bane
charred monolithBOT
jagged cloak
austere talon
#

LMAO

#

true

jagged cloak
austere talon
#

LMAO

#

200 iq pr

#

it's not even deno

#

it's whatever this shit is https://npmjs.org/package/deno

#

permission viewer code is so strange

#

nookies slightly overcooking

#

do i rewrite the odd parts

limber skiff
#

lol

#

what's the bad stuff?

austere talon
#

markup like this scares me

limber skiff
#

true

austere talon
#

maybe destructure classes at the top so it's slightly less insane

#

some of the stuff i already cleaned up

#

and some of the stuff i commented

charred monolithBOT
grave mangoBOT
austere talon
limber skiff
#

oh

#

if you know a better way

#

also I see, you prefer type[] instead of Array<type>

austere talon
limber skiff
#

wait

austere talon
#
if (boolean) permissionState = true;
else permissionState = false
limber skiff
#

OH

austere talon
#

do you not see what's wrong with that ahhaa

limber skiff
#

I did now

#

lmao

austere talon
limber skiff
austere talon
#

i only use it if the type is something you'd need parantheses for

#

cause

somber ginkgo
#

@austere talon Praise

limber skiff
austere talon
#

Array<stuff> >>> (stuff)[]

limber skiff
#

instead of the end only

austere talon
#

yeah but i feel like that's not really applicable cause the type is always gonna be short

#

if you need a very complex array type you should extract the type

limber skiff
#

yeah I get what you mean

austere talon
#

but i don't really have a preference lol

#

i just use T[] for consistency

somber ginkgo
#

πŸ›

limber skiff
austere talon
#

YEE

#

but also > 0n goofy

limber skiff
#

smh

austere talon
#
permissionState = Boolean(permissions & bit)
permissionState = !!(permissions & bit)
permissionState = (permissions & bit) === bit
#

any of these good

limber skiff
#

I searched on google how to check if a bit is present in a field

austere talon
#

but also

#

u should probably make a func for readability

limber skiff
#

why is it bad?

austere talon
#
const hasFlag = (field: bigint, flag: bigint) => (field & flag) === flag;
limber skiff
austere talon
#

it's in so many

limber skiff
#

wha

#

I oficially dont remember my own code

somber ginkgo
#

its been so long trol

limber skiff
somber ginkgo
#

nookies you know i paid ven off

limber skiff
#

tbh ven

#

if those end up being all the reviews

#

could you apply them for me 😊

#

pretty simple stuff lol

austere talon
#

nah i have barely looked

#

i will probably rewrite some of the ui code if u dont mind

#

i dont like that it's one big 4 million line function

#

it's vencord settings all over again

limber skiff
#

aight

#

what part do you mean exactly?

somber ginkgo
#

(all of it xdd)

limber skiff
somber ginkgo
#

brb turning my donation into a commission for permissions viewer so ven has to pay tax on it trolleyzoom

austere talon
#

HORROR

#

i have no income so i'd not have to pay taxes either way

somber ginkgo
austere talon
#
roles.sort(({ position: a }, { position: b }) => b - a);
#

this is so ugly imo

#
roles.sort((a, b) => b.position - a.position);
#

better neppy

#

@limber skiff ?

#

couldn't this be a setting.use()

#

oh nvm

#

i see

#

sorry

limber skiff
#

yop

#

it's fine

austere talon
#

what do these mean?

#

state false = permission denied
state null = not overwritten
state true = permissioned allowed

#

?

austere talon
#

i changed a bunch @limber skiff

limber skiff
#

yeah

austere talon
#

i got it i think

#

im gonna add a tooltip to the role pills

#

for what role gives the perm

limber skiff
#

sure

austere talon
#

maybe show on rightClick actually

#

i dont like the tooltip

limber skiff
#

why || instead of ??

austere talon
#

doesnt matter and || is "safer"

#

colorString might change to empty string or smth

#

discord so sane

limber skiff
#

and any reason to be spreading the whole role obj here

#

we don't need most of the stuff

austere talon
#

it's easier

#

than specifically copying each prop

#

:P

limber skiff
#

I mean we only need id and perms

#

iirc

austere talon
#

yes but

#

havign the others in there too doesn't hurt and is easier

#

i merged the 3 classes module into one object

#
const Classes = proxyLazy(() => {
    const modules = findBulk(
        filters.byProps("roles", "rolePill", "rolePillBorder"),
        filters.byProps("roleCircle", "dotBorderBase", "dotBorderColor"),
        filters.byProps("roleNameOverflow", "root", "roleName", "roleRemoveButton")
    );

    return Object.assign({}, ...modules);
})
#

i hope they don't have conflicting members

#

would be silly

#

still works fine

limber skiff
#

I like your changes

#

change here to || too

#

role?.colorString ||

austere talon
#

it's way faster than individual finds

limber skiff
#

yeah

austere talon
#

reviewDb finds like 8 modules with findBulk

limber skiff
#

idk how you can review so good

austere talon
#

funnybtw

limber skiff
#

I feel bad at reviewing ohhhhh

austere talon
#

why are there some permissions that aren't "mapped"

#

do u know why

limber skiff
#

I dont

#

is there a reason

austere talon
#

discord moment

limber skiff
#

HORRIBLE

#

DO THEY HAVE TO MANUALLY SELECT THE NAME IN THOSE CASES

#

EWWWWWWWWWWW

austere talon
#

MANAGE_GUILD
utils.ts:24 MANAGE_GUILD_EXPRESSIONS
utils.ts:24 MODERATE_MEMBERS
utils.ts:24 SEND_VOICE_MESSAGES
utils.ts:24 STREAM

#

these arent mapped

limber skiff
#

if (perm === MANAGE_GUILD) return MANAGE_SERVER

austere talon
#

ye lmao

#

their i18n is so weird anyway

limber skiff
limber skiff
#

I never know what to call them

austere talon
#

xd

#

mood kinda

limber skiff
#

watchu mean

austere talon
#

u get the names from discord right

#

Very Important Speaker

#

discord loves not having that translated

limber skiff
austere talon
#

permission names

limber skiff
#

yes using the messages

austere talon
#

should i add the role descriptions as tooltip?

limber skiff
#

oooo nice

limber skiff
austere talon
#

permission descriptions*

limber skiff
#

oh

#

if the tooltip doesnt get too big

#

sure

austere talon
#

a few empty again

#

IHUJdwejifijoewfujgioghujwer

#

i hate discord

limber skiff
#

horrible

austere talon
#

ig same mappings again

#

guh

#

:)

#

the tooltips are cool but kinda noisy

#

@limber skiff

charred monolithBOT
limber skiff
austere talon
#

eh kinda

limber skiff
#

maybe more simple somehow

austere talon
#

maybe grey out more

#

?

limber skiff
#

yea

austere talon
#

better?

#

okay im done i think

#

see if u still like everything

austere talon
#

better imo

#

what do u think? @limber skiff

limber skiff
#

owner is the last?

austere talon
#

ye

#

ServereigentΓΌmer = owner

#

german jumpscare

limber skiff
#

i prefer it being @owner

austere talon
#

sure

limber skiff
#

to differentiate from a role

austere talon
#

i hate discord in german, i just switched to it because localisation test

limber skiff
#

and idk if it should have a color

#

i guess sure

#

keep the color

austere talon
#

localised is better than @owner imo

#

maybe we could just use the crown emoji instead?

charred monolithBOT
limber skiff
#

also I think you left a console log

#

BRO

#

WTF

austere talon
limber skiff
#

ew

#

I hate

austere talon
#

its kinda weird lol

#

yeah

limber skiff
austere talon
#

ig @ownr

limber skiff
#

yeah @owner

charred monolithBOT
limber skiff
austere talon
#

where

#

oh i see

#

but that point should never be reached anyway

#

xd

#

this good right

limber skiff
#

add yourself to dev list

mortal rain
#

why it blocky

limber skiff
austere talon
#

thoughts?

limber skiff
#

uhh

#

seems unaligned

austere talon
#

i find it better

#

makes it clearer

austere talon
#

i just added with inspect elements

#

as a proof of concept

mortal rain
limber skiff
#

ok add it

mortal rain
#

looks kinda out of place imo

limber skiff
#

just make sure it's aligned

austere talon
mortal rain
austere talon
#

lmao i dont think thats how it works 😭

mortal rain
true gullBOT
mortal rain
austere talon
#

maybe like this?

#

its just an emoji

mortal rain
#

maybe just @owner? MU_Idk

#

oh yeah vee im making the move back to linux what distro should i go with this time

austere talon
mortal rain
#

i used arch debian ubuntu pop manjaro uh and way too many

#

so fedora

#

it is

austere talon
#

i like the emoji cause it makes it clear that it's not a real role

mortal rain
#

one question though

#

why does this

#

look like it just came out of roblox

limber skiff
#

why !== stream

median rapids
woeful sable
limber skiff
austere talon
#

discord has brain damage

mortal rain
austere talon
#

the name of the permission is VIDEO, but the name of the permission description is STREAM

median rapids
austere talon
median rapids
#

pretty sure both have been used

austere talon
median rapids
#

video makes more sense though

austere talon
#

so we have to do this shit

median rapids
mortal rain
limber skiff
#

I stil dont get it

median rapids
#

use_vad, view_channel, etc

limber skiff
#

why cant you just leave to the default

#

why do you have to check if its different than stream

austere talon
#

?

limber skiff
#

what if the permissions is STREAM?

austere talon
#

then it SHOULDNT be mapped

austere talon
limber skiff
#

it would fall back to the default though

#

cuz the map doesnt have STREAM

austere talon
#

it does

limber skiff
#

wait im blind?

austere talon
#

r u blind xd

limber skiff
#

oh

#

mbbb

austere talon
#

we need to map it for name because its Messages.VIDEO

median rapids
mortal rain
austere talon
#

but for description it's ROLE_PERMISSIONS_STREAM_DESCRIPTION not ROLE_PERMISSIONS_VIDEO_DESCRIPTION

limber skiff
#

yaya I get it now

austere talon
median rapids
#

husk

austere talon
#

discord 2000iq

austere talon
#

we love discord

mortal rain
#

discord try to be consistent

median rapids
#

im so sad they fixed the exerimentOverrides typo

#

was so representative

austere talon
#

im leaving the crown for now, put it in a separate element so it's easy to hide with css if people care

mortal rain
limber skiff
#

wait

#

can you make it the guild owner crown svg

austere talon
#

it was that before

mortal rain
limber skiff
#

way better than emoji

mortal rain
#

@limber skiff

limber skiff
#

yeah

mortal rain
#

what in the fuck is going on

austere talon
#

fixed that already

#

youre outdated

mortal rain
#

wow no need to call me old

austere talon
mortal rain
mortal rain
#

auto update no work ;-;

austere talon
#

it does

mortal rain
#

ig im special

limber skiff
#

are you using permissionDescription here?

austere talon
#

wdym?

limber skiff
#

is that used anywhere

austere talon
#

yes?

limber skiff
#

I cant find lol

austere talon
limber skiff
#

mobile sucks god

austere talon
#

also do u like the crown now

limber skiff
#

but on userPermissions?

austere talon
#

oh

#

nah can be removed

limber skiff
limber skiff
austere talon
#

roleName as well

#

ok done done

mortal rain
#

what the fuck

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'ofe' before initialization ReferenceError: Cannot access 'ofe' before initialization
    at Module.default (WebpackModule138875:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at kr.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23175)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://discord.com/assets/fd1f9ea7de3b25548016.js:9365:766
    at https://discord.com/assets/fd1f9ea7de3b25548016.js:9355:818
    at n (https://discord.com/assets/fd1f9ea7de3b25548016.js:9365:743) ```
mortal rain
#

ouch

limber skiff
#

did you add yourself to dev list

austere talon
#

now

#

uh

#

ok all good

limber skiff
#

ok last thing in the utils file make ReactNode import type only

#

then approved

austere talon
#

i did

#

already

limber skiff
#

nice

austere talon
#

2 steps ahead of u buckaroo

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 Cannot access 'ofe' before initialization ReferenceError: Cannot access 'ofe' before initialization
    at Module.default (WebpackModule138875:2:50)
    at VencordWeb:12:719
    at VencordWeb:5:8750
    at [vencord.lazy.get] (VencordWeb:5:7113)
    at kr.<computed> [as get] (VencordWeb:5:7524)
    at Object.handleProtoChange (VencordWeb:33:23175)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:766
    at https://canary.discord.com/assets/a1302f6c36de791aa330.js:9355:818
    at n (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:743)
%c[GatewaySocket] 
font-weight: bold;
color: purple;
 Cannot read properties of undefined (reading 'appearance') TypeError: Cannot read properties of undefined (reading 'appearance')
    at Object.handleProtoChange (VencordWeb:33:23053)
    at CONNECTION_OPEN (WebpackModule473419:2:5858)
    at https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:766
    at https://canary.discord.com/assets/a1302f6c36de791aa330.js:9355:818
    at n (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:743)
    at t._dispatch (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9366:83)
    at https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:429
    at i.log (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9355:782)
    at t._dispatchWithLogging (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9365:368)
    at t._dispatchWithDevtools (https://canary.discord.com/assets/a1302f6c36de791aa330.js:9364:797) ```
austere talon
#

i also fixed small grammar error

limber skiff
#

oh no

austere talon
# frail sky

the appearance thing seems to be consistent btw

#

have u checked it yet

limber skiff
#

was it wheter

mortal rain
austere talon
#

nah

#

an user -> a user

limber skiff
#

o

austere talon
#

a/an is picked based on the pronounciation, not the actual letter

austere talon
#

user is pronounced jooser

limber skiff
#

I mean

#

havent checked

austere talon
#

a user
an hospital

#

silly english

austere talon
#

transgender_1 anyway yeah i fixed that

#

anything else

limber skiff
#

uhh

#

give me a min for github to load the code

austere talon
#

i didnt change much anymore

#

just moved some functions to different file for slightly more tidy

limber skiff
#

ok merge

charred monolithBOT
austere talon
#

@somber ginkgo you owe me five million dollars (real)

#

inb4 now everyone's vencord explodes somehow

limber skiff
#

yep

#

usual nuckyz plugin

austere talon
#

i wanna bump version

limber skiff
#

explodes vencord after 2737474 testing

charred monolithBOT
limber skiff
charred monolithBOT
austere talon
#

too late

limber skiff
#

theres the shc integration with it

#

😭

austere talon
#

guh

#

im too tired

#

to look at anything else anymore

limber skiff
#

I will do it tomorrow or after tomorrow

#

it prob needs some change

somber ginkgo
austere talon
#

real

limber skiff
#

after your changes

limber skiff
#

or maybe not idk

somber ginkgo
#

im actually about to go to bed so ill test when i wake up xddxdd2

limber skiff
#

horror

somber ginkgo
austere talon
#

test now or unmerge

#

(/s)

limber skiff
#

sorry for giving you so much work on this pr ven

austere talon
#

nah nah dw

#

thanks for ur work

#

πŸ™

#

sorry for long time taken to merge

somber ginkgo
#

ven doesnt mind the work, he only minds me going SCcrying

charred monolithBOT
limber skiff
#

with the amount of stuff you changed it's understandable lmao

charred monolithBOT
somber ginkgo
#

okay i sleep Bedge

austere talon
#

gn zzzz well

charred monolithBOT
jagged cloak
#

slee

charred monolithBOT
median rapids
#

lmao

#

I love

jagged cloak
#

lol

#

jus use clyde

cunning canyon
charred monolithBOT
charred monolithBOT
charred monolithBOT
quaint sapphire
#

is there a flux event for when the current channel changes?

quaint sapphire
#

Ig I could add a change listener to the current channel store

verbal pumice
#

CHANNEL_SELECT

quaint sapphire
#

thx

charred monolithBOT
quaint sapphire
#

and gave me ur opinion

viscid halo
#

i dont know if i can ask here but can vencord be installed on mobile??

quaint sapphire
#

yes but why would you want to do that?

viscid halo
#

cause i want to use custom emojis on mobile too

quaint sapphire
#

and why does it have to be vencord?

#

why not ask "is there a discord mod on mobile?

#

vencord is a mod for discord web/desktop

viscid halo
#

oh i didnt think about that

quaint sapphire
#

to use vencord on ur phone, you will use discord web, aka the desktop website

#

for phone use other mods

#

like vendetta or aliucord

viscid halo
#

okay,goodbye im gonna see the other ones

quaint sapphire
sand estuary
#

i'm still very confused on how to make my plugin i tried reading the stuff in the vencord file, But i don't understand it
any help would be very appreciated

quaint sapphire
#

well

#

what have you done so far?

sand estuary
#

I've done nothing i don't know how to start, i just pasted in that template and i tried looking for other plugins that are close in purpose but i found nothing

quaint sapphire
#

well, your "nothing" could mean many things.
please don't be vague with your responses

#

have you cloned the repo and injected the local build?

#
git clone ...
cd ...
pnpm install
pnpm build
pnpm inject

dont take the ... literally

sand estuary
#

i cloned it but i didn't do the rest

quaint sapphire
#

then do the rest

#

and after you are done, say so

#

so we can continue

sand estuary
#

alr

quaint sapphire
#

21 minutes have passed, did you encounter a problem of some sort?

quaint sapphire
#

@sand estuary

charred monolithBOT
quaint sapphire
#

What does that even mean?

#

The plugin has nothing to do with opera gx

#

Other than the fact it uses themes from it

charred monolithBOT
quaint sapphire
austere talon
#

this veeeery much makes it sound like it's for opera gx only

#

like it adds additional stuff to opera gx

#

but if it's not then yeah i can try it

somber ginkgo
#

opera g- mimimir

quaint sapphire
#

Opera GX Mod
What does that mean

charred monolithBOT
woeful sable
#

not to be picky or anything but the mobile icon is definitely too big

limber skiff
#

I agree lol

#

I tried getting the same icon discord uses

#

but it's a mask and idk how to make it a svg

lean elm
woeful sable
lean elm
warm zinc
#

Hi, i'm using this plugin FakeProfileThemes from Alyxia Sother and it theoretically should change my profile color theme, but it wont work. I see the colors, but my friends not. Any help? I seen from other people that works

woeful sable
#

and/or other people using the plugin can see it

warm zinc
#

Only the one who use the plugin so can see it?

woeful sable
#

I'd assume so? I don't use the plugin so I wouldn't know

warm zinc
#

okk ty

twilit grotto
#

yo is there anyways to post suggestion

#

maybe a soundboard for fake nitro

#

like

#

outside of servers

lean elm
#

@limber skiff phone

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1500" width="10" height="15">
  <path d="M 187 0 L 813 0 C 916.277 0 1000 83.723 1000 187 L 1000 1313 C 1000 1416.277 916.277 1500 813 1500 L 187 1500 C 83.723 1500 0 1416.277 0 1313 L 0 187 C 0 83.723 83.723 0 187 0 Z M 125 1000 L 875 1000 L 875 250 L 125 250 Z M 500 1125 C 430.964 1125 375 1180.964 375 1250 C 375 1319.036 430.964 1375 500 1375 C 569.036 1375 625 1319.036 625 1250 C 625 1180.964 569.036 1125 500 1125 Z" style="fill: rgb(242, 63, 67);"/>
</svg>
verbal pumice
tame escarp
#

(it is impossible)

twilit grotto
#

oh

#

well

#

how is nitro share workinbg

tame escarp
#

its not locked serverside but soundboard is

twilit grotto
#

oh

#

makes sense

#

i wish i knew js

verbal pumice
limber skiff
lean elm
#

yessir

limber skiff
#

how

lean elm
#

well i just looked at the mask and replicated it in an svg editor

#

I didn't type that path thing myself πŸ˜‚
i just created that rect and subtracted this inner rect and this circle from it

lean elm
#

bruh who forks the vencord installer

tame escarp
# verbal pumice what

search for soundboard in this channel there are 9999999 examples of people saying soundboard is gated serverside

limber skiff
#

I couldnt even find that lmao

lean elm
#

document.querySelector("#svg-mask-status-online-mobile") ._.

limber skiff
#

can you send the result of that?

lean elm
#

sure, sec

limber skiff
#

cant check on mobile

lean elm
limber skiff
#

oh

lean elm
#

smh

limber skiff
#

dang I feel dumb lmao

lean elm
#

πŸ’€

limber skiff
#

thank youu

lean elm
#

np <3

#

now that i think of it i could've just created a red rect and copy pasted the mask to it. Bruh, whatever

verbal pumice
stark flint
#

Screensharing

verbal pumice
#

oh

quaint sapphire
#

who calls screensharing as "nitro share"?

#

in the first place it is freemium

surreal otter
charred monolithBOT
#

Discord Account

alexia#0003

What happens when the bug or crash occurs?

When someone with pronouns set gets filtered by AutoMod, the pronouns are assigned to AutoMod:

What is the expected behaviour?

The pronouns should either be inside the embed or just hidden entirely.

How do you recreate this bug or crash?

  1. Set your pronouns on PronounDB
  2. Enable the PronounDB plugin
  3. Trigger an AutoMod rule with report channel enabled
  4. View AutoMod logs

Errors

N/...

austere talon
#

nah this is funny

charred monolithBOT
quick ibex
#

judgeful group of people i swear

lime stone
austere talon
#

so real

lime stone
#

i think i saw this bug before

#

i don't know why i didn't think to report it

#

why would you skip ci though?

austere talon
#

cause it's a really unimportant issue

#

i don't wanna annoy people with minor updates that hardly matter

lime stone
#

weell it didn't work because it needs to be [ci skip] iirc

austere talon
#

wrong

#

it did work

lime stone
#

or do both work?

#

ohh

austere talon
lime stone
#

what about updates which introduce crashes? :3

quaint sapphire
#

@austere talon did you try it yet?

charred monolithBOT
quaint sapphire
charred monolithBOT
quaint sapphire
#

anyways

#

enough demos

#

if you want to checkout other mods, run it urself

#

man the typing sounds from the last demo are goofy ass

#

only the vine boom is missing from them

woeful sable
#

they're pre cool

#

make it the metal pipe falling sound

#

or

quaint sapphire
woeful sable
quaint sapphire
#

lol

#

actually

#

i think they already did the pipe one

woeful sable
#

lMFAO

quaint sapphire
#

well, you asked for it, this is it, are you happy now?
I for sure am not happy about this.

at least it aint that loud

woeful sable
#

i love it

#

you should definitely make this a plugin

quaint sapphire
#

it is a plugin

#

oh god, I installed another pipe mod, it is loud af

woeful sable
quaint sapphire
#

this is a nightmare, wtf, this is so fucking loud, my ears are bleeding

make this stop

quaint sapphire
woeful sable
#

should make it disable if you have silent typing enabled

quaint sapphire
#

this here is the intended gx mod this plugin targets, ofc you can install any gx mod you want, but tbh the others are a pain

#

ok spammed this channel a lot

#

no more videos for real

jagged cloak
#

gonna be brutally honest here i dont think ven wants to merge it just because its opera gx and everything it entails (spyware and whatever other argument people put forward)

quaint sapphire
#

initially ven thought this was an integration with the browser

#

dunno how they reached that conclusion

#

but its not that

#

ven should be ok with the mod

jagged cloak
#

hm

stark flint
jagged cloak
#

oh is it just a plugin store for gx mods

#

lmao

quaint sapphire
#

uhh, it aint a plugin store yet, dunno if I plan to do that tbh
using the gx website is inherently better for finding mods

#

it is a mod that loads a gx mod, and uses the assets it has

jagged cloak
#

ohh gotcha

#

thats cool

quaint sapphire
#

gx mods are packaged just like how chrome extensions are
in crx files, so I download the crx file, unzip it, and use the files within

#

pretty simple

jagged cloak
#

so theyre pretty much just chrome extensions?

quaint sapphire
#

not really

#

no js is within

#

only common thing they have with extensions is the manifest file, and it is way too different

austere talon
#

@limber skiff nyaboom

#

did u forget dms exist

quaint sapphire
#

css, shaders and audio

jagged cloak
austere talon
#

dw i will fix

quaint sapphire
limber skiff
#

oh

jagged cloak
#

my dms werent loading then i realized it was just the aka badge snippet i had that fucking explodes in dms lmao

limber skiff
#

on the user popout

#

yikes

#

fix the context menu too

#

and check if it doesnt explode

austere talon
#

ye

#

this should fix

limber skiff
#

ye

limber skiff
austere talon
#

wha

#

oh

#

fair

#

where add?

#

in its own category under block imo?

limber skiff
#

sure

jagged cloak
#

wheres verify member

#

put it under that

limber skiff
#

actually

#

nahh

#

dont do own category

#

put under block

austere talon
#

add friend and block might also not be there

limber skiff
#

oh ye

#

profile

jagged cloak
austere talon
quaint sapphire
woeful sable
#

add it into the view avatar part, view avatar, view banner and view permissions?

#

makes more sense

austere talon
#

i will just put it above copy user id

quaint sapphire
#

we need a vencord section in context menus

jagged cloak
#

i was abotu to say that lmao

limber skiff
#

that's for sure gonna explode on dms now

quaint sapphire
#

discord is wild

limber skiff
#

you will have to check for guild too

stark flint
jagged cloak
#

lmao it usually does that when you scroll down the member list

quaint sapphire
#

i did nothing lmao

#

i think it refreshed the user cache

#

my internet is so slow rn that it is noticeable

austere talon
#

@limber skiff

limber skiff
#

show code

austere talon
limber skiff
#

ok cool

#

did you check for guild

austere talon
#

ye

austere talon
limber skiff
#

nono on user

#

context

#

that's gonna add permissions item to dms too

charred monolithBOT
limber skiff
#

I think

austere talon
#

oh it does

#

lmao

limber skiff
#

yeah