26ef30e Cleanup build, add css suffix to userscript - Vendicated
#๐พ-core-development
1 messages ยท Page 21 of 1
i should technically now test userscript, ff ext and chrome ext but me lazy
reloading my style tag
fuck you astro
just test userscirpt
easy
i can just drag it into chrome and it will work
u*
not me
ok send user.js
newline
u can have it
tokenlagger
this is my favourite part of the bundle
console.log(2)
\r HORROR
crlf my hatred
my second favourite part of the bundle
STOP USING CARRIAGE RETURN HORROR
esbuild embeds multi line strings as ``
because actual newline is one byte whereas \n is two bytes
why is \r there ;w;
cause CRLF
deelete it
it wont be there if u build on linux
this wouldnt happen if (() => { /* code */ }).toString().slice(sometihn, -1)
is there any way to migrate this btw @spark cove
building dynamic css is ugly ik but easier than patching the component to add a class
"files.eol": "\n",
you will add to your vscode settings.json
what is id
i set autocrlf in git
UNDO
message id
my vscode always uses LF by default unless the file I open is already CRLF
discord adds css ids #message-accessories-18219828192 to each message so i just use that class
basically the css i build is like
:is(#message-accessories-18219828192, #message-accessories-18219828192, #message-accessories-18219828192, #message-accessories-18219828192) [class*=embedWrapper] {
display: none !important;
}```
we can rename styleNames to selectors
LOL
im surprised this doesnt hide every embed
i forgot about accounting for that
but yeah
it will just keep it as [--accessories]
so might have to actually patch
i would have assumed if
wdym
console.log(2)
something is broken
userscript saying cors issue
oh yea worker-src
thats a csp issue though
dont care
i thought shiki worked on userscript before
shir9fjei0kpd
got mdx sucks
mainly because the extensions sucks

i swear ill just put my plugin in third party plugins
VEN DO SOMETHING 
i did everything you asked me to
i fixed every mistake you reported to me
@austere talon
i just want this to be over with 
i am suffering
i think i will ditch mdx this shit sucks
maybe i'll just use it programmatically for descs
ye cant edit headers in userscrip
good thing itested
astro so dumb
wait how did i screenshot sharex
i didnt even realize
EFFECT
EFFECT
and it doesnt even fix links in dev mode
death
there will be no baseurl
you will use cname to something else
@devout river Vencord will also require a second file, its css bundle to be downloaded
could u add that to ArmCord and make a new version once that pr is merged?
yass queen
csslayy
This is basically ready now, just need to wait for ArmCord to support it
you're downloading browser.js from release right?
yes
basically just need to also download browser.css
and do changes to content.js and manifest.json
but u need to account for a way to also keep shelter support
yeah i will just have a placeholder css for shelter
probably simplest is to just make dist/bundle.css an empty file
like empty file
yeah same thought
yeah
also need to do this change to manifest
builds u can test with
nah i'll push to stable and we'll see if it expldoes 
or unminified + sourcemaps
merry christmas
LOL
btw uh
maybe while you add css you could also add sourcemaps if u wanted?
you'll have to also download browser.js.map
and add that file to web accessible resources
gimme one sec i'll add that rn
oki
or just nag shelter to make sourcemaps
real
ok
????
abandoned
i gotta figure this crap out first
how do i load sourcemaps from chrome extension zip
okay scratch source maps @devout river
uhhh yeah
Note: Because ven requested that all the snippets are in one style node, you can no longer view the entire CSS if you have too many snippets, the browser just gives up and has ... after some point
๐
the linter is retarded...



@austere talon pushing soon
had to fix armcord website and now everythingshoudl work
did u push
2e5d27b feat: Proper CSS api & css bundle (#269) - Vendicated
its not the linter its you, you didnt type it
yass queen
it's building
so
you can merge pretty sure
ยฏ_(ใ)_/ยฏ
i did
ArmCord users will simply cope for a bit if ArmCord releases before vencord update
thanks bro
did u update the mod loader zip
cause content.js and manifest need changes
yess
i will need to include in change logs information that people need to update it
like remove it
hmm but if someone will already have it installed it won't update right
would be better to do it for them tbh
like
if bundle.css doesnt exist redownload loader
okay i will not release it yet
const channels = GuildChannelStore.getChannels(snippet.guildId).SELECTABLE.map(c => c.channel);
guilds[snippet.guildId] = { ...guild, channels };
I think Object.assign(guild, { channels }) will also work if u dont want to shallow clone after u already deep cloned
i love codespaces
for what
for making her update the aur pkg so much
i don't think i did anything wrong
OH
YHAHAHAHFIO
meanwhile other package mantainers not giving a single fuck
about making updates
its not the linter its you, you didnt type it
I typed it, typescript recognizes it and does not complain.
i mean tbf updating pkg should take like 2 minutes if everything goes right
real
bump version run updchksums
slackware my beloved
LMAOO nix so outdated
nix still using cumcord
wait isnt it impossible to use outdated armcord
why do u even do it that way
kinda pain
it's possible
but the splash goes ayo buddy u gotta update
yeah
is it a hidden setting or smth
only splash complains
tho i think 2.x.x versions might be broken in some way
tho i tried 2.5.0 today and it worked
ยฏ_(ใ)_/ยฏ
when armcord was cool
The Guild type does not have a channels property idk what to tell you, you can ctrl + click getGuild to find that out
Could have used the suggestion feature.
I'm on my phone, and it's not a "suggestion" that I can commit directly, so this will have to wait. (Unless you edit it to be a suggestion)
PS: I am not accepting this bc it "types it", I already typed it correctly, I am accepting this bc it is cleaner.
The
Guildtype does not have achannelsproperty idk what to tell you, you can ctrl + clickgetGuildto find that out
Then you must be blind, cause I did Guild & { channels } as the type.
@spark cove you might not know this, but you can combine types
those are two completely different variables
one is from useState one is from getGuild
but guilds don't have a channel prop??
They dont
Why are you making questions when you don't know anything related to the code?
they're trying to make a new object that has it
At least read the code first
but they arent making a new type for that object
I am a he btw
well they did, they just didnt use it there
ah oki, ur pronoundb says it/its btw
oh then i dont care
i dont like you
Why?
just know
do u get the typescript thing yet
Yes I understood what you said
nice
You have
It's the file icon with the plus and minus
It inserts a code block
You write the suggestion there
btw, what the last commit adds tbh
?
Did the whitespace disappear? Lol
oh
i added a style api
wait
ven i forgot to change stylenames to general selector stuff
zzzzzzzzzz
anyways as it is right now, it bundles css imports into a single file, and theres also this
pov: scss support
soon
i decided to leave it for later
maybe after docs
but yea if you have a stylesheet that HAS to be enabled/disabled via a setting
or it needs classNames from a discord module
iirc you can search for discord classes and get their own webpack module, right?
like findByPropsLazy
yea
im about to show u
sorry
codespaces is taking forever to syntax highlight
we had that on ittai tbh
tho it was more of a search tool tho
do you have to manually use enableStyle? or does vencord auto enable it if you import?
manually
gah
i mean if u just want an easy css import
dont use the style api
just import the css file without ?managed
oh ok
btw, what about vencord itself? will css be added to vencord's core in the future?
like, for ex, if the plugins page could have its own css
instead of doing a style={{...}}
oh yea that would be nicer lol
that would be amazing lmfao
i thought of reusing the forum page component
for plugins
since they have the tag logic
but i think they call api for filtering by tag
which would be lame to patch
I'd love to be able to use Mantine 's createStyle hook
Allows for basic SCSS
Is also strongly typed in TS
already supports it
oop
last commit added it
import "./blah.css" // loaded automatically
import MyStyle from "./blah.css?managed" // toggleable style
if (blah) {
enableStyle(MyStyle);
}
// later
disableStyle(MyStyle);
but i mean as for ex the plugins page having its own css file or classes
**settingsStyles.css: **
.vcSettingsTabBar {
margin-top: 20px;
margin-bottom: -2px;
border-bottom: 2px solid var(--background-modifier-accent);
}
.vcSettingsTabBarItem {
margin-right: 32px;
padding-bottom: 16px;
margin-bottom: -2px;
}
.vcSettingsQuickActionCard {
padding: 1em;
display: flex;
gap: 1em;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
flex-grow: 1;
flex-direction: row;
margin-bottom: 1em;
}
**index.tsx: **Line 19
import "./settingsStyles.css";
oop
i see that there aren't css files for the plugin cards and other stuff, but ig you guys will add in the future, as there are for the settings pages
cause im not gonna rewrite all of it to css
if you want to do that, go ahead
gonna do that rn, or at least for the cards
i would have left it for the redesign
@austere talon https://github.com/ArmCord/ArmCord/releases/tag/v3.1.3
is vencord planning to redesign?
just the plugin page
megu has been planning it and i have also been wanting it to happen
tiramisu when
it's just horrible
only when i was really high cus i really notice how alcoholy
UNREAL
yummy cheesecake
KILL YOURSELF
tiramisu is super delicious
come over and I'll make u proper tiramisu so you can realise how good it is
it's literally like i would throw a biscuit into cold coffee
Armcord 3.2.0 - Kaeng Massaman
o yea that, but it won't come in a long time (until megu makes a draft pr)
huh
and do Updates via tags
she will do it or i will doi t
that
ven cute
will it work
true ven will do that
Pls can I
tiramisu is good
This PR will (hopefully) replace all references to an "in-style-prop" styling (defining strict styling values in the style property) on Vencord's core UI to an CSS styling.
such an utility already exists (in this very file im pretty sure)
oh lol, didn't saw it. i will also add to it my filtering to that function
somehow this error appears when i try to use eslint to fix it
Oops! Something went wrong! :(
ESLint: 8.30.0
Error: .eslintrc.json:
Configuration for rule "no-useless-escape" is invalid:
Value [{"extra":"i"}] should NOT have more than 0 items.
at ConfigValidator.validateRuleOptions (/mnt/hddhcp/.pnpm-store/v3/tmp/dlx-44802/node_modules/.pnpm/@eslint+eslintrc@1.4.0/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2027:23)
at /mnt/hddhcp/.pnpm-store/v3/tm...
as you saw by bd28a6c i've managed to fix by reinstalling my node-modules lmfao
this lint will fail
lol
lmfao
Bad Patches
None
Bad Starts
None
Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 429 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 404 () ```
I had a dream that I opened a GitHub issue that was similar to another one I made awhile ago, and ven closed it and started bullying me
@austere talon what the fuck man, I thought we were cool
this happened to me irl ๐ญ
@lament nimbus its your fault!!!
Cursed to be unmerged. Such is the fate of every PR on Vencord
Adding the ability to delete the logged message by right clicking the message and clicking delete from logs. Also making a section with all the logged messages.
So whenever I join a call , when I speak , the green ring that indicates my voice detection is very delayed.
how is this a vencord issue?
because it happened after installing vencord , not only me , all my friends
dunno how true the "not only me, but all my friends" statement is, but at least for me, it aint delayed
also, to prove that this is a vencord issue, you should have uninstalled vencord to see if that fixes the delay
I assume you didn't do that, so you are just making a wild guess that vencord is at fault.
To diagnose the cause of the issue:
- Disable all plugins
- Fully close Discord
- Reopen
Does the issue still occur?
If yes, it's Discord.
If no, it's Vencord.
@MeguminSama well, there is the possibility that a plugin is not at fault, but vencord itself
in that case, disabling the plugins, and the delay persists, does not mean that it is discord's fault
it could still be vencord for all we know
Which I highly doubt, but let's be paranoid
Vencord on its own does minimal changes to Discord itself
but yes all avenues should be tested as this is an issue people (myself included) run into a lot.
I still think it's a Discord issue, but there's no harm in testing.
Just fully close discord and start it again (with vencord) to see if a restart fixes it
if it doesn't, fully close it again and try running Discord with --vanilla flag or just uninstall Vencord and start it again
if it fixes then it's probably vencord
trying a different client like canary then concluding because that works it's Vencord's fault is misleading
cause that's an entirely different electron with different code
Vencord on its own does minimal changes to Discord itself
well, there aren't currently any plugins that mess with the audio, so disabling the plugins doesn't make sense
the only reasonable thing that the plugins might be at fault at is making the client lag more
which vencord itself could also be doing, thats my reasoning behind suggesting to uninstall vencord
(I also still think it is a discord issue, it could also be a CSS issue, did @Harry830 install themes? themes do cause lag)
there are some plugins that indirectly patch vc such as fakenitros resolution bypass and Spotify's no auto pause
those are the most likely cause if the issue is caused by Vencord at all
it's probably discord being stupit, I've had it happen before but it goes away by itself 
fakenitro does not patch a hot function tho
it only modifies an object
(for the resolution)
and that is video related
not the speaking indicator
that didn't really add a delay for me
actually, what do you mean by delay? can you record a video that shows it?
are you talking about the time it takes for the border to turn green? cause that is normal
or does it delay turning the border gray when not talking?
so like , i speak and after like 0.5-2 second . then the border turns green and when i stop speaking , same after 0.5-2 sec it turns back from green
I had nothing to do with that pr
Sounds like a skill issue to me
you will add blahaj to neu
no
since a two point slider is not happening, would something like this work instead? (clicking the buttons switches the selected slider)


