#๐พ-core-development
1 messages ยท Page 67 of 1
@limber skiff this is done right https://github.com/Vendicated/Vencord/issues/1190
nope
huh
it doesnt have that functionality
unless you are talking about the show all channels option
that's a discord thing lol
aight
๐
maybe i should make discord errors not make it fail
wait
i could just ignore the shit one
the one that errors
why is it so slow this time brahhh
it always is
wtf
i restarted
๐ง
yeah this time it was instant
goofy
Puppeteer old Headless deprecation warning:
In the near featureheadless: truewill default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passingheadless: "new"topuppeteer.launch()
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
jumpscare
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
epic
Self-explanatory, to make it more consistent with the way other platforms handle username systems similar to Discord's. Could be added to the client as a toggleable feature, or as a plugin.
[class^=userTagUsernameBase-]::before {
content: "@";
}
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'qye' before initialization ReferenceError: Cannot access 'qye' before initialization
at Module.default (WebpackModule318827:2:50)
at VencordWeb:12:719
at VencordWeb:5:9195
at [vencord.lazy.get] (VencordWeb:5:7558)
at Kr.<computed> [as get] (VencordWeb:5:7969)
at Object.handleProtoChange (VencordWeb:42:20780)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9808:975
at https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9798:847
at n (https://canary.discord.com/assets/0693e5ba729550cf5e34.js:9808:952) ```
how doesnt the web version break with this issue
qye
cause we force load all chunks silly
:P
makes sense lol
if (isDesktop) {
nativeModules.ensureModule("discord_rpc").then(() => require(1829192));
}
oh
Discord Account
deepinyahmum
What happens when the bug or crash occurs?
While streaming with fakenitro plugin discord will crash while scrolling through chats or randomly.
What is the expected behaviour?
To be able to stream in higher quality than standard
How do you recreate this bug or crash?
Begin streaming with fakenitro at 1080p+ scroll through chats. tab in and out if you have to and it will eventually crash you out. "states plugin may of failed try again error" n...
9/10 chance it's oom
Idk how to find the crash report
they attached a screenshot of betterdiscord crash message 
๐
Your screenshot shows that you're using BetterDiscord, not Vencord.
(For things like card bg, scroll bar etc)
BRUH, that is literally BetterDiscord, not vencord.
nooooooo
omg
๐
Nope, its vencord installed on top of better discord.
???

Well then you shouldn't ask for support here, as we do not support BetterDiscord... Not even sure how you installed BD on top of VC....

Using multiple mods at once is not supported.
In any case, you're likely just running out of memory (Discord is capped to 2gb) so nothing that can be done
honestly i had betterdiscord installed first because I didn't know any better
i got vendetta to use account switcher on mobile and was like hmm i wonder if something like this exists on pc
interface SettingsExtended {
relaunchDiscord?: PluginSettingDef;
notifs?: PluginSettingDef;
quickCss?: PluginSettingDef;
toggleQuickCss?: PluginSettingDef;
updater?: PluginSettingDef;
BadgeAPI?: PluginSettingDef;
DevCompanion?: PluginSettingDef;
pluginSettings?: PluginSettingDef;
includedPlugins: string[];
}
const ps = settings.use(["includedPlugins"] as any) as SettingsExtended;
const { includedPlugins = [] } = ps;
is... is this what you wanted me to change all along?
was this it?
no
const settings = definePluginSettings({
stuff: {}
}).withPrivateSettings<{
coolStuff: string;
}>();
sorry i should have been more precise
oh withPrivateSettings! you said withInternalTypes before and i had NO idea what that meant
or rather told u how to fix it
(im still fuzzy on it)
it's okie i could have asked for more clarification
i just thought i could riddle it out
.withPrivateSettings<SomeType>() adds SomeType to your settings definition
const settings = definePluginSettings({
stuff: {}
}).withPrivateSettings<{
includedPlugins?: string[];
}>();
the method does nothing btw xD
withPrivateSettings() {
return this;
}
it's just typescript shenanigans
it's so beautiful
actually im not sure if .use works with privateSettings
i think i only implemented it for store
this works with use
but it's.. unwieldy
yes dont lol
also saves a lot of unecessary stuff in settings :(
currently it's yelling at me but it could def still be my fault
im not sure how to use use with privateSettings... at all
the type parameter is just used to extend settings.store
im still getting
Property 'includedPlugins' does not exist on type 'Pick<SettingsStore<.... when i try to do this part:
const { includedPlugins = [] } = ps;
and the old error of
Conversion of type 'Pick<SettingsStore<{...}> to type '{ includedPlugins: string[]; }' may be a mistake because neither type sufficiently overlaps with the other
hmm
hold on
all g
const settings = definePluginSettings({
someNormalSetting: {
stuff
}
}).withPrivateSettings<{
includedPlugins?: string[];
}>();
const s = settings.use(["includedPlugins", "someNormalSetting"]);
what's easiest for you: should i reopen the old PR or make a new one?
doesnt matter
oki
can you do the same for perm viewer
do what
unsafeViewAsRole
hope it's understandable now?
yee
it just extends your settings definition with the type u give it without adding them to the ui
im eating some icecream rn in celebration lol
chocolate + cherry
odd combo
i was puzzling over how to do that for embarrassingly long time. the largest problem was i couldn't find any other plugin that added anything to the settings object in this way
and all the things i was trying to come up with always resulted in the may be a mistake because neither type sufficiently overlaps with the other error which i was trying to understand and then fix
typescript is a rabbithole
all it really means is that includedPlugins (string[]) wasn't in the DefinedSettings type... and yeah that's where i hit the brick wall
i tried lots of extending things?? but they weren't quite right
this the best way to learn 
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'qye' before initialization ReferenceError: Cannot access 'qye' before initialization
at Module.default (WebpackModule318827:2:50)
at VencordWeb:12:719
at VencordWeb:5:9195
at [vencord.lazy.get] (VencordWeb:5:7558)
at Kr.<computed> [as get] (VencordWeb:5:7969)
at Object.handleProtoChange (VencordWeb:42:20780)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://canary.discord.com/assets/3a665c4b246e696edb16.js:9809:975
at https://canary.discord.com/assets/3a665c4b246e696edb16.js:9799:847
at n (https://canary.discord.com/assets/3a665c4b246e696edb16.js:9809:952) ```
This plugin adds a news ticker to the bottom of the screen with current headlines. You can click them to open their associated articles.
Look mom! I'm famous!
Adds the ability to quick reload discord, toggle css, and check updater tab. Best part is you can add plugin settings to menu using a checkbox dropdown menu.
You get all of the features of the old PR with all of the same things I do not know to fix!
- contributors still become bots
- and checkbox menu scrolls to the top every time you add a new plugin
created something more generic that is used by both updater tab and the updater modal
I'm unable to use camelCase here because later (in line 81) I'm taking the settingsName of Object.entries(settings.store) and pushing them to a list to later be added to the toolbox modal. Thus their name here has to match their plugin name. I could slap a .toLowerCase() maybe but this is simpler.
A similar BD plugin exists: https://betterdiscord.app/plugin/AutoScroll
I don't think this needs much explanation, just clicking the middle mouse button to autoscroll would be nice. Also if this gets implemented, please somehow disable pasting from middle mouse button.
[Vencord/Desktop] branch deleted: tour
[Vencord/Desktop] New tag created: v0.2.1
After long consideration, this is not something we can good-heartedly support
You mustn't replace the shiggy.

Hi! I just implemented this in https://github.com/Vencord/Desktop/commit/f232defd1c3ce2348e3905ccf7d4681bb6d8c083
It will be in the next release (not now)
someone test linux autostart thank
Hi! This is already handled by Vencord itself so there is no need to add it here. thank you anyway
It just uses electron's screenshare api. It either works or doesn't work. If it doesn't work, I won't go an extra mile to somehow fix it as there are multiple other projects that focus on this already
xdg env var now
test @olive aurora
uh
u probably have to package
to test
cause otherwise it needs argv
and i dont add that
uhh
actually i should probably fix that
this is why big corpo doesnt add linux features
?
whats wrong
I would like this plugin to be added too!
@austere talon fix
tbh I was hoping they would fix it but they probably changed their decision, they're still working on a new search ui so I will add it back if it gets fixed at some point
ooo
aur was donw so I slept instead I'll try now
simply not doing it is a real solution
aur is bakc i dont have to bother building myself yippee
[Vencord/Desktop] branch deleted: screenshare
[Vencord/Desktop] New tag created: v0.2.2
screensharing done
sex
yooo
Currently, screenshare is locked to 720p 30fps.
The quality picker UI is already done
The only thing that needs to be done is now making Discord use our desired resolution & fps
i thought screenshare was already there in discord
it is
vencord desktop != discord desktop
sorry i didnt understand
doesnt matter
how are the two different?? can i know ??
vencord has a standalone desktop app
which is different to just having normal discord and injecting vencord
okay does it have any extra features??
no
I FUCKING HATE CIRCULAR IMPORTS SOSOSOSOOSOSOSOSO MUCH
it's really hard to avoid in some cases
@limber skiff this is why i always tell you to avoid circular imports as much as possible
that single import of settingsSync exploded vencord

well we have a shit ton of
if (IS_DESKTOP) {
foo
} else {
bar
}
so it's some of the bar logic
ahh
next decade
i probably won't make cause i find them useless
i'd have to be really bored to add keybinds
Unsure as to what you are referring to. As setting themes on a Non Nitro Account with Fake Nitro works fine, just doesn't appear correctly in settings.
I have tested this, and it seems to work perfectly fine with animated server avatars. It loads the .gif, instead of .webp.
dunno what's up with mine then, video
The only thing I can really think of is that the avatar you're using is a .webp ๐
Have you tried checking other users?
yeah tried other users and everything from gifs to webp, they all show as webp with that button
Quite unusual, mind sending me an invite to somewhere which has the issue so I can test it myself? @friendships
Basically added a few different URL's for the issue. No major changes.
https://github.com/Vendicated/Vencord/issues/1299
Side Note: Quite funny how I added myself to dev's when i only added a couple lines ๐
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Xye' before initialization ReferenceError: Cannot access 'Xye' before initialization
at Module.default (WebpackModule381394:2:50)
at VencordWeb:12:719
at VencordWeb:5:9195
at [vencord.lazy.get] (VencordWeb:5:7558)
at Kr.<computed> [as get] (VencordWeb:5:7969)
at Object.handleProtoChange (VencordWeb:42:20780)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://discord.com/assets/8cf33fbec96b5781a6ec.js:9798:975
at https://discord.com/assets/8cf33fbec96b5781a6ec.js:9788:847
at n (https://discord.com/assets/8cf33fbec96b5781a6ec.js:9798:952) ```
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'nme' before initialization ```
Unsure as to what you are referring to. As setting themes on a Non Nitro Account with Fake Nitro works fine, just doesn't appear correctly in settings.
how does it not appear correctly in settings?
same thing happened to me https://cdn.discordapp.com/emojis/1102371462934962187.webp?size=48&name=pureagony&quality=lossless
Discord Account
rinlovesyou
What happens when the bug or crash occurs?
ServerFolders seems to copy over the top section of the server list, which is for DMs
What is the expected behaviour?
It shouldn't do that
How do you recreate this bug or crash?
- Enable ServerFolders
- See the unexpected behavior
Errors
No response
Request Agreement
- [X] I am usi...
BetterFolders* lol
This plugin improves the sessions (devices) tab in settings:
- Each session gets an os-specific color and a platform-specific icon
- Sessions can be given custom names (indicated with a trailing asterisk)
- Session timestamp labels are replaced with the markdown timestamp component, which displays the exact date on hover
- New sessions get the "NEW" badge, which goes away when settings are closed
Platform icons were obtained from https://fontawesomeicons.com/svg/icons. All icons list...

hi amia
hi
sample screenshot btw
poland ๐
yep
straightest polish person
why is phone just the discord logo
cuz discord app
opposed to browser for example
the green bg already indicates it's mobile
(and also there's no svg of discord logo inside a phone, and im too lazy to figure out how to make one xd)
hm fair, but many people use that to mute themself
its just a faster way than clicking the mute button
why not just use a phone lol
idk it'd look weird if only the discord icon changed to phone icon
while chrome stayed the same for example
it's what the bg color is for
i kinda based it on telegram's
ye i check it every while just in case
shizophrenia
and it's annoying when the sessions are unlabelled so i made this
why not make smth like session notifier instead then
seems more useful probably
shows notif if there are new sessions
cant do that without making requests to the api every while
thats fine probably
true lol
lmao
(its probably all the same device)
meh idk, i don't wanna risk missing some context field again
you can press logout btw, instead of just closing the tab (cuz im assuming you do that)
that'll reduce the sessions spam in there
@austere talon is there any findInReactTree thing because 
there isnt
you shouldnt need it
if you need to go this deeply into children, regex patching the child is probably more appropriate
... then do it in https://github.com/Vendicated/Vencord/blob/main/src/plugins/betterFolders/FolderSideBar.tsx I have no other idea
also this component is used in other places too because it is generic scroller
so i doubt that patching a scroller for a single thing is good idea
what r u doing
A button to get a history of removed friends/servers/group chats/cancelled requests, preferably saved locally in the Vencord directory.
^^^^
line 39
oh it moved deeper
and it is called only one time anyway so that's why findInReactTree would be better than patching scroller
lol
well maybe not one time
but rarely
yes but the children are passed from the parent
so you could patch the parent to modify the children there
fix it for now you can change it later
lol
@agile gull loves
urzฤ dzeล
cloud loves
why are u german
oracle vps
wireguard on oracle 
horror
why did you censor
why do u use it lmao
cause it was my city bleh
ublin

@austere talon
it is just that one line guhh
cloud insane
im very sane
ik but the names are long in some places and some get cut off
never noticed that
have you seen the server boosts tab
tbh i have polish cuz its the default 
the beta badge is usually cut off too but i can't find any place with it rn
oh yeah lol. i have not
@austere talon guh
eh this is only slightly slimmer
english one
warum nicht?
also things like the translation for "embed" 
technically correct
how else would you call it tho

Link, Einbettung oder Datei
a bunch of things are too long too
yeah true tbh
i love myself some "requests regarding messages"
lol
it's the same in german
multiple overflows
ven click mergee
echt
i just realized this needs a + 1 cuz discord doesn't include your own id in dm recipients https://github.com/Vendicated/Vencord/blob/main/src/plugins/mutualGroupDMs.tsx#L81
i don't want to make a new pr for 2 characters so im just gonna leave this here in case ven is ever bored xd
some people just wanna watch the world burn
whar
searching for exactly that. like it was with betterdiscord - https://betterdiscord.app/plugin/NotificationSounds
[Vendicated/Vencord] Issue opened: #1328 [Feature Request] Fake Nitro - Use server emotes by default
Discord Account
sekwah.
What is it that you'd like to see?
Currently the sorting order for emotes seems to favor lower-case emotes over UPPER-CASE emotes. So for example, if you're in several servers but one of them has a :lul: emote, while all the others have :LUL: emote, it will prioritize the :lul: one over the server correct one.
This causes a problem with compound messages since it adds the link after them, and it looks a bit weird to non-vencord users. By prioritizing serv...
wrong chat
QuickSuppression
Be able to suppress your noise faster!
What does it do?
- When clicking on the noise suppression button in the bottom left in a vc or group call, it immediately turns it off/on instead of showing the menu to do so.
- (Extra) When you Ctrl+click it, it instead opens the menu like normal.
 output, for some info you might need:
Text Version, less pretty but more easy to copy:
aki@Barbara
/๐ฆ๐ฆ๐ฆ$ /๐ฆ/๐ฆ /๐ฆ...
5a0e501 Fix ValidUser, BetterFolders & MutualGroupDms - Vendicated
what the fuck is this
I don't understand this feature request. The plugin does not care about casing or anything, it just uses whatever emote you pick
GitHub
Co-authored-by: Juby210 31005896+Juby210@users.noreply.github.com
Co-authored-by: Amia 9750071+aamiaa@users.noreply.github.com
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'nme' before initialization ```
ty
:3
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'rme' before initialization ```
fix pinned dms when
?
ignore the chat
but
if u have a pinned dm
then close all other normal dms
it does that
okay dont do that then
wdym safe lmao
from the horrors 
whats the policy on submodules
elaborate :p
if i want to add a submodule for a plugin im making can i just do it inside the plugin folder or is this not possible rn
you mean a dependency?
git submodule
what for
basically im trying to port an old plugin of mine to vencord: https://github.com/splatterxl/cc-plugins/tree/main/emoji-switcher and it does rely on spritesheets that i can source from another repo
actually hang on i didnt think this out at all
i can just link directly to the images
dont mind me :p
switches all emoji in the client to microsoft fluent
why not just use css
needs to override twemoji
What..
the plugin ๐จ
oh should i have put the plugin into the place vencordinstaller cloned it to
nop
no way its literally just pnpm inject im so stupit
*you're too lazy to read the readmes
(except its not because it doesnt inject)
- nothing in contributing + nothing in megu plugin guide
what
obviously i did that since i read the plugin guide
but i did unfortunately skip the installing guide โน๏ธ
you know how some bots have "purge" or "clear" make a / command for like deleting ur messages for example "/clear 10" and it clears 10 of ur most recent messages and make a limit of like 100 or 500 so people don't crash their computers
don't crash their computers deleting discord messages
i hate banning people but accidentally deleting their messages lol
i swear guys they were being an asshole. i just accidentally deleted the evidence
Tried on Wayland, does not work. This is basically a "won't fix" type of deal so Wayland users are taking another L today. May god bless pipewire screensharing.
what r u talking about
like when you ban somebody from a discord server it gives you an option to delete all their messages from the past hour/day/etc.
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'rme' before initialization ```
Bad Patches
None
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'ime' before initialization ```
doesnt work how?
I press the button to start a screen share (the little monitor with arrow symbol), Vencord Desktop instantly crashes and closes completely.
Same thing happens when I try to do the same on Armcord btw.
seems to be an electron bug: https://github.com/electron/electron/issues/36660
This is supposedly fixed in electron 23. Would you be able to test? To do so, you would have to clone the repo, manually update the electron npm dependency to 23, then pnpm start
wait wtf electron 25 is the latest stable now
i will see if we can update to 25 tmrw
electron 100 to release in 2024
22 was latest stable not too long ago
now 25
what are they smoking with their release schedule
almost as frequent updates as vencord ๐ฅ
Lol
seems to be an electron 22 bug: https://github.com/electron/electron/issues/36660
This is supposedly fixed in electron 23. Would you be able to test? To do so, you would have to clone the repo, manually update the electron npm dependency to 23, then
pnpm start
Interesting. Yes, I can definetly test that c: Programmer and passionate Nerd, so no problem.
Expect me to send a message about it in like 12 hours, since I just laid down with my blahaj for bed time.
did discor murder embed author image or something
yeah apparently
**package.json: **Line 36
"electron": "^23.2.0",
Beginning in September 2021, Electron will release a new major stable version every 8 weeks.
- https://www.electronjs.org/blog/8-week-cadence
goodness sake they are insane
i guess their logic makes sense because chrome has an 8 week extended release schedule and they want to keep up with that
but dang, that release schedule is crazy, no wonder everyone falls behind on their electron versions so quickly
electron 15 was only two years ago
yeah makes sense
For the show all buttons plugin, could it be updated so that you don't have to hold shift to delete messages
Discord Account
alexiaya
What happens when the bug or crash occurs?
"You are no longer friends with pomelouser#0000."
What is the expected behaviour?
"You are no longer friends with pomelouser."
How do you recreate this bug or crash?
- Enable RelationshipNotifier
- Have someone who has a Pomelo (discriminatorless) username remove you as a friend, cancel their friend request, etc.
Errors
N/A
Request Agreement
- [X] I am using Discord Stable or tried on Sta...
i can't tell if its intended behaviour or not, but the description of the plugin is as follows:
Disables the taskbar and system tray unread count badge.
however, it also disables the system/taskbar mention badge - which is actually kinda useful - is it possible to have a setting so the unread badge (the big O with a red outline) is to be disabled, whilst maintaining the mention badges?
whar
I think you can turn it off already.
I am wondering if this is a big because I can't join a VC to chat so I have to join on a different discord client. Any help?
oh it's android
not a thing on the mobile website. use the normal discord app
there are multiple other projects that focus on this already
Well, yes, you are right but I think I speak for the most of us when I say that most people aren't a big fan of having another Discord client open just to screenshare properly.
[Vencord/Desktop] New tag created: v0.2.3
I think the development was stopped before it could be released :(
Sadly, it was a promising project
Bumped electron to 25 in v0.2.3
It works fine as it is. I think the problem is rather the review process. Since Vencord has every plugin built in, and no way to add them manually, everything needs to be reviewed thoroughly before it gets added to the project. And this is a HUGE plugin(s) to review.
Not sure why it was closed. Maybe they didn't like something. Maybe they didn't want to bother reviewing it.
But it works. I'm using philhk's fork now. Ofc that means I won't get any other updates, but right now it does every...
^ someone test this on mac and linux thanks
i have mac what is it 
notification badge
oh for the client?
i use the browser ;-;
can i still or not? sry btw
Just did a fresh install with 0.2.3, but no luck. Exactly the same behaviour.
d7ac418 Fix some plugins displaying legacy discriminato... - Vendicated
You're passing the proper command line flags, right?
discord --ozone-platform-hint=auto --enable-webrtc-pipewire-capturer
they're not here ๐
users have a user.isPomelo() method btw
(except it doesn't work for the official discord account and clyde cause Discordโข๏ธ)
its the same as our check lmao
i didnt know that
but also dont care to change now
oh
surprised they have an .isPomelo() but not a .getUniqueName()
woah almost like vee made vencord,,,...

did they?
sry im dumb and new
no
oh
vee did not make vencord 
hi hru
whats that
general ๐ญ
beef made vencord
i eated it
https://github.com/electron/electron/pull/38833
Here's the fix everybody is waiting for
Hello, I would like to develop my own plugin, I have already implemented it on the full version of Vencord and I would also like to implement it here, however I can't find which file or folder contains the plugins, I looked through all the source code and couldn't find a match, help is very appreciated.
horror
is bro serious right meow?
it just uses normal vencord, nothing special. Open Desktop settings and sxro down to load a custom build of vencord
wasn't this already supposed to be fixed @devout river i could have sworn one of the more recent electrons fixed it
@devout river (cause first ping didn't work lmao)
also crazy how fast electron moves, you should probably bump armcord to 25 (it has native global.fetch ๐ฅ)
it was "fixed" like 3 times already
it just keeps breaking and breaking
lmao
not even mentioning webrtc crashing in voice chats
somehow I've been having more issues on xorg than wayland but i also cant be bothered to go back
ArmCord as a pioneer fixing desktop client on Linux is exclusively developed on Windows
it's bumped btw!!!
global keybinds also coming
oh cool
also if you find a way to unlock the custom keybind maker on web let me know
lovely
armcord is so limited cause it doesn't ship with a mod by default
that's one of the reasons i made vencord desktop, it's way nicer to have control over everything
and vencord is default in the picker
oh, you can't go vanilla anymore?
nope
too much whining about so I removed express
Well you can disable all mods
I basically have 3 choices:
- Have a preferred mod and have like shelter as more of a fun addition than real deal
- Write a mini mod to handle shit like this, too much work will probably break
- Do nothing lol
yeah
even with minimod it wouldn't be that mini
cause you can't just monkey patch regularly, you need to patch webpack if i'm not mistaken
as exports are all non writable getters
Clear the Message Log History for a whole channel/user/gdm with one click.
this doesn't rerender messages so edits will not properly be removed, no?
shouldn't this be
if (!toDelete.length && !toClearEditHistory.length) return;
const patchChannelContextMenu: NavContextMenuPatchCallback = (children, { channel }) => () => {
yes, you have to hover it to rerender
Ah.. I think it updates when the message is hovered, but I basically just copied what the message CTX Menu does
yes, but that one is fine because it will always rerender the message after you close the context menu
not the same for the normal chat
c35523ac343208947842b52a23ff087b60e859bc
hoi
@half shell unfortunately we haven't found a good way to update messages
๐ฅด
oh fuck
Can't we just dispatch the message edit event
hm
no
just put a string patch onto the root component and allow updating
yes i considered that
patch the root and add a force updater state
but making an entire api plugin just to rerender messages would be kinda 
no
it breaks attachments and iirc it doesnt even work reliably
yep

ComponentUpdater.updateMessage and add stuff as you need
Best project ever
@Vendicated
No i wasnt, but i tried anyways now:
aki@Barbara:~$ vencorddesktop --ozone-platform-hint=auto --enable-webrtc-pipewire-capturer
[arRPC > bridge] listening on 1337
[96663:0624/020906.452675:ERROR:browser_main_loop.cc(274)] Gdk: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
[arRPC > ipc] not available, trying again (attempt 1)
[arRPC > ipc] listening at /run/user/1000/discord-ipc-1
[arRPC > websocket] 6463 in use!...
Bad Patches
IgnoreActivities (had no effect):
ID: 635622
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'p_e' before initialization ```
Bad Patches
IgnoreActivities (had no effect):
ID: 26781
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'h_e' before initialization ```
by "enable the "DevCompanion" plugin" is that a plugin in vencord?
cause im a little lost here
hmm
i dont see it
oh
I guess I am looking for instructions to run a dev build in the first place
lol
ahh
oki
thx
hmm
seems like when i try to inject it just removes it
also this
maybe im missing a step
cause with the --watch it is waiting for somthing but idk what, XD
I'm sorry for being a bit slow here lol, never mess with any web/ts stuff
it builds
so then i close the watch
and inject
but still just does not install anything

yah

cant believe ytou face revealed bono in that vid
also for furture reference u can use the flux field on the plugin class insteado f messing with dispatcher manually
itll unsub for u
@3941 I don't want to break away from the official version.
$ sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"~
Downloading Installer...
X11 detected
Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> yes
sh: -c: line 53: syntax error: unexpected end of file
No matter what I put as an input I get the same error ... I tried with :
Y-> uppercasey-> lowercaseyesno...
look at the last character in the first line of the codeblock u posted
ok ... I'm stoopid ... sorry ...
lmao, happens to the best of us don't worry
can u rebase and see if that works for your case @half shell
what other plugins had issues with updating messages?
yeah
5d1d054 MessageLinkEmbeds: Use api - Vendicated
Status avatar plugin
- plugin will change profile picture\avatar when status(online, dnd, idle, invis) changes
- it changes pfpf\avatar when status changes
- didn't see any

lol what
why in the world would you want this + not possible due to incredible rate limits on avatar changing

Shhh
I totally didn't do that by accident
lol whos bono
well, some people do make day/night wallpaper, i think it's similar thing, for rate limits there can be cooldown, it's not like you change your status every minute
guh electron 25 borked devtools https://github.com/electron/electron/issues/38790

Doesn't seem to work... It finds the forceUpdater alright and calls it, but doesn't update
huh
Added these debugs
that's what shows on the right
so it does fetch the function to forceUpdate correctly, and calls it, but it just doesn't render
idk
Plugin that makes a custom slash command called ip which gets info about a url you send just like ip plugin in aliucord
https://github.com/scrazzz/AliucordPlugins/blob/main/Ip/src/main/java/com/scruzism/plugins/Ip.kt
look in resources
oops
so i had normal vencord
then tried to inject a dev build
and then vencord seems to not load
and these are literally the only 2 files i edited/added
does dev build load without those changes? also check console maybe its just erroring and it did load
what can I use to send message from user not bot?
i feel like this is jumping through a bit of a hoop and someone could probably help better but I would check if resources/app.asar/index.js is in fact pointing to your dev build
it was this
invalid url
mhm
finished the plugin just need to make system where it will send message to the channel that everyone can see
anyway for my websockets i just copied the connection from arrpc
ill look at that! thx
this how it should look but it won't send the message for some reason
{
"URL":"google.com",
"IP":"108.177.14.102",
"IPv4/IPv6":"IPv4",
"Organization":"Google LLC",
"Service Provider":"Google LLC",
"Continent":"United States",
"Country Capital":"Washington D.C.",
"City":"Mountain View",
"Region":"California",
"CountryPhone":"+1",
"Timezone":"America/Los_Angeles",
"Currency":"US Dollar"
}
are u trying tio send an embed as a user lmao
i made it send embed as ephemeral message
But sending it as user not the embed but the json is not working
How are u sending the message?
sendBotMessage
im sending it as clyde ephemeral message
I don't know how to send it as user
like with Tags thingy
look at any plguin that sends a normal message
Try just returning the message object
like js return sendBotMessage({ content: "Hello, World!" })
to js return { content: "Hello, World!" }
Inside the execute function
For the cmd
doesn't work for me
Send the code
Plugin Name - IP
Plugin Description - Get details about IPv4/IPv6 address or a domain name.
What it does? Gets info about the address using slash command
Example: /ip query:google.com
I had if check it just ended the slash command without any response
5 billion people will come and ask if its ip grabber
ofc
I'm sure you can come up with a better name
nah
this is kinda useless, why would anyone ever need this info as a discord command?
To check suspicious links you know the people that install discord right? the nitro scams and etc
whar
???
That makes no sense. You should just check such link with something like virustotal / google safe browsing
Not a lot of people want to do that steps and I made this plugin because yes
the next step is to make a /google command
And that's good idea to make it work with virustotal api

Anyone know where I can get the info on if a message is supposed to send a notification. Ig a mute store of channels and users muted.
that makes no sense
what is the ip address of a domain gonna do for u
"ooooh thats 151.210.68.20 i shouldnt click that"
??
How would checking the domain's ip help identify scams? They use the same hosting providers as normal sites, and the ips are often proxied too.
A virustotal integration seems pointless as well since you can just use a normal antivirus at this point.
can you set a dns record to localhost 
lol
i mean ik vt is useful but why have it in vencord if you can just download an antivirus which applies it to your whole pc
ik
antiviruses are stupd
antiviruses protect you from malicious websites too
at least some
malwarebytes does iirc
fire
Imagine if people actually read what shows on-screen
oh that could work i guess
closing as this isn't useful. If someone really needs this for some reason, you can still just add a text replace rule that replaces smth like ip: with http://ip-api.com/line/:
ip:130.61.130.176 -> http://ip-api.com/line/130.61.130.176
tho i think most websites flagged on vt would already be on discord's block list
at least the ones spread on the platform
nuh uh
discords block list sucks

does discord even block domains lol
yes
if you find a phishing site spread on discord feel free to dm me it and I'll get it flagged
try sending steamcommunity.com with the first m replaced with an n
why
waste of time
real
do you know of fishfish?
back when the steam scams went rampant, we wrote a pretty decent scam detector bot for aliucord
nuh uh
I'll dm you
Hm, it looks like that file might've been a virus. Instead of cooking up trouble, try cooking up a Slow-Cooked Pulled Pork Sliders: https://www.foodnetwork.com/recipes/food-network-kitchens/slow-cooker-pulled-pork-sandwiches-recipe.html

u love that it takes like 10 seconds for them to edit it
h-hewwo. in my opinyion it is an impwovement! uwu
Hm, it looks like that file might've been a virus. Instead of cooking up trouble, try cooking up a Spicy Italian Meatball: https://www.foodnetwork.com/recipes/ree-drummond/spicy-italian-meatballs.html
you love
lmao the eicar test file gets marked as a virus
upload a file with X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
its supposed to
funny how its came up like 4 seperate times because of people liek that
I uploaded an entire metasploit reverse shell here lmao
and /chatgpt
why?
you're not supposed to test in production smh
bee
๐
it exists on both
yes :P
you're talking about suggestions?
yes they are not implemented
possibly
:o
Hai
Hey, I'm trying to port a better discord plugin rn and I'm a bit stuck. They use some webpack stuff I don't they we have here or maybe I am confused.
const MuteStore = WebpackModules.getByProps("isSuppressEveryoneEnabled");
const isMentioned = WebpackModules.getByProps("isRawMessageMentioned");
This is the function I am trying to replicate (https://github.com/Eidenz/XSOverlay-BetterDiscord/blob/main/XSOverlay.plugin.js#L318), its to check if the user as muted the channel that the message is from. I was just wondering if anyone had some sugestions on how I should go about doing this?
second one is kill
its likely this
it seems painful
idk how discord does it
electron's api for it sucks and only gives u suggestions in the context-menu event
but the context-menu event is never fired, likely because discord is calling event.preventDefault()
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { ChannelStore, FluxDispatcher, UserStore } from "@webpack/common";
import { Webpack } from "Vencord";
const MuteStore = Webpack.findByProps("isSuppressEveryoneEnabled");
export default definePlugin({
name: "XSOverlay",
description: "Sends notifications to XSOverlay to be easier to see in VR",
authors: [Devs.Penny],
start() {
FluxDispatcher.subscribe("MESSAGE_CREATE", onMessage);
},
stop() {
FluxDispatcher.unsubscribe("MESSAGE_CREATE", onMessage);
}
});
function onMessage({ message }) {
var finalString = message.content;
const author = UserStore.getUser(message.author.id);
const channel = ChannelStore.getChannel(message.channel_id);
// if (!supposedToNotify(message, channel)) return;
console.log(author + ": " + finalString);
}
thats everything ive got so far
- findByProps
+ findByPropsLazy
Bad Patches
IgnoreActivities (had no effect):
ID: 635622
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'p_e' before initialization ```
also instead of manually subscribing, you'll want
definePlugin({
flux: {
MESSAGE_CREATE({ message }) {
your logic goes here
}
}
}
it auto manages it for u
my home is farrrr in .net land XD

plugins load wayy before discord so you cannot do webpack search on top level
hence ^
ah, so the lazy just waits till plugins are fully loaded to seach?
it searches first time u use it
oki
Bad Patches
IgnoreActivities (had no effect):
ID: 26781
Match: /(?<=\(\)\.badgeContainer.+?([A-Za-z_$][\w$]*)\.name}\):null)/
Bad Starts
None
Discord Errors
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'h_e' before initialization ```
well for the second one that is gone I can just do this http://zip.penny.moe/u/xoCdw1.png

Seems to work now, so it will only send to the overlay if its a message that would send a notification
!!Ve(n)
I DID IT
@main trout
this is so hacky tho lmao
basically
the hacky bit is mixing codebase of vencord and vencord desktop
i don't really like that
optimally i would want this patch in the vencord desktop codebase but thats slightly problematic
wait maybe not
lemme see mmm
i have a question
nice
By chance, is Vencord used because there is a ban on the discord account?
@main trout
bananya
almost done
and i even isolated the code to only vencord desktop
its slightly weird but we ball
๐โโ๏ธ
ven I love you
:3
oh yeah i should have probably tested the unread badge on linux & mac
too late now 
0.2.4












