#๐พ-core-development
1 messages ยท Page 12 of 1
yes
ok done everything you said
except stupit classes
at worst I can completly copy discords css
but idk if thats good idea
bro @austere talon can you PLEASE look at 179
didnt u say it was really bad
didnt u literally tell me to make a pr for it
i have been swotted
what extension is that for data: or route: (if it's even vsc)
Uses TikTxk to fix ugly/dysfunctional tiktok embeds.
we already have enough text replace plugins
At this point someone should just make a generic text replace plugin with support for custom rules and the common ones as presets
intellij
thanks
never tried that one so no guarantees

Good luck! also cute banner
are u gonna make generic text replace? @quick ibex
it shouldn't be too hard, just gotta implement settings ui urself
no, not now
actually, ill have a look
really?
yes
when did they add that
hold on I'm finding the name
the logic should be really easy tbh
like 5 minutes worth of effort
Inlay hints
the management is the hard part
could just cheap out and use commands to manage them xD

even react shouldn't be too hard tbh
ill try tho
@austere talonHopeful example
Made in 5 minutes in figma
ill finish later
Holy shit Lord of the rings online in vencord??
PR when
LMFAO
actually
Funny idea
launch steam games from vencord
@austere talon where the file that defines stuff to use as Devs.[text]
wha
GONE
WHY
@austere talon how do i make jsut javascript code run instead of having to deal with making some regex patches
start method
how to start
metod
@austere talon how to fdo stfart method
start() in plugin definition
sod
@orchid coral you will use Google first yes
(this is never getting merged and i don't really care that much so :trollface:)
clicking album of local track will open https://open.spotify.com/album/null. this pr fixes it.
local tracks can have an album?
local tracks can have an album?
yes, it gets it from tags. here's an example

57f3feb spotifyControls: make album of local tracks unc... - janisslsm
local tracks can have an album?
Yes I thought about this too but I forgot to push it in my previous PR
vencord silver
second only to vencord gold
vencord paid plan(s)
BetterGifAltText (had no effect):
ID: 866358
Match: /(return .{1,2}\.createElement.{0,50}isWindowFocused)/
Webhook Tags (had no effect):
ID: 696278
Match: /return null==(.)\?null:.\.createElement\((.)\.Z/
MessageAccessoriesAPI (had no effect):
ID: 96063
Match: /\(\)\.container\)},(.+?)\)};return/
NoBlockedMessages (had no effect):
ID: 748241
Match: /collapsedReason;return (?=\w{1,2}.createElement)/
IgnoreActivities (had no effect):
ID: 413620
Match: /(.:\(\)=>.)(.+)(function (.)\(.{1,10}\.width.+\)\)\)})/
IgnoreActivities (had no effect):
ID: 529622
Match: /(this.renderLastPlayed\(\)\),this.renderOverlayToggle\(\))/
IgnoreActivities (errored):
ID: 529622
Match: /;(.\.renderOverlayToggle=function\(\).+?\)\)\)};)/
Error: Unexpected end of input
ViewIcons (had no effect):
ID: 847018
Match: /(?<=createElement\((.{1,5}),\{id:"leave-guild".{0,100},)(.{1,2}\.createElement)\((.{1,5}),null,(.{1,2})\)(?=\)\}function)/
PlainFolderIcon (found no module):
ID: -
Match: ().expandedFolderIconWrapperabaa
NitroBypass:
Error: tets error
Failed to load resource: the server responded with a status of 404 ()
Failed to load resource: the server responded with a status of 404 () ```
xd
๐
is this run on stable
i'd hope it's run on stable
ye
fixing most other plugins rn
๐ they already pushed the update that broke my plugin
wdym
@limber skiff wth is this
love
IgnoreActivities
i will get badge soon
are u gonna fix activities plugin
im fixing the other plugins rn
its really easy for the most part
yeah I can
unless you wanna do it
it's likely just changing the amount of paranthesis and changing createElement
I may actually use some
horror
I have stupit db bot and a retarded music bot running 7/24
and i am not eligable love
i guess i need to use stupit discords slash commands
yes
Title is pretty simple to understand, add a slider for emote size like the sticker size slider. Reason being is some emotes look very crusty at low res. Pretty sure max size for emotes is 128x.
Oh that's smart
wait
i made a mistake
it should be pronounProps.includes(onPronounsChange) not fullProps
well it doesnt matter it doesn't cause any issues 
Wait did you just force enable the experiment
I guess that works but I was trying to avoid that
yeah
its whatever really
trolley
IgnoreActivities (had no effect):
ID: 413620
Match: /(.:\(\)=>.)(.+)(function (.)\(.{1,10}\.width.+\)\)\)})/
IgnoreActivities (had no effect):
ID: 529622
Match: /(this.renderLastPlayed\(\)\),this.renderOverlayToggle\(\))/
IgnoreActivities (errored):
ID: 529622
Match: /;(.\.renderOverlayToggle=function\(\).+?\)\)\)};)/
Error: Unexpected end of input
PronounDB (found no module):
ID: -
Match: currentPronouns:
None
Failed to load resource: the server responded with a status of 404 ()
nameless
oh found no module is funny bug
with all
anyway only activities is still broken now
trol
time to make badgebot
bot with a single ping slash command so i can get badge :)
just make a server where kiddles pay you to do the whole badge process for them and rerun the command every 30 days
tbf this is better than the verified developer badge
cause there's no humans involved in getting it and since it super easy no one will like, try to buy accounts with the badge and shit like that
nop its just broken lol
didnt djs straight up want to go esm only?
v11/12 was good
yeah was about to say that
now its literally terrible
i really liked v12
use robert
๐
also ven you should use slshx if ur doing interactions

you love https://github.com/mrbbot/slshx
ignore that it hasn't been updated since feb
don't use cloudflare then
I have an instance running on my server 
time to use https://github.com/OceanicJS/Oceanic
if its not good i will simply force nuckyz to make it better
lol
omg that lib already looks so much better than djs
no builders, no need to do rest manually
NOOOO
i meant to rm -rf node_modules but wasnt in the folder anymore
and accidently deleted some unfinished project ๐ญ
NoOverscroll
๐ฟ
wait does that lib have selfbot support @limber skiff
then why do you make the user specify the Bot part in the token
instead of only taking the token
but it doesn't have the things required to support a user account
cuz discord tells us to
and we didn't make it auto add
owo
does someone else have to use the commands or can it be myself lol
it has to be someone else
someone use it then 
owo
ooomahhgahh
and the createElement thing
horror
horror
okay i ran patch report
lets see if everything is fixed now
i wish i could run patch reporter on prs
HORROR WHY IS IT USING SNAP
ubuntu so bad
Guhh
shut it
its mediocre at best
I really dont need you calling me a noob after 2 years on void
jackoff
None
None
Failed to load resource: the server responded with a status of 404 () ```
Pog
your mother
Nice. I get pissed off at linux each time I try it 
I wonder what that 429 is lmao
Guhh
same
btw I configured this thing to run once a day via cron
I was gonna do more often but I don't want the account to get banned

