#๐Ÿ‘พ-core-development

1 messages ยท Page 61 of 1

fleet depot
#

i could change these to be checkboxes jk i can't find a plugin that does that

charred monolithBOT
knotty horizon
#

it's an rtf

fleet depot
fleet depot
#

alternative

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
austere talon
#

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

fleet depot
# fleet depot

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 pleadey

fleet depot
#

oh i thought your comment was referring to a settings menu like the one i made ;-;

fleet depot
#

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?

cunning canyon
#

probably he means a dropdown menu similar to this

fleet depot
#

ohh

#

that seems doable

austere talon
fleet depot
#

oh it's done

austere talon
#
<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

fleet depot
#

oki

austere talon
#

you could also make the Add/Remove plugin a setting instead

austere talon
fleet depot
#

ye that makes sense

#

i wasn't picturing nests before but now i get the > from before

austere talon
#

you would also want to add isPluginEnabled(p.name) to the filter lol

fleet depot
#

yee

#

i was gonna say

#

is it fine to keep using p.options? my linter says it's depreciated

austere talon
#

yes

#

it's still used internally

#

you just shouldn't use it manually

fleet depot
#

gotcha

austere talon
#

it's to exclude plugins that have no options

#

as including those would be kinda pointless

fleet depot
#

gotcha gotcha

woeful sable
#

any1 how to fix building?

#

im using yarn not pnpm

#

but its git related

austere talon
#

git remote -v

#

what it say

charred monolithBOT
#

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...

charred monolithBOT
fleet depot
#

is there a js command for reloading discord

austere talon
#

define reload

#

just the page or the entire client

#

?

fleet depot
#

equivalent to ctrl+r

austere talon
#

location.reload()

fleet depot
#

basically while im here adding toolbox stuff

#

ah okie

austere talon
fleet depot
#

tyty

austere talon
#

but thatsu seless

#

do relaunch instead

fleet depot
#

location.relaunch()?

austere talon
#
import { relaunch } from "@utils/native"
#

but

#

only if !IS_WEB

fleet depot
#

oki!

austere talon
#

relaunch is hard restart

#

aka the entire app restarts

#

@turbid hatch

charred monolithBOT
sour drum
# austere talon <@131602100332396544> ping ping

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 Goodmorning

woeful sable
#

does anyone in this server have a normal sleep schedule lol

charred monolithBOT
true gullBOT
austere talon
#

it does

#

how do you expect vencord to use it if it didn't set cors lmao

grave mangoBOT
median rapids
#

etag real

fleet depot
#

small problem w/ toolbox actions... they can't be added to ts files

cunning canyon
#

change to .tsx

fleet depot
#

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...

charred monolithBOT
turbid hatch
#

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

charred monolithBOT
charred monolithBOT
proven sierra
#

the

lime stone
#

is this good?

#

i saved some space by doing false && at a different location

lime stone
#

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

limber skiff
#

It can easily break

austere talon
#

in other news reviewdb has pagination now

limber skiff
#

nice

austere talon
#

it was surprisingly easy to add

lime stone
limber skiff
#

wdym

lime stone
#

here

limber skiff
#

oh lol

#

make it mid way tonguecat

lime stone
#

how

fleet depot
#

gotta find the goldilocks sweet spot

lime stone
#

i need to short-circuit the thingy :P

austere talon
limber skiff
#

I would do it like this

match: \.length>0&&(?=.{0,200}\.Messages\.CONNECTIONS)
replace: $&false&&

#

@lime stone

lime stone
#

that means it's computed though?

charred monolithBOT
charred monolithBOT
fluid parcel
#

everday I'm shufflin

limber skiff
#

the simple popout isnt quite working @austere talon

lime stone
#

if you do longAndPainfulTask() && false then longAndPainfulTask will run, right?

limber skiff
#

it worked at first when I clicked your profile, now it doesnt

limber skiff
stark flint
#

or just spam click

limber skiff
#

yee

lime stone
#

i guess it probably isn't lol

#

it just annoys me that it runs

limber skiff
#

in the other hand your patch is faster thumbsup

lime stone
#

and if it breaks the plugin won't

limber skiff
#

huh?

lime stone
#

it'll just behave like it does currently

limber skiff
#

your other patch would too anyways

lime stone
#

if one patch fails does it skip the rest?

limber skiff
#

no

lime stone
#

yeah, so if the introduced patch breaks, the plugin will still mostly work