i think it would be better to just stick to text inputs though
why is it not happening?
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
afaik it is a discord issue
i have this issue for years, maybe it's intentional
possibly just depends on ur ping
Actually, it does depend on ur ping
Discord sends events through a websocket for whenever people talk or not
Stupid ahh system
@austere talon I will hire an assassin to kill you.
is there anything that i forgot to change?
you'll get a reply 10 days later aka never
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
If I got 1 dollar for each star I earned from all my repos, I'd have 74 dollars
Kinda sad ngl
23 commits why
you will give me a patch file
i dont know hwo to cherry pick into dirty
did u not know github has this feature
you can append .patch or .diff to any pr/commit url
but also shouldnt it just be git fetch upstream && git cherry-pick COMMIT
assuming u have Vencord/Vencord added as "upstream" remote
ah
i usually have origin being my fork, upstream being well upstream
i thought that also commits the changes
and in the case of vencord i have like 15 remotes
oh it does
i have way more remotes on linux
speaking of which now that I'm not busy anymore I should check prs
ya
why not ref/pull/id
just fixing things
or something
i prefer just adding their repo as remote
i forgot what the pr refs are formatted like


makes sense
its easier for me
yea
WHA
sleeep
we do a little
had my first sleep paralysis-esque experience last night
fuck that i will scoop
idk if it can be called that because i dont really know what it is entirely but it was similar to what i've heard
i only use gh to authenticate with github in git
I format my PC so frequently that it is a pain to set up an ssh key every time
and i dont like using a token for authentication
please don't have multiple things on one line, also we should make classnames more consistent and adhere to the common css casing, so vc-plugins-foo or similar would be better
this is obsolete since there's now a new utility classNameFactory
Hi wanna see my nude photo https://to.sv/Rbmtw9
@lemonli @aprilwebster @CreativeBuilds @Jeskz0rd @tssganesh @donggangcj @xyzzen @KumarSaras @asashiho @srisurya777 @lmserrano @Anujay-Saraf @GregVes @dtcka @halradaideh @smetam @ecly @Jyotirao3813 @Sierra-034 @lucasnc95 @9017232799 @vilelas @ifarhang @cyberpry @AlTheOne @fauno112901 @motoka1t @armand-sauzay @Khan8118 @neeraj1bh @noman2a6 @M4N4NCOD3R @shafinhasnat @DarkHawk727 @ankush-bm-ai @Pratikdate @EdM25 @ldxsoria @linzeyang @maximilianwank...
mostly. there are some cases where that util can be useful, specifically for joining the plugin classes and discord's classes
Wanna chat over the phone The number here https://link.sv/sYkVs0
@Abigail-Wood @frahimov @rjbgoudie @jennasimit @acabassi @yzharold @stas-g @jinshaw16 @rdcomineor @Alice1988 @suners @forestqqqq @hastingsliu @lester9523 @yuedaha @gwself @wanshi131 @ax3353 @chessbar @dnorange @keketrtr @yhfreeman @361028096 @cxbiao @qxlx @zhangluyupl @hjb-huang @NemoIntellego @geminijun @hzzlotos @ehightech @JackyKyoto @gong9949 @muyoucun557 @xiaocuizi @onlyonezhongjinhui @zelinhehe @tanggaowei @xulu163 @cheng...
ๆจ็้ฎไปถๆๅทฒๆถๅฐ~ไผๅฐฝๅฟซ็ปๆจๅๅค็~~
Bad Patches
None
Bad Starts
None
Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
Hey My super private photo and video https://go.sv/ntAaaa
@iamlucasgomes @LeticiaTrindade @Arthur-Antonelli @BeatrizBraga1 @cmgreenhalgh @RodrigoHisi @KennyWilker @marcelojsant @christianagomes @MatheusVidal100 @juniormvs @xnascimentox @andersontecnicoprogramador @luanaPortezan @GuilhermeJuli @melguertas @MarcuusCorrea @dinadevs @KleitonMQ @MarceloSelong @Jnior-B @induzt @ahgiraldo @juan-david-gomez @sergioazoc @kathcode @willienn8254 @jesumarquez @allberto @minmon @larakev @sandersgutierrez...
pog
I have sent the assassins, if you don't merge within 5 business days your life is over.
I have sent the assassins, if you don't merge within 5 business days your life is over.
he will not. (he forgot what the merge PR button looks like)
This changes the messageAction plugin to make it configurable as to whether the "delete on click" and "double click to edit" features should be enabled or not.
The motivation for this change is that as a server moderator I've had it happen many times that isDeletePressed was incorrectly set to true and I ended up deleting messages of other users incorrectly which is extreme frustration. Because I want to keep using "double click to edit" I do not want to disable the plugin outright, ...
@Vendicated it's been 10 days.
WHY ARE THERE SO MANY
What should the plugin/feature do?
Change the +:emoji: shortcut to add a reaction to the message currently being replied to instead of always adding it to the latest message in the focused channel.
How does it work?
- Select the message you want to add a reaction to using the reply button
- Start a message in the chatbox using
+:to bring up the reaction selector list - Finish selecting an emoji either using the list or by typing it and finishing with either another col...
why search for "github" when the tool is called "gh"?
what are they doing with that picture..
oh its not a picture its just the way the name is formatted
i was about to say..
yeah it looks like ph lol
winget is so guh
ya
sure, lets search for aria2c instead of aria2
why search for github you say? cause the name of the program is "Github CLI"
the command may be gh, but the name of the tool aint that
and thats where my analogy with aria2 comes from
yes it is confusing for it to be gh
but that is github's fault
for not being consistent
it could have been named github-cli
imagine that you installed a package from the AUR
and you tried to launch it using its name, but the actual command is gh
which does not include the package name
...
the AUR script could alias it
but that aint official
Yeah, it's dumb on github's behalf
@austere taloni had this happen on another repo i watch too
weird shit
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
Supported client mods:
- Aliucord
- BetterDiscord
- Enmity
- Replugged
- Velocity
allahucord
-
[ ] Fix Timezones looking ugly in user profiles somehow (@Vendicated will figure out)
-
[ ] Confirm This weird code is working
-
[x] Bottom Text
-
PS: Ignore commit history
@AAGaming00 FฤฐNฤฐSH THฤฐS
timezoneId: string,
:trollface:
explode
GUHHHHHHHHHHHHHH
also you should probably type cache map
guh
why
IDK. Seemed like a cool plugin idea
also you should probably type cache map
I removed types entirely :trollface:
I only store timezone now
i mean ts types stupit
i mean ts types stupit
fin
how do you do this twice
const Cache = new Map<string, number | null>();
EXPLODE
explode it's inconsistent
Number is the class not the primitive, you should be using number
insane people everywhere
VEN
ven
Timedones?
@mantikafasi guhhhh you are insane
wtf is || e.user for shouldn't it be || !e.user
maybe type the fetch response with Timezone instead of any?
also you should .catch the fetch prob
would null not make more sense here?
also run linter guhhhhh
watch someone's stream in a vc then pop open to another tab then close that tab then discord just crashes and restarts
This is a known Discord issue that has been happening for a long time, not a Vencord issue.
If you think otherwise, please try and get some error logs or something that identify that Vencord is the cause.
@Harry830 does this happen without Vencord on your machine?
Timedones?
Timedones
wouldnt returning null make react explod
honestly, i don't like much of the use of TimezoneDB, mainly because of how that still relies on UTC offsets. If there is a different Timezone service out there, it could be a good idea.
(btw i am the og dev of timezonedb)
idk my past self wrote this, I have no idea why its like that
honestly, i don't like much of the use of TimezoneDB, mainly because of how that still relies on UTC offsets. If there is a different Timezone service out there, it could be a good idea.
(btw i am the og dev of timezonedb)
this is new backend it doesn't work that way anymore stupit
it gives timezone now and client has to parse
it could be a good idea to use city timezones (e.g: America/Sao_Paulo) mainly because of the city change. There is the Temporal API proporsal, but it is a proposal, even tho it is a stage 3 one (likely to be adopted)
Actually this plugin uses the utc offset but I think it can do other way since backend provides I think
backend also generates correct offset anyway tho now I think
e.user doesnt even exist in that object normally :trollface: but i will leave it
idk try it I'm pretty sure it doesn't in this scenario
you will make api never go down so I wont have to
wait does backend provide timezone @AAGaming00
@rushiiMachine you will add
it's right there wdym, America/New_York
ok I thought by timezone it would return something like "12:20" but that wouldnt be timezone whatever trol
manti is 9000000 years old he has bad eyesight
it could be a good idea to use city timezones (e.g: America/Sao_Paulo) mainly because of the city change. There is the Temporal API proporsal, but it is a proposal, even tho it is a stage 3 one (likely to be adopted)
discord literally has moment just use it
it could be a good idea to use city timezones (e.g: America/Sao_Paulo) mainly because of the city change. There is the Temporal API proporsal, but it is a proposal, even tho it is a stage 3 one (likely to be adopted)
discord literally has moment just use it
discord has moment but i think it doesnt have moment-timezone addon. and i think without it I cant parse timezone strings
just add the addon
ven will explode
ven is dead, god is dead, manti is turkish
wrong (except the lat one )
manti is turkish
are you listing reasons why this pr should be rejected?
are you listing reasons why this pr should be rejected?
That was not my intention, but now that you say it, yes.
@quaint sapphire that was low
manti left the server apparently
this is new backend it doesn't work that way anymore stupit
it gives timezone now and client has to parse
oh okay. i forgot about that change
You should use timezone_id which returns just an IANA timezone name, defaulting to the timezone offset when its not there.
Ref:
https://github.com/rushiiMachine/TimezoneDB/blob/9f6a4d0f1ea52c1a83d2cd18c5cd774727b452e1/src/routes/user.rs#L63-L67
mantushka
this is in webpack commons! (or should be at least)
why does the api return errors as okay responses?? or is this just the json body on 4xx/5xx? If it's the latter case, you should check the status code instead
why is this a setting here? Please use Discord's locale settings along with Intl.DateTimeFormat
const PreloadedUserSettings = findLazy(m => m.ProtoClass?.typeName === "discord_protos.discord_users.v1.PreloadedUserSettings");
const locale = PreloadedUserSettings .getCurrentValue().localization.locale.value;
new Intl.DateTimeFormat("en-US", { hour: "numeric", minute: "numeric" }).format(new Date)

buuut at the same time yeah probably no one would do this except few insane people
actually
@umbral hedge could i get the contributor role? i'd like to post invisible chat in #1032200195582197831 until ven merges my pr (never)
sure ig lol
thank you
don

Worsening the experience for the majority of people to cover a very minor use case is kinda dum
Americans would cry for their mum if they see 24h time
I'll test it soon
I was busy the last days cause crimas
and merging prs isn't just click button, I also gotta make sure it works for everyone
b-but.... click button :(
and ensure best future compatibility
it would be a lot easier to do if we did tagged releases
which is a future goal
so I can more comfortably merge potentially unstable stuff
(not saying ur plugin is unstable, just in general it has already happened multiple times that I merged something and had to immediately work on a fix for a problem I didn't catch)
lol

basically instead of using the latest code from the main branch, I'd create version tags every so often and it would use that
that way I can merge stuff into main without exploding everyone's discord
and vencord would only show updates once a new tag is out
yea
with option to switch to main branch if you sign a contract that gives me rights to sell your soul if you ask for support
sounds like a good idea :D
here they come....
probably saying that it doesnt show because they havent rebuilt vencord 
Bad Patches
None
Bad Starts
None
Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 404 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
How many more lies has the council told me?
But exploding everyone's discord is fun
explod
timedones
what are your thoughts on refactoring @webpack/commons to a categorised folder?
import { useState } from "@webpack/common/react"
import { CopyIcon } from "@webpack/common/components"
import { UserStore } from "@webpack/common/stores"
something like that
Pros:
- Cleaner
- Better structured
- Less insane webpack commons files
Cons:
- More imports / boilerplate
Anything else?
I'm also fine with
import { React: { useState } } from "@webpack/common";
that's not valid import syntax unfortunately
I wish it was valid
you can do it with destructuring objects, but not esm imports
which is why you can do it with require()
it is valid iirc
but not for named imports or smth
https://github.com/babel/babylon/pull/288
oooooooooooooh
yeah i was doing it with require in the past
forgor
for some ungodly reason import isn't just normal js destructuring
so you can't nest
which is pain
esm so bad
can't we make a plugin for that?
no
wdym no?
I mean you could make a plugin for your compiler but your ide and typescript and everything else will shit itself
ye
you will not hardcode e
you will e
e
Bad Patches
None
Bad Starts
None
Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
GUHHH ITS ALWAYS E THERE IS NO NEED TO FIX
BAD WHAT IF IT CHANGES
IT WONT MINIFIER LITERALLY NAMES ALL FIRST PARAMETERS e


alongside tags for webhooks, this plugin adds tags for moderative roles

also adding them to the sidebar and profiles


and it combines bot and ...
return replace.replaceAll("$self", `Vencord.Plugins.plugins["${pluginName}"]`);

IT WONT MINIFIER LITERALLY NAMES ALL FIRST PARAMETERS e
Minifier: updates and decides to name all first parameters as f
manti: guh
if it is e now, it does not mean that it will be e in the future
guhh its been e for a long time, I dont think it will ever change
valid user agent header here
Vencord/1.0.0 or something idk
can you add a button link to https://timezonedb.catvibers.me?client_mod=Vencord on the settings page
"Set own public Timezone" or whatever
also batch fetching is really needed, say every 5 seconds or whatever
currently it ddos's AA instead everytime you open a chat
with like 500 duplicate requests
use the new bulk route i added
Imo user agent doesn't mean much, cause that can be faked as easily as breathing.
not the point its analytics for aa
it's not possible to send a custom user agent
why, just do it in client
you should just take the fetching logic from pronoundb
manti will mess the login up and it will break
just link to external it works perfectly fine
poor ux, just do it the same way as the reviewdb plugin
I said, 10 days later, only 5 have passed
:trollface:
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
Bad Patches
None
Bad Starts
None
Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
X-User-Agent :trolley:
DO NOT USE WEBVIEW GUHHHHH
@Vendicated you will do this, I hate stupit promises
explode
@austere talon I beg of you, can you merge my PR?
It's been so long
Poor css snippet manager
If you have a reason to not merge then tell me
I hate this silence
timedones
Mantushka will explode
ven will merge moretags
ven will merge Invisible Chat
ven will merge the 20+ prs that for some reason are still up
i never saw a repo with more prs than issues
unless it is something specific like a repo with both low issues and pr numbers
because ven never fucking checks prs
correction: he checks prs, puts up a bunch of change requests and disappears from the face of the earth when they are solved
it's completely normal
i can recall at one point flask's github having zero issues open
whos flask
Lies
i mean, in my case i can do changes in like two hours
10 min max to review 300 lines of code in vencord
can't say the same for everyone else
reviewing is like the biggest process, but its more because of the devs having to give 2% of their attention for a pr
depending of the change tbh
Well, contributors do review as well
But that doesn't speed up anything
but i can do the changes in like one or two days, unless it is a very internal thing that will require 2 years to change: a.k.a. change how everything works
but rly, i think what takes time is the gap between the changes and review, because the dev has to remember thay your pr exists
And has to remember to check PRS instead of playing ow2 24/7 
ven is sweaty valorant player
there ain't no way of ven forgetting the PR exists
cause we spam it with comments
agreed, but still he does not reply
cause ven is dum dum

ven should work on vencord atleast 25hrs a day









