#๐พ-core-development
1 messages ยท Page 61 of 1
it's an rtf
before i pr i gotta figure out how to fix ven becoming bot b/c of
#๐ฅ-vencord-support-๐ฅ message
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 Fr.<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;
Cannot access 'Gfe' before initialization ReferenceError: Cannot access 'Gfe' before initialization
at Module.default (WebpackModule248059:2:50)
at VencordWeb:12:719
at VencordWeb:5:8972
at [vencord.lazy.get] (VencordWeb:5:7335)
at Fr.<computed> [as get] (VencordWeb:5:7746)
at Object.handleProtoChange (VencordWeb:33:23399)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://canary.discord.com/assets/026c4d7b83afc326dc96.js:9384:278
at https://canary.discord.com/assets/026c4d7b83afc326dc96.js:9374:270
at n (https://canary.discord.com/assets/026c4d7b83afc326dc96.js:9384:255) ```
who was working on global keybinds for vencord desktop again
@sour drum ping ping
how did it go? + please pr ur progress for tracking purposes :P
if vencord toolbox had this as its settings would you be good w textreplace being an option? @austere talon ping pong
it's super easy to add 
no
.
oh i thought your comment was referring to a settings menu like the one i made ;-;
i thought this was similar to ^
Instead, there should be an easy way to add a custom list of plugins
could you explain what's different, or more specifically what you're looking for?
probably he means a dropdown menu similar to this
oh it's done
<Menu.MenuGroup label="Plugin Settings">
<Menu.MenuItem
id="aaaaa"
label="TextReplace"
/>
<Menu.MenuItem
id="aaaaaa"
label="MessageLogger"
/>
<Menu.MenuItem
id="aaaaaaaaaaaaa"
label="Add or Remove plugins"
>
{Object.values(Vencord.Plugins.plugins).filter(p => p.options).map(p => (
<Menu.MenuCheckboxItem
label={p.name}
id={p.name}
key={p.name}
checked={false}
/>
))}
</Menu.MenuItem>
</Menu.MenuGroup>
finish it urself

oki
you could also make the Add/Remove plugin a setting instead
basically the nested menu is for configuring what plugins are shown
yee
i was gonna say
is it fine to keep using p.options? my linter says it's depreciated
gotcha
it's to exclude plugins that have no options
as including those would be kinda pointless
gotcha gotcha
Discord Account
coburn64#2551
What is it that you'd like to see?
Hi there!
Thank you for making Vencord a great quality of life improvement for Discord. Vanilla Discord sucks a big one and with OpenAsar, it really feels snappy and faster than ever before. I migrated from BetterDiscord a while ago and haven't looked back.
I was wondering if I could request a feature/improvement that allows one to only allow keybinds per game/program. You see, for Modern Warfare 2 (the 2022 reb...
Discord Account
Giggles#9341
What is it that you'd like to see?
Currently you can only disable the plugin for a server by right clicking their icon and doing it from the dropdown menu ONLY if that server has onboarding enabled. Would be pretty cool if that were to change.
Request Agreement
- [X] This is not a plugin request
is there a js command for reloading discord
ye
define reload
just the page or the entire client
?
equivalent to ctrl+r
location.reload()

tyty
location.relaunch()?
oki!
I started working on it when I was severely sleep deprived, and therefore didn't realize that Global keybinds meant the keybinds in the app settings. So my progress in that regard is 0.
I just woke up and it's 9pm 
does anyone in this server have a normal sleep schedule lol
No.
[Reply to:](#๐พ-core-development message) does anyone in this server have a normal sleep schedule lol
it does
how do you expect vencord to use it if it didn't set cors lmao
**main.go: **Lines 143-145
app.Use(cors.New(cors.Config{
ExposeHeaders: "ETag",
}))
etag real
small problem w/ toolbox actions... they can't be added to ts files
change to .tsx
i can just.. do that?
no repercussions?
tho im not sure if ven wanted me to add in all their toolbox actions from toolbox plugin
that might make more sense im not sure
that's not what repercussions means lol
yes i gathered it should be a tsx file
i was confused if there'd be negative side effects from just converting a ts file to a tsx file
i said "no _" and then you disagreed with me saying "no"
so...
F pingOnReply + T pingListed + T isListed = T ping
F pingOnReply + T pingListed + F isListed = F ping
F pingOnReply + F pingListed + T isListed = F ping
F pingOnReply + F pingListed + F isListed = T ping (same as NoReplyMention)
no? its persistent already
the default configuration is persistent
it has been for a long time
although i have looked up the defaults and they're quite bad
so ill edit them
yeah its definitely saving
that was about an hour ago
i think
oh
32 minutes ago
the default save setup is 3600 1 300 100 60 10000
which is save every hour if 1 write has been made, save in 5 minutes if 100 writes have been made, and save in 1 minute if 10000 writes have been made
but i'll probably just make it 300 1
so save every 5 minutes
300 1 60 10
also i swear there was a justification i had for making cors global
i dont remember
mm.. should be okay
ill testdeploy it
seems to be okay
i guess my reasoning is no longer valid
If it works in X11, then it's probably some XWayland issue, that's if the app only runs with X11 idk
the
is this good?
i saved some space by doing false && at a different location
yeah, i didn't hide that bit
just the bit that shows the connections that are already visible
well idk, feel free to test just in case!
i didn't intend to remove the "Apps" section
well i wasn't aware of it until i looked at the code
your match seems too specific
It can easily break
in other news reviewdb has pagination now
nice
it was surprisingly easy to add
a minute ago it was not specific enough :P
wdym
here
how
gotta find the goldilocks sweet spot
i need to short-circuit the thingy :P
I would do it like this
match: \.length>0&&(?=.{0,200}\.Messages\.CONNECTIONS)
replace: $&false&&
@lime stone
that means it's computed though?
everday I'm shufflin
wdym?
the simple popout isnt quite working @austere talon
if you do longAndPainfulTask() && false then longAndPainfulTask will run, right?
it worked at first when I clicked your profile, now it doesnt
yeah but It's just a simple expression lol
yeah apparently if you click it a second time
or just spam click
yee
it's a long and painful task
i guess it probably isn't lol
it just annoys me that it runs
in the other hand your patch is faster 
and if it breaks the plugin won't
huh?
it'll just behave like it does currently
your other patch would too anyways
wdym?
if one patch fails does it skip the rest?
no
yeah, so if the introduced patch breaks, the plugin will still mostly work
yes
I'm just saying your other version of the same patch would behave the same in that matter
It's not that likely
but it's more than a simple match since yours is matching a lot of specific things in concurrence
ive reloaded 3x
;-;
i also tried Vencord.Plugins.isPluginEnabled(Vencord.Settings.plugins.NoDevtoolsWarning)
tho i am unsure the difference
vfaq css
1. How do I install Vencord? (installation, install, download)
2. Vencord isn't working! :( (broken, not working, reinstall, update)
3. Can I use this on the web version of Discord? (browser, web, firefox, chrome, extension, userscript)
4. Is there a mobile version of Vencord? (android, ios, mobile, phone)
5. How do I install BetterDiscord / Replugged / [insert other mod here] plugins? (betterdiscord, replugged, powercord, shelter, plugins, bd, rp)
6. Will I get banned for using Vencord? Will plugin X get me banned? (tos, banned, terms of service)
7. How do I migrate my Vencord Settings from Canary to Stable (or vice versa)? (settings, migrate)
8. When joining voice channels, I get "RTC Connecting" (vc)
9. My themes broke and now I can't open settings or disable them (themes, broken themes, themefix)
10. Why do I get logged out after opening DevTools? (nodevtoolswarning, hidetoken)
vfaq themes
open the dev tools with CTRL + Shift + i and click on the "console" tab at the top. Then paste and run (with enter) the following code.
It will
- disable custom css (you can turn it back on in Vencord Settings)
- copy your current theme links to your clipboard as a backup
- remove all themes
(() => {
Vencord.Settings.useQuickCss = false
copy(Vencord.Settings.themeLinks.join("\n"))
Vencord.Settings.themeLinks = []
})()
use this instead
it's cuz you are using it wrong
yeah
i meant like i tried
Vencord.Settings.plugins.NoDevtoolsWarning.isEnabled and when i was hovering over it it doesn't show the properties
there's no enabled
so i switched gears
any of them is fine
i never looked here
required and dependencies get their setting set to enabled anyways
what's the difference between Vencord.Settings.plugins and Vencord.Plugins.plugins
Settings is for the settings json
Plugins is the "plugin manager"
ah
just noticed the double settings in Vencord.Settings.plugins.Settings
so many settings
Vencord [Settings json] [plugins] [settings plugin]
imma spend the rest of my life configuring vencord it's great
(you're not alone)
Everybody is going insane, just at varying rates.
๐ญ
please don't say i have to reimplement discord's default banner colour thingy
i'm basically trying to implement #๐จ-css-snippets message
as an option in FakeProfileThemes to use accent colour as fallback
(it can't be fully done with css and has some bugs)
turns out they use a hook
i can't use a hook outside of a component
basically the banner colour thing is undefined if the user didn't set it
and working out the default is client-sided
so seems they get this list then use the first item as the banner colour
but the avatar needs to be loaded
which takes time
you can just get the computed style of the banner
this code is being run from getUserProfile
ignore my suggestion I did not read what you said
okey
as someone who can't read i understand
yeah... the snippet looks very... off
i guess there could be a component-level patch
but you'd need to avoid... recomputing it all the time
took me too long but turns out discord has a virtual property named primaryColor
well virtual in the sense that it's not really a property :p
it looks more like a function disguised using js magick
thoughts on me adding a toolbox option to export settings and disable all plugins
is that useful
title: How do I install BetterDiscord / Replugged / [insert other mod here] plugins?
this faq is slightly misleading because this only covers hard crashes, not plugin related crashes
like a panic button
basically yeah
@spark cove rate
const settings = definePluginSettings({
foo: {
type: OptionType.STRING,
// ...
}
}).withPrivateSettings<{
someInternalState?: boolean;
}>();
settings.foo = "bar"
settings.someInternalState = false;
basically just adds additional types to the store so you can store internal stuff in settings without type errors
oo this is real
for non-ui settings
for example reviewdb
i likey
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 Fr.<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;
Cannot access 'Gfe' before initialization ReferenceError: Cannot access 'Gfe' before initialization
at Module.default (WebpackModule248059:2:50)
at VencordWeb:12:719
at VencordWeb:5:8972
at [vencord.lazy.get] (VencordWeb:5:7335)
at Fr.<computed> [as get] (VencordWeb:5:7746)
at Object.handleProtoChange (VencordWeb:33:23399)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://canary.discord.com/assets/62a53916b0284c7cf993.js:9384:324
at https://canary.discord.com/assets/62a53916b0284c7cf993.js:9374:270
at n (https://canary.discord.com/assets/62a53916b0284c7cf993.js:9384:301) ```

Had someone tell me I fell off ooh I needed that
Discord Account
No response
What happens when the bug or crash occurs?
I cannot send encrypted messages whatsoever. The button is added to the message box, clicking it opens the modal, and I can type in it, but pressing "Send" does nothing - it does not close the modal, and it does not send a message.
I am using the Vencord extension for Firefox from mozilla.org. Unsure if it happens with other platforms.
What is the expected behaviour?
I expect the plugin to send a messag...
Well nothing happens when I try to open discord after patching literally nothing.
use our support channel
out of scope, but discord-screenaudio are working on this themselves
ven, i don't know how these checkboxes work

the only example i can find is in welcomestickerpicker
and ive tweaked it to get it working
but for some reason when i match the code in vencordtoolbox when i click on the icon it vanishes and throws an "invalid hook call" error
trolled
Code for VencordToolbox
function VencordPopout(onClose: () => void) {
const ps = settings.use(["includedPlugins"] as any) as unknown as { includedPlugins: string[]; };
const { includedPlugins = [] } = ps;
return (
{settings.store.PluginSettings &&
<Menu.MenuGroup label="Plugin Settings">
<Menu.MenuItem
id="vc-toolbox-plugins"
label="Add or Remove Plugins">
{Object.values(Vencord.Plugins.plugins).filter(p => p.options && Vencord.Plugins.isPluginEnabled(p.name)).map(plugin => {
const checked = includedPlugins.some(p => p === plugin.name)
return (
<Menu.MenuCheckboxItem
key={"vc-toolbox-key-" + plugin.name}
id={"vc-toolbox-" + plugin.name}
label={plugin.name}
checked={checked}
action={() => {
ps.includedPlugins = checked
? includedPlugins.filter(p => p !== plugin.name)
: [...includedPlugins, plugin.name];
}}
/>
);
})}
</Menu.MenuItem>
</Menu.MenuGroup>}
</Menu.Menu>
);
}
Code for StickerPicker
function GreetMenu({ stickers, channel, message }: { stickers: Sticker[], message: Message, channel: Channel; }) {
const ps = settings.use(["multiGreetChoices"] as any) as unknown as { multiGreetChoices: string[]; };
const { multiGreetChoices = [] } = ps;
return (
<Menu.Menu
navId="greet-sticker-picker"
onClose={() => FluxDispatcher.dispatch({ type: "CONTEXT_MENU_CLOSE" })}
aria-label="Greet Sticker Picker"
>
{!settings.store.unholyMultiGreetEnabled ? null : (
<>
<Menu.MenuSeparator />
<Menu.MenuItem
label="Unholy Multi-Greet"
id="unholy-multi-greet"
>
{stickers.map(sticker => {
const checked = multiGreetChoices.some(s => s === sticker.id);
return (
<Menu.MenuCheckboxItem
key={sticker.id}
id={"multi-greet-" + sticker.id}
label={sticker.description.split(" ")[0]}
checked={checked}
action={() => {
ps.multiGreetChoices = checked
? multiGreetChoices.filter(s => s !== sticker.id)
: [...multiGreetChoices, sticker.id];
}}
/>
);
})}
<Menu.MenuSeparator />
</>
)}
</Menu.Menu>
);
}
spot the difference ๐ฅฒ
const ps = settings.use(["includedPlugins"] as any) as unknown as { includedPlugins: string[]; };
const { includedPlugins = [] } = ps;
this is where it's crashing in the debugger
but it works fine in stickerpicker
if i change it to be this instead:
const ps = { includedPlugins: [] as string[] };
const { includedPlugins = [] } = ps;
it doesn't close but the checkboxes still don't work
settings.use([])
what
what the hell is settings.use
yeah that's a thing
defineSettings my beloved
hmm.
**welcomeStickerPicker.tsx: **Lines 76-77
const s = settings.use(["greetMode", "multiGreetChoices"] as any) as { greetMode: GreetMode, multiGreetChoices: string[]; };
const { greetMode, multiGreetChoices = [] } = s;
i just removed greetMode for purposes of this test
and it works!
everything about stickerpicker works
why do you need the as any/as unknown?
everything about toolbox breaks
good question, linter yells
hm i actually forgot i changed that tho
but idk if it's the difference
cuz stickerpicker works with as any/as unknown
may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
i also am not sure how to understand the debugger
it sort of steps through a bunch of minified code
and i cant make heads or tails of it
;-;
ah ha
okay interestingly although my code has changed
the settings object hasn't
once something got saved there idk how to unsave it
(i've tried relaunching discord many times)
i thought only "multiGreetChoices" would be there cuz only "multiGreetChoices" is being accessed
but i named it "literallyAnything" a while ago while testing other stuff
how to reset plugin's settings completely:
Vencord.Settings.plugins.<PLUGINNAME> = {}
obliterated
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
are you schizophrenic
no offence intended ofc
but who are you talking too!
I'm in a discord server full of Vencord devs
Who do you think I'm talking to?
where are you calling the hook
aka the useSomething()/settings.use()
Same as welcome sticker picker. First line in a function declaration.
function VencordPopout(...) {
const ps = settings.use(...)
...
}
Rest of the code is above but that's the gist
Apparently saying things in a discord server full of 2k actively online members is considered schizophrenic 
Whodathunk
oh well i think they probably understand by now lol
I installed the linter it recommended and no errors or warnings showed. The other problems seem like if they were true wouldn't work for either plugin. Rather than only affecting one.
I also tried not using settings.use a few times. Switching to just pushing to an array but that has no effect on the checkboxes at all for either plugin
I'm glad stickerpicker exists as a control
But it is also infuriating
no ๐ญ
I looked into it, here is some of my testing with the new solution, I think it's ready for review.
I tried to be specific so it wouldn't highlight things that it shouldn't, however I may have overlooked something.
What do you think?
I think that this is a better solution incase discord changes the class name for the new member leaf, and so that it doesn't interfere with other plugins. I think being specific in a way where we don't use :not(.some-specific-class) allows us to get t...
@fleet depot show how you open the context menu
Any update on this or plans?
Not asking for ETA, just wanted to know if this is still alive or planned.
see https://github.com/Vendicated/Vencord/pull/1114
it's being implemented but there's an issue with it updating!
lol
xd
Thanks for pointing it out! The mentioned problem can likely be ignored for now since the core functionality is there!
Why is it a draft pull request? Whyyyyyyy?
Thanks for pointing it out!
The problem?
The betterdiscord plugin has the same issue anyway.
It auto-updates when you simply hover over the messages, and realistically role/color changes happen kinda rarely, and it will auto-update for new messages anyway.
As such, it is practical that the plugin is released for now, and the event thing can be postponed. I just want two plugins so that I can use Vencord permanently: this one and AutoIdleOnAFK.
And I know I can just re-build Vencord to get the feature early, I will do that, but for some reason Discord PTB crashes a lot, unlike Vencord Desktop.....
holy shit chill lil bro
ven is officially older than the guy in the pfp of mostafa
i kind of worked it out but it didn't look that good and had some issues with nitro users who hadn't customised their colours :p
now i'm trying to make a plugin to disable profile colours entirely! lol
(maybe it could be done with css? but idk if it would automatically work with all themes)
Technically maybe possible with CSS but it's very messy when it comes to moving the avatar
Video?
With stickers i right click the greet button and then hover over unholymultigreet
With toolbox i click on the toolbox icon in top right and then hover over plugin settings add/remove settings
code
patches: [
{
find: ".mobileToolbar",
replacement: {
match: /(?<=toolbar:function.{0,100}\()\i.Fragment,/,
replace: "$self.ToolboxFragmentWrapper,"
}
}
],
ToolboxFragmentWrapper: ErrorBoundary.wrap(ToolboxFragmentWrapper, {
fallback: () => <p style={{ color: "red" }}>Failed to render :(</p>
})
});
and
patches: [
{
find: "Messages.WELCOME_CTA_LABEL",
replacement: {
match: /innerClassName:\i\(\).welcomeCTAButton,(?<=%\i\.length;return (\i)\[\i\].+?)/,
replace: "$&onContextMenu:(e)=>$self.pickSticker(e,$1,arguments[0]),"
}
}
],
pickSticker(
event: React.UIEvent,
stickers: Sticker[],
props: {
channel: Channel,
message: Message;
}
) {
if (!(props.message as any).deleted)
ContextMenu.open(event, () => <GreetMenu stickers={stickers} {...props} />);
}
});
why not css?
.profileColors-2AgAV4 {
--profile-gradient-primary-color: initial !important;
--profile-gradient-secondary-color: initial !important;
--profile-gradient-button-color: initial !important;
--profile-gradient-overlay-color: initial !important;
--profile-avatar-border-color: initial !important;
--profile-message-input-border-color: initial !important;
--profile-note-background-color: initial !important;
--profile-role-pill-background-color: initial !important;
--profile-role-pill-border-color: initial !important;
--profile-body-background-color: var(--background-floating) !important;
--profile-body-background-hover: var(--background-modifier-hover) !important;
--profile-body-divider-color: var(--background-modifier-accent) !important;
}
this is almost correct
just need to fix popouts slightly
.profileColors-2AgAV4 {
--profile-gradient-primary-color: var(--background-floating) !important;
--profile-gradient-secondary-color: var(--background-floating) !important;
--profile-gradient-button-color: initial !important;
--profile-gradient-overlay-color: initial !important;
--profile-avatar-border-color: initial !important;
--profile-message-input-border-color: initial !important;
--profile-note-background-color: initial !important;
--profile-role-pill-background-color: initial !important;
--profile-role-pill-border-color: initial !important;
--profile-body-background-color: var(--background-floating) !important;
--profile-body-background-hover: var(--background-modifier-hover) !important;
--profile-body-divider-color: var(--background-modifier-accent) !important;
}
this is not exactly how they would normally look but kinda hot imo
.profileColors-2AgAV4 {
--profile-gradient-primary-color: var(--background-secondary-alt) !important;
--profile-gradient-secondary-color: var(--background-secondary-alt) !important;
--profile-gradient-overlay-color: transparent !important;
--profile-gradient-button-color: var(--button-secondary-background) !important;
--profile-avatar-border-color: var(--background-secondary-alt) !important;
--profile-message-input-border-color: var(--background-modifier-accent) !important;
--profile-body-background-color: var(--background-floating) !important;
--profile-body-background-hover: var(--background-modifier-hover) !important;
--profile-body-divider-color: var(--background-modifier-accent) !important;
--profile-role-pill-background-color: var(--background-secondary-alt) !important;
--profile-role-pill-border-color: transparent !important;
}
this is it
@lime stone
but some profiles are light theme lmao - Enable "Sync Profile Themes" in accessibility setting to fix
still not what i asked
i was asking how you open the context menu
Sorry I don't know what you're asking ven
in any case i just looked at the source code
**index.tsx: **Line 97
renderPopout={() => VencordPopout(() => setShow(false))}
renderPopout={() => <VencordPopout onClose={() => setShow(false)} />}
change it to this
Oki
it's calling a react component as plain function instead of using jsx
that breaks hooks
because need to convert the function to a proper react component now
all works now โ
the problem is for users without a banner
example please
skyevg (who improved the uwuify command) has nitro without a banner
they were helpful for testing :p
i tried using a clip-path to shrink this thingy
will do!
i made a banner saying "don't get nitro. it's much better to get a sandwich!" but i didn't realise i spelt it wrong :P
i think i wrote "sandwhich"
lol
Toolbox almost done, I'll make a PR when I'm not in bed coding sideways with a cat on top of me 
username is accurate
It needing to be a react component (and called as one) was the only problem after all that debugging. Everything else was good to go as soon as it was fixed ๐ญ


oh and it doesn't work so well with other themes
Our eyes are bleeding, thanks.
[Reply to:](#๐พ-core-development message) oh and it doesn't work so well with other themes ๐

Discord Account
No response
What happens when the bug or crash occurs?
Sometimes when reloading the page with the Vencord Firefox extension enabled, seemingly randomly, the entire page simply fails to load. A shift+ctrl+R seems to fix it every time, but that's annoying.
This also happened immediately after installation, before enabling any plugins, adding any themes, or touching...
i don't they just don't work well with all themes
e.g. if you're trying to use dtm-18
or maybe you don't want to feel bad about not having nitro :'( my life is awful i don't have discord nitro
how do you get the idle badge
its a genuine questrion
o.o
platformindicators
thanks
there's a new pronouncedb api version that adds support for localization
would add it myself but i'm lazy so just dropping that info here
i think they thought you wanted to get the badge on your profile
dunno if it's even worth switching considering pronoundb might be obsolete soon
there doesn't seem to be any
just en
only the "en" locale is supported at this time.
bleh
yeah maybe it could just be a plugin to add pronouns to chat
the problem with pronoundb is you usually just duplicate info already in your bio
you can't expect everyone to use it 
Ok so, create a tab in which I can add a gif as profile .
The profile picture will be visible as " Gif " only to those who have Vencord. To those who don't, they will see the base image of the gif frozen. as profile picture .
Sending Discord notifications to the popular Virtual Reality Overlay software XSOverlay, using their Notifications API.
Similar plugins exist for both BetterDiscord and Powercord:
https://github.com/Eidenz/XSOverlay-BetterDiscord
https://github.com/Arsenic110/XSOverlay-BetterDiscord-Notifications
https://github.com/nitrog0d/XSOverlay-Discord-Notifications
-
What should the plugin/feature do?
If you're like me, and you have too many favorite GIFs, on occasion you can find 2 GIFs that either fit the situation, or are hilarious. But you have to choose between them, forcing yourself to use only one as scrolling back to where you found the GIFs would be near impossible. This plugin should allow the GIF menu to stay open, even after clicking on a GIF. -
How does it work?
Instead of the GIF menu closing instantly whenever you click on a GIF, it ...
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 Fr.<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;
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 Fr.<computed> [as get] (VencordWeb:5:7746)
at Object.handleProtoChange (VencordWeb:33:23399)
at CONNECTION_OPEN (WebpackModule473419:2:5858)
at https://canary.discord.com/assets/1b2fbb480f1471917573.js:9379:324
at https://canary.discord.com/assets/1b2fbb480f1471917573.js:9369:270
at n (https://canary.discord.com/assets/1b2fbb480f1471917573.js:9379:301) ```
we love minified vars
i really wish it wouldn't scroll to the top everytime the menu is updated
wait lemme actually PR so that makes sense
Added a few other quick actions such as reload discord, toggle css, and updater tab. plans to add more as well probably.
Some things that are annoying and I do not know how to fix:
- contributors become bots
- checkbox menu scrolls to the top every time you add a new plugin
- no way to tell the user to restart if they change a plugin setting
- and probably others I forgot while writing this pull request
oh i thought that was a pr
me when it clearly says new discussion created and i cant read
(do i add myself to contributors or wait for ven to approve)
Would appreciate this a lot - being able to toggle themes, plugins, and custom CSS with keybinds would be really convenient for taking screenshots in servers that ban users for using client mods.
I just made a pull request to toggle customCSS using the vencord toolbox! I can make something for plugins too at some point too
https://github.com/Vendicated/Vencord/assets/38409600/b08fed61-e1b8-4af2-9b2c-bf5ef2423049
Uhh, if ven merges then you are approved, so include it in the PR
You added functionality, so no need
If you only fixed a really small bug or fixed lint issues then it would be up for debate
We apply common sense where possible
If someone PRs their name into a plugin for just changing the plugin description, then we would most likely have a debate about it
gotcha gotcha
i made an incredibly small change up here ^ so that when you use the quickreply plugin to reply to someone it'll respect the userlist in noreplymention. should i add my name to that as well?
it changed functionality but it's also just a small bug i fixed. thoughts?
Personally I don't see a problem with that, but if you are unsure then ask the plugin author
It ain't a bug
A bug is when smth does not work the way it was designed to work
shouldn't it also go with noreplymention's userlist?
yeah im sayin' i would think that's how it would be designed
to follow the userlist
Well, that userlist is not an official discord feature.
Nothing makes it obvious that it was intended for it to be followed.
I bet the author did not even know of that list
hm
i see
oh i also wanted to say here that the anonymize author's feature is bugged even beyond making people bots in chat
if you click on someone's name 3-5 times in a row it'll show them again
(this is from the normal plugins menu not from toolbox)
๐ can't believe I talked w/o looking at the plugin
Yeah it was indeed a bug
Oof

it already happened before permissions viewer #๐ง-off-topic-iceman-only message
How do I undo this commit? I meant to open a new pr for it, I'm not good with GitHub.
Just a suggestion
expanded: number; // actually a boolean, but fuck TS
count: number;
compact: boolean;
collapsedReason: unknown;
}) {
const { onClick, count: msgCount } = props;
const { showingAllowed } = settings.use(["showingAllowed"]);
const text = msgCount === 1 ? "Blocked Message" : `${msgCount} Blocked Messages`;
return (
<div className="vc-betterblockedmessages-main" id="---b...
Wow
GoLang has it as a compile error to have duplicate code?
One more reason of why I hate it
its a linter, not a compile
a linter checks the code more througlty than the compiler does
My blind ass can't read
๐
I still hate GoLang tho
Rust is much much better.
Imagine having unused vars be a compile error.
Like, they make it sound as if they can't just optimize them away
No, you instead have to suffer
Rust does the better thing, it warns you and isn't a dick about it.
this is indeed annoying
cause it doesn't let u compile half finished code
or if you haven't added error handling yet
i clarified things a bit more in the pr desc
basically i just wanted to say what i already said but with annoying puns
How do I undo this commit? I meant to open a new pr for it, I'm not good with GitHub.
6d9b288
Thanks
Really not much to say, just add soundboard to the fake nitro plugin.
Does not know how to use search
Have you seen the other 99999 rejected discussions about this very subject?
Nah
well they must've deleted it themselves or edited
You have to put
```css
```
in the message i thought
yeah i'm pretty sure i saw that in the source code
hmm
they deleted it themselves then?
no, it's not in the audit log
ahhhh
weird how it doesn't show in the audit entry
also how do you not have cute role yet??
you're so cute
It's not permissions viewer either ๐ก
does anyone know a vendcord plugin for soundboards to put them in call
doesnt exist and it's not possible to use discord own soundboard without nitro
ok RIP
Discord Account
JakeRuCodes#6969
What is it that you'd like to see?
I just think it would be easier for a LOT of lazy users not including myself to be able to submit plugins they made through the app.
Request Agreement
- [X] This is not a plugin request
Lol
Yeah usually if i was the one closing it id explain why first but this guy seems like he just wants to be lazy
Not that I can close issues but yknow
Also imagine how flooded wed get of BD plugins
not including me
though
Well
what does this mean though?
Hm?
if it's an online plugin store that sounds cool
I'd think that sends it to us maybe
enter email, enter password, ok we'll hack your email and send it
No I mean like
very shrimple
In the discord I guess
As a file?
And then someone screens it
And in a perfect world it's a "perfectly valid" plugin and gets enabled the next day
That's probably what they want maybe
but then someone has access to the plugin and...?
Isn't that what we already have
some kind of bot pushes a commit to add it?
uhh
Maybe sending it here in this channel
And volunteers take time out of our days to check it for bugs
sounds a lot worse than pr reviews x3
the advantage with github prs is you can make the author of the pr fix it!
and tell them they're not cute otherwise
content.replace("BetterDiscord", "Discord") easy fix ;3 /j
dAIlystatus is a new Vencord plugin that serves to automatically generate brand new status messages for you on Discord every single day.
It uses the ChatGPT API to generate status messages. This generation is done every single day, on midnight (or whenever the user happens to start Vencord). The status message that is generated is then shown to the user as a modal, for manual verification:

quirky thing #93 to use ai for instead of using it for something useful
lmao
considering vencord is full of "useless" quirky plugins in the first place, I don't think it's out of place lol
Maybe more like USRBG which uses a custom db! โจ (i think the vencord plugin loads some json lmao)
Good Idea!
vf mobile
Yes actually! We have an Android app embedding the Discord website
However, as Discord's mobile website has some issues (performance, usability, etc), chances are you won't like it.
In that case you will instead want to use one of the following mods focused on Mobile.
Do note however that these mods are not related to / affiliated with Vencord, so we do not provide support for them in any way. Join their support servers for help & more info!
- Vendetta (android/ios): GitHub - Discord Server
- Enmity (ios only): GitHub - Discord Server
- Aliucord (android only, very outdated but still works well if you like the old version of Discord):
GitHub - Discord Server
is it a discord client
Lies, aliucord supports the new discord client.
Vendetta is still better tho
I'll probably switch to vendetta as soon as they make a role color everywhere plugin
Well, ur name is green for me, and my name is yellow
Not while typing
And in the side bar?
Haven't tested vc
Member list? Yeah
Like headers i mean
The way role color everywhere works in Vencord basically
That's what I'm looking for
Especially typing
Wait, are role colors applied on usernames w/o a plugin?
Hm? Yes? Just not in:
- typing
- headers
- vc
Oooh
Well I don't think it would be a hard plugin to make.
I will give it a go tomo
Yay!
I don't know Anything about mobile development
So i would have tried taking a crack at it
People ask for it pretty often in the vendetta server so i thought maybe there's some extra complication that hasn't made it a thing yet
Or no one who wants to dev cares to make it
it would be nice if there was a shortcut plugin to go back to the previous channel you were talking in
unsure if that is possible with default discord shortcuts
but it would be useful when talking in 2 servers at once
Ctrl+k my friend
The wonderful quick switcher
For me it always brings me back and forth
Even shows me my drafts
For anything else I use Ctrl+i
it seems i have a lot of drafts
Because chances are any channel I've been monitoring will pop up and I'll go there
Ctrl k my beloved
discord barely tells you things like this
thank you tho
it is kinda what i was looking for
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 Fr.<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 ```
they shows that in loading screen iirc
Speaking of the loading screen is everyone else's loading screen phrases all stuck on discords birthday ones
I'm tired of them
But maybe my case is uncommon because while deving i reload discord every 4 minutes
I even have the loading screen plugin enabled
mouse buttons 4 and 5
ye this
i use my mouse buttons very convenient

i need extra buttons
honestly if you don't have mouse side buttons in 2023 what are u even doing
my old 8โฌ mouse had it
real
if you don't have mouse buttons, alt + left/right arrow keys goes back and forwards
a plugin where you can see the user badges next to the name when typing and in the list of users on the server
I know this has already been added to vencord but I feel as if it needs to be updated.
Currently, there are no options to create "folders" of pinned dms. Not only that, the "pinned dms" can't be renamed or anything. Also, the users positions change depending on your most recent DM.
With betterdiscord's PinDMs, I'm able to change the folder names...
makes backspace delete message logger's history of a deleted message too
LONG STORY
it was one of my testing servers yeah
i just had all of my relevant github webhooks here
server recycling
it's not
none, i was just proud i managed to modify the toolbar for some reason

your mum!!
if you want advice how to patch components in the future
react devtools are insane for that

inspect the element with react devtools, find the highest parent that's still relevant then go to code definition
and get to reading, maybe put silly little breakpoint
i remember trying to do that and ending up in reacts own code
Next time someone asks for personal notes just tell them to do this lol
that awkward moment when u walk the stacktrace and land in react code
lmao this always happens
it's a nightmare
I never tried to find components using the stacktrace anymore
ya
can relate
oh snap I promised to make a vendetta plugin today
darn, guess I gotta start
Only if you wanna
I mean, I did plan to make a plugin one day, I just did not have any plugin ideas
TIL
last time i did that i ended up in react code L
or one of discords very duplicated modules either one
Discord Account
No response
What is it that you'd like to see?
I remember there was an option on the betterdiscord plugin to have the narrator pronounce those accents, it wasn't enabled by default. So I could have the narrator actually pronounce channels like ยซ Gรฉnรฉral ยป instead of ยซ Gnral ยป and I could use this to translate the narrator into french perfectly. Would something like that be feasible ?
Thanks a lot
Request Agreement
- [X] This is not a plugin request
fun fact about that plugin it reads all 10 peoples names if you crashed and reloaded while in a vc 
i love out of memory
its worse the more people are in the vc
NOT QUERY PARAMS
now u can share like this https://vencord.dev/plugins#fakenitro
embed fail
missing GIF picker as far as i can tell
urgent feature, fix immediately
nuh uh
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 Fr.<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) ```
yop
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 ```
i think u just copy pasted this (?) so i'm kinda criticising myself her
title: Why does my Discord always crash when opening DevTools?
.fm
elephant2
By Rojuu | Salsa Valentina
bro what
youre in the wrong channel lmao 
Discord's memory management isn't great so it will already get up to like 1.5gb ram usage
This reads horribly. Imo would read better like this:
"Discords memory management is inefficient, so it will easily reach upwards of 1GB RAM usage"
.wk MADJAX
whar
whar
DevTools use a lot of memory so once you open them they immediately push you over 2gb usage and Discord runs out and crashes
This is a nightmare to read imo
????
if it's ass tell me how to fix it ToT
OH that pr is yours
ye
Ok so
Discord's memory management isn't great so it will already get up to like 1.5gb ram usage
"get up to like" is not a good fit in an FAQ, as it is pretty broad.
DevTools use a lot of memory so once you open them they immediately push you over 2gb usage and Discord runs out and crashes
This reads pretty bad. Should probably go something along the lines of "DevTools uses a lot of memory, and can make Discord quickly hit the 2GB RAM usage, which crashes the client."
Discord tries to protect you from getting scammed by "hiding" your token when you open DevTools, which means it deletes it from storage and only keeps it in memory in order to make it harder to obtain.
Reads redundantly, should probably be written as "... open DevTools, which means it gets deleted from storage, and only kept in memory in order to make it harder to obtain."
Ven already pointed out the other two flaws
Which is the title for the DevTools crash and the absence of text link thingies
I probably shouldnt have called the pr ass tho, I apologize for that
for the first two take it up with ven man, that's not part of PR- it's been in the #faq for ages
for the last one i can just change the wording. i thought you meant i PR wrong or something
and i was really confused cuz idek how you PR wrong besides maybe doing it on the main branch
HUH
i also did forget entirely forget about embedded links in embeds for a whole moment there
Excuse me???
I didnt realise you copypasted them
redundancy/flow check them all while you're at it ig
also for linkify the discord browser do you want
- two links one for vencord firefox and vencord chrome
- a link to discord.com
- a link to the installer (which has (1) in it)
ill go with 2
as for
DevTools use a lot of memory so once you open them they immediately push you over 2gb usage and Discord runs out and crashes
I get why ven wrote it as "use" instead of "uses"... it depends on if you consider devtools a singular or plural thing, cuz it's pluralized "tools"
i think its fine tbh
i dont really get whast supposed to be bad about the current one
it's slightly empty rn
NICE
embeds my beloved
ven before you run away what link should i do for the browser
oh. gon.
wait wait wait i just noticed... why did you pick on my PR for the last point??
I didn't even write that
https://github.com/Vencord/Website/blob/main/src/content/faq/10_devtools_logout.md?plain=1#L6 (this is on the main branch and ven hasn't merged any of my PR) huh?
**10_devtools_logout.md: **
---
title: Why do I get logged out after opening DevTools?
tags: nodevtoolswarning, hidetoken
---
Discord tries to protect you from getting scammed by "hiding" your token when you open DevTools, which means it deletes it from storage and only keeps it in memory in order to make it harder to obtain.
If you now close discord before closing DevTools again, your token will not be saved anywhere anymore and as a consequence you will be logged out
Solution: **Close DevTools** before closing discord or better yet enable the **NoDevtoolsWarning plugin** which removes this "feature"
and the way it changed now it literally means something else
it's cuz it depends on if you see it as a plural or a singular
tools is a plural
yeah ik
that's why i think yours also makes sense
but i kinda get why samu would read it as a singular too
the old wording is fine i really dont get it
like pants

is a singular plural
i can change it back too iunno 
honestly the more i tried to fix it the worse it sounded lol
@quick ibex get back here and either convince ven that the wording is bad or else 
A mimir
oh
'night then o/
i suddenly understand
oh wait no i don't
i just forgot the ()
ven
unless msg is a constant ig
oh .toLowerCase() still works
neat

oh rats
Even after I hit cancel it just closes and I can't download it, please help.
wow they created a github account just to open issue instead of join discord server 
amazing
autumn did you make a PR for the neko toolbox thing
i just noticed it i think
wait no
it got merged right? it wasn't neko it was just the logo as a svg?
i asked ven if we could make it the official logo for the toolbox and he said yes, do you want to do it? it's your css
ok sure
awesome
that's such a blurry emoji
i hope that didn't sound demanding btw, i just didn't want to make a PR on your behalf if it's your code unless i got your permission first
and thought it'd be easier to let you know
technically it's anyone's code now

posting ur snippet in #๐จ-css-snippets releases it into the public domain
but yeah i get what u mean
so it send as one chunk inside discord so people dont have to download or open another app
esp mobile
9/10 times messages THAT large are annoying and not helpful
Especially on mobile
so true but still
hey, could someone whos done plugin work help me out with something? im trying to create a plugin and using the guide (https://github.com/Vendicated/Vencord/blob/main/CONTRIBUTING.md) but i cant figure out what im supposed to do here
Get the ID of the module you want to patch. To do this, go to it in the sources tab and scroll up until you see something like 447887: (e,t,n)=>{ (Obviously the number will differ).
i obviously know how to open the sources tab but im not actually sure where im supposed to be looking, for more info, my goal is to find the module that fires when you begin a voice or video call
would it even be possible to emulate a soundboard? idk how discord handles audio input
No
Search soundboard in this server
this really needs an faq entry tbh
ik its impossible to use the builtin soundboard, i mean like would it be possible to hijack it to send through the mic without another audio device
ik on linux you can route the output of a soundboard app into discord's input
wait is krisp handled client or serverside
krisp is a client-side thing
@austere talon you should still do this
True!
you should then move MessageActions.deleteMessage into the else branch so only one of the two is executed
6300198 MessageLinkEmbeds: Fix niche unclaimed account bug - Vendicated
3e3d05f ReviewDB: Add Review Modal & Pagination (#1174) - mantikafasi
@tacit marten
this should be obsolete, just content should be sufficient
article is likely enough? could delete message and container
Thanks!
Might be too lazy to rebase every time....
Oh well.
(For the PR, not your fix.)
Kinda late, I know, but look into flux
flux is like a global event manager or smth
You can subscribe to events
export default definePlugin({
...,
flux: {}
})
Within that flux object, you make a key for the event you want to listen to
There is auto complete if you use vscode and stuff
@limber skiff IM GONNA COMBUST
another issue with firing MESSAGE_UPDATE
๐ญ
we REALLY need to find a good way to rerender messages
discord did a really good job making messages re render with magic
ANOTHER?
yes
there is a different issue where dispatching updates breaks attachments
which we don't have a fix for
well it's because normally these events wouldnt happen
How does it break attachments exactly?
wdym