limber skiff
#

yes

#

I'm just saying your other version of the same patch would behave the same in that matter

lime stone
#

oh

#

i mean if my patch is more likely to break

limber skiff
#

It's not that likely

#

but it's more than a simple match since yours is matching a lot of specific things in concurrence

fleet depot
#

huh

lime stone
#

would make sense

fleet depot
#

ive reloaded 3x

#

;-;

#

i also tried Vencord.Plugins.isPluginEnabled(Vencord.Settings.plugins.NoDevtoolsWarning)

#

tho i am unsure the difference

#

vfaq css

nimble pendantBOT
#

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)

fleet depot
#

vfaq themes

nimble pendantBOT
#
My themes broke and now I can't open settings or disable them

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 = []
})()
fleet depot
#

im trying to do this ^

#

but for plugins

limber skiff
#

use this instead

fleet depot
#

lifjesfs

#

i was using isEnabled

#

and thought it wasn't a property

#

๐Ÿ’ข

limber skiff
#

it's cuz you are using it wrong

fleet depot
#

yeah

limber skiff
fleet depot
#

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

limber skiff
fleet depot
limber skiff
#

required and dependencies get their setting set to enabled anyways

fleet depot
limber skiff
limber skiff
#

Plugins is the "plugin manager"

fleet depot
#

ah

#

just noticed the double settings in Vencord.Settings.plugins.Settings

#

so many settings

lime stone
#

so much to set

#

so much to do!

fleet depot
#

Vencord [Settings json] [plugins] [settings plugin]

lime stone
#

imma spend the rest of my life configuring vencord it's great

fleet depot
#

so true

#

(tho hopefully not)

#

((i do feel like i am going slowly insane))

lime stone
#

(you're not alone)

true gullBOT
#

Everybody is going insane, just at varying rates.

lime stone
#

๐Ÿ˜ญ

#

please don't say i have to reimplement discord's default banner colour thingy

#

(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

quaint sapphire
#

you can just get the computed style of the banner

lime stone
#

this code is being run from getUserProfile

quaint sapphire
#

ignore my suggestion I did not read what you said

lime stone
#

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

fleet depot
#

oh

#

i drafted it but okay

charred monolithBOT
lime stone
#

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

fleet depot
#

thoughts on me adding a toolbox option to export settings and disable all plugins

#

is that useful

charred monolithBOT
fleet depot
#

basically yeah

austere talon
#

@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

spark cove
#

for non-ui settings

austere talon
#

for example reviewdb

spark cove
#

i likey

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
austere talon
#

amyway

#

reviewdb getting big update soon

woeful sable
fluid parcel
#

Had someone tell me I fell off ooh I needed that

charred monolithBOT
#

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...

charred monolithBOT
fleet depot
#

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

cunning bobcat
#

trolled

fleet depot
#

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

cunning bobcat
#

settings.use([])
what

fleet depot
#

i don't know tbh

#

it's from stickerpicker

cunning bobcat
#

what the hell is settings.use

verbal pumice
#

defineSettings my beloved

cunning bobcat
#

hmm.

fleet depot
grave mangoBOT
fleet depot
#

i just removed greetMode for purposes of this test

#

and it works!

#

everything about stickerpicker works

verbal pumice
fleet depot
#

everything about toolbox breaks

fleet depot
verbal pumice
#

oh does it get mad that it's string[] and not (keyof Settings)[]

#

fair

fleet depot
#

hm i actually forgot i changed that tho

#

but idk if it's the difference

#

cuz stickerpicker works with as any/as unknown

fleet depot
#

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

fleet depot
#

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.

woeful sable
#

no offence intended ofc

#

but who are you talking too!

fleet depot
#

Who do you think I'm talking to?

lime stone
#

so is everyone else who starts a conversation?

verbal pumice
#

aka the useSomething()/settings.use()

fleet depot
fleet depot
#

Whodathunk

lime stone
#

oh well i think they probably understand by now lol

fleet depot
# verbal pumice where are you calling the hook

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

woeful sable
charred monolithBOT
#

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...

austere talon
#

@fleet depot show how you open the context menu

lime stone
#

lol

cunning canyon
#

xd

lime stone
#

you beat me

#

but i still added mine because yours wasn't a reply and has less info

charred monolithBOT
austere talon
#

holy shit chill lil bro

quaint sapphire
#

ven is officially older than the guy in the pfp of mostafa

charred monolithBOT
lime stone
#

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)

charred monolithBOT
fleet depot
austere talon
#

code

fleet depot
#
    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} />);
    }
});
austere talon
#
.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