nop
I mean it literally just logs into discord for a minute and disconnects again so it's not bad I doubt they will even notice

They'll find a way to notice 
ven loves selfbotting
ye
๐ณ
woa
ven loves
consistency
I changed all lowercase ones to have capital first letter too
you love
I can certainly do that
I think you can change the keys back
consistency isn't really necessary since we're talking about names here
that's what the name field is for
some people have ocd where they want their name stylised a specific way xd
I think we should respect that 
huh?
e.g. all caps goes white
but yes i can undo the key changes
@vagrant topaz Nico or D3SOX, choose your fate
theme issue
xd
@vagrant topaz
theme issue!
ye
okay no more name fuckery
instead of using terrible resolution image
why not use css to set the badge dimensions
and let css downscale it for much sharper resolution
sure ig 
position?: BadgePosition;
return Badges.delete(badge);
export enum BadgePosition {
pls rename file to apiBadges or something like that to have all api plugins show grouped!!!
you love
good
The max size is actually 4096 like for most (if not all?) other files but you'll never:tm: find an emote this large but yes this is a good idea!
pls rename file to apiBadges or something like that to have all api plugins show grouped!!!
Isn't it time we move all the internal patches to a separate folder?
that would require a refactor of the commands module builder which I'm too lazy to do rn
None
None
Failed to load resource: the server responded with a status of 404 () ```
pronoundb yeets vencord in DMs 
nop it's just discord being bad
@lament nimbus will fix
This should not be merged
wtf are you saying
dumbass
still needs two/three clicks
this person doesn't even have anything to contribute back what do you mean
their intention wasn't to create a pr
but you can't "misclick" create a pr
because you have to go through like 3 pages for it
i accidently opened prs to wrong repos multiple times already
im not sure what he's doing but he always prs changes from my repo to his fork
he probably just chose the wrong base to pr to, it happens
not everyone is a git pro and thats ok 
wrong its incredibly immoral
correct
husk
but syncin fork is really easy
unless he created his own commits
@half shell 

Pretty sure I clicked Contribute instead of Sync fork idek
what
I pushed that commit like hours ago but it just disappeared into nowhere
??
did I accidently push it to some random branch or what
I recovered it from git ref log so it's fine but wtf happened
I pushed it when I said this
love
pulverized
I did
well thankfully i just cherry picked
i thought i had gone insane and just imagined fixing it
stop dreaming about writing code
horror, their stack overflow was created 3 years after I was born
love
i wil git reset --hard af498e78291b67377aaf876c84143cdfe7c8b308
you love 40yo's being bronies
false
ven will work for meta
soon
wing wil
git checkout main@{one.year.ago}
git push --force
dont shiggy me
Goodbye vencord repo
i will push @swift fjord
yop
RIP vencord
vens real email address is noreply@discord.com
your email is partner-program@pornhub.com
no more verified pornhub accounts
i only partner non pornographic creators
doxxed

you love
why is aperii so bloated
twemoji
terror
all of twemoji is included
delete
YAY
What's the latest vencord drama
implod
love
idk if the parallel is needed (it does threading but im not sure if that actually makes it any faster xd)
also could make it a function to allow custom dir
tbh i think not parallel is gonna be faster lol
cause it spawns only one process as opposed to one for each dir
wheremyspace() {
dir=$(realpath "${1:-.}")
du -hs -- "$dir/"* | sort -h
}
now it supports argument too
you will sh wheremyspace /

love
love
lint will kill itself
lagger works now again
ill add attachments now
None
None
Failed to load resource: the server responded with a status of 404 ()
it is?
it runs everyday
**reportBrokenPlugins.yml: **
name: Test Patches
on:
workflow_dispatch:
schedule:
# Every day at midnight
- cron: 0 0 * * *
jobs:
TestPlugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
- name: Use Node.js 19
uses: actions/setup-node@v3
with:
node-version: 19
cache: "pnpm"
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
pnpm add puppeteer
sudo apt-get install -y chromium-browser
- name: Build web
run: pnpm buildWeb --standalone
- name: Create Report
timeout-minutes: 10
run: |
export PATH="$PWD/node_modules/.bin:$PATH"
export CHROMIUM_BIN=$(which chromium-browser)
esbuild test/generateReport.ts > dist/report.mjs
node dist/report.mjs >> $GITHUB_STEP_SUMMARY
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
no 
why
tokenlogger plugin pr
oh
you can run it yourself
what about doing it statically
download all the js files and test patches
set CHROMIUM_BIN and DISCORD_TOKEN environemtn variables and build and run test/generateReport.ts
no
why
how do you expect to run patches without loading the entirety of vencord
does it load all of the modules
because otherwise its useless
yes
good
**generateReport.ts: **Lines 242-252
console.error("[PUP_DEBUG]", "Loading all chunks...");
const ids = Function("return" + wreq.u.toString().match(/\{.+\}/s)![0])();
for (const id in ids) {
const isWasm = await fetch(wreq.p + wreq.u(id))
.then(r => r.text())
.then(t => t.includes(".module.wasm"));
if (!isWasm)
await wreq.e(id as any);
}
console.error("[PUP_DEBUG]", "Finished loading chunks!");
yes discord
but loading that module errors
cause it runs in an entirely different context (webworker)
@austere talon lagger coming in 2077
None
None
Failed to load resource: the server responded with a status of 404 () ```
owo
how did you do it
magic
i never want to touch this again
18 patches jesus christ
@austere talon @austere talon review
i will explode if fawn pings me again
this pull request be looking like 1984 George Orwell animal farm review
yop
inb4 spam comments on the request
inb4 more
:trolleyzoom:

how many patches needed to add bitches to vencord 
I will test later I am doing assignment rn
thank you @fiery jungle @fiery jungle

YOP
you don't need all these prefixes
also im pretty sure transitions should be on the element itself, not its :hover
owo
spoiler would be affected then as well afaik
also yes prefixes needed because browser extension soon โข๏ธ
pass through data through a domain model parser or something
@austere talon

they're ancient
from like 2010
we're in 2022 now
don't bother using any prefixes
we can use auto prefixer once css support is here
but also no need to support old browsers anyway, people should just update (or explode)
so
transition: 250ms filter linear;
only?
when you delete a messasge , it like high lights the whole mesage box? instead of changing the text to red/gray
is that a design choice or?
yes
because red text is ugly
add an option once the plugin is finished 
you can change it with css probably
tru to be fair
im too lazy to do
someone else will
ye
NO
it will default to highlight block
i will eliminate the ugly
explod
yes my plugin love
eliminate mantika then
already done
it looks worse, it takes up way more space/sticks out like a sore thumb
BUT personal opinion
^
that doesn't stick out enough in black theme does it
troller
i just copied lightys
maybe less opacity
so its not meant to look like this 
no this too
no it is
im saying red text will be invisible
not hightlight
or alternatively
i have an idea
rushii after spending weeks and pain making message logger plugin
community: why no red text
ใDRAWINGใ HIGH SPEED TAKO
https://www.youtube.com/watch?v=Wnzo2c9nT40
Ninomae Ina'nis: https://www.youtube.com/channel/UCMwGHR0BTZuLsmjY_NT5Pwg
#hololiveโโโโ #hololiveENโโโโ #HololiveEnglishโโโโ #NinomaeInanis
love
rewrite discord with this https://youtu.be/MddGbXgIt2E @fiery jungle
How to build a simple web app frontend using 100% Rust - no JavaScript. WebAssembly opens the door for frontend developers to use languages that don't necessarily compile to JavaScript, including Rust.
00:00 Introduction
00:40 What We'll Build
00:59 Environment/Project Setup
01:44 Cargo.toml
01:59 main.rs
06:22 Styles
06:29 index.html
06:59 Bui...
rushii does message logger have epic ram eater feature
vencord big dick fap drool balls
devilbro will be shaking
only the worst sloppy lightbulb code
@austere talon @austere talon merge instantly
@austere talon delete the repo instantly
yes merge rushii and ven together
vushii
rushdicated
ie 8 suport wen
nop
guh
theres been like 50 changes to build scripts ill have to restart the pr completely
you still moved it husk
it just moved to different place
i hate how git handles renamed files
it shouldn't be hard to reapply I think
how does it
i don't think theres another way for it to tell
gh web sometimes detects renamed files
actually i think thats refined gh
which is even funnier
theres probably an email chain explaining why they don't detect renames differently
i will rename ven
why doesnt it let you specify the new target file when finding file conflict
??
guhhh
death
anyways ven will merge
rushii will be promoted to front line support
source
because i have it on browser



rip most active pull request you will be missed
the moment vencord went down hill
@fiery jungle make another highly requested plugin so the pull request can be spammed
which one
stereo mic/loud mic/my dad left plugin
or discord rich presence
think there the only 2 remaining people mass request

vencord will explod if you make this, it will never recover
Thank you!! I think you were a little confused in the view invites command cause you were +ing on an array and typed it as any (got some errors huh?). Normally you would .push() to it or use a string instead
im not a great javascripter tbh

haha don't worry about it ๐

None
None
Failed to load resource: the server responded with a status of 404 () ```
trolley
Trying to disable such a plugin does not affect the switch, it always stays enabled
MessageLogger is one such example
Having a dedicated Themes tab where you can manage themes would be cool
General Idea:
- Import themes from file or url
- Theme are stored in DataStore
- Try to parse metadata from BD meta header comment, otherwise use filename as name
- Ability to toggle, delete and edit (with monaco) themes
isnt this already solved by a restart

My idea for this:
- Plugins are stored as single file in the Vencord config folder. No support for custom plugins on Discord Web because there's no good way to store plugins without having to read them async (IndexedDB)
- imports would simply refer to the window Vencord prop, for example
import blah from "Vencord/Api/bleh"would create a virtual module (with esbuild) that simply exports Vencord.Api.bleh. Might have to do some refactoring to make this possible - Plugins are loaded just l...
this could be done userscript-style, where the maintainer gives a direct URL to the updated plugin that we'd compare to the existing plugin on update
for web?
nah he means for plugins
None
None
Failed to load resource: the server responded with a status of 404 () ```
New idea for custom plugins:
Instead of importing anything, they just get the Vencord stuff as globals and a function registerPlugin
example plugin ```js
const { lazyWebpack } = Util
const { filters } = Webpack
const blah = lazyWebpack(filters.byProps(...))
registerPlugin({
name: "MyThirdPartyPlugin",
patches: []
})
what do you think?
idk
no
it'd work but i personally prefer imports and keeping the global scope clean
magic globals are kinda blegh (they're not super magic in this case but still)
it doesn't pollute the window
it wraps the plugin in a closure that defines those globals
doing actual imports would be a lot more effort and wouldn't really work well
they're not true globals, sure, but it still adds more stuff to your local scope
if they're easier to implement than I think it's fine but I don't entirely like it is all xP
ah this is so third party plugins can be used in the standalone vencord isn't it
okay yeah this way is understandable then
(i missed the gh embed thing above)
I would have to make import calls be translated to access the global anyway and then it's very questionable how I would implement something like import { lazyWebpack } from "utils/misc" (which should be translated to Vencord.Util.lazyWebpack, but as you see this is not consistent at all with the import path)
so it would be a lot more straight forward and less confusing to just let people consume the global directory
yeah that makes sense
Also way simpler for devs cause they don't need to use a template that transforms imports for them, they can just write raw js if they so desire and it'll work
I think namespacing it so they still need to type Vencord.Whatever would be better than having Whatever directly in scope though
other than that I agree with the idea now that I understand the context
Well I'll do both probably
you can just not use the non namespaced ones or shadow them with your own variable if you don't want
I'd consider it as a bug that it also logs dismissible messages such as from Clyde or other bots.

Nop
horror
i love forgetting to reset my branch

think you forgot something
does it work?
yop
ye
ye
I think edited codeblocks looking funny
NOW
aaa
aa
ye
?
oh you meant pre pr?
ye i already fixed that
ah my bad sorry , I thought this was merged 
now it is!
@austere talon MERGE MY PR OR I WILL INSTALL WINDOWS TO YOUR COMPUTER
I hate syncing my fork
I only found out it was spotify related when I read the description
to what
FakeSpotifyPremium?
btw do spotify controls work for non premium accounts even if ify is off
any better idea than this?
they work
problem is the plugin has other settings 
ig
it makes a bit more sense
anything else i should rename?
github project name
rename it to bencord
soon
Sendify name is pretty weird
and maybe change vcDoubleClick to VCDoubleClick
or just do VoiceChatDoubleClick lmao
message logger is so freaking hot god damn
imo removing names from all plugin names for consistency
sendify works but that's more to the point
really changed the name of the first plugin ๐
SpotifyShareCommands maybe
ig
im cool ๐ค
no way to differentiate if there's no description
the styling is just css
so feel free to fix and pr 

any other plugins to rename
don't think so
just some description fixes
bruh really just noticed
could you please try that branch and make sure all settings migrate properly?
๐
too lazy to review /track /album, /artist -> /track, /album, /artist
2 weeks
thats not what was asked
just leave permanently no reason to remove 
i mean ig
though yeah 2 weeks prob good
unrelated question but is #๐-js-snippets locked to contributors only or just straight up gon

contrib
first
description: "Share your current Spotify track, album or artist via slash command (/track, /album, /artist)",
d1da65a Update src/plugins/spotifyShareCommands.ts - Vendicated
@austere talon ๐
rejected
-ur turkish
post ur plugin
this
(second point is very important)
(me with no laying foundation for a plugin)
None
None
Failed to load resource: the server responded with a status of 404 ()
None
None
Failed to load resource: the server responded with a status of 404 () ```
@austere talon you will add 150ms delay to avoid 429
when using opendoas I just get an error about SUDO_USER not being set, I tried setting it manually with no luck.
150s*
it already supports it if you follow the instructions and use the wrapper script
@austere talon do not break updater for one commit (impossible)
uh currently querying settings often is kinda performance meh cause it creates a proxy for each path element
but I wanna optimise that soon
just leave it
it doesn't make a noticeable impact does it
like
Settings.plugins -> Proxy
Proxy.MyPlugin -> Proxy
Proxy.mySetting -> bleh
its in stable
the problem is in stable
ass
works on my machine
on stable
it happens on canary though
idk why you're lying 
im not
i can show proof
i do not even use opera
be088f9 Don't unnecessarily create functions many times - Vendicated
eabbf7d fix(fakeNitro): add missing predicate for stick... - D3SOX
me who cant even update cause the updater gui si broken
use the installer that's what it's for 
it looks like half of those could be merged into one import why are there so many
horror
i will reimplement component @crude hearth
i had push access ๐
ven was an idiot that day
idk what bro was thinking

insane
i saw that a few hours ago
Lol
correct
to throw in zts room
mantikas code is insane
@crude hearth @crude hearth lazyWebpack now






