#👾-core-development
1 messages · Page 37 of 1
yeah idk why it works for me
odd that librewolf would have a more relaxed csp
csp is enabled in about:config
i did find a workaround by exporting and importing settings and pasting css in the json
scuff tho
yeah
no
thats the value in our astro config
we prerender that page so it has no way of knowing the actual url
it just uses the one in the astro config
I'm using some unrecognisable thing salvaged from some random places
pretty sure there is many conficts
is it
oh
i thought it was meant to be the actual url
nvm then!
Oh Okay I updated the description and added some pictures.
based
https://vencord-website-oedky5mwn-vendicated.vercel.app/cloud look at the funny page
its the best page
that thing is unknown lol
also yeah this reads like an extended feature card
🥴
dont know what to do with it, might just scrap it like ven said
just use your alt lol
bruh ok i can but if i ever use it without a vpn i will get it instantly banned
add support link to bottom
decide what we want to do for this cause we need to get the devs to take screenshots if we go forward
there's some for me
yea it uses class stuff
a lot of files that are just 1 declaration and then another file that reexports it
and a lot of the typings are way too exhaustive
i will pr the pr tomorrow methink
id love to see like a personal pins plugin in vencord
or well something that replicates discord's "message todos" experiment
because rn that doesnt work!!!
its like pins but only shows up for you
but it doesnt work so
bowomp
LOL
i just have it on mention always
but even if i open it im on web vencord so it doesnt instantly crash
why doesn't transition work in this css?
.vc-pronoundb-compact {
height: 0;
width: 0;
overflow: hidden;
transition: width 0.4s, height 0.4s, transform 0.4s;
}
[class*="compact"]:hover .vc-pronoundb-compact {
height: auto;
width: auto;
overflow: visible;
}
ok it seems that you can't make a transitition unless you directly specify a value for the height and the width
so Its not possible to make a transition that way because the pronoun div don't have a fixed size
@austere talon
so width can't work and transform doesn't seem to be able to change the dom, do you have an alternative to both of these method?
Oh Okay I updated the description and added some pictures.
thanks. i appreciate your effort
PR utoml NOW
real consideration i was gonna but then i started eating ice cream
ic crem
wait
?
I finnaly got it working by changing the widht and using transform!
@austere talon how does that css looks to you?
.vc-pronoundb-compact {
height: 0;
width: 0;
overflow: hidden;
}
[class*="compact"]:hover .vc-pronoundb-compact {
height: auto;
width: auto;
overflow: visible;
}
/* fixes flickering */
[class*="pointerCover-"]{
display: none;
}
.vc-pronoundb-compact, .vc-pronoundb-cozy {
transform: scaleX(0) translateX(-42px);
opacity: 0;
will-change: transform, opacity;
transition: .4s ease;
transform-origin: 0 50%;
}
[class*="compact"]:hover .vc-pronoundb-compact, [class*="cozy"]:hover .vc-pronoundb-cozy {
transform: scaleX(1) translateX(0px);
opacity: 1;
}
you both red pfp
Oh I have pfps disabled
oh lmao 💀
pfp comrades 🙂
our pfp
I’m done with everything and just need that bit of logic, can you give me a more detailed example please, I can’t find examples
Discord Account
No response
What happens when the bug or crash occurs?
Using Vencord with OpenAsar Discord, with the CustomRPC plugin active.
You can see your own RPC status, but nobody else can.
What is the expected behaviour?
People should be able to see my activity just like how it is with everything else.
How do you recreate this bug or crash?
Enable Custom RPC, fill in the application and image fields, tell someone to see your RPC, and notice how nothing shows u...
use our support channel please
@austere talon I did it like that (I saw some plugins do it like this too):
disabled: () => Settings.plugins.PronounDB.showInMessages !== true,
69 additions, you are obligated to merge.
I'm redder ヽ(`Д´)ノ
why so much duplicated code
just to change one class
you can use classNameFactory
I'm bad at coding
what's that?
how do I do that?
oh I see
ok
I can try that
is there a documentation for classNameFactory? I'm not sure I understand it very well
jsdoc
what should I run jsdoc on?
It returns an error with jsdoc dist/browser.js and jsdoc dist/Vencord.user.js
I understand that className={classes(styles.timestampInline, styles.timestamp, cl("cozy"))} would evaluate as vc-pronoundb-cozy (with const cl = classNameFactory("vc-pronoundb-");) but how can I make it conditional for the cozy-hover?
what
what does jsdoc means?
by reading the jsdoc
google it
but I thought it was a documentation generator
it's the documentation comments above functions
almost every function in vencord will have it and you can read it by just hovering the function
I'm done! can I add myself to src/utils/constants.ts?
Discord Account
BOSS05#3366
What happens when the bug or crash occurs?
When I type, the indicator should be viewable on other accounts, as the plugin is disabled, however, it is not - people cannot see me type while I use Vencord.
What is the expected behaviour?
The typing indicator should appear when I type, especially if the plugin is turned off or outright disabled, however this does not happen.
How do you recreate this bug or crash?
- Turn on the silent typing indi...
you're using openasar with their version of the feature enabled or similar. or if that's not the case, use our support channel
What should the plugin/feature do?
Let a user reorder the buttons (including ones from plugins) in the message popover, as well as letting them put said buttons in the overflow menu that only shows while holding Shift.
How does it work?
- User opens the settings for the plugin
- Buttons currently available are retrieved
- User is presented with all available buttons, and would be able to reorder them all together by dragging them, even if they wouldn't all be included on ...
48e9b1b new Plugin: GifPaste - Insert Gif links instead... - Vendicated
className={classes(styles.timestampInline, styles.timestamp, cl("cozy", { cozyhover: Settings.plugins.PronounDB.showOnHover }))}
className={classes(styles.timestampInline, styles.timestamp, cl("compact", { compacthover: Settings.plugins.PronounDB.showOnHover }))}
transition: 0.4s ease;
transition-property: transform, opacity;
As some of you might have heard, discord updated to a twemoji fork by jdecked that replaced the :face_holding_back_tears: emoji, and the :pleading_face: emoji.
These new ones are awful, and the OG ones are a million times better. There should be a plugin that lets users revert back to the regular twemoji and not this fork that discord forced on the new update.
Here's picture comparisons:
[https://images-ext-2.discordapp.net/external/ctTXwJ6U5fqHm3_Q7xEjMkix8fjvlwVeYfmc81Eh-nM/https/mos...
can be done with css, check our css snippets channel
oh fair enough, thanks :)
I think you understood this function wrong, the way you're supposed to use it is that you pass an object where the keys are the classname and the value should be a boolean (true = apply the class, false = do not apply the class)
nuh uh
can i repost the link to my idea here since it kinda went unnoticed (1 upvote excluding mine)
no
srlsy ven, where do you live like what's your timezone?
I did
F
<span class="by">by</span>
what's up with these overspecific selectors? Just remove .plugin-content from everywhere
what is this for? From my experience selectors like this have bad performance
why does this need a wrapper div? Just use details :global(p) instead
I've experienced that as well lol
@turbid hatch you tend to make selectors too specific
remember this is astro, styles are always scoped only to the current file
035d1e2 feat(SpotifyControls): Fix background color for... - whqwert
removing the ugly margins on the last element of the faq content, otherwise it leaves a massive gap for no reason
disabled: () => !Settings.plugins.PronounDB.showInMessages,
was trying to avoid adding more global styles than necessary
New page design, its unfinished atm
this should probably be merged with the below selector for both compact and cozy hover, and the :hover one with the dual :hover one further below as well
are you sure this won't have unintended side effects?
habit :<
these classnames are slightly misleading since they imply it's hovered. Maybe change it to something like .vc-pronoundb-hoveronly-compact?
figured :P
details :global(p) is already scoped because the details selector is not global
I'm not 100% sure but I asked on BD #custom-css and no one knew for what it was, also https://grep.app/search?q=pointerCover yield no results so I'm pretty confident
it's weird to switch to astro from something that doesn't have scoped styles by default
but once u get used to it it's awesome
me using section instead of div just so I don't need to use a classname 
a div with no child nor content which has only this class appears and disappears multiples times when hovering on any child of .scrollerContent-2SW0kQ, causing the flickering
why would u look that up in grep.app
do u think discords code is in grep.app
well actually that is not problematic, apparently this class disable input: https://github.com/LeafyLuigi/discord-themes/blob/ec9f1869242098f068a91f0a86a4d519bdb97400/pyrite/source/classes/_classes.scss#L1644
**_classes.scss: **Line 1644
"pointerCover": "pointerCover-3Rp2Fl", // disables inputs by the looks of it. seems to be a child of content on SOME scrollers
discords css file
thx
@austere talon what about .vc-pronoundb-compact-hoveronly?
that works too
i was just giving a suggestion, not saying u must use this exact class :P
I prefer it for the consistency
Well in the end It's always your decision that matter
It's your project
I have an issue:
I cant do
className={classes(styles.timestampInline, styles.timestamp, cl("cozy", { cozy-hoveronly: Settings.plugins.PronounDB.showOnHover }))}
how can I use a "-" for the cozy-hoveronly?
by quoting the key
Ok I fixed the names
Now I'll try to merge the css
is there not a channel where we can request features?
you can requests features on the github
owki
@austere talon do you prefer that css?
/* Handles compact mode */
.vc-pronoundb-compact {
display: none;
}
[class*="compact"] .vc-pronoundb-compact {
display: inline-block;
margin-left: -2px;
margin-right: 0.25rem;
}
/* Handles the showOnHover option */
.vc-pronoundb-compact-hoveronly,
.vc-pronoundb-cozy-hoveronly {
transform: scaleX(0) translateX(-42px);
opacity: 0;
height: 0;
width: 0;
overflow: hidden;
transition: 0.4s ease;
transform-origin: 0 50%;
will-change: transform, opacity, height, width;
}
[class*="compact"]:hover .vc-pronoundb-compact-hoveronly,
[class*="cozy"]:hover .vc-pronoundb-cozy-hoveronly {
transform: scaleX(1) translateX(0);
opacity: 1;
height: auto;
width: auto;
overflow: visible;
}
/* fixes flickering */
[class*="pointerCover-"] {
display: none;
}
i think transitioning height and width is likely weird
but I'll have to see it for myself
So I just found this plugin https://betterdiscord.app/plugin/RemovedConnectionAlerts on the betterdiscord website.
Basically what it does or what it is meant to do is the following:
- keeps track if you get kicked or banned from a server
- keeps track if your friend unfriended you (or blocked, if possible)
- choice to turn have alerts turned on/off for these, but will save either way somewhere
tell me what you think after testing then
Already requested and already in the works
a
?
wrong channel
i am a bottom and this would be very useful because the new one looks weird
true
i think i do specific stuff on my site too when it's unneeded
so i need to fix that too xd
you love
so that when settings loads it has access to plugin definitions
but what does that solve
oh so that it knows how to interpret like ["(a)", "g"] as /(a)/g
in the settings
i didnt wanna do it in the proxy but i did see that u added a cache
the cache is just to avoid allocations
otherwise if you do like predicate: () => Settings.plugins.MyPlugin.foo it creates and destroys 3 proxies for each module
Settings. Create proxy
plugins. Create proxy, delete previous proxy
MyPlugin. Create proxy, delete previous proxy
foo Delete previous proxy
there
yop
anyways yea thats why i did that
but yeah this will just create so many instances and that's just unnecessary
any thoughts
I think (but haven't really tested lol) caching it like this is better
yea i can only imagine it would be
oh @austere talon
i remember what .faq-content was for
it was for this
to do the dual tone
Discord Account
rexo.#0001
What is it that you'd like to see?
Hey, i am asking about multi instance support. I think there could be some tabs in the top corner to switch in accounts. Thanks.
Request Agreement
- [X] This is not a plugin request
I think @SammCheese has trauma from #349
can someone explain this plugin to me?
i still dont get it?
this is when the plugin is disabled:
OOOOOOOOOOOHHHHHH i see it now, basically it adds a reply option on the dropdown
oki ty
was the settings rework merged
cause it cant write settings on web correctly anymore
wait that has nothing to do with it cause im on an older commit
elaborate?
trying some stuff then i'll send actual info
Discord Account
No response
What is it that you'd like to see?
When sending a file with AnonymiseFileNames enabled, I think it would be nice to have a 'checkbox' like "Spoiler Attachment" available for when do not want to send a file with an anonymised name.
If I want to share a mp3 file to a friend, it's kinda annoying if the filename changes, because of the anonymised name it's hard to identity who the artist and what the song title is for example. Same with some documents...
My bad, I used search but somehow didn't realise this was an open PR. Issue can be closed I guess, unless the white/blacklist feature is still desired
yeah localStorage is undefined when it loads settings, but instead of just not loading settings it completely bricks discord somehow
and also works fine after a hard refresh but not a normal one ???
No worries and there's no need to close it since it's not a bad thing to have an issue tracking it. As for white/blacklist, that sounds like a good idea but is blocked by #696 for now
i dont even know what im supposed to send to help
not our fault
the browser is loading our extension too late or kept state from the last discord session so localStorage is already deleted (discord deletes localStorage from the window)
nothing we can do to fix it
fair enough
you could try to look into why this happens and try to fix it
based on the fact that a soft reload doesn't work but a hard one does I assume the browser does cache some state somehow
maybe there's a way we can force it to never keep stats
state
i dont think its an issue of localStorage being deleted too quickly but of vencord reading it too late
but honestly idk
which shouldn't happen because we instruct the browser to load us at the document start
aka before it loads discord
did you do it?
because the type of srsearch is not string
add a third Parameter that's just an empty string to findOption
@signal rover
read the extended description
you might have an idea
multiple people had whitescreen issues
@austere talon fixed
TempleOS
Yeah a new patch alows to use discord in an holy way
You must destroy 10 windows computer to use it
that person uses windows 10 it seems
any custom theme?
the discord window at start is transparent until it launches fine
no matter the theme
are we sure disabling the setting fixes the issue?
any console log?
they had no way of accessing them, just impossible to open devtools
I can access them if my discord gets stuck in a invisible freeze
so thats odd
Its very weird that this causes an issue because this is basically the same exact thing better discord does
I need someone to test changes Im going to make
since discord is running a really outdated electron
and we have to suffer with this
im going to backport the fix that was pushed into electron last year
they use 22 now
but if u wanna debug further u should probably talk to @untold rune directly
they're pretty smart and seem nice so they're probably willing to help
yah very weird
because better discord does the same thing as what my code does
so its odd that vencord refuses to load
@untold rune are you also disabling window frame?
From what im reading this has a conflicting effect when using windows
Discord is frameless by default on windows
because of their custom titlebar
@signal rover
applied their theme and it still works
god i do not like this theme Lmao
but yeah it works fine
🤢
thats what im going to figure out
im going to see if i can launch the dev tools on boot
see if that helps with getting some sort of console log
disabled hardware acceleration and it still works fine
openasar also doesn't cause it with any of its settings
Lets just say a random cosmic bit flip caused it to get corrupted and call it a day
very true
how would someone still have electron 13 for discord on windows still
shouldn't it be updated
Odd
only canary has full e22 rollout
So make it electron 22 only then
and hope that just blocks anyone from an older version from using the setting until they are updated
Well this would require us to know it's electron 13 only
Well the only person able to repo the issue is @untold rune
so @untold rune any way for you to install and test vencord with transparency on canary
or discord development
hello, is there any plug in that displays all common users between servers?!
no
BALLS
PronounDB (had no effect):
ID: 905464
Match: /[A-Za-z_$][\w$]*\.[A-Za-z_$][\w$]*\.useExperiment\({}\)\.showPronouns/
MessagePopoverAPI (had no effect):
ID: 76581
Match: /[A-Za-z_$][\w$]*&&![A-Za-z_$][\w$]*\?\(0,[A-Za-z_$][\w$]*\.jsxs?\)\(.{0,200}renderPopout:.{0,300}?([A-Za-z_$][\w$]*)\(.{3,20}\{key:"add-reaction".+?\}/
IgnoreActivities (had no effect):
ID: 881951
Match: /!([A-Za-z_$][\w$]*)\|\|(null==[A-Za-z_$][\w$]*\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
wtf everything broke
jumpscare 
Successfully deployed to the following URLs:
vencord-website – ./
vencord-website.vercel.app
vencord-website-git-main-vendicated.vercel.app
vencord-website-vendicated.vercel.app
now vaius can also do faqs by tag
and we can use those tags in faq page search later on
i was also gonna push smth else but lewi would hate me
hey guys
I'm looking forward to creating a plugin for vencord
could someone guide me a little bit on how to?
and publishing it ofc
github readme
i've not figured out what the plugins path is
documentation isn't that good yet, you can look at existing plugins & read the limited docs we have for now though!!
better docs planned very soon
also the readme just lists the already preinstalled plugins
that's great
but could you tell me abt the plugins path? I kinda got the idea for making custom plugins but haven't found the path to them yet dx
src/plugins
did you read contribute section
this is the path where installer patched the entire instance
i'll take a look
nope you need to clone the source in order to make plugin
you need to follow docs/installing to install from source
the guide should get rid of this section now since it has nothing there
is there any guide on how to create a plugin?
Discord Account
touni#7235
What happens when the bug or crash occurs?
This happened just recently (before as well) - I am unable to use ViewRaw properly as the button doesn't show up in order to view or copy a raw message. The button is missing whenever I hover to a message, even if I right click the message - the button doesn't show up.


I just fixed this in https://github.com/Vendicated/Vencord/commit/efd99276961ffeaf9440521f2a902ee4f9b5f5ed
don't pr from the main branch in the future please
Since the code wasn't really matching the style used by the rest of the project, I rewrote / cleaned up some parts
match: /(?<=getUserProfile=function\(\i\){return )(\i\[\i\])/,
No reason to match unchanged code
replace: "$self.colorDecodeHook($1)"
followup of above change
this is kind of messy, matching specific brackets is always only a last resort as it's not very robust, I will look more at this tomorrow
can you make one?
i cant
how do i read the users discord settings (specifically this one)
i could theoretically subscribe to USER_SETTINGS_PROTO_UPDATE or w/e but that seems like jank to me
Discord Account
yun#7077
What happens when the bug or crash occurs?
If I'm using an application that has an activity that changes based on my usage such as league, it will not ignore it.
Example: I open league, the activity will be hidden as it should, then I go in a lobby and the activity is no longer hidden, same with going in champ select and going in-game.
What is the expected behaviour?
I expected it to be hidden all the way, not just when the client is open.
How ...
If you wait it will probably be available in Vencord at some point unless there are issues.
I can't seem to get the app to shake with this: ```js
Vencord.Webpack.find((m) => m.emitter?._events?.SHAKE_APP).dispatch("SHAKE_APP", {
duration: 300,
intensity: 2,
});
Plan was to add this to the 🗿 plugin as a togglable setting but it doesn't shake the app when I run it
you will shake
that should work idk what happened
or you find it by code 

It executes but it just doesn't do anything
odd
huh
okay its behaving weirdly
now i cant reproduce it anymore grr
did u have this issue at all? @pure ledge
the one guild somehow wasnt loaded yet
dunno
might have to change it to fetch guilds from the api? idk
oh yeah that could work
start still runs relatively early ig
might not have loaded all guilds yet
i wanna add Vencord notification log
but idk where would be a good place to add it
and should log persist permamently (with a limit perhaps) or delete after restart?
that would be great
maybe up here?
you could add it as an inbox tab
persist would prob be best
yeah that fits
Ven do I push the css I proposed? (#👾-core-development message)
tell me what you preffer
i usually use 0.2s
you should keep transitions short or it will feel laggy
im probably biased on this considering i set my animation duration scale to 0.25x on anndroid
so i have super fast animations
i personally think shorter animations make the entire ui feel snappier and faster
well I personnally think no animations make the entire ui feel snappier and faster
do I
- will-change: transform, opacity, height, width;
+ will-change: transform, opacity;
```?
LMAO WHAT
i opened this tab and switched between mentions and unread a few times
it was laggy asf
then my discord crashed
LMAO
i forgor
discord amazing at coding
stable platform fr
and do I
- transition-property: transform, opacity, height, width;
+ transition-property: transform, opacity;
?
brick web
feature is ready now
@pure ledge could you perhaps test it and see if it you're satisfied with it?
no convenient button for now, coming in the future
sure
looks good so far but clearing notifications when you have more than 3 or 4 is a little bit choppy
and i think it moves you to the top of the notification list if you clear one while scrolled down
by choppy you mean laggy?
because it rerenders the entire list
ah
I could maybe not actually remove the component
and instead set its height to 0
but idk
would that keep the notification log menu at the same size
this is just react being terrible tbf
Make it possible to add an server to an blacklist so Hidden channels in that server won't be shown (or maybe the opposite with a whitelist for servers?).
-Adding server through plugin settings
-Or maybe with an option beiing added to the dropdown menu
A BD plugin that was removed could do that, but I can't find it anymore, only this new one:
https://github.com/JustOptimize/return-ShowHiddenChannels
Adds a Quick-Toggle Game Activity Button
-Next to the username by the mute buttons
-Or maybe on the profile dropdown under custom status
BD plugin that has this function:
https://betterdiscord.app/plugin/GameActivityToggle
@austere talon how do i use unsafe settings
considering the transparency thing is now "unsafe"
i temporarily added it back with that key until we find a robust solution and can add it back properly
you can enable it with the console
Vencord.Settings.whatever = "hi"
or by editing the json file
Its set to true but doing nothing for me
fully restart
i did
It was working before I updated
i even manually pulled and built the latest version
ima just enable it in my local repo
oh
thats why
the settings is now called "transparentUNSAFE_USE_AT_OWN_RISK"
yes lol
idk how to fix this
react sucks
wait
i got it
the issue was this use of pending
essentially when a change was made, it refetched notifications so pending was true for a slight moment
which causes it to very shortly render only one line which scrolls you up to the top again then renders again
simply removing the pending logic fixed the flickering and scrolling
could you try again now? @pure ledge
@spark cove i think we should make dep change of useAwaiter not set pending to true again
why did you add that
it causes issues like this
sure the data is pending but there's still data from before refetch
so it's not really pending
oh it just seemed natural but that makes sense
i feel like this sounds like i'm saying how dare you add that
theres two choices and it makes sense people would assume that way
thats not what i meant
yea i read it like that but then i realized u probably didnt mean that
just asking if there's any specific reason you did it
xdxd
no real reason just that theres two choices
and one has more info than the other
so i probably naturally picked the more info one
and didnt think of that case cus u can always !data && pending (if the usage was intuitive (which it clearly isnt from the bug))
i think a questionmark would do wonders there
oh thats true
true 'why did u add that' as a statement is a funny
giving people good interpretations by default 🔥🔥🔥🔥
sure after this val game
i need another way to get a lot of notifs without spam adding and removing myself from a group
uh
var fakeNotifs = Array.from({ length: 50 }, (_, i) => ({ body: "Example notif" + i, title: "dummy" + i, timestamp: Date.now() - i * 10_000 }))
Vencord.Api.DataStore.set("notification-log", fakeNotifs)
LOL
did u really do that 😭
yeah LMAO
thanks
ok yeah
much better
everything else seems great
as for the easily accessible button, I had the idea to add a Vencord button here that would house quickactions for all plugin
nuh uh you dont have a vencord icon

real icon
dude
why is it not 100% width???
oh
wait im confused
so
why is this width 100% not implied???
its a block element
due to display flex, no?
ohhh
cause its a button
which is inline-block
WHY IS IT NOT SMOOTH
IM GOING INSANE
ohhh
cause of the still existent gap i think
lolol
what does that animation looke like when its just 1
cause some idiot decided you cant transition height: auto
nah i know what the issue is i think
real
ye
its the gap
holy shit
i finally did it
this was so unnecessarily complicated because css is dumb
@limber skiff
NICe
you made clicking notifications always dismiss
can we change it to only dismiss if there is an onclick
or mm
maybe we can add a prop for it
dismissOnClick
help me make this less deranged https://github.com/Vendicated/Vencord/commit/1f0154ba9cd81414d8af5650f5378c0cc2650d05
const ref = React.useRef<HTMLDivElement>(null);
useEffect(() => {
const div = ref.current!;
const setHeight = () => {
if (div.clientHeight === 0) return requestAnimationFrame(setHeight);
div.style.height = `${div.clientHeight}px`;
};
setHeight();
}, []);
i feel like there has to be a better way to do this
essentially, the notifications have dynamic height based on their content, so I can't explicitly set height. But it's not possible to transition auto properties so you HAVE TO set a fixed width. So that code just waits for the element to get layouted and then explicitly sets the height to its clientHeight (aka automatically computed height)
it should only take 2 frames
i also noticed an error in the code
since we use Date.now() as key
if you send two notifications at the same time
explode
same tick moment
probs
but you coudl still do this cuz it should always be unique
even if only a little
hm?
we do a little
basically
function persist() {
const logs = getLogs()
logs.push()
saveLogs(logs)
}
race condition
oops
oh
the library we use has an atomic update method
should i just use discords uid lib
😇
okay ready finally
None
None
Whar
whar
@limber skiff do u understand what this guy is saying https://github.com/Vendicated/Vencord/issues/744
this makes the ui shift and the transition only works on show not on hide
That means it's using multiple different activity ids. Just ignore them all
Parsing url stuff with regex like this is meh, it's way more robust to use the URL api (this will throw on invalid urls so might wanna try catch)
new URL(url).searchParams.get("name")
the way u get this is really cursed, you can just use the Parser from webpack commons
newContent.push(Parser.defaultRules.customEmoji.react({
this is likely not the key you should be using
I don't know the right key lol, from my tests it was sometimes "1"
Scrolling chat with this feature is also extremely buggy and keeps scrolling you down again
key has nothing to do with their parser
key is a react feature to uniquely identify elements in an array
so it can optimise rerenders
key should something that is unique for the current element
no because that wouldn't be unique if the message contains multiple of the same emoji
I think it may be because Discord stores their built-in stickers internally into the client, not externally with other stickers.
A JavaScript library for building user interfaces
I was thinking of this too, it could take some ideas from this BD plugin maybe? https://betterdiscord.app/plugin/ThemeRepo
hi there im pretty new here, can i ask question about vencord here
ah ok thanks
Hi, since the new update transparency is not working anymore (I'm on Linux (Compositor works), Discord Stable). Any idea how I can fix that?
run in console
Vencord.Settings.transparentUNSAFE_USE_AT_OWN_RISK = true
.eval Vencord.Settings.transparentUNSAFE_USE_AT_OWN_RISK = true
true
it is true. but still not transparent
did you restart discord
hmm then idk 
i even added it in here in the hope that it would work then
could it be because of electron?
i only know that ven change the setting to that-long-name, i personally dont use that feature so idk
its literally the only thing why i use a custom client.
https://github.com/Vendicated/Vencord/pull/683/commits/c087f7a1fd2c0bfc013c09d4a395913ee971d080
I used this https://github.com/davidmz/apng-js/blob/master/src/library/player.js#L66
**player.js: **Line 66
if (this._prevFrame && this._prevFrame.disposeOp == 1) {
Sorry, but how am I supposed to do that?
Ping a random person in the current server/group chat by sending @someone
BD plugin that does that:
https://tharki-god.github.io/BetterDiscordPlugins/AtSomeone.plugin.js
tharki moment
Hi all, I just wanted to ask how long it usually takes for a plugin to be reviewed? I'm only asking because I really want to share it with my friends if it even gets accepted.
it can take days or it can take months
depends on the complexity and whether ven feels like reviewing your plugin
Ah that's great to know. Thank you guys 🙂
u made betterscreenshare right
Yes
That plugin is massive so probably might take a bit
but also I'm not sure whether it would even be well suited for an inbuilt plugin since it seems very niche
What does niche mean exactly? Sorry if it's too big or something I really tried to make it as user friendly as possible.
I don't think it's very useful to most people, most people don't even know what half of those toggles mean
Easier custom plugins are on the roadmap so it would be better suited for that i think? The basic idea is that you distribute it as a single js file via github releases (just build similarly to how it currently works) and vencord would load it and automatically keep it updated
Yeah that would be cool as well.
i might work on that very soon
some more thoughts:
- I think it would be the most logical to make custom plugin repos a monorepo with Vencord as a git submodule (for types)
- we could transform imports to window.Vencord.Foo.bar, or just make you use the Vencord global and no imports
honestly i really like the idea of using links for plugins
unfortunately it would be really insecure
I think so too but if there's a disclaimer or something that clarifies the risks maybe it would be ok? And a switch for the automatic update function would also be good. But these are just thoughts I've never done anything big or anything like that so I have no idea. But another thing how about a simple and advanced mode for my plugin? The advanced mode would be the same as it is now and the simple mode would only contain resolution, framerate and video bitrate. And the video bitrate tab would have 3 options (low, medium and high). I know there is already a plugin that unlocks the Screenshare Nitro features but you usually don't have a good bitrate especially if someone is watching the stream with bad internet because discord then throttles the stream for everyone. And the FPS also plays a role for some because if you have a >120hz monitor it really makes a big difference if you set the FPS higher than 60.
hey, plugins are unrelated to the installer, and currently there is no way to install custom plugins if you are referring to that. If you are referring to the internal plugins folder, then it is located here: https://github.com/Vendicated/Vencord/tree/main/src/plugins
Add a feature so we can see messages in locked channels (we can already see locked channels, but cant see the text inside)
@austere talon i typed out a whole response for nothing
😭
Discord sends you events that you have permission to view. You dont have permission to view events from a channel you have no rights to see even exists. Only reason you can see hidden channels is because, to save server resources, when the client asks for the server channel list, the discord servers sends the list without filtering. (Extremely simplified for brainless users, but is actually more complicated)
Add a feature where you can see message history (of the channels you dont have permision to see their message history)
oh my god how are you this stupid
You may need to take an iq test
why are people like this 😭
wait I just realised that's a different guy
this is what happeneds when you turn yourself into besterdiscord
If you build it they will come
If you look like better discord...
you either die a hero or live long enough to see yourself become the villan
i mean-
this is way better than vencord!
I wrote it before but I think you missed it. What do you think about me adding a simple mode to my plugin? Simple mode would only contain framerate, resolution, video bitrate and audio source. The Video Bitrate tab would also only show Low, Medium, and High options for simplicity. The advantage of custom video bitrate would be that it is consistent. Discord usually uses a very low bitrate depending on the people watching. If someone has a bad to medium connection it will automatically reduce the quality and result in Minecraft quality. You probably know what I mean, but that wouldn't happen with my plugin. And another thing would be the custom framerate. A lot of my friends are >120hz so it might make sense to stream at a higher framerate so I think other users would like it too. Would that make the plugin more user friendly and more likely to be added? And btw I know my plugin seems big because of the structure but it actually isn't that big because it just has many typings and license headers which isn't really actual code.
audio source
hmm does this work on linux?
If the normal audio source of discord works then yes. I didn't tested it because I use windows.
tias
what is that
oh real
anyone knows a solution for me?
maybe someone else found a workaround
you're in the wrong channel
what would be the right channel?
Transparency got removed lol
really?
why?
was breaking some people's discords
https://github.com/Vendicated/Vencord/commit/708c16176b9a8353a7460dd313a0cc441f679c21
read the extended message
thanks. is there a way to get it back?
oke
i already tried setting that variable. have it in my settings.json too. even powered off and on again after that
okay. thats intresting
yes
run /vencord-debug in #🏥-vencord-support-🏥
even rebooted because i got to a friend after trying
Discord Account
crrin#0031
What is it that you'd like to see?
I was thinking it would be useful to be able to have a separate plugin option for SilentTyping that puts a toggle in the right click menu, mostly to declutter the area where the toggle currently is.

Request Agreement
- [X] This is not a plugin request
The vencord Tab is not opening!!?!???!??????!?!??? I've been crying for the past 2 hours and screaming for 1.
Funny but duplicate of #7
1984
1660a3d Embed icon into binary so it doesn't need to be... - Vendicated
None
None
fix webhook icon @austere talon
how
sorry i ate it
**generateReport.ts: **Line 104
avatar_url: "https://cdn.discordapp.com/icons/1015060230222131221/f0204a918c6c9c9a43195997e97d8adf.webp",
im dum
wdym
Plugin that allows you to display other ssers' local time.
No, not asking anyone to make a plugin that fetches users' time zone automatically (impossible)
A plugin that lets us define which time zone a user is in and shows their time in profile and in chat
For example:
https://betterdiscord.app/plugin/Timezones
Hide the random popup that encourages you to download spotify while hearing a open.spotify.com/track/xxxxxxxxxx song (

) and add a volume thing for the same thing
Discord Account
xv#3500
What happens when the bug or crash occurs?
It happens since the latest 2 updates when updating.
What is the expected behaviour?
I expect vencord to update and build properly.
How do you recreate this bug or crash?
- Go to user settings
- Go to the Updater tab
- Click the "Update Now" button
- Observe
Errors
Failed to update Object
r. @ 05cd3353f9a3e49ee3bc.js:9288
: Typso
You should also add a short description if possible. Other than my small suggestions, everything looks relatively fine, but I am sure there are some small improvements available but cant see any rn. Thanks for the pr!
Use something more descriptive than guh, it took me a whole minute to decipher what guh was meant to do, and still dont fully understand. Use something like isLink
Version doesn't exist in plugin definiton
@austere talon how is my first review? 🥺
current errors:
go build --tags cli
# github.com/Vendicated/VencordInstaller
.\cli.go:29:5: invalid operation: *client && (*client != "default" || *client != "stable" || *client != "ptb" || *client != "canary") (mismatched types string and untyped bool)
.\cli.go:43:21: not enough arguments in call to PromptDiscord
have (string)
want (string, *DiscordInstall, string)
.\cli.go:45:21: not enough arguments in call to PromptDiscord
have (string)
want (...
its just a plugin stolen from #1032200195582197831
maybe the Devs.mantikafasi should suggest that
ohmlmfao
does vencord update packages when they're added or not?
time to do an issue time
why
just pnpm install





