#๐Ÿ‘พ-core-development

1 messages ยท Page 3 of 1

austere talon
#

lmaoo

#

i'm saying make the patch like js createElement(a.X, blah), ...Vencord.Api.MessageButtons.getEntries(), createElement(x.Y, moreBlah)

#

and that method just has to return an array of elements

charred monolithBOT
austere talon
#

guh idk if this works correctly

#

its so hard to test

#

do I just yolo and merge it

fiery jungle
#

yop

umbral hedge
#

yop

austere talon
#

insane

#

i mean it should work fine

charred monolithBOT
austere talon
#

insane

charred monolithBOT
#
[Vendicated/Vencord] New branch created: updater\-local\-commits
swift fjord
#

gu

native wharf
#

no, its not a different client

#

it injects directly into signal

acoustic flower
#

There is still some risk but it's small

native wharf
#

ok?

acoustic flower
#

but then u are probably paranoid

native wharf
#

thats the same as saying theres a risk of using vencord

native wharf
acoustic flower
#

If you'd think it'd be dangerous you would probably be paranoid since it's a very small chance

native wharf
#

youre the one saying its potentially dangerous

#

๐Ÿคจ

jagged cloak
#

bro really said Your device is at risk. By installing applications from unknown sources you put your device at risk for cyber attacks, malware, and data theft.

shy hill
#

Well, client mods expose the possibilty of a dev capturing your data. But then again, most aren't made with evil intent and if they're open source, you can vet the code

#

If they're not, steer clear

charred monolithBOT
acoustic flower
quaint sapphire
#

it is react, so we can have state

#

good thinking

#

but that'd mean that i have to properly document and expose some stuff

#

agh

charred monolithBOT
acoustic flower
fiery jungle
#

oh misread
anyways my point still stands for other projects

charred monolithBOT
shy hill
#

Just read the source for any kind of client mod, not just dicksort ones. Knowing what you inject is a good idea in general

charred monolithBOT
#
[Vendicated/Vencord] New branch created: cmdapi\-ven
jagged cloak
#

oops uh oh

#

(yarn.lock will explode just like pnpm lock)

fathom herald
#

alternatively, squash and merge

umbral hedge
#

ven using yarn??? illegal

austere talon
#

it was him

fathom herald
#

him

umbral hedge
#

him

jagged cloak
#

him

#

gitignore yarn when

jagged cloak
#

yarn v1 will be detonated

charred monolithBOT
leaden zinc
#

โญ

austere talon
#

ok @quaint sapphire i think commands api done

#

check it out and see if u wantany changes

#

uhh actually i gotta add commands category ig

#

i will figure that out

#

but other than that please check

#

this is BUILT_IN_SECTIONS

quaint sapphire
#

yeah

#

no shit sherlock

#

i spent countless hours trying to add a category

austere talon
#

oof

#

yeah i see the issue now

charred monolithBOT
austere talon
#

ok pain im just keeping the command in normal section for now @quaint sapphire

quaint sapphire
#

iirc powercord/betterdiscord had other sections

#

but i fml cant find their code for that

#

and even if i find it, it will either be broken or use a huge lib

austere talon
#

AliucordRN does

#

but like i did the exact same thing and it didnt work lmfao

dusky hatch
#

Enmity too

quaint sapphire
#

did you insert to the dict?

austere talon
#

actually wait

#

one last try

quaint sapphire
#

iirc there are multiple dicts with the categories

#

maybe we could trick discord into thinking that it is an external integration

#

there is even a store for the categories iirc

quaint sapphire
austere talon
#

yeah ok doesnt work exactly the way aliucord does it

#

they just changed it ig

fathom herald
#

did we check replugged's implementation

#

i think they patch into a function

austere talon
#

they dont have slash commands bruh

fathom herald
#

o h

#

i swear they did

#

or was that goosemod

fathom herald
austere talon
#

so many patches lmao

charred monolithBOT
austere talon
#

ducko has never heard of a formatter trolley

#

300 million chars long line

umbral hedge
#

ven loves pnpm inject

fathom herald
#

wtf megu push perms but no admin

umbral hedge
#

fr fr

#

megu4admin

fathom herald
#

fr

shy hill
#

npm inject ven

mental lotus
trim ocean
#

pnpm impale

charred monolithBOT
fathom herald
#

ven add sections first

#

!!!!

quaint sapphire
#

not that important