austere talon
#

i was asking how you open the context menu

fleet depot
#

Sorry I don't know what you're asking ven

austere talon
#

in any case i just looked at the source code

grave mangoBOT
austere talon
#
renderPopout={() => <VencordPopout onClose={() => setShow(false)} />}
#

change it to this

fleet depot
#

Oki

austere talon
#

it's calling a react component as plain function instead of using jsx

#

that breaks hooks

fleet depot
austere talon
#

because need to convert the function to a proper react component now

fleet depot
#

all works now โœ…

lime stone
austere talon
#

problem how?

#

looks good to me

lime stone
#

in the popout

#

and with full nitro

austere talon
#

example please

lime stone
#

i already tried this before opening btw

#

okay, i'll get a screenshot!

austere talon
#

nono

#

a user id

lime stone
#

skyevg (who improved the uwuify command) has nitro without a banner

#

they were helpful for testing :p

austere talon
#

shrimply harass the user to add a banner ๐Ÿ™‚

#

/s

lime stone
#

i tried using a clip-path to shrink this thingy

lime stone
#

i think i wrote "sandwhich"

#

lol

fleet depot
#

Toolbox almost done, I'll make a PR when I'm not in bed coding sideways with a cat on top of me thumbsup

tame escarp
#

username is accurate

fleet depot
#

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 ๐Ÿ˜ญ lookWhatTheyTookFromUs husk

fleet depot
lime stone
#

oh and it doesn't work so well with other themes

austere talon
#

bad theme confirmed /s

#

why do u even hate profile colours

#

they're pretty

true gullBOT
#

Our eyes are bleeding, thanks.

The Toad Machine of Kodingโ€„โ†ฉ๏ธ

[Reply to:](#๐Ÿ‘พ-core-development message) oh and it doesn't work so well with other themes ๐Ÿ“Ž

fleet depot
charred monolithBOT
#

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.
image
This also happened immediately after installation, before enabling any plugins, adding any themes, or touching...

lime stone
#

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

sturdy peak
#

its a genuine questrion

#

o.o

lime stone
#

platformindicators

sturdy peak
#

thanks

fossil otter
#

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

lime stone
charred monolithBOT
austere talon
fossil otter
#

right

#

but considering there will be localization it might still be worth it

austere talon
#

there doesn't seem to be any

#

just en

#

only the "en" locale is supported at this time.

#

bleh

lime stone
#

the problem with pronoundb is you usually just duplicate info already in your bio

#

you can't expect everyone to use it bleh

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#
  • 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 ...

plucky plume
#

Regard

#

:)

#

333

charred monolithBOT
austere talon
#

discord's css is great

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
median rapids
#

we love minified vars

fleet depot
#

i really wish it wouldn't scroll to the top everytime the menu is updated

#

wait lemme actually PR so that makes sense

charred monolithBOT
#

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
jagged cloak
#

oh i thought that was a pr

#

me when it clearly says new discussion created and i cant read

fleet depot
#

(do i add myself to contributors or wait for ven to approve)

charred monolithBOT
quaint sapphire
fleet depot
#

okie

#

wasn't sure if it was like

  1. be approved
  2. add name to contributors
  3. merge
quaint sapphire
#

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

fleet depot
#

gotcha gotcha

fleet depot
# charred monolith

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?

quaint sapphire
#

Personally I don't see a problem with that, but if you are unsure then ask the plugin author

fleet depot
#

oh

#

if the setting is "go with noreplymention"

quaint sapphire
#

A bug is when smth does not work the way it was designed to work

fleet depot
#

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

quaint sapphire
#

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

fleet depot
#

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)

charred monolithBOT
quaint sapphire
#

Yeah it was indeed a bug

#

Oof

fleet depot
crude hearth
#

I KNEW

stark flint
charred monolithBOT
charred monolithBOT
blazing dome
quaint sapphire
#

Wow

#

GoLang has it as a compile error to have duplicate code?

#

One more reason of why I hate it

blazing dome
#

its a linter, not a compile

#

a linter checks the code more througlty than the compiler does

quaint sapphire
#

๐Ÿ’€

#

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.

austere talon
#

cause it doesn't let u compile half finished code

#

or if you haven't added error handling yet

lime stone
#

i clarified things a bit more in the pr desc

#

basically i just wanted to say what i already said but with annoying puns

charred monolithBOT
charred monolithBOT
fleet depot
#

Does not know how to use search

charred monolithBOT
fleet depot
lime stone
#

nothing there

#

maybe your client just missed it

fleet depot
#

Nah

lime stone
#

well they must've deleted it themselves or edited

fleet depot
#

You have to put

```css
```

in the message i thought

lime stone
#

yeah i'm pretty sure i saw that in the source code

#

hmm

#

they deleted it themselves then?

fleet depot
#

Hm i guess that'd make sense then

#

How he got past it

#

^

lime stone
#

no, it's not in the audit log

fleet depot
#

Oh

#

A scammer removing their own message??

#

That's even crazier

lime stone
#

oh

#

ohh

#

and it didn't show

#

ahh

fleet depot
#

Ahh

#

You can choose between deleting someone messages on ban and not iirc

lime stone
#

ahhhh

lime stone
#

also how do you not have cute role yet??

#

you're so cute

charred monolithBOT
limber skiff
frosty tinsel
#

does anyone know a vendcord plugin for soundboards to put them in call

limber skiff
#

doesnt exist and it's not possible to use discord own soundboard without nitro

charred monolithBOT
fleet depot
#

Lol

lime stone
#

lol

#

ven is so fast at handling issues

#

usually i write an essay

fleet depot
#

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

lime stone
#

not including me
though

fleet depot
#

Well

lime stone
#

what does this mean though?

fleet depot
#

Hm?

lime stone
#

if it's an online plugin store that sounds cool

fleet depot
#

I was kind of imagining a submit button i guess

#

Where you drop your plugin in

lime stone
#

which sends an email or?

#

i'm confused what they were saying

fleet depot
#

I'd think that sends it to us maybe

lime stone
#

enter email, enter password, ok we'll hack your email and send it

fleet depot
#

No I mean like

lime stone
#

very shrimple

fleet depot
#

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

lime stone
fleet depot
lime stone
#

some kind of bot pushes a commit to add it?

fleet depot
#

Yeah

#

Screening

lime stone
#

uhh

fleet depot
#

Maybe sending it here in this channel

#

And volunteers take time out of our days to check it for bugs

lime stone
#

sounds a lot worse than pr reviews x3

fleet depot
#

Yep

#

I agree

#

And 99% of them will be better discord plugins with no alterations

lime stone
#

and tell them they're not cute otherwise

lime stone
fleet depot
#

So true

#

Rename the .js file to .tsx

charred monolithBOT
#

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:

![image](https://github.com/Vendicated/Vencord/assets/16326697/2673b8f3-d7d0-420f-b10c-bcb331f1eaa...

austere talon
#

why would u wanna have an ai generated status

lime stone
#

good question...

charred monolithBOT
jagged cloak
#

lmao

cunning radish
#

considering vencord is full of "useless" quirky plugins in the first place, I don't think it's out of place lol

charred monolithBOT
sage aurora
#

is there vencord mobile

#

mobile

fleet depot
nimble pendantBOT
#
Is there a mobile version of Vencord?

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!

sage aurora
#

is it a discord client

quaint sapphire
# nimble pendant

Lies, aliucord supports the new discord client.

Vendetta is still better tho

fleet depot
#

Make a PR to the bot

#

Can edit the info

#

Also I thought aliucordrn was halted

quaint sapphire
#

Holy

#

Yeah I can see why, vendetta better and cross platform

fleet depot
#

I'll probably switch to vendetta as soon as they make a role color everywhere plugin

quaint sapphire
#

Uhh

#

I do have role colors everywhere

fleet depot
#

In vendetta??

#

I've been searching the forum every day

quaint sapphire
#

Well, ur name is green for me, and my name is yellow

fleet depot
#

While typing (?)

#

And in vc?

quaint sapphire
#

Not while typing

fleet depot
#

And in the side bar?

quaint sapphire
#

Haven't tested vc

quaint sapphire
fleet depot
#

Like headers i mean

#

The way role color everywhere works in Vencord basically

#

That's what I'm looking for

#

Especially typing

quaint sapphire
#

Wait, are role colors applied on usernames w/o a plugin?

fleet depot
#

Hm? Yes? Just not in:

  • typing
  • headers
  • vc
quaint sapphire
#

Oooh

fleet depot
#

That's what the role color everywhere plugin does

#

That's the point of it yeah

quaint sapphire
#

Well I don't think it would be a hard plugin to make.
I will give it a go tomo

fleet depot
#

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

charred monolithBOT
little wing
#

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

fleet depot
#

The wonderful quick switcher

little wing
#

well

#

hm

#

that kinda works

fleet depot
#

For me it always brings me back and forth

#

Even shows me my drafts

#

For anything else I use Ctrl+i

little wing
#

it seems i have a lot of drafts

fleet depot
#

Because chances are any channel I've been monitoring will pop up and I'll go there

#

Ctrl k my beloved

little wing
#

discord barely tells you things like this

#

thank you tho

#

it is kinda what i was looking for

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
#
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 ```
charred monolithBOT
little wing
#

i do not want to look

#

need to be told!!

cunning canyon
#

they shows that in loading screen iirc

fleet depot
#

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

fleet depot
jagged cloak
#

ye this

austere talon
#

they navigate forwards and backwards

#

skill issue if you don't have extra buttons

jagged cloak
#

i use my mouse buttons very convenient

austere talon
little wing
#

i need extra buttons

austere talon
#

honestly if you don't have mouse side buttons in 2023 what are u even doing

#

my old 8โ‚ฌ mouse had it

fleet depot
#

imagine using a mouse

#

lol

austere talon
#

real

jagged cloak
#

do non gamingnmarketed mice have side buttons now

#

is 2023 wow

fleet depot
#

yes

#

i got a logitech mouse that wasn't gaming but had both side buttons

golden gulch
little wing
#

Nooo way

#

thats awe3some

fleet depot
#

if you use ctrl + /

#

you can see all of them

charred monolithBOT
charred monolithBOT
proven sierra
charred monolithBOT
charred monolithBOT
charred monolithBOT
rigid venture
#

showoff

austere talon
#

it was one of my testing servers yeah

#

i just had all of my relevant github webhooks here

median rapids
#

server recycling

jagged cloak
#

me when vencord is also ven (impossible):

rigid venture
#

it's not

surreal otter
lime stone
#

on my way to open a pr!!

#

wait maybe this actually should be a plugin

#

ToolbarText

fleet depot
#

???

#

What's the use case

lime stone
#

none, i was just proud i managed to modify the toolbar for some reason

austere talon
lime stone
#

even though i just looked at vencordtoolbox

#

(i was just joking)

jagged cloak
#

your mum!!

austere talon
#

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

fleet depot
#

Oo

#

I def need advice on that

lime stone
austere talon
#

LOL

#

you don't wanna go there

#

react code is terrifying

fleet depot
# lime stone

Next time someone asks for personal notes just tell them to do this lol

austere talon
#

that awkward moment when u walk the stacktrace and land in react code

lime stone
#

can't be as bad as x11 ported to js..?

#

right..?

limber skiff
#

it's a nightmare

#

I never tried to find components using the stacktrace anymore

austere talon
#

lmao yeah but it's still useful for finding where normal functions are used

limber skiff
#

ya

quaint sapphire
#

oh snap I promised to make a vendetta plugin today
darn, guess I gotta start

fleet depot
#

Only if you wanna

quaint sapphire
#

I mean, I did plan to make a plugin one day, I just did not have any plugin ideas

jagged cloak
#

last time i did that i ended up in react code L

#

or one of discords very duplicated modules either one

charred monolithBOT
charred monolithBOT
#

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
jagged cloak
#

fun fact about that plugin it reads all 10 peoples names if you crashed and reloaded while in a vc shiddohwell

#

i love out of memory

#

its worse the more people are in the vc

austere talon
#

lmao

#

kinda real

charred monolithBOT
austere talon
#

NOT QUERY PARAMS

charred monolithBOT
austere talon
fleet depot
#

embed fail

charred monolithBOT
olive barn
#

urgent feature, fix immediately

austere talon
#

nuh uh

charred monolithBOT
jagged cloak
#

support immediately

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
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) ```
median rapids
frail skyBOT
#
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 ```
charred monolithBOT
quick ibex
#

.fm

dense fossilBOT
#

elephant2
By Rojuu | Salsa Valentina

austere talon
quick ibex
austere talon
#

youre in the wrong channel lmao trolley

charred monolithBOT
dense fossilBOT
quick ibex
#

#13 in general kinda sucks as a pr

#

But it might be that the FAQ in general sucks

austere talon
#

whar

fleet depot
#

whar

quick ibex
# austere talon 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

fleet depot
#

ven jus told me to move the faq to the bot

#

;-;

quick ibex
#

not that

#

nvm faq is pretty good

#

Just this pr is ass

fleet depot
#

i thought it reads fine

#

how so???

austere talon
#

????

fleet depot
#

if it's ass tell me how to fix it ToT

quick ibex
#

OH that pr is yours

fleet depot
#

ye

quick ibex
#

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

fleet depot
#

and i was really confused cuz idek how you PR wrong besides maybe doing it on the main branch

fleet depot
#

i also did forget entirely forget about embedded links in embeds for a whole moment there

quick ibex
#

Excuse me???

fleet depot
#

i can link the message but im being lazy and currently editing my PR

quick ibex
#

I didnt realise you copypasted them

fleet depot
#

yes.

quick ibex
#

Then yeah it isnt your pr thats bad

#

ven needs to faq better very_mad

fleet depot
#

redundancy/flow check them all while you're at it ig

#

also for linkify the discord browser do you want

  1. two links one for vencord firefox and vencord chrome
  2. a link to discord.com
  3. 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"

charred monolithBOT
austere talon
#

i think its fine tbh

#

i dont really get whast supposed to be bad about the current one

fleet depot
#

oh i was about to commit- what link do you want

#

flow check ยฏ_(ใƒ„)_/ยฏ

austere talon
#

it's slightly empty rn

fleet depot
#

NICE

#

embeds my beloved

#

ven before you run away what link should i do for the browser

#

oh. gon.

austere talon
#

sjasj

#

none

#

bleh

fleet depot
#

oh

#

okay!

austere talon
#

DevTools uses

#

kinda weird grammar

fleet depot
# quick ibex > Discord's memory management isn't great so it will already get up to like 1.5g...

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?

GitHub

Contribute to Vencord/Website development by creating an account on GitHub.

grave mangoBOT
# fleet depot wait wait wait i just noticed... why did you pick on my PR for the last point?? ...

**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"

austere talon
#

and the way it changed now it literally means something else

fleet depot
austere talon
#

tools is a plural

fleet depot
#

yeah ik

#

that's why i think yours also makes sense

#

but i kinda get why samu would read it as a singular too

austere talon
#

the old wording is fine i really dont get it

fleet depot
#

like pants

austere talon
fleet depot
#

is a singular plural

fleet depot
#

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 very_mad

tame escarp
fleet depot
#

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

charred monolithBOT
cunning canyon
#

wow they created a github account just to open issue instead of join discord server trolley

fleet depot
#

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?

cunning canyon
#

yes it is logo, neko version in custom css

#

*css snippet

fleet depot
cunning canyon
#

ok sure

fleet depot
#

awesome

austere talon
#

btw i merged ur codeberg pr but haven't updated the bot yet

#

will do tomorrow

fleet depot
#

and thought it'd be easier to let you know

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
fleet depot
#

True true

#

Felt weird

#

All that school ig

austere talon
#

but yeah i get what u mean

willow pilot
#

so it send as one chunk inside discord so people dont have to download or open another app

#

esp mobile

quaint sapphire
#

9/10 times messages THAT large are annoying and not helpful

#

Especially on mobile

willow pilot
#

so true but still

tiny tree
#

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

GitHub

The cutest Discord client mod. Contribute to Vendicated/Vencord development by creating an account on GitHub.

charred monolithBOT
olive barn
#

would it even be possible to emulate a soundboard? idk how discord handles audio input

fleet depot
#

No

fleet depot
tame escarp
#

this really needs an faq entry tbh

olive barn
#

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

tame escarp
#

ik on linux you can route the output of a soundboard app into discord's input

olive barn
#

wait is krisp handled client or serverside

tame escarp
#

krisp is a client-side thing

tame escarp
fleet depot
austere talon
tacit marten
#

Might be too lazy to rebase every time....

#

Oh well.

#

(For the PR, not your fix.)

quaint sapphire
#

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

austere talon
#

another issue with firing MESSAGE_UPDATE

limber skiff
#

๐Ÿ˜ญ

austere talon
#

we REALLY need to find a good way to rerender messages

limber skiff
#

discord did a really good job making messages re render with magic

tacit marten
austere talon
#

yes

#

there is a different issue where dispatching updates breaks attachments

#

which we don't have a fix for

austere talon
tacit marten
#

How does it break attachments exactly?

limber skiff
#

wdym