#๐พ-core-development
1 messages ยท Page 1 of 1 (latest)
1 commit was scanned without uncovering any secrets.
ummm... make even better...
ummm... make even better...
true
bnruhhhh git guardian checks success moment
i will
@austere talon
[join]: https://discord.gg/D9uwnFnqmd
[join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join] [join]
you guys know those cringe markdown images at the top of readmes ?
add like every one of those you can find

gif ones?
any
baritone already did that joke
didnt know that was a thing
mom made pizza rolls
hot
well now you do
fixed
epic
giant penis license when
true
fixed license
@austere talon why are you doing T = any
TS assumes T as any if there is no constraint
it assumes unknown
doesn't matter
unknown bad
nah
unknown means u cant do anything without cast
you'd still need to cast somewhere lol
usually when i dont specify the generic i just use any cause too much effort with little payoff
GIT GUARDIAN INSANE
I ran this thing ages to find the funny
literally more than a year ago
yeeted 
what does that second patch even do @mortal fractal
i love cock
How can i even debug that then?
isn't there an app to allow certificates or whatever
trueee
NO
@crude hearth rewrite vencord in java and name it manticord
113f47c Add QuickCss toggle; add settings listener api - Vendicated
don't spam please
Spam Please
mantushka
Zt
oops
i will the vencord
i will use
when the disable stars instead of this

I hate working with batch
but you said that you prefer batch over powershell....
Powershell is worse :trollface:
ven
canary only
Ven moment
fixed
ven
I mean I can arrange that
maybe it'd make sense to write installer in something else
maybe
maybe a python script?
batch so bad
I'll test this
okay ran this
it installed to Discord by default
so that's good
it's the same way bash one works I think
(I got both DiscordCanary and Discord)
okay so basically this is how it works now: first it detects Discord, then it detects Discord* in alphabetical order and it installs in the first one it finds
@austere talon does this sound good?
yeah
but there's also more paths and stuff
should probably write it in nodejs and make it support all platforms

I think that can be arranged later
it's not like vencord is going to be used by 100000 people now
xinto insane?
or could make binary installer in go/c++
that could work too
but imo interpreted is better in stuff like this
can I make v lang installer
and at the same time installing an interpreter just to install vencord is weird
so yeah
true
yop
how do you install
yes
zt why are you writing v 
it's nice

zig!!!
if you don't pick go seriously just choose zig over c++ nothing is worth using that piece of twisted crap
yop
zig will explode
zig good
nop
yop
zig bad
zig bad
:)
i love i lov i lo ggithb
ggithbu
gutiihjutubt
gitgud
wait...you got it to work?
yes because venny is very inteligent 100%
wait...you got it to work?
yes because venny is very inteligent 100%
no
wait...you got it to work?
yes because venny is very inteligent 100%
no
yes
6099179 ViewIcons: Now opens icons in image viewer - Vendicated
yeah @quaint sapphire, using it in latest commit for opening image viewer
wait...you got it to work?
yes because venny is very inteligent 100%
no
yes
no
5b2b91e ViewIcons: Fix crash when developer mode is off - Vendicated
wait...you got it to work?
yes because venny is very inteligent 100%
no
yes
no
yes
i hope you explode
your bones will melt soon
v users when their interpreter works correctly (it's a rare occurrence)
lmao v
zig users encountering a runtime issue
fuck zig
python on top
python users trying to find a library
@austere talon what is good about astro
it seems completely useless
just use cloudflare ssg
cloudflare is awesome
i can check analytics and do cool domain stuff
cloudflare workers are poggers
i have 0 javascript
all my logic is on cloudflare workers
my site is faster than any astro site will ever be
lol how
github actions + heavy caching + cloudflare optimizations + no js + no external code
site fully loaded in 600ms before caching
cloudflare cring
self hosted windows server DNS server
windows ๐คฎ
i'm not talking about dns server
Windows ๐
i'm talking about dns
??
dns server
The Domain Name System (DNS) is the hierarchical and decentralized naming system used to identify computers reachable through the Internet or other Internet Protocol (IP) networks. The resource records contained in the DNS associate domain names with other forms of information. These are most commonly used to map human-friendly domain names to t...
that's dns server
i am talking about record management
cloudflare does dns + dns server + more
also called name server
dns server
what
screams of the mentally deranged
w
dns
dns (deez nuts)
epik insane
true
self hosting nameservers based
just put a cheese stick in some water
true!
@mortal fractal works fine
told you
yaa
but seems dangerous xd
look at how esbuild minifies
.join("\n") => .join(`
`)
huh looks like discords bundle already uses some ` strings
i wonder why their minifier doesnt do this
wow
w,o,w
w,o,w,
rip giant penis
Installer and Uninstaller for windows (powershell)
:troll: looks like powershell scripts are now made #10
358f77e install.sh: Add support for discord_arch_electr... - Vendicated
I use arch btw
they're too longggg
also redundant imo
me irl
the cat
ye
I can't really verify this, but your scripts only target the stable discord client
What if I only have discord PTB?
I can't really verify this, but your scripts only target the stable discord client What if I only have discord PTB?
The normal install script only does stable, so I copied that into this script
no that is wrong, you can rename the discord-ptb command to be just discord
so any client version is supported, as long as the executable on PATH is named discord
Working on adding a branch selector
btw xinto made native installer
.exe
cross platform

@high oracle will finish soon

i wish you told me that before i spent all this time

nono pwsh installer good too
for people who don't wanna run exe and also native one isn't finished

fwiw pwsh is powershell core, this is just normal powershell
".exe"
"cross-platform"
lol
megu ableist!!!!!!!! 
its kotlin native
lol
it can compile to linux too
there is no extension on Linux mac
it's cross platform trust
I just said exe to make it more obvious what I'm talking about
ven will merge meguinstaller
ye
does pwsh have a source command? maybe u could extract the find logic to not have it duplicated
alhamdulillah
ehh i cba
i dont do much powershell

there isn't too much duped logic anyways
LGTM probably idk I never did pwsh <img height="48" src="https://cdn.discordapp.com/emojis/860233446110134303.gif" >
66098b1 feat(installer) Windows powershell installer an... - MeguminSama
pog
pog
yaya
but I noticed the same in Linux script
branch support? as in canary, stable etc?
kind of
windows and linux impls
windows just looks in localappdata while linux in these possible dirs
totally didn't copy it from powercord
ya ok
looks good

supporting discord electron is easy
how to detect
- there will be no resources folder. There will be a file called app.asar.unpacked
how to patch
- rename app.asar and app.asar.unpacked to same name but with _ prefix
- create folder "app.asar"
- put same files here as in the regular resources/app folder
- with the minor difference that it should be require("../_app.asar") to account for the underscore
otp?
This patches the canUseOverrides variable to re-enable experiments on newer builds.
b6d2f50 fix(experiments): Patch canUseOverrides variabl... - MeguminSama
megu author
kot hug
esbuild my beloved
Adds a plugin to inject goosemod.
same vibes as this guy https://github.com/Ruthenic/bbd-plugins/pull/1
don't u install gm by tweaking settings.json or smth
yea
but thats basically changing the update server to a proxy that adds the goosemod code
oh theres another way but it's basically the same
grabbing index.js from https://github.com/GooseMod/GooseMod/releases/dev
but thats way out of date
nevermind the asset gets updated automatically
yea what that does is loads the goosemod extension (https://github.com/Goose-Nest/GooseUpdate/blob/main/branches/mod/goosemod/patch.js#L57) (which is put in the folder by https://github.com/Goose-Nest/GooseUpdate/blob/main/branchSetups/goosemod.sh) and the extension loads (=https://github.com/GooseMod/GooseMod/blob/dist-dev/index.js (https://github.com/GooseMod/Extension/blob/main/content.js#L10)
that was a hell of a reference
i couuuuld add a goosemod branch switcher but pain
filter then map is not a good idea
first convert it to sequence
then filter then map
list.asSequence().filter{}.map{}
because if it is not a sequence, underhood it would create three lists
overhead
any operation that u would use two or more transforming functions u should use a sequence
hm yeah good point
after the filter that is
also that program is short-lived
that memory would be reclaimed in less than a second
real
the real fake
splat
real
puhcord
real
Method invocation failed because [Microsoft.PowerShell.Commands.MatchInfo] does not contain a method named 'Get'.
^ that is what it says
@fathom herald .then() exists btw
eval(await fetch("...").then(res=>res.text()))
looks so much cleaner
i basically copied ven's cc injector
and it had a weird (0, eval) thing so i wasn't sure if a situation where eval is undefined existed
that's not why it uses (0,eval)
scroll down to the indirect eval section
i see
Can you give me your windows version (run winver and show output) and also in powershell run $PSVersionTable. PSVersion and show the output of that?
OwO
uwu

not using winver gui ๐คจ
PSVersion does not mean PowerShell Version it means Playstation Version (real)
@agile gull why husk
u love windows 10 
ven will stop using powershell on linux
i hate you
i mean powershell isn't bad
but like
for your login shell?
๐
powershell is only meant to be used on windows
honestly if you ignore that it's hella slow and use it like any other Linux shell it's not too bad lol
PowerShell is funny
ye
meguwu
be nice to megu :d
megurator
oh
i am nice I didn't do anything to megu smh
ye
i love megu
hugumin
huguminn
meowguminsama
meowgumin
huggumin
hugguu
nop
nop
nop
nop
nop
nop
nop
d0940a8 Make raw.githubusercontent.com work for css imp... - Vendicated
wait if the header is badly made won't chromium ignore it?
since goosemod has been abandoned, i will be closing this
this was just an oopsie I undid this change again
๐ฆ
hello likely spammer person
what a rack
woa
woop woop
// is 3 is the longest obfuscated export?
@austere talon its faster cause youre skipping over shit like Constants
mmh im still checking all members of constants
every time
maybe I should exclude those as well
i am slowly exhausting my lungs with a loud noise at a continuous rate
Trol
On Fri, Sep 30, 2022, 10:41 PM botato @.***> wrote:
[image: :trollface:]
โ
Reply to this email directly, view it on GitHub
https://github.com/Vendicated/Vencord/pull/14#issuecomment-1263952501,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQERV2MQAOSWNJNCZFFQXHTWA47AHANCNFSM6AAAAAAQZDXXMI
.
You are receiving this because you commented.Message ID:
@.***>
lol
i hope the regex is okay lol it works for me
๐ค
what
what is that even supposed to do nothing ive put into it does anything lol
anyway it works no?
omg confirmed barry bee benson bee movie 2007 referance???!?>!>!>!!
not really tested much but should work
guhh it's still broken im dum
HOW
what does it do
pretend that formatting isnt absolute ass
I fixed that now
๐ญ
because i cant bother making geniune contributions to other repos
I still have no idea what it does
double click a folder really quickly
Basically instead of showing the server icons when the folder is collapsed it just shows the folder icon
oh I see
wtf findByProps jumpscare
explod
don't hardcode variable names, match them with the regex, also u can use \w instead of [a-z]
the muteGuild call could just be inlined (Vencord.Webpack.findByProps......)
3e64054 feat(plugins): add folder svg icon plugin (#16) - botatooo
Plugin icons????
*vizality flashbacks*

go back to a non swc build and look for isSpam
its there and its still there because works
or its isSpammer idr
i have funny idea for working patch @jagged cloak
just change this to some random shit
like change this to a flag noone has
change it to 0 to make everyone a spammer
:D
ok i have isolated this to 4 modules
change it to 1 | (1 << 19) | 16
that combo means staff + bot http interactions + mfa sms
oh nice
if it doesnt exist tho why does this regx work i wanna know

it doesnt
why does it work on my machine*
Vencord.Plugins.patches
patch the hasFlag function
if its still in there it wasnt applied
make it return false if the flag provided is 1 << 20
that works too
yea ill do that
but this is funnier

wait
i have better idea
change spammer flag to staff flag
so every staff is spammer
lolool
tfw
ok i will do 
string to find module ),{hasFlag:
find (if\(e<=1<<30\)return)
replaceif(e===(1<<20)){return false};$1
should work
@jagged cloak h
cheese
ok it should work someone find me a spammer
go in replugged ping thread and scroll up to igna
trol
or give some random dude spammer
Vencord.Webpack.Common.UserStore.getUser("343383572805058560").flags |= 1 << 20
this gives me spammer
53f8325 author -> authors; include name and id - Vendicated
whar
sorry i am not paying attention
yeah it worked now
now gib cwedit ty
Devs.botato when
u pr you basically made the regex 
pain
pr to pr
replace: "$1;Vencord.Webpack.findByProps('updateGuildNotificationSettings').updateGuildNotificationSettings($1,{'muted':true,'suppress_everyone':true,'suppress_roles':true})"
there are two modules containing this string
find: ",acceptInvite:function",

continuation of #15 but i can't be bothered to do pr inception
I have done both now ๐
175bf1b feat(plugin): add muteNewGuild Plugin (#17) - GlitchChan
This was definitely a fun learning experience
#19 i am lazy + goofed my branch lol
i will eventually learn actual regular sex
impossible
kinky >>>
sexpressions
its silly just like you
pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr pr
thanks for that @austere talon my naming skills are as good as non existant
gotta reenable now btw
poger
epic
force merged?
is the point of this to strip some-gif.gif.gif.gif?
.replaceAll(/(.gif)+$/, "") // strip extension
instead of typing it here, could you just type the Switch export in webpack/common please?
huh? you want to replace .gif.gif.gif.gif.gif.gif.gif.gif (infinite amount of .gif later)?
no its like, some things are big red potato gif and .gif would remove the .gif extension and the gif
it wouldn't. tenor links are aways tag-tag-tag-gif-2129189.gif, the gif is part of the tags
so what i'd be removing is -gif
those types are heavily outdated, so if you do, fix the rest as well. You can also copy over any types from webpack/common if you want
@austere talon should i also remove displaynames?
yes
they fucking gone
btw idk if swish even still wants to maintain the types since swc rewrite
i am spiraling into insanity
What thst
can you read
brother in christ almighty in the name of allah praise be ๐

typescript types for discord modules
2410582 Dedicated Updater Page, Settings feedback - Vendicated
57d586f Updater: Properly clear changelist after update - Vendicated
@austere talon btw, do u git push for each commit?
also i was kind of forced to commit
so i can test my changes
lol
testing updater is hard
cause I basically need to reset to an older commit to test lmao
huh
updater
idk what ur saying
me
[/asdf?.,{12}[0-9]/g nonsense]
cringe star
f31fd75 UpdaterPage: Do not error if update check failed - Vendicated
acd24cd Merge branch 'main' of github.com:Vendicated/Ve... - Vendicated
modularity ๐
Plugin causes reply mentions to be disabled by default.
Weroooo
AYYYY
mf merged it before i could fix my bad grammar in the PR description ๐ญ๐ญ
oh well
LOL
wdym bad grammar
looks fine
btw if you're wondering why I'm adding the hacktoberfest badge to everything, I get a maintainer point for it 
and top maintainers get a "kit"
no idea what that includes but I want it trol
Plugin causes reply mentions to be disabled by default.
vs what i wanted to edit it to
Adds a plugin that causes reply mentions to be disabled by default.
u can't still edit pr desc, no?
this is fine grammar
ig it could use a "The" at the beginning but then it is

thanks btw
i can but there's no point when it's already closed
np
i know but it hurts my soul
Sweet time to enable
thinking anyone reads the description
hi.
i know but like i said it hurts my soul
btw life hack if u run Vencord.Settings.PluginName = { enabled: true } before updating, you only have to restart once

idea: โNew update includes: [list of plugins, click to enable+ restart]โ toast/notif
same thing as contributor swag
ah noreplymessage, ahhh
noice
very tastey
someone should figure out why file uploads take 7 years to show up in ui now
idk they work fine for me
nah just regular desktop
only on desktop this worked fine from rn
yeah exactly

do u use some other client mod
that's how u declare bigints in js
why use a bigint instead of a string though
ids are too large to fit normal numbers
why would you use a string
it's a number
BigInt
that's exactly what bigints were made for
i mean discord uses a string
no
they use bigint
they used to use string, likely because bigint is a fairly new thing
but they now use bigint
bigints are more convenient because you can actually do math on them unlike strings
Also they're more memory efficient
can't believe i have to use half a kilobyte more in my browser engine ๐ญ๐ญ
Also not all languages have good support for large integers and I don't think JSON.parse does bigints so they are forced to send ids as string
how 
all of them died
anyway it was probably just their api shitting as usual
i love pisscord
wouldnt be surprised if theres some giant function around uploading files tho lmao
Oh okay
I donโt know much about js good to know

epic



true
