#

also a headache with minified module names

fathom herald
#

we have string search for that

quaint sapphire
#

you really didnt think before replying did you?

#

and now you edit it

fathom herald
#

i am an edit person

quaint sapphire
#

mistake? what mistake? i only see the (edited) at the end

fathom herald
#

we have patches for that -> we have string search for that

#

me nitpicking myself

quaint sapphire
#

patches mean nothing if you cant find the module to patch

#

thats what i meant

fathom herald
#

yea but we've found it already

#

builtin sections is the same module as built-in commands iirc

quaint sapphire
#

yes, i found that ages ago

#

but you need more than that

quaint sapphire
#

we might be able to send events to register applications (aka categories)

#

@austere talon

#

lemme attach a debugger there and see

umbral hedge
#

APPLICATION_COMMAND_SEARCH_STORE_UPDATE trolley

quaint sapphire
#

my brain is too smooth to find out how to use them

quaint sapphire
#

so its weird that applications is passed the module

umbral hedge
#

presumably its just overwriting t lol

quaint sapphire
#

the thing is, will we have to do that on an interval?

umbral hedge
#

just funny swc things trolley

#

cant you just patch this function and applications: [...t, { custom application }]

quaint sapphire
#

t is the module with that function

#

t is not the applications

#

dunno why it is named applications

umbral hedge
#

it literally passes an array of applications tho

#

in the source it's literally just a function directly exported from a ts file
there is no class or anything

#

it's just a utility function

charred monolithBOT
#
[Vendicated/Vencord] New branch created: eslint
umbral hedge
#

w

#

hlint

austere talon
#

actually i will merge commands api first

#

otherwise funny merge conflict

umbral hedge
#

trol

jagged cloak
#

i will replace eslint with ctrl k d

umbral hedge
#

ctrl k deez nuts

jagged cloak
#

why does the the ven ignore the second the

umbral hedge
umbral hedge
#

human brain moment

austere talon
umbral hedge
#

why does the the ven ignore the second the

austere talon
#

Why do they call it oven when you of in the cold food of out hot eat the food?

jagged cloak
#

true

umbral hedge
#

because I decided it should be called oven

jagged cloak
#

he looks like the when a was

austere talon
#

i will merge eslint trol

#

how to workflow check lint

jagged cloak
#

.github/workflows/urmom.yml

#

it must be called ur mom .yml

umbral hedge
#

isn't there a template workflow for lint check

jagged cloak
#

has to be

umbral hedge
austere talon
#

does github actions have pnpm?

#
  • why do people use actions/setup-node, actions comes with node
fathom herald
#

updated version maybe

fathom herald
umbral hedge
#

megu actions

umbral hedge
#

skill issue

austere talon
#

how do u get it to comment the issues

umbral hedge
#

uhhhhHhh

#

no clue!

austere talon
umbral hedge
#

I will set up an action that comments h whenever a pr is merged into main

charred monolithBOT
umbral hedge
#

trolley

austere talon
#

epic

charred monolithBOT
#
[Vendicated/Vencord] branch deleted: eslint
austere talon
#

epic

#

todo kang replugged workflow

#

wait what

#

its same as mine

umbral hedge
#

spaces between func name and params is evil

gusty dune
#

yes

austere talon
#

it's pretty funny

umbral hedge
#

trol

#

venlint

austere talon
#

powercord eslint config be like

const s = 'i\'m in love with escaping \' quotes'```
solemn spoke
#

@austere talon just for curiosity, if you have a component that you made, and would like add it to a patch, how would you do that?

austere talon
#

like add ur own component to discord?

solemn spoke
#

yes

austere talon
#

put it on ur plugin object

solemn spoke
#

wuh

austere talon
#
renderBanana() {
    return (<div></div>)
}```
solemn spoke
#

huh

#

and how would you add to the patch

austere talon
#

then call it from the patch via Vencord.Plugins.plugins.YourPlugin.renderBanana()

solemn spoke
#

kgremlin makes sense ig

fiery jungle
#

do plugins support tsx

austere talon
#

yeah

#

plugins can be directories, tsx, etc

fiery jungle
#

okie i will use

austere talon
#

just the index needs to export the plugin

swift fjord
#

plugins can be an entire react project trollzoom

jagged cloak
woeful sable
charred monolithBOT
woeful sable
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
high oracle
austere talon
#

does that even work

#

