#πΎ-core-development
1 messages Β· Page 69 of 1
just setInterval(fetchMessages, 10) 
wait so people cant see those messages even after outage is over until they reload?

when the outage is over clients would probably refetch messages
annoying to test because unavailable guilds arent rlly common and theyre really hard to cause
and you still havent merged my other plugin smh smh π
I think @placid wave got some servers to break down a couple of times already
ive gotten guilds to become unavailable before 
ah
you remember the incident

when kernel server was created and then i broke it 1 hour later
finish the darn plugin
Opening an invite link "beams" it into the discord desktop app and opens a mod
This works via rich presence server and arrpc already supports this, we would just need to implement the ui. Something like this in the arrpc file is all that's needed to send the event to the renderer
server.on('invite', code => mainWin.webContents.send(IPC_EVENTS.OPEN_INVITE, code)
you're on your build 
is it still a skill issue
None
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'h_e' before initialization
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
None
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Eme' before initialization
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
scary
nice you did it without monkeypatch
any idea if that could work with spotify.link links?
wdym xd
:3
yes probably
Spotify.link seems to just redirect
yep yep easy
oh nice
i fucking hate that they put their shitty query params into that
someone pr support for that im lazy
it's really easy to do, just match spotify.link too and if its that, fetch it and then do normal logic on headers.location
ye
i was gonna do steam but i don't know anything about steam uris and also couldn't care less about steam links
actually it'd be useful for #πΈ-free-games
Is it possible for the OpenInApp plugin to support SpotifyControls?
It opens in browser
easy
if you wanna be lazy just steam://openurl/<LINK>
steam://openurl/https://store.steampowered.com/app/960090/Bloons_TD_6/ is valid
and im sure it works for everything else tooo
Donβt worry you can review mine any time :3
it's a setting of the spotify controls plugin.
is there a decent way to add a listener for changes to the quickcss content
me when
Vencord.Webpack.Common.UserStore.filter(x => x.discriminator === "0").map(x => x.id).sort((a, b) => parseInt(b, 10) - parseInt(a, 10))[0]
gets the id of the pomelo user with the newest account in your UserStore
yes
actually not in the renderer
do you know how electron ipc works
nvm im lying
VencordNative.quickCss.addChangeListener
there's currently no way to remove it again, but u could add that if needed
thanks, it's probably fine, it's to sync the state of manually removed snippets
current approach is a toolbox action, but that feels a little eh
if you can automate it, why not
lmao ```js
VencordNative.native.openExternal("steam://openurl/https://google.com")
fire
wouldn't it be better to keep the socket alive instead of constantly recreating and closing it?
why not include the sticker name?
another reason not to pr from main
I did this so people who didn't have the plugin enabled would not have a socket sitting around, but I don't know much about ts so if its not a big deal to just make it at the beginning then I can do that.
you can just lazy initialise it
let xsoSocket: SomeTypeIdk;
ipcMain.handle(... => {
xsoSocket ??= createSocket("udp4");
})
or even use vencord lazy
Sorry for the dumb, but does that just mean it only create the first time?
let xsoSocket: SomeTypeIdk;
ipcMain.handle(... => {
xsoSocket ??= createSocket("udp4");
})
Like you mean put this in send
but with this syntax it will only make it once?
yes
whats the problem?

no
think about what message.stickers is
and also use typescript
you haven't typed any of your params/variables
properly type them and typescript will help you with things like this


@austere talon So I was trying to finish this pr off today cause I am gonna be gone for a week. I am running out of time to do laundry and pack before tomorrow morning so I'm gonna have to leave this pr here till at least the 10th, sorry. I added the lazy init socket but I don't have time rn to mess with the stickers cause idk wtf I'm doing and I'm low on time XD
These aren't correct and also use your own fork instead of the proper repo :P
omg dont worry about it
take as much time as needed

agh, github should reject prs that source from the default branch
enforce feature branches for all prs
i'm gonna make a vencord plugin that shows which type of nitro a user has 
what how
Nice they updated it. When I checked it said it was operational
viewing github works just actually doing anything doesn't
it's probably that only the cache servers are fine
Ok I have a few min to look at this but im stuck again. Why would this work http://zip.penny.moe/u/GXgr3Q.png, but now what im doing here http://zip.penny.moe/u/e0qKud.png
http://zip.penny.moe/u/4Z1qZb.png
and yes I am importing it
you're renaming the variable
MESSAGE_CREATE({ message }: { message: Message })```
I really like being able to open steam and spotify link in their desktop app and I would really like to have this for EpicGames as well

tim swene
does epic even have deep linking
i guess #πΈ-free-games message
hop on fn π₯
jumpscare 2
can i drink you
yes
ok hodl on
that really was an animal
what is actually throwing me off is that the ice cream looks like Kirby from a bit further away
discord killed nonhttp protocol π
well it seems to just be
https://$1.epicgames.com/$2 -> com.epicgames.launcher://$1/$2
u will figure out which url launches the game
VencordNative.native.openExternal("com.epicgames.launcher://launch/fortnite")
nah doesnt work
WAIT
maybe it is
i just have to update
or rather install

MASTOOMFIE
nah
emma jumpscare
wowzers
splode
hopping on windows rn
I don't game but I have like 8 things installed
@austere talon systemctl reboot --boot-loader-entry=auto-windows
u love systemd-boob
HOW DO I DISABLE THIS
new emote
explod
the only option is remind me in 3 days
finally
please no fucking swearing, my mum checks my phonbe
thsi is my face when I have to use windows
oh shit
just say foking instead then 
no way is that stran
stranchor maintainer of the famous popcorn kernel
why is my mouse sensitivity so low
lie
well, I actually maintain it, so yeah

Do you have any documentation on Epic's protocol? From quick testing, it seems to be
https://$1.epicgames.com/$2 -> com.epicgames.launcher://$1/$2, but i want to make sure it doesn't cover too little / too much
HWY DOES WINDOWS LAG WHEN YOU'RE DRAGGING THIS SLIDER
bestdiscord kinda better ngl
where is that

devices > mouse
ven so blind
2nd option
thats pointer speed
oh
just different name
idk my brain sht off
doesnt lag for me
time to #1103769931977347153
skull issues
hack
type in username and password as microsoft login
then it will say like too many failed attempts
and just let u go
im sorrry but i need The Internet

LOGITECH GUH B
true
i have logitehc headphons but i just used piper on linux to set a solid colour and never care about it again
u love that it gets listed as a gaming mouse
i want to change my dpi presets
i only use one single dpi setting (the default one)
i want to set one to incredibly high and remove the others if possible
amazing
fortnite sooo fat
i installed stuff once to change things but other than that yeah
i dont have icue cortex or guh hub
i only keep steelseries garbage because it tells me to update firmware sometimes
PronounDB (had no effect):
ID: 1764
Match: /\).showPronouns/
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
PronounDB (had no effect):
ID: 1764
Match: /\).showPronouns/
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
use logitech onboard memory manager instead I thinks..
the whar
astronomically rare systemd W
I could not find any documentaion but from my experience yeah It's pretty much that
Discord Account
jarvis09
What is it that you'd like to see?
Hello, I request adding a box in the vencord tab in the settings which would show the latest changes or something like the latest commit name.
Request Agreement
- [X] This is not a plugin request
updater tab already exists?
MessageLogger is not always useful, but it sometimes does come extremely handy, and for this reason alone I feel many keep it enabled.
The issue is that the current two available styles for deleted messages take too much space, and it often is not worth the space. The current two styles, in my opinion, also don't make it obvious that the message is deleted.
I request a new style which is similar to how blocked messages appear:

use our support channel please
b592def OpenInApp: Add Epic Games; properly respect set... - Vendicated
13bde79 PronounDB: Fix profile patch, add pronoun sourc... - Vendicated
0936ca2 ValidUser: Fix mentions with ! (<@!...>) - Vendicated
b607eeb ImageZoom: Add square lens option - Vendicated
f09b44b VcNarrator: Ignore stage channels - Vendicated
@austere talon Can you check if the following works for you on the componentUpdaterAPI branch?
- Enable message logger plugin (if you haven't already)
- Edit a message in a channel
- Get channel & message ID and run:
const channelId = "CHANNEL_ID"; const messageId = "MESSAGE_ID"; Vencord.Webpack.Common.MessageStore.getMessage(channelId, messageId).editHistory = []; Vencord.Api.ComponentUpdater.updateMessageComponent(messageId);
It just doesn't force-update for me
oh so does vencord versioning go 1.9 -> 2.0
basically
there's no point doing semver or anything like that
so i just do whatever looks good to me

which is generally just add 1 in decimal system
Vencord 2.0 releasing soon boys
horror
These modules will eventually be tagged in accordance with Deno releases but as of today we do not yet consider them stable and so we version the standard modules differently from the Deno runtime to reflect this
0 based versioning kind acringe ngl
i consider 0.x.x to be prerelease
lol https://calver.org/ is based
Timely Project Versioning
why 0ver when you can just not include the first number
wait
0ver seems so useless
basically just budget semver except prepend a useless 0 that never changes
whats the point
Update for anyone in the future looking for this: I have now made a wal template file.
You can find it here: https://github.com/Gremious/discord-wal-theme-template
Usage is pretty simple and detailed in the readme.
pog
yop
why don't we just make alphaver, we'd be on a.c.a, very easy to understand and there is no reason not to!
I LIED
REVIEW IT NOW
I NEED TO NKOW WHAT TO FIX
hi developers
vencord 2023.3.0 build 1313
same, its been almost 3 months without any review
https://github.com/Vendicated/Vencord/pull/807
Can anyone test this 
Discord Account
No response
What is it that you'd like to see?
the instructions are very unclear
speech-dispatcher is already installed, i ran armcord with the --enable-speech-dispatcher flag, and it says no narrator voices found
installing espeak changes nothing
OS : OpenSUSE Tumbleweed
Request Agreement
- [X] This is not a plugin request
the solution in my case was to install espeak-ng, not just espeak
There's a couple prs out there that i'd like/are cool, like the local themes and sticker packs
but also like
seeing 49 open requests and half of them are 700+ new lines
i do not envy or blame them at all lmao
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
BadgeAPI (had no effect):
ID: 548625
Match: /(?<=([A-Za-z_$][\w$]*)\.isTryItOutFlow,)(.{0,300})null==[A-Za-z_$][\w$]*\?void 0:([A-Za-z_$][\w$]*)\.getBadges\(\)/
None
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
NOOOO BADGE API
badger

Comment
Does someone have any Idea why there is no update button? I also reinstalled Vencord but that didn't help either. My Vencord Client is up to date but it still shows the commits :/
cuz you're on a fork
git reset --hard 
LMAO
uh
did you figure it out yet
i'm not sure if the updater supports forks
would be cool if it did
happens to me sometimes, usually restarting or closing from tray fixes it
Hey @Vendicated can you look over this again? I'll need to rebase this, but I don't think the issue with the underlying react hook issues was addressed.
Plugin already exits on BetterDiscord (https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/RemoveBlockedUsers)
that removes blocked users profile from voice channels and text channels and also their text
basically it removes them from everywhere
Want to take a screenshot? Do a keybind you can create or a combination of keybinds to completely kill vencord. It will disable all of your plugins and themes! (I'm not a developer, I have no idea if this would crash vencord, I'm just making a suggestion)
When will relationship viewer be reviewed again
Only god knows
Ah youth these days donβt appreciate us old dogs
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
yayy
im so dum
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
omg finally on the second page 
whar
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
this keeps happening to me now...
discord try not to rewrite badges logic 20 times challenge
I second this. It's the main reason I put up with BD
vesktop
A plugin to allow activities to take up the whole area (or 16:9 fit) in the call screen.
Functionality exists in #306
is there any other kind of format you could do for the timestamp, i am trying to replace datetime with something else but it's not working
ID In Author
Adds user ID to message's author (Put the ID next to the username)
why would you want this? this seems really useless
I thought it would be easier for moderation.
I like to have my current talk and my discord in seperate windows, so I use the "Pop Out" Feature.
I'd love to have a quality-of-life plugin that automatically opens the popout, without having to re-open it every time I join a talk channel.
Could have the option to only activate on certain talk channels.
I hope you guys would like this as well.
robloxcord
real
Sadly no. I'm not sure but I think it worked before and the reason why it's not working anymore has to do with me changing the default branch because I believe that's when it started happening.
why did you change it?
**git.ts: **Line 52
const res = await git("log", "HEAD...origin/main", "--pretty=format:%an/%h/%s");
I made the main branch the same as the original main branch so that I could easily create more branches for more plugins. I initially did this because I wanted to make a new plugin (BiggerStreamPreview) but if I had put it in the same branch I wouldn't have been able to open a pull request with only the BiggerStreamPreview plugin. The approach I took was probably wrong but I have like 0 github experience.
ah i see
that's generally good approach yeah
just the vencord codebase hardcodes main for simplicity
so you'll have to change it
This makes the controls more consistent as well as being a nice improvement.
yeah
Alright gonna do that. Thanks for the help π
should the css snippet stuff do anything else besides import/delete snippets, otherwise I think the current state is pretty much ready for review
would it be possible for it to do my laundry about once a week?
depends, is it a samsung smart washer
(no that's all that's needed i think :P)
no π
NOOOO
vencord vending machine port when
laundry snippets
I'll snip your laundry
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
(ven) π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
(ven) π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
(ven)
Add a setting (default enabled) that prevents pressing Alt from focusing/showing the menu bar.
Useful for Alt + Clicking to unread message, or for the people like me that fidget and just constantly tap alt
you can do like ```js
win.autoHideMenuBar = !disableAltMenu;
win.setMenuBarVisibility(!disableAltMenu);
is ok i also went insane trying to fix alt opening menubar
the only options I found were;
set to null
prevent the event
setting it to null makes a lot of important keybinds not work
exactly
that's why I went with my event option
but setMenuBarVisibility is way better
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```

currently trying to figure out image carousel internals so I can make it work for the whole channel and not just multi-attachment messages
This plugin allows you to disable specific games from being detected based on title or executable path.
An example usecase is Discord recently added a game called "Everything" to their detectable games (https://discord.com/api/v9/applications/detectable) which also picks up Everything Search which may be annoying to some users.
Thanks π
can't you just turn that off in the client anyway
that seems to have the same effects as IgnoreActivities
yepp
i fucking hate discords stupid detectable games thing anyway
why do it like that there's so much room for false positives
(see Re-Volt (1999) and now Everything)
hi, do you know any reference for styling shiki blocks, css?
this already exists as IgnoreActivities
oh I'm really sorry, I entirely forgot this pr was a thing. Thanks anyway for your effort
didn't ask for this
how do I get rid of it
thanks. but i don't know either...
either of?
one of the reactions of all time
Sad days
for me
a skill issue in fact, but good thing plugin already exists 
Ven please review
Or just say why you won't so I know what to do
Or let me post in #1032200195582197831
bleh
Discord Account
No response
What happens when the bug or crash occurs?
Clicking on a message button that's supposed to redirect you to a link will not work, giving the impression that the button has no function.
https://github.com/Vendicated/Vencord/assets/113451171/162e570d-ac96-40b9-bfc4-fe8b3b0ef6c3
What is the expected behaviour?
Button should bring up the "proceed to website" confirmation pop-up after clicked.
let's goooooo
vencord desktop nightly when
at night
Electron supports this natively now (https://github.com/electron/electron/pull/38163), so vibe is obsolete
iirc, flag was working on adding this via electron's new api
@stark flint ^ ?
oh yeah
not possible + seems too niche
there are many protocols with security issues
file:// can run arbitrary stuff on ur system for example
allowing arbitrary protocols is essentially equivalent to letting anyone run code on ur system
Passing user-controlled input to Electron's shell.openExternal() function is commonly warned against for security reasons. But what are the actual possible attacks in this scenario? This post introduces some potential attacks.
isnt that calculator lol
yes
whah what happens on windows
also wait til someone adds ubisoft rule and then https://thewhiteh4t.github.io/2018/11/16/ubisoft-uplay-rce-exploit.html happens a second time

omg why does it actually run the executable
just read the end of this
its crazy how many vulnerable protocols there are
i lovej ava
lol wtf
insanity
sounds more like ShellExecuteL if you ask me
why insanity
that looks oki
vlock also uses ShellExecuteW

it doesnt escape quote characters in the url
cause its not necessary
the url is already properly url encoded
**platform_util_win.cc: **Lines 241-244
// Quote the input scheme to be sure that the command does not have
// parameters unexpected by the external program. This url should already
// have been escaped.
base::string16 escaped_url = L"\"" + base::UTF8ToUTF16(url.spec()) + L"\"";
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
None
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Gme' before initialization
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
Speaking of Vaius, what's the sitz on the hoisters @austere talon
wha?
Uh the detection to turn them into "i am a lame person"
Currently only checked usernames?
And I think nicknames
ah yes
And then i tried to add a check for display name but there was an issue w ocean.js
i'll do it whenever
I would like to see an addon that allows the server owner to see the timer of the slow chat.
anyone know how to import custom plugins?
this might help more than deflate tbh
You cannot use plugins from other client mods
But if you made a plugin from scratch FOR Vencord, follow the instructions in #1032200195582197831
is there any way to edit others message in client-side?
Ctrl shift i
Inspect element
If you have more questions
Vns
0f7b9f5 perf(cloud sync): minify synced settings (#1377) - ryanccn
232e340 fix: send notification when settings are manual... - ryanccn
looks like ignore activities does not stop the game from being detected, only prevents it from showing to other users
meaning that programs like everything still appear above your status even with the plugin...

i wish your plugin was merged, or if there was a way to disable game detection entirely but keep rich presence functional
mine is scuffed, u can probably just get author of IgnoreActivities to improve it
Bored
could anyone make a css snippet that would replace people's usernames with the nicknames we've given them as friends?
You know that little window that pops up when you are watching a stream and switch to a channel? Yea you can move it on all the 4 corners on your screen but what if you could move it anywhere on the screen you want? And also make it larger or smaller. Yea thats it. Add more things if you can think of for customization
Also to add you can just make it pop out but that is way too annoying imo
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
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
None
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Gme' before initialization
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain]
font-weight: bold;
color: purple;
Downloading the full bad domains file ```
774ed09 [WIP] VoiceMessages prototype (horrible UI do n... - Vendicated
This ports voice messages to desktop. It is already functional but the ui is HORRID
checking out this pr rn
omg!!
by sending the API req manually, you lose stuff like slowmode handling, error handling, captcha popouts, etc.
kinda annoying to patch it in tho
who cares

captcha might be annoying but that's only on first dm
slowmode should sort itself out
just try { } catch (e) { alert(e) } it
Make a PR to that?
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
this will never happen but
it would be hilarious if discord flagged people sending arbitrary voice messages 
send 30 hour long fard voice message
rn
fard.mp3
discord insecure confirmed
they will steal your first born and ssn

who cares tho i just want to send goofy audio files anyway not record
theyve had this disabled since like three years now
yeah why wouldnt they have
wait, do they explicitly disable getUserMedia?
i've been wondering why that error happens on discord desktop cause it works just fine on vencord desktop
is that chromium commandline or smth
i'll have to patch that then mm
why tf do they disable it
Their electron build specifically excludes the media engine api
what the fuck
why
so this isn't even possible on discord desktop
horrid
i hate discord
is the code actually stripped out or is it just a flag you can flip
can u use discord-rpc to get an audio stream somehow
record mic another way 
it's stripped out
terrible
i wonder if it'd be possible to do it in nodejs then or hijack discord rpc somehow
it'd be really sad if this plugin didn't work in discord desktop
it's possible with nodejs
I tried discord-rpc but you can't actually record audio itself
or get an input stream
are they trying to debloat the 200+mb framework by removing like 5kb of it
or is this some "privacy" sort of deal
pretty sure its part of their electron security update
no clue. either bundle size or because they have their own
no it was gone before that
this entire thing seems really unnecessary and pointless lol
i remember something like this when they announced to client mod devs a security update
imagine if they ever want to add voice messages to desktop
so i guess this is part of it
they would just use whatever system they have for capturing audio now
i.e. their native module
well, I guess they'll use their native module
that'd be so dumb
also unrelated but i wonder if i can steal their waveform code from mobile somehow
im more surprised it lets you submit an arbitrary waveform
i thought it would've been serversided
which is dum
#π€-bot-commands message
dotto dotto dotto dotto dotto dotto dotto dotto dotto dotto dotto dotto

i think they meant they expected you to just send the audio file and discord generates the wave and duration on server
to prevent silly data like we've been sending
lmaooo
uh
can you just send them arbitrary data
or does it have to resemble a waveform somehow
u obviously already did

iirc the waveform is just b64-encoded bytes representing the heights of the bars
you could probably send a single byte one for example and it'd accept it
yes
**voiceMessages.tsx: **Line 56
waveform: "AEtWPyUaGA4OEAcA", // TODO
but using a proper one would be way nicer

do we know how often they sample the audio?
@austere talon I have this but only gets one badge
to generate this
I know
like i said it's not possible with css
Is there a way I can do it without css then?
i love -35791394:-8
Discord Account
xaver106
What happens when the bug or crash occurs?
Instead of displaying only my Discords Display Name, the Plugin shows my Username/Discriminator.
It still grabs my Server Nickname, if I have one, but right now it seems, that basivcally everyone has a Nickname
What is the expected behaviour?
If a user doesn't have a Server Nickname, don't show me ...
shouldn't the check be case insensitive tho
horror
I can't figure it out can anyone help me
hey guys im new here and i just want to code an extension for vencord that displays a image on my screen that i am able to drag around. how do i accomplish this
i just want this sleepy kitty on my screen
Css should do it... Can't help you in-depth but can give you a few pointers
π please do.
are you okay with it sitting in a predetermined space / following ur cursor?
sitting in a predertimned space
because i had oneko.js before and i just took the sprites from github and made a gif
YES I WANT IT
my original version
#π¨-css-snippets message
one improved version #π¨-css-snippets message
you can find many other versions if u just search for oneko in #π¨-css-snippets
Raaah I couldn't find it
yo so is there a tutorial or something for custom themes
it's just css
This modifies the key that is used to store secrets to include the current user ID. This may have issues on first migration if the current user, for instance, is on the wrong account. In this case, running this in DevTools will wipe out the existing secrets and allow a user to reconfigure without erasing their data:
Vencord.Api.DataStore.del("Vencord_cloudSecret");
it's a base64-encoded uint8 bytearray

can someone make a custom css snippet to remove this 
i'm using openasar and that's why it's showing up
i think
that's exactly what they said lmao
bleh
is it possible to recreate theπΏextension but for other emojis
like for the π and π³ and π emoji
There a way to delete a message fully? So it donβt show up still through a persons plugin
incoming debate
No, that's handled locally
on the receiving end's computer
Ah okay ty
hey bros
cd2cbfa ShowHiddenChannels: Fix crashing on canary - Vendicated
introduces window transparency for Windows via Electron's new API. the API is only supported for Windows 11 22H2 and above.
todo:
- [ ] provide a basic transparent theme for users
- [ ] add a way to detect if the user's Windows version is 11 22H2 or above? if not just add a disclaimer
closes #16
you have 6 instances of getCloudUrl().origin. I think you should extract it into a variable
this might technically return undefined in case the user is logged out. Some handling would probably be good. I think just a throw in getAuthorization() should be good enough?
god i really need to look at prs but i have 0 motivation
join me in doing aboslutely nothing for weeks@
breakkkkk
we appreciate you 
Admittedly the alternative of this isn't much cleaner (const cloudUrlOrigin = () => getCloudUrl().origin;) but I suppose it is better in readability.
did you forget variables exist? :P
const { origin } = getCloudUrl();
@austere talon i made it a global cause multiple functions use the origin anyway
so i thought i might as well reuse it if i'm doing it for one
(but yes)
(yes i did)
yeah but i reuse it anyway so why da heck not
also i want to make uhh
proxyLazy but not lazy
well
yes lazy
but not cached
so that i dont have to use function calls for this and i can tidy up the variables a bit
i'll make it later
uh
proxyCall?
just use a getter silly
const Vars = {
get auth() { return "stuff" }
}
variable getters when
propose to escma spec
ecma
yeah but then i have Vars.cloudUrl

that's fine, no?
it is really easy though
so you just want getter for a variable?
yea :3
it'd literally just be like
export function proxyCall<T>(factory: () => T): T {
const proxyDummy: { (): void;[GET_KEY](): T; } = Object.assign(function () { }, {
[GET_KEY]: factory,
});
return new Proxy(proxyDummy, handler) as any;
}
yip
renamed it from GET_KEY to kGET
idk if i like it better
but the _KEY suffix bugged me sooo

https://x.lewisakura.moe/23/07/Code_-_Insiders_2023-07-06_01-10-50.png made it better @austere talon
i dont think ur example works lol
console.log(url.origin)
ur example will log proxy jumpscare
will it
oh wait this is useless then :D
export const cloudUrl = makeGetter(() => new URL(Settings.cloud.url));
const cloudUrlOrigin = makeGetter(() => cloudUrl.origin);
console.log(cloudUrlOrigin);
cause this wont work then will it
yeah it wont lol
grumble
okay well peep the current commit @austere talon
i sleep, me tired and angy
tried to play scp labrat for the past three days with friends only to discover that the saving system causes softlocks since it doesnt reload the game state correctly
so we have to restart from scratch and just do it in one shot
Tell us all about it.
As of now, plugins are pretty poorly documented. Beyond the basic description, you don't get more info / previews, so it's hard for users to understand what they're getting and how to use it
As such, we should add images & extended descriptions to all plugins
My idea is to restructure Vencord so that the structure looks something like so:
src/
plugins/
ViewIcons/
banner.png
index.ts
README.me
- banner.png: will be displayed in pl...
vencord_manifest.edn
i got an email
about your documentation issue
so im writing a response
and then i just clicked the accept button in the email about your suggestion
:3
well
does this not make u cry
not in the email
it makes me cry
what if extended descriptions were just jsdoc 
Variables are a fundamental concept in any programming language. In JavaScript, you can declare variables by using the keywords var, const, or let. In this article, youβll learn why we use variables, how to use them, and the differences between const, let and var. What are variables used for in
THEN USE ONE π
you make me cry boyyyyy π
actually better idea might not be putting readmes in the plugin folders but having a docs/plugins folder with md files named after them
and for the banners uhhh maybe the same thgn or make directories there
hope this helps
i dont like that
i dont like having it decoupled like that
makes it harder to maintain and easy to forget adding docs for new plugins










beruh