it should reuse the same string over and over again

high oracle
#

It fills up memory and then electron relaunches

#

I think the relaunch happens because of ANR tho

austere talon
rare shale
#

OH FFS

austere talon
#

epic formatting fail

#

why closed blobcatscared

#

just format and push change smh

rare shale
high oracle
#

guh

#

literally 2 commands

#

or none with a gui

austere talon
#

no need to close pr

rare shale
#

yeah yeah, i had to remove an if statement too

umbral hedge
#

lint --fix moment

charred monolithBOT
austere talon
#

Buffer.allocUnsafe let's you allocate a specific amount of bytes

shrewd cobalt
#

sussy

tame escarp
#

you should obviously add an npm dep of pee.js so we can use it ootb for all our memory leaking needs

high oracle
#

I love thjis

umbral hedge
#

trol

high oracle
#

You did indeed generate a memory leak

#

bruh this kinda sucks

#

I honestly prefer my method

#

btw when is ephemeral support going to be added

#

or wait

umbral hedge
#

trol

high oracle
#

nah no ephemeral support

#

sed

#

/memoryleak

#

hm yeah

umbral hedge
high oracle
#

yeah honestly I prefer the plugin as it is rn

#

no need for Buffer.alloc and shit like that

#

this one works perfectly as it both freezes and crashes the client

charred monolithBOT
charred monolithBOT
charred monolithBOT
jagged cloak
#

its just a silly plugin

high oracle
#

silly goofy plugin

austere talon
charred monolithBOT
charred monolithBOT
rare shale
#

I FIX CODE

#

WHEN MERGE

charred monolithBOT
#

LGTM, although I wouldn't iterate over each word, is there a particular reason that you did it that way?

check the if statements. I'm uwuifying them by some rules, tho they're simple but they prevent words from being over-uwuified and being unreadable

for example, if we have uwu as the input, without the checks, it'd become "uwuwuwu"

tame pendant
#

could go overboard with the uwuifying take a look at this
https://aqua-lzma.github.io/OwOify/

shy hill
rare shale
#

ill add the texts to the "endings" array too

tame pendant
#

I love and hate it

rare shale
#

OH RIGHT

#

STUTTERS

shy hill
#

Why is penis not being replaced by bulge?

rare shale
#

I COMPLETEKLY FORGOT ABOUT STUTTERING

tame pendant
#

oh no

shy hill
charred monolithBOT
shy hill
#

I hate owo and uwu shit so much, but it has its comedic uses for sure

charred monolithBOT
tame pendant
#

you're welcome

shy hill
shy hill
umbral hedge
#

OwO chu awe sooowo cyuutee >w<

shy hill
#

Does JSL mean nothing to you?

tame pendant
#

I know nothing about it

shy hill
#

You should watch Koe no Katachi. This was my only takeaway in JSL from the whole movie, I can call someone an idiot now umu

#

Lit.: "Baka"

tame pendant
#

amazing

shy hill
#

It's important to prioritize the right things in life. Like offending people and becoming a better pirate

tame pendant
#

awesome desktop app for anime is Miru

shy hill
#

Honestly all I need is qBT, mpv and taiga

umbral hedge
#

I run my own anime site

shy hill
#

I even unlazied and fixed my broken script to handle playlist creation, updating and deleting

bronze warren
umbral hedge
#

real

shy hill
umbral hedge
#

streaming

shy hill
umbral hedge
#

I wanted to use av1 to save storage but dont have decent hardware

#

anyways no ads and decent quality catnod

#

there aren't any good consumer level av1 encoders

#

also av1 decoding would murder the battery of any mobile users

shy hill
#

AV1 implementations are not yet mature. It's a good option for streaming, but calling it good quality doesn't sit well with my precious encoding effort

umbral hedge
#

lol

#

anime download sites encourage a lot more legal trouble than streaming sites

#

:>

shy hill
#

Torrents are a pretty safe option

umbral hedge
#

ye

shy hill
#

Doubly so for VPN users

umbral hedge
#

but im not talking about torrents

shy hill
#

Hence my need for qBT lul

umbral hedge
#

๐Ÿค

tame pendant
#

Miru streams torrents

#

which is fun

umbral hedge
#

my anime site doesn't work properly atm

#

and i cba to fix it

#

so its functionally dead

#

user count

shy hill
#

Oh damn, gigachad Wollfram patched the DFTTest2 filter within hours of a bug report

shy hill
umbral hedge
#

troley

shy hill
#

Nice stats. What site do you run if I may ask?

umbral hedge
#

its a lot of effort maintaining a streaming site

#

kitsune
but it's REALLY dead and has been for a while

shy hill
#

I'm aware. So is fansubbing, yet we do it out of love for the media

umbral hedge
#

extensive system & ui designs for a rewrite exist

#

but just no time and effort to do it

shy hill
#

That sounds hella familiar kokoded

umbral hedge
#

wonder how many months this has been up while the i do not upgrade anything trolley

shy hill
#

Chad move

#

"we're not maintaining v1 while working on v2" does not guarantee v2 will ever happen. Smart move

umbral hedge
#

fr fr

#

it wasn't intentional

#

when i set the banner we were working on v2

tame pendant
umbral hedge
#

and then i lost motivation โœจ

#

the only usable thing from kitsune atm is a transmission lib i made trolley https://www.npmjs.com/package/@kitsunetv/transmission

#

it has a very specific use-case so it's missing a bunch of things

shy hill
#

Honestly though, I prefer spending what little time I have on a digital legacy. At least that'll benefit someone

#

Much better than burdening society with offspring

umbral hedge
#

I'd love to make an archive

#

but i don't have the storage

bronze warren
#

Download more storage

jagged cloak
#

true

umbral hedge
#

download more ram

rare shale
#

ok now im actually done

#

@austere talon merge when :3

umbral hedge
#

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

charred monolithBOT
#

this is how i'd refactor this

const endings = [
    "owo",    "UwU",
    ">w<",    "^w^",
    "โ—wโ—",    "โ˜†wโ˜†",
    "๐—จ๐˜„๐—จ",    "(ยด๊’ณ`)",
    "โ™ฅ(ใ€‚U ฯ‰ Uใ€‚)",
    "(ห˜ฮตห˜)",    "*screams*",
    "*twerks*",    "*sweats*",
]; 

let text = "Hello there, how are you?"

Array.from(text.matchAll(/[A-Za-z]+/g)).map(([word]) => {
    if (/[OU]w[OU]/.test(word)) return [word, word];
    let uwuified = word;
    if (word.includes("u")) uwuified = word.replace("u", "UwU");
    els...
charred monolithBOT
#

checking if the word has been already uwuified

lmao, you don't know how to chain if statements together?

if (true) {}
else if (true) { /* this wont run, because the previous if condition was true */ }

that is actually something I missed in my code. i have to check for isowo in at least have of the statements to again, prevent overuwuifying

rare shale
#

gosh give me a break im dyslexic

#

and have anxiety

#

and have adhd

#

im just fucked ok gimme a break

tame pendant
#

smh

charred monolithBOT
austere talon
#

bruh check fail spam

charred monolithBOT
rare shale
#

its good enough nowwww

charred monolithBOT
charred monolithBOT
shy hill
charred monolithBOT
charred monolithBOT
tame pendant
#

woah @fierce gale starred crazy

fierce gale
#

woaoahhahah

#

glitchy watching stars

#

dedicated vencordian

charred monolithBOT
austere talon
rare shale
#

when merge

austere talon
#

merge wha

rare shale
#

UWUIFIER

charred monolithBOT
austere talon
#

wha

charred monolithBOT
#
[Vendicated/Vencord] New branch created: docs\-docs\-docs\-docs
fathom herald
#

docs docs docs docd

quick ibex
#

docs docs docs docs

steady goblet
#

docs

#

docs

fathom herald
#

docs

#

docs

umbral hedge
#

cocks

fathom herald
#

๐Ÿ”

quick ibex
charred monolithBOT
umbral hedge
#

you love

umbral hedge
#

@austere talon loves megus installation guide

tame escarp
#

i love github's diff viewer

umbral hedge
#

it's because i formatted the docs

#

ven loves

tame escarp
#

no in this case it's mostly just because github is deranged

umbral hedge
#

it's a block edit so no, its normal

tame escarp
umbral hedge
#

if it was one line then it would be different

fiery jungle
#

whyre you using split diff view

tame escarp
#

because it's the default and i don't use it enough to care

fiery jungle
#

unified + ignore whitespace changes

umbral hedge
#

thats awful

tame escarp
#

i told u

quick ibex
#

@umbral hedge W docs docs docs docs

umbral hedge
#

W

#

can i get your thoughts on them?

shy hill
#

A necessity for any OSS project tbh

umbral hedge
#

I don't wanna go too in depth since most stuff is example'd in the existing plugins

shy hill
#

I'll go read 'em

umbral hedge
#

but i think its good to guide people into at least starting one

quick ibex
#

Deffo is a good introduction

umbral hedge
#

its only intended to be an intro

quick ibex
#

Deffo is good for introduction

charred monolithBOT
jagged cloak
#

i forgot to switch to review

tame escarp
#

same trolley i accidentally made the comment on the commit and not the PR

#

github is really quite goofy

shy hill
#

I think I'd add one or two real-world examples from very minimal existing plugins tbh

#

As in, the short patch lines. The ABC one is... Not very helpful imo

#

(might also wanna link a regex cheat sheet, or some regex testing env)

jagged cloak
#

yop

tame escarp
quick ibex
#

Where the fuck do I find messages

tame escarp
#

what

umbral hedge
shy hill
#

But what if I want to write plugins without contributing?

tame escarp
#

complete and utter skill issue

#

also you legally can't because vencord is licensed under GPL3

#

and we WILL sue you if we must

quasi gyro
#

(real)

shy hill
#

I legally can if I don't redistribute my plugin for a fee or publicly

#

Since then the private use clause kicks in, leaving me under no obligation to share the code I write until I make it available to the whole world

quick ibex
#

I have no fucking clue what I am doingโ„ข๏ธ

#

I think I found what i need

#

But cant be 100% sure

umbral hedge
#

trol

quick ibex
#

Apparently already patched by MessageEventsAPI so I must be in the somewhat correct place

fiery jungle
#

as long as you're not redistributing modified repo privately then no problem
just share patches instead trolley gplv3 gon

austere talon
tame escarp
#

i don't care i'm gonna sue regardless

austere talon
#

you don't have to contribute

#

you just gotta gpl it too

umbral hedge
#

ven will blindly merge my pr

#

i dont like merging my own stuff

quick ibex
#

Got sidetracked

fiery jungle
#

ven will blindly merge my token logger

quick ibex
#

now I am adding an onMessage event

#

for no reason

#

wont even use it

austere talon
#

anyway the sole reason I chose gpl was because powercord Cynthia kept crying about gpl and how it apparently isn't a valid license for discord mods (bullshit) and I wanted to be a little silly

umbral hedge
#

now if you want to change license you have to ask every contributor if they approve trolley

tame escarp
#

it apparently isn't a valid license for discord mods
lmao

austere talon
tame escarp
#

complete and utter skill issue on sleepycat's part

umbral hedge
#

Giant Penis License

austere talon
#

but it doesn't work that way lmaooo

#

if I were a discord copyright holder and distributed the gpl thing together with it then yeah

umbral hedge
#

Vencord doesn't contain proprietary code trolley

fiery jungle
#

but client mods don't distribute proprietary code

#

so??

tame escarp
#

iirc you need to use GPL to link with GPL code but not the other way around?

#

idk ianal

austere talon
#

something something linking to proprietary apps something except I'm literally only distributing the gpl part. Yes I wouldn't be able to distribute prebuilt client that contains discord and my mod but I can't do that anyway cause discord isn't mine so the entire argument is just dumb lmao

umbral hedge
#

anyways it looks like there is no counter for the sticker ratelimit thing in the app catnod

fiery jungle
#

cynthia dum

umbral hedge
#

megu cum

tame escarp
#

can you believe GPL wasn't made with the ability to runtime patch and hook into proprietary code in mind

fiery jungle
#

isn't agpl for linking without same license

shy hill
#

Affero is a lot more lenient, yes

tame escarp
#

okay so i now have legal footing to sue again?

shy hill
#

MIT and Apache too. Mozilla is based

tame escarp
#

you have to license it under GPL private or not trolley

shy hill
#

Also yes, you can use a GPL program to modify non-GPL stuff

#

There are other options. Not many, but still

austere talon
fiery jungle
#

oh what's agpl then

austere talon
#

same as gpl plus network counts as distribution

#

meaning if an api is agpl everyone consuming the api has a right to the source code

#

meanwhile with gpl the source code only has to be distributed along with the application so if you host it on your server you don't have to give anyone the source code

#

Also think about something like databases

#

basically if you in any way interact with an agpl program over network you have a right to the license

#

so agpl is useful for websites, apis, servers, anything network related

umbral hedge
#

settings page crashes on AliuRN trolley

austere talon
#

doesn't

umbral hedge
#

does

austere talon
#

do u have an outdated build in /sdcard/AliucordRN

umbral hedge
#

I deleted and reinstalled

#

using the delete button in manager

austere talon
#

that folder doesn't get deleted

umbral hedge
#

cring

fathom herald
#

e

umbral hedge
#

kk ill delete old folder

austere talon
#

not cringe

#

that folder contains settings, plugins, etc

#

people will cry if that folder gets deleted

#

plus it's less than a MB so who cares

umbral hedge
#

xd

#

reinstalling..

austere talon
#

imagine reinstalling Aliucord and all ur plugins are gone

fathom herald
austere talon
#

no fun

umbral hedge
#

i hate smart lock so much

austere talon
#

why

#

what it do

umbral hedge
#

it auto logs me in on a throwaway acc i use for uni

#

it doesn't even give me the option to say no

#

i open the app and it just logs me in

austere talon
#

xd

#

turn it off then

umbral hedge
#

normally it asks

fathom herald
#

samsungware

umbral hedge
#

it seems to only do it with discord

umbral hedge
austere talon
#

megu will give me their uni discord account name

shy hill
#

Eitther way it's malware

austere talon
#

what is

umbral hedge
#

i love getting mysterious white screen for a few seconds when going on the login page

shy hill
#

Smart lock

umbral hedge
#

aliucordrn stealing my username and password trolley

shy hill
#

(and aliucord, hang the dev BBSsmug)

umbral hedge
#

hug the dev*

shy hill
#

Both?

umbral hedge
#

ok so im guessing its normal that the aliucord submenus dont actually open

agile gull
umbral hedge
#

worked after restarting

shy hill
#

Time to ammend the troubleshooting section

#

"try reinstalling and then try restarting again"

austere talon
solemn spoke
#

kuiperStare and that the fork starception starts

charred monolithBOT
quick ibex
#

oh yeah

tame escarp
#

plinko ๐Ÿคจ

quick ibex
quick ibex
gentle sierra
#

ty

charred monolithBOT
gentle sierra
#

does it remove on send or on copy?

quick ibex
gentle sierra
#

ah

quick ibex
#

onCopy will be a little more difficult

#

Ill work on it later

gentle sierra
#

that's a bit uglier visually but i guess that'll do fine

gentle sierra
#

thanks anyways

quick ibex
#

Yeah no problem

#

@tame escarpcan you send a ptb link?

tame escarp
quick ibex
#

Thank you

gentle sierra
shy hill
#

/(https?:\/\/)\w+.(discord\w*\.com.*)/ => $1Vencord.$2

charred monolithBOT
quick ibex
#

huh

#

wonder what happened there

shy hill
quick ibex
#

I broke it LL

shy hill
shy hill
#

GG

quick ibex
#

Comment of shame

#

never NEVER mind it was just disabled cause of new plugin name

#

yeah

quasi gyro
#

very pride in you

quick ibex
#

that was a rollercoaster of emotions

#

@austere talon you better accept this pr, best pr i have ever created ๐Ÿ˜ญ

gentle sierra
#

what's Plinko?

tame escarp
#

i'm not convinced

#

is baller truly a valid prefix?

quick ibex
#

it is if you want it to be

#

fuck what the fbi say

#

bunch of nerds in suits

quick ibex
vestal grove
#

anything you put in front of discord.com is a valid prefix yes

austere talon
#

a lot of people use it for custom prefixe

quick ibex
#

nvm, i forgot developer isnt a subdomain

tame escarp
#

punycode ruining my point fr

quick ibex
#

damn

vestal grove
#

^

quick ibex
#

But this only affects onSend messages

#

onReceive is a nono

vestal grove
#

why

#

it literally doesn't matter

quick ibex
#

because no onReceive event

#

I was working on it

#

but stopped to work on the canary remover

#

even tho it is one line of code

#

and i lost the code

vestal grove
#

if message_create author is not current user then it is received

#

done

quick ibex
#

what?

vestal grove
#

what what

tame escarp
#

slight issue: that's not how the vencord message events api works

#

it only gives you messages that you're trying to send atm

quick ibex
#

^

austere talon
#

if you want all messages you can subscribe to MESSAGE_CREATE event

vestal grove
#

then intercept messages yourself

#

lazy

quick ibex
#

thats literally what i was doing

vestal grove
#

then you should understand what I'm saying

quick ibex
#

whatever

vestal grove
#

how is this so difficult to grasp

quick ibex
#

it isnt, its just that i dont want to dedicate brain power to it rn

leaden ether
#

Can I just point out that vendy's prefix is the only one that actually works with the embed thing?

gentle sierra
#

whoa

gentle sierra
#

seems cool

tame escarp
#

also if you break punycode enough it also doesn't work

leaden ether
#

That's a pluginnye

quick ibex
#

next plugin idea: add a custom prefix to message links

leaden ether
#

Would be funny

gentle sierra
#

just got it, neat

leaden ether
#

Maybe time for an update lol

tame escarp
#

https://๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ’€๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿฅบ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿฅบ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿฅบ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿฅบ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ๐Ÿ˜ˆ.discord.com/channels/1015060230222131221/1015063227299811479/1028082279534309446

leaden ether
#

Oh that one worked

austere talon
#
Pattern.compile("https?://(?:\\w+\\.)?discord(?:app)?\\.com/channels/(\\d{17,19}|@me)/(\\d{17,19})/(\\d{17,19})(?!>)")
tame escarp
#

what????

austere talon
#

that should work fine

tame escarp
#

-35 characters available to edit with

leaden ether
#

Bruh

#

Must be nitrobypass

austere talon
#

theyre default emotes

tame escarp
#

it resolves itself after i add a character lol

leaden ether
#

Lol

tame escarp
#

they're the actual unicode characters

leaden ether
#

Discord being a well made app challenge (impossible)

quick ibex
austere talon
tame escarp
#

\๐Ÿ˜ˆ vs ๐Ÿ˜ˆ

#

guh

#

unicode please

austere talon
leaden ether
austere talon
#

xn--ts9h

tame escarp
austere talon
tame escarp
#

oh how i love punycode

leaden ether
#

Eewwwwwww ๐Ÿคข

tame escarp
#

i know that they work like that lol

quick ibex
#

do i do it?

tame escarp
#

yeah it uses your system emoji font

leaden ether
#

How do I install twemoji systemwide this making me wanna puke

tame escarp
#

\๐Ÿ’€

tame escarp
#

actually idk what my system emoji font is

#

noto probably

leaden ether
#

I wanna switch OS's but there's no compatibily with my device

#

So I'm stuck with default Samsung emoji

quick ibex
#

@austere talon so you want me to make my plugin so that it removes any subdomain?

leaden ether
#

Grrr I hat autocorrect sometimes

#

Really dude, you gonna correct the word hate?

quick ibex
leaden ether
#

Never heard of it. Been meaning to install arch though

charred monolithBOT
#
[Vendicated/Vencord] branch deleted: docs\-docs\-docs\-docs
tame escarp
#

docs docs docs docs

quick ibex
#

docs docs docs docs

austere talon
#

megus guide isn't idiot proof because people will run commands outside of vencord folder and wonder why no work

#

D:

quick ibex
#

I wonder how they get vencord to work at all

tame escarp
#

who cares if it's idiot proof

#

just redirect the idiots to betterdiscord

quick ibex
#

Also, whats up with plugin settings?

#

is there anything actually there?

austere talon
#

not yte

tame escarp
#

waiting

quick ibex
#

alr

leaden ether
#

I literally loaded into Desktop client when this got pushed lol

austere talon
#

why do people even care about canary/ptb links

quick ibex
#

just made it because someone asked

austere talon
#

lmao

#

i dont like that regex because it might match unrelated links

quick ibex
#

what?

#

Thought I made it stop matching unrelated links

#

yeah it only matches with discord. and discordapp.

#

anything else is probably a phising site

austere talon
#
https://%28/w+/.)?discord(?:app)?.com/channels/(?:\d{17,20}|@me)/\d{17,20}/\d{17,20}
quick ibex
#

what?

austere talon
#

use that instead

#

%28 = (
discord bruh moment

quick ibex
#

i dont really see the point tho

austere talon
quick ibex
swift fjord
#

cnaary

quick ibex
#

oh wait i deleted the plugin

#

forgot

austere talon
#

trol

quick ibex
#

anyways, i guess adding /channels/ as one final hurdle to filter out completely unrelated shit is good enough

leaden ether
leaden ether
#

Noice

tame escarp
#

discord sub ๐Ÿ˜ณ

leaden ether
#

Wait

#

That means

swift fjord
#

what kinda sandwich is a discord sub

quick ibex
#

guys lets not get too excited

leaden ether
#

Discord dom ๐Ÿ˜

quick ibex
#

it stands for submissive, not subdomain

leaden ether
#

Wait no

#

Discord Dom(b)

tame escarp
#

discord switch

leaden ether
#

Wait discord is copying Nintendo

tame escarp
#

no

leaden ether
#

Ah yes, a bird, no a plane, no...its a joke that flew over your head

#

I can type I swear

#

Welp, guess what I'm boutta do

quick ibex
#

only seen image borders on sharex

#

but the os you are using doesnt look like windows

#

there we go

charred monolithBOT
quick ibex
leaden ether
#

ShareX

#

Am on Windows still lol

quick ibex
#

wtf

leaden ether
#

hope that helps clarify stuff

austere talon
#

i literally sent the regex bro

quick ibex
#

feels bad directly taking your regex

austere talon
#

why

quick ibex
#

what the fuck

leaden ether
#

Just give credit

quick ibex
#

your regex brokie

austere talon
#

why

leaden ether
#

Not my problem, backing out.

quick ibex
#

or smth

#

ehh ill figure

austere talon
#

show error

quick ibex
#

I mean, might work in code and not in browser where i am testing

austere talon
#

do what it says

#

escape the slashes

#

and %28 is supposed to be (

#
https://(aa.com
#

mmm

#

idk why it work now, earlier it was changing the ( lol

quick ibex
#

alr

#

Do you want me to add you to the credits then?

austere talon
#

nah all good

quick ibex
#

alr

charred monolithBOT
quick ibex
#

all done ig

umbral hedge
#

discord checks for

/^\/(invite|template)\/([a-zA-Z0-9-]+)\/?$/
/^\/channels\/([0-9]+|@me)\/([0-9]+)$/
/^/events/(\d+)(?:/)(\d+)?/

on discord.com and discordapp.com and just ignores the subdomains

austere talon
#

no work

umbral hedge
#

trol

shy hill
#

That's probably because it doesn't match the invite template

austere talon
#

it does

shy hill
austere talon
shy hill
#

case sensitive

quick ibex
#

the point of the plugin is to cut out canary and ptb

quick ibex
shy hill
quick ibex
#

oh wait

#

nvm

#

im tired

shy hill
#

It's exactly why I provided a regex

native wharf
#

๐Ÿ’€

mental lotus
#

๐Ÿ’€

austere talon
austere talon
#

it's a pr

native wharf
#

pull it

swift fjord
#

the term is merge

native wharf
#

pull and push it

zinc solstice
#

bop it

fathom herald
#

squash itt

austere talon
#

I will check tmrw

#

sleepy time

rigid venture
#

sleep well

charred monolithBOT
charred monolithBOT
jagged cloak
#

epic lint fail

fiery jungle
#

epic

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
obsidian flame
#

it's the Spotify Plugin

charred monolithBOT
quick ibex
charred monolithBOT
charred monolithBOT
austere talon
umbral hedge
#

LOL WHAT

austere talon
#

๐Ÿ’€

umbral hedge
quick ibex
#

Bro???

#

Even has the token on full display

austere talon
#

absolutely insane

umbral hedge
quick ibex
#

this looks like my first discord bot

#

except somehow worse

austere talon
quick ibex
#

Deffo without the George Floyd part

austere talon
#

God do I even wanna check what those gifs and videos are

quick ibex
#

it was for a minecraft mod clients discord server

#

It got common keywords from your messages and gave you a retar role if those keywords matched a common question

#

Wouldnt even give you an answer

swift fjord
quick ibex
#

And also, everything used its own client.on

quick ibex
#

I think i still have the source

swift fjord
#

nop

umbral hedge
#

cum assistant

swift fjord
#

kids these days automating racism

vestal grove
quick ibex
#

Top coder moment

austere talon
vestal grove
#

RETARD

quick ibex
#

ven when pulling my plugin

austere talon
#

soon

quick ibex
charred monolithBOT
#
[Vendicated/Vencord] branch deleted: cmdapi\-ven
#
[Vendicated/Vencord] branch deleted: updater\-local\-commits
fiery jungle
austere talon
#

did u implement css modules