#๐พ-core-development
1 messages ยท Page 189 of 1
Okay, all issues should be taken care of. I've also improved the patches quite a bit :)
Oops, i was testing around, where i had the unshift here too, what need that variable also
From what I gathered, you need to pass it somehow to the another component.
I guess i could throw the user object to badges array and then get it and remove it, which might be more safe? Idk
use \i for matching identifiers
match: /paused:\i}\)/,
Welp, legit forgot about that one. Thanks :)
Yeah for some reason whenever I remove the "" + it'll error me with
src/plugins/WebhookManager/index.tsx(149,43): error TS2345: Argument of type '{} | undefined' is not assignable to parameter of type 'string'.
Which I'm not sure is a lint only thing or TS telling me I can't.
$$\ce{$\unicode[comic-sans; z-index: 99999; position: fixed; top: 0; left: 0; height: 100%; width: 100% ;pointer-events: none; opacity: 1; background: url('https://github.com/byeoon/by...
shhh you dont see that
byeoon approved
but ya
any way to hide/disable a plugin setting if one is set to a certain value (e.g. a select set to a value disables another setting)?
nvm found it
is it borked?
on another note, devcompanion seem to fail (macos)
USRBG (had no effect):
ID: 735336
Match: /(?<=function \i\((\i)\)\{)(?=var.{30,50},bannerSrc:)/
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
MoreUserTags (found no module):
ID: -
Match: .DISCORD_SYSTEM_MESSAGE_BOT_TAG_TOOLTIP,
USRBG (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/
ViewIcons (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/
None
None
None
it is
USRBG (had no effect):
ID: 735336
Match: /(?<=function \i\((\i)\)\{)(?=var.{30,50},bannerSrc:)/
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
MoreUserTags (found no module):
ID: -
Match: .DISCORD_SYSTEM_MESSAGE_BOT_TAG_TOOLTIP,
USRBG (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/
ViewIcons (found no module):
ID: -
Match: /overrideBannerSrc:\i,overrideBannerWidth:/
None
None
None
Adds an option to disable the large/small image.
you gotta love discord for making the most useless renames
i really do need to rename on github
okay i got it working with hook @limber skiff
renderEdits: ErrorBoundary.wrap(({ message: { id: messageId, channel_id: channelId } }: { message: Message; }) => {
const message = useStateFromStores(
[MessageStore],
() => MessageStore.getMessage(channelId, messageId) as MessageWithEditHistory,
null,
(oldMsg, newMsg) => oldMsg.editHistory === newMsg.editHistory
);
return (
<>
{message.editHistory.map(edit => (
<div className="messagelogger-edited">
{Parser.parse(edit.content)}
<Timestamp
timestamp={edit.timestamp}
isEdited={true}
isInline={false}
>
<span className={styles.edited}>{" "}({i18n.Messages.MESSAGE_EDITED})</span>
</Timestamp>
</div>
))}
</>
);
}, { noop: true }),
do you think it would be possible to make it so that if that patch breaks the plugin will just not apply?
instead of showing APP on everyone
id doubt it because it patches all over the place
unless you can somehow have something indicating if a patch was successful to another patch but i wouldnt know how to do that
MessageLogger needs a rewrite tbh
its very unmaintainable with the amount of code in patches
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
discord moment ๐ญ
thanks :3
:3
I think finish allow/blacklist api then rewrite message logger and make it use it already
show hidden channels needs crazy rewrite too lmao
fixed it up now! thank you for the contirbution
yeaahh i really cannot find a use case for this... thank you for the contribution anyway!
this breaks the rules of hooks. hooks must not be called conditionally
oh... this is not a react hook
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN
while we're already at it, let's fix the outdated name! (also have to do this inside patches)
applyDefaultSettings
idk if this is too long xd
label="Apply Defaults (NewGuildSettings)"
this will also add it to the guild header popout
"guild-context": contextMenuPatch,
"guild-header-popout": contextMenuPatch
so good
43b6933 Reporter: Include page errors; load wasm chunks - Nuckyz
c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
Nice very cool didn't know that was possible so thanks gone pimp up my repos now
beautiful although idk where the text went
don't worry i can read shiggybraille
GitHub using a 3 year old version of Mathjax
Sure do wonder what this could be used for.... full screen rickolling ofc, covering all the site navigation buttons along the way
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
None
None
None
USRBG (had no effect):
ID: 78675
Match: /(\i)\.premiumType/
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
None
None
None
hmm that premiumType patch seems not needed anymore
removed it and it still works fine
in the past it was needed for the banner to be show
914b211 betterRoleDot: fix click to copy role color in ... - AutumnVN
810ff89 ui(RestartCard): fix yellow button now being bl... - AutumnVN
Most things should be fixed now (thank you vee)
thanks for your contribution! looks good for the most part
how many chars does this .*? match?
prefer limiting greedy matchalls to max lengths, e.g. .{0,200}?
did you get stuck somewhere? or just forgot?
c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN
c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN
c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN
alr fixed
my branch changed the component find and it broke too lmao
funny github bug
i have it archived sec
check this xd
(it takes like 10secs to load cause web archive slow)
just wait
i wish i took a capture of mine
when it worked
well i mean
i DID somehow
but its
the not so good looking version
the shiggy lives
(to any github engineers possibly reading this, please please please add repo backgrounds, I am begging you this would be so awesome)
Yippie its back (also added a second variable so click events can still be registered)
the pr spam 
nah dw i fixed it
๐
should merge
nah I'm busy
o thats alr
gonna uninstall until this gets fixed sadly ๐ข its annoying getting disconnected every time I minimize the window
related to this, i'm unsure of how to reproduce it but i got this error when it happened since i had breakpoints on and had been occurring multiple times, seems to be something messagelogger-related that could be contributing to it. saw this error twice now as it happened
fixed in dev
tysm!!
o shit i didnt notice someone else made a pr
alr fixed
korone pfp

mb
I was considering just patching how github detected it with a userscript, but webpack is pain
thanks a lot, but superseded by https://github.com/Vendicated/Vencord/commit/65970618d89d4c7383fc88dde8380423e67cd5e5, which does this cleaner, without needing to pass any props / variables around patches
boohoo noone cares
why do people feel the need to comment stuff like that
hilarious but at this point its basically a game of cat and mouse that i dont really wanna play xD I just added it cause it was funny in the moment
very true, turns out you can use any combination of hex encoding, html encoding, or plaintext though
im really hoping github just adds repo backgrounds, but im not super optimistic
STOP OPENING PRS PLEASE PEOPLE ๐ญ (/j)
merge / close 10 prs
withion a day, 10 new ones get made

maintaining popular repos becomes a hydra situation
YESSS
especially during october 
It's so funny how you can disable issues but not PRs on GitHub
The point was supposed to be like "make a pull request, get a t-shirt!" Which is a cool idea, but it turns out that people are lazy
ooooohh
so they would just try and fix typos, or outright add stupid BS to the repo in an attempt to get a merge
wait thtats really cool
i would also have 2021 but i forgot to claim it
aww
I think they stopped doing the t-shirts because of all of the spam repos were getting
classic Germans

i wanted a shirt
it'll disconnect me from my vc and 3 seconds later itll bring me to the connecting screen
i think this update will fix
i meean you can buy them off ebay when they show up lol
$$\ce{$\unicode[comic-sans; z-index: 99999; position: fixed; top: 0; left: 0; height: 100%; width: 100%; pointer-events: none; opacity: 1; background: url('https://github.com/Vendicated/Vencord/assets/20448879/7bd4434a-f188-4893-9f09-478eb18b3338');background-size:auto auto;]{x0000}$}$$
guys what does that mean
this was why I always append lots of 'a's to beginning 
so it doesnt show in webhook
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
comic-sans
JUST EDIT
comment a then edit comment to add the markdown
oh true lol
why โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
just inject an autoplaying rickroll instead :3
wait, I cannot comment in any pr? ๐ญ
"An owner of this repository has limited the ability to comment to users that have contributed to this repository in the past."
I've been thinking about renaming the plugin to something like "Video Downloader" to disconnect it a bit from the word "yt-dlp", as it's both more technical and only implies YouTube downloads. Thoughts?
I'd reccomend MediaDownloadCommand, or something similar. It's a really mistakable plugin so you want a good name
yeah I get it now, but why?
Ok i'm not exactly sure if this is the right channel to mention this, but maybe it wouldn't be a bad idea to make the bot repeat rule 5 if a whitename pings someone in support
no idea
I would be the first to raise his hand for this idea
I think I know why #๐พ-core-development message by doing this you can no longer open prs
I finally stopped doing changes to my prs 
github patched the thing maybe remove it from readme...
no because i preemptively enabled this
does that mean, you are taking a break or smth?
Yeah, Vee's going on hiatus. Development is paused
I assume it was to combat the mathjax shit
It's so funny seeing people from a lot of scenes over the web, converge in making contributions to discord mods
people were abusing the mathjax vulnerability to spam repos with nsfw / flashing images
and then later some people were very irresponsibly bragging about supposedly finding an XSS with it
so i just temporarily disabled interactions preemptively
now they fixed it but there's already a new mathjax vulnerability where they don't sanitise
how is this library so shit
That is the most ironic thing ever, in a community of developers
fixes showconnections for simplified profiles
fixing reviewdb and permviewer is as trivial as this but im kinda stupid and couldnt figure out how to make scrolling work ๐ญ
thanks! looks good codewise
imo the margin above the Connections header is too much though, maybe we should reduce it
yeah it caught my eye also
? ["--extract-audio", "--audio-format", "mp3"]
you can replace it with this and it'll work, however it downloads the video, extracts the audio and then deletes the video
now its gonna look bad on old profile
i forgor
fixed
yep exactly how i would have done it
replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2, compactSpacing: true })"
resolved
:(
Oh crap, good catch. Either it was copilot or my brain fried, because --remux-audio is not a real flag lol.
looks good now, thanks! :3
caf1779 fix showconnections in new profiles (#2567) - Masterjoona
Oh crap, good catch. Either it was copilot or my brain fried, because
--remux-audiois not a real flag lol.
it was mentioned as a suggestion in a github issue a while ago, perhaps thats why copilot suggested it
(The merge branch has been changed from main to dev)
06824c2 chore: security advisory link for blank issues ... - lewisakura
8fd5d06 fix(css): brand-experiment is now brand-500 - Vendicated
ed5ae2b Add shortcut for lazy loading chunks - Nuckyz
2358439 NoPendingCount: Fix for message requests - Nuckyz
9ab7b8b experiments: remove obsolete isStaff patch; ren... - Vendicated
of ssh:// 
vencord.ohNo
fe390bf RoleColorEverywhere: show role colors in the re... - programminglaboratorys
Decided on MediaDownloader for the name, feel like it captures what it does pretty well. I know it doesn't mention the sending part, but I feel like it's implied.
cursed
idk how to do it better
because chunk(u, l[n]) returns empty array if u is empty array
its weird
actually the way we inject badges rn is meh but i didnt really have two independent patch locations
hmmm
nah this is bad
wot
ohno
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
None
None
None
USRBG (had no effect):
ID: 78675
Match: /(\i)\.premiumType/
Settings (had no effect):
ID: 394644
Match: /\{section:(\i\.\i)\.HEADER,\s*label:(\i)\.\i\.Messages\.BILLING_SETTINGS/
None
None
None
None
None
None
None
None
None
None
None
i removed it
^
I see lmao
I didnt open the commit
how are fixed to simplified profiles being applied
I feel like things like permissions viewer should not take a whole header in the simplified stuff
and u can add shortcut either here or here
I'm not gonna touch it rn, I'm in another city far away from my computer
alternatively
that's why I'm asking cuz I don't know how the latest commits look like
would it look better without Connections header
smaller icons and put in another corner?
above the bio maybe
same size as the mutual friends
review db definitely needs to just turn into a button like mod view
which opens the full modal like how it already does
yeah it's better for them to be smaller
they just look a bit out of place being under now
nah
can still rededsign later
horror
im trying to see how to add to the username icons
like Add Note
why are there so many
i hate discords code

horror
nice
well that was really easy
(0,
i.jsx)(_.default, {
text: c.default.Messages.ADD_NOTE,
"aria-label": c.default.Messages.ADD_NOTE,
icon: o.PaperPlusIcon,
onClick: f,
color: E.color,
look: l.Button.Looks.BLANK,
className: s()(E.button, {
[E.visible]: n
})
})
(placeholder icon)
5c0438e Add ReviewDB to simplified profiles - Vendicated
@limber skiff seems good?
yeah that's good
but its weird that they have 3 million places where this is called from
what about in big profiles
just search nicknameIcons:
tab
OH
insane
i will get around to your comments from 3 days ago now
okay so they have two relevant ones
this one and the other that we alr patch
why can u put a note on yourself
discord is schizo
idk but you've been able to do so since forever 
yeah lol
same reasons most platforms let you dm yourself
idk why discord doesnt do that
bleeh
okay but note limit is so small its basically useless
i just dm an empty gc or venbot
yea i dm an alt
๐ญ
you could dm me too ๐ฅบ
idk so annoying though
i've finally gotten around to this, i've tested the patches in power saving mode and the first patch /(?<=let\{user:(\i),.{0,700})(?=return\(null!=)/ is super slow (14.5ms)
I will fix this; do you think the .{0,700} is the issue?
actually im fucking stupid
cant i just arguments[0].user.id this
lets try it and see
guhhhhhhh
@austere talon discord can explode for using arrow function here
i can't use arguments because of it

yeah i could use e.user.id but thats cursed
ok I fixed the lag by just splitting it into 2 patches where the first one sets a variable, is this an appropriate solution?
it looks like all the other tabs use a hook to calls useStateFromStores to their respective stores anyway
we have 4 options
- leave as-is witb 2 patches
- replace my new hacky variable with the hook variable (i will try this now)
- move hook into a condition that is never changed (break the rules of hooks?)obsoleted idea while I was typing this comment - remove hook
forget that see other comment thread
vee will bomb my code so quick
how will we deal with this? it's starting to clip off the right side of the tab bar, and it will get even worse when ReviewDB (maybe even PermissionsViewer too?) gets updated to work with the simplified profiles
The default expiry time of 3 days is often not the reason why old summaries are discarded, in very busy chats I have experienced the limit of 50 saved summaries being reached after around 7 hours of messages.
TL;DR: This will allow the summary log in large servers to be stored for a more reasonable period of time
@rugged spire you could have just removed the look behind
it's what kills the performance with the quantifier inside
if you can make it 1 patch it's better
whatever I can't help much rn without my computer
there is another solution but yeah
yeah but there is a trick
UserProfileSections\.MUTUAL_GUILDS,text:{0,250}}\)\)}\)(?<=user:(\i),.+?(\i)\.push.+?)
keep full match with $&, user is $1, array is $2
this is too complicated to explain how it works rn
but basically matches the first part, then looks behind after doing it just to capture the variables
i just searched up what this was lmaoo
huh, I thought Vencord completely depends on directly modifying the code
how many more people can approve this :3
me :3
did I do it right
Oh I did it I think
question, using a patch to wrap a hook to be able to use it is bad?
force pushing kinda horror
it'll get squashed into 1 commit later
what are you trying to do
remember the betterAutomod plugin? the way it gets the rules hasn't satisfied me nor it's ideal, I know exactly where the rules global hook but I haven't find an module or smth to get it so thinking to wrap it with a patch instead
You will be hearing from my lawyers
Gif stealer
Smh
this thing
I am using:
idk how to listen to changes with useAutomodRulesList
pull #2300
gtg
Not tall enough. Set this to 48px
Why is this max-width? Set this to width
Also add transform: translateX(-4px); to position it correctly
Fill this in with your ID if you forgot to
github UX so bad
Prefix your classes with vc-
actually this is because the emojis resize :trollface:
I just got back around to this
After looking at the code, I don't think this will work well?
why?
there is no user property assignment immediately before the array
I dumped the thing into regex101 
I copied that from my phone and could have made a mistake
remember \i is our made up thing
yeah
Yes I did
run canonicalizeMatch in the console
with the regex
then paste that in regex 101
also switch to ecmascript regex engine
I'm not stupid
send me a screenshot
I wanna see how far away the user captured is from the match
eh only almost 1k chars away
weird code
it's okay keep it like that
and by doing that method the regex is also super fast
ugh
ive just realised
you want me
to put a hook in a condition that never changes
it was not a single patch
if it doesn't work then it wouldn't work before either
i split it into 2 at one point then nuked something redundant
are those pushes always executed
or sometimes not
if they are you can put the hook in place
.
it compares user.id and currentUser.id
if they are the same it doesnt put them in

in that case there is nothing you can do
I can try it in the meantime :)
you need to keep the hook behind the predicates
however you can still make it a single patch
in that case idk if I can use your fast lookbehind thing
you can actually
but also it may not be worth the trouble
if you do it, it will work fine and be realiable, it's just a little more complicated to make
so what i'm getting from this is
force pushing kinda horror it'll get squashed into 1 commit later
Half the forfe pushes, are rebases.
you can make a match -> lookbehind capture user, add match and hook, match rest -> lookbehind capture array, apply rest and your code that uses hook
try turning your 2 split patches into 1 again with quantifier just dont make a lookback quantifier at the start?
(...)(?<=user)(...)(?<=array)
$1hook($2)$3codethatusesarraywith$4
but at this point just keep it two patches with group
the point of this trick is that the actual part that matches will be specific and fast (like matching .Messages) , and then the lookbehind allows you to capture what you need without making the initial match slow
because if you do normally you need to capture the variables then match what you need
and capturing the variables will most of the time attempt to match a lot of things
a user: is very generic for example
Why is this max-width? Set this to width
It used not to work with width, but now it does work with width magic I guess.
I'm gonna put 90% so it fits resizes (tested)
Also add
transform: translateX(-4px);to position it correctly
you think it's too on the right?
Actually I think you should be doing calc(100% - (var(--custom-emoji-picker-constants-emoji-container-padding-vertical) * 2)) instead
Actually I think you should be doing
calc(100% - (var(--custom-emoji-picker-constants-emoji-container-padding-vertical) * 2))instead
Why? /gen (I say this because 90% sorta works)
note this pollutes the DOM element attributes in a way that it looks like button[collected="[object Object]"]
I did notice, I just don't know how to pass the props another way (not too acquainted with React)
sounds like the component you are shoving "collected" into does ...props somewhere
Yes, it deconstructs (let {whatever,...rest} = props;) props at the beginning of button and whatever is not deconstructed it passes along.
What webpack module ID is that component you are talking about in?
> Making a plugin
> Changes setting
> Presses save settings
> Checks in server, the setting saved
> Restarts
> Setting reverts to random value from 45 mins ago

cloud maybe?
unsure
yeah
turns out settings aren't being saved to the settings.json
grah
So fun
after restart
just gonna forcibly bye bye that field from settings to see if that works
huh?!?!
it's still there (the setting)
More than 1 vencord instance?
the only way it saves is if I edit any other plugin lmao
then it updates the json
Fixed the issue now lol
Create custom reasons to use in the Discord ban modal.
I do not think that we're easily and non-jankily able to add the click functionality, so I didn't implement that. If anybody gets it working, shoot me a message on Discord.
[Original plugin request](https://github.co...
what? @rugged spire
It already exploded I think or my setup is cursed
Discord loves unloading
huh, I thought Vencord completely depends on directly modifying the code
It does, but this specific part requires a monkeypatch since it's an Electron internal, not Discord code. We need to inject our own switches here to fix certain issues.
Feature to copy emoji from message content and message reaction
hardcoding minified names like _ is a bad idea, as they will change randomly
const { reasons } = settings.use(["reasons"]);
getReasons() {
return settings.store.reasons.map(reason => (
{ name: reason, value: reason }
));
},
we added the limit for a reason. 50 is very reasonable, i don't really see demand for a higher limit than that
with infinite limit it will eventually lead to lag due to the sheer amount of summaries stored
I think it being configurable wouldnt be bad, but yea making it very high would cause lags.
It is too big and unclean imo. It works tho, and you can use it as userplugin if you want to.
As of developing it - mayble later.
38624a8 chore: use Object.create for better semantics - lewisakura
I think it'd be better if you grabbed these from the client strings because of i18n
it's not even semantics, it's that __proto__ is discouraged and deprecated
i think thats not possible to avoid
probably, due to discords api stuff
it is possible to avoid, we just need to fix the code
I can't find them in i18n
BAN_REASON_OPTION_SPAM_ACCOUNT: "Suspicious or spam account",
BAN_REASON_OPTION_HACKED_ACCOUNT: "Compromised or hacked account",
BAN_REASON_OPTION_BREAKING_RULES: "Breaking server rules",
BAN_REASON_OPTION_OTHER: "Other",
so semantics :p
they're equivalent but object.create is the better version
since its more optimized
"equivalent" i.e. you get the same result
badddd
yes yes
ill defenestrate myself now
oh right i have to update the script
to support reading translation strings
๐ญ
okieee
so real
Ohh, they weren't showing in the autocomplete so I just jumped to that conclusion
Yeah, not working
const defaultReasons = [
i18n.Messages.BAN_REASON_OPTION_SPAM_ACCOUNT,
i18n.Messages.BAN_REASON_OPTION_HACKED_ACCOUNT,
i18n.Messages.BAN_REASON_OPTION_BREAKING_RULES
];
because you cant use webpack modules on the top level, they are not loaded yet
this looks so horrid
lmao
i hope they dont push new profiles
they are pushed lol
the current impl will break if the locale is changed
which isnt a big issue
but the implementation shouldnt be that hard to change
to just dynamically show the locale strings if the settings value is empty
it's a rollout silly
damn
how would that work?
oh wait I understand now
I don't want to do that bc someone might want to have no default options
just make it an option to shoe a textbox by default
lile it used to be
imo that is more useful than what the plugin currently does
sure, I'll make an option to autoselect other
(whch shows the textbox)
this is js, it can be depecated for years and it won't be touched anyway
Is there even anything that was emoved fom js except actually dangerous things?
Done ๐
yes
Wait actually maybe not, which part?
this
So you want getReasons to return (settings.store.reasons ?? defaultReasons).map()
yeah im saying dont store the default reasons cuz they might change
I still don't really follow, so the reset button should do what? remove all?
nice
Just confirming
yea
None
None
None
None
None
None
None
None
why lock just delete the spam @austere talon
vee locked a tiny PR because me and a whole load of other people just approved it
insane
why lock just merge smh
Hello, I found your plugin and would love to download it, however I'm not sure how :[ I have already done vencord dev but whatever I do doesn't work. Unsure if its a issue on my end but I would love some helpful steps if you could or anyone else for that matter. Thank you! ^^
Hello, I'm unsure if this is working or not, if it is:
I would love to download it, however I'm not sure how :[ I have already done vencord dev tool but whatever I do doesn't work (that being cmd or putting into the folder as said from the vencord/docs/plugin and restarting it). But other folders have worked, they just need to be already within folders. Which I've put them into folders, still nothing, so I'm confused. (After already moving the plugin into the userplugins)
Unsure if it's a...
@Z4ne4what are you doing pnpm build before restarting?
@Z4ne4what are you doing
pnpm buildbefore restarting?
I am! And pnpm inject just in case, isn't working... :[ (tried both times, with and without doing pnpm inject)
I'll send what I have here:
The ones in green are the ones that are working, I was told that it could also work if I made a folder for it and then placed index tsx/whatever other plugin was in there. As told by the...
- Wdym devtools?
- Try cloning the repo instead of manually assigning files, and see if that works
- The could not resolve suggests that those folders do not in fact contain an
index.tsx
Wdym devtools?
Try cloning the repo instead of manually assigning files, and see if that works
The could not resolve suggests that those folders do not in fact contain an
index.tsx
I'm probably saying it wrong bc I'm tired, and it's 4am. But it's used for third party plugins, enabling vencord into dev mode so it works, which is how I got timezones and fake profile. Apparently by some lucky miracle...

what do you mean
just crashes your whole discord
wtf
it did crash once out of like 10+ times of me opening emoji picker
(on first enable of plugin)
haven't had it since
so there is still some case where it crashes, but its not constant
now I cant reproduce it anymore either
I'm currently using this plugin and find it very useful when I can't speak and want everyone in the voice channel to know I'm typing in a text channel.
Oh no
oh no
I'm currently using this plugin and have found it pretty useful.
Funny thing, both initial crash and search crash is because of react hooks
Initial crash is generally here or could be here
With the error Error: Invalid hook call.
and search crash is Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.
I know
I realized
reading the error
Again, per last time I fucked up this plugin
I still don't know react
but i fixed it already
would native cuztom plugin support require the user to always do pnpm jnject every time
like
how would that hypothetically work
i want to concept an idea like that
except the concept would stay true to vencord
so like
"Enabling custom plugins is a very risky feature as people can put malicious plugins for people to download and we are not liable for the damages you receive by taking this risk. We will NOT give support for custom plugins either, talk to the plugin developer about it."
behind 7 different warning prompts lmao
Isn't it just userplugins with extra steps?
yes because people (i) am lazy
no, probably just the security risk
wait nvm
i read wrong
You need to build it anyway
and i have like 3 different dev versions
not a thing cause ven really like the current first party only model
everything just works
build every time you launch vencord :3
ooh wait idea
It shouldn't be hard to call pnpm build everytime, but lol
dev builds only have support for it
it's not intuitive because i have to open up my IDE switch branch pnpm build pnpm inject
y not just open a terminal window
dev builds already work like a filter :3
?
What
first up why switch branch
I have the same question
you know the userplugin folder exists right
side projects
yea
cd Vencord/userplugins
git clone git@example/dumbPlugin

What's wrong with it
child process 
OH MY GOD HOW AM I SUPPOSED TO SORT THESE DAMN IMPORTS
me when i'm limited to web vsc
yay i fixed it nvm just had to sort it alphabetically
Just install eslint and it does it for you
create vesktop but with a plugin downloader + builder + "injector"
Just install eslint and it does it for you
I was stuck using VSC on web so I couldn't but now i'm at my main pc so its not an issue
i already added external plugin loading ages ago but decided against it
I mean it feels,,, non-vencordy
owned
wait
why are u managing pnpm with pnpm itself lmao
either use their install script or manage it with npm or use corepack xd
i used npm instead 
oh shit im a little lost on showing a modal
making it seems easy but acutally getting it to appear
Use corepack ๐ญ
wtf is corepack
It's a way to manage package managers
installs pnpm npm or yarn
it also makes it so per project package managers are easy
first corepack enable iirc (or maybe that was just back in my day)
what does this mean
// TODO: Create Modal and add stuff
function webhookMessageModal(props: ModalProps) {
return <ModalRoot {...props} size={ModalSize.MEDIUM} className={"wm-send-webhook"} >
<ModalContent className="wm-send-webhook-content">
<Forms.FormTitle className={Margins.top20}>Send Webhook Message</Forms.FormTitle>
<TextInput
value={""}
onChange={v => {
}}
/>
</ModalContent>
</ModalRoot>;
}```
openModal(props => <webhookMessageModal {...props} />);```
Capitalize the w in webhook
WHY IS THAT A THING
HOW DID THAT FIX IT
WHAT
we are getting somewheres ๐ฅ

ok so i cant change the placeholder values wtf
Do you know if there's a checkbox for modals?
Ctrl shift f checkbox
is there any function that returns mutual guild count from cache
oh there is i was just blind
says these are menu items

Isn't that just a switch?
you want the forms module for most things
can this be like that or should I add like a text somewhere that says what exactly it is
any text i put looked extremely ugly
so the only thing i can imagine is making it show when hovered or something but idk
6597061 fix badges in new profiles - Vendicated
4ec01d0 disable UseEcoQoSForBackgroundProcess - Vendicated
6283046 fix showconnections in new profiles (#2567) - Masterjoona
50c4513 RoleColorEverywhere: show role colors in the re... - programminglaboratorys
4bf28f4 BadgeAPI: fix our badges not showing if there a... - Vendicated
6597061 fix badges in new profiles - Vendicated
4ec01d0 disable UseEcoQoSForBackgroundProcess - Vendicated
6283046 fix showconnections in new profiles (#2567) - Masterjoona
50c4513 RoleColorEverywhere: show role colors in the re... - programminglaboratorys
4bf28f4 BadgeAPI: fix our badges not showing if there a... - Vendicated
6597061 fix badges in new profiles - Vendicated
4ec01d0 disable UseEcoQoSForBackgroundProcess - Vendicated
6283046 fix showconnections in new profiles (#2567) - Masterjoona
50c4513 RoleColorEverywhere: show role colors in the re... - programminglaboratorys
4bf28f4 BadgeAPI: fix our badges not showing if there a... - Vendicated
None
None
None
None
ResurrectHome (found no module):
ID: -
Match: GuildHomeFeedbackExperiment.definition.id
ResurrectHome (found no module):
ID: -
Match: 487e85_1
ResurrectHome (found no module):
ID: -
Match: 69386d_5
None
None
None
NO FUCKING WAY
they probably did this because of us
discord removing the old home but somehow still haven't removed the 2022 april fools joke
you dont think so?
there is no way they didnt notice home suddenly being used
dang :(
this sucks
๐ญ
im sure you could add all the missing code back ๐
im just puting everything into 1 thing i never said i made it ๐
why are you reviving something thats 4 days old
okay thats your own issue, if you're pissed off delete review and block user
thats a little off topic tho so
you cant del someone else review?
nvm
How do you isntall this in Vencord? I don't see it on the default list in the app
bruh
How do you isntall this in Vencord? I don't see it on the default list in the app
Until it is merged, you have to build and install it manually (linux-specific instructions):
- Uninject upstream Vencord with the installer.
- Download the fork (
git clone https://github.com/camila314/Vencord-fork && cd Vencord-fork) - Build the fork (
pnpm run build) - Inject the fork (
sudo pnpm run injectand follow the menu)
Allows you to write unlimited notes for users. Unlike Discord, which restricts note saving to a maximum of 500 users and removes older notes when this limit is exceeded.
oh wow
i dont think anyone would have noticed that cause idk anyone that uses the notes
for me its a "whens this user's birthday" slot
this isnt how i would do it though
when did this happen
I would keep the Discord notes system and this plugin tied together so there aren't two different places for notes
Basically just put the notes from the plugin in the normal Discord notes box, and add the notes to the plugin when you type in the normal notes box
dont forget to remove any console.logs in your plugin
Authorization: token.getToken()
You don't need to do this, just use DataStore.set("UserNotesData", ...) or whatever function you need
probably a repo setting changed cause of spam lol
free thinkers when approve button
the spam in question
spam is subjective
it did get the pr locked
why did this close, insane
You don't need to do this, just use
DataStore.set("UserNotesData", ...)or whatever function you need
with it then I need to save data as object in store instead just using userId as key
I would keep the Discord notes system and this plugin tied together so there aren't two different places for notes
Basically just put the notes from the plugin in the normal Discord notes box, and add the notes to the plugin when you type in the normal notes box
yea, I thought about it and decided to do it that way cos I feel like the default notes box isn't really convenient due to it being so small
A fixed up version of https://github.com/Vendicated/Vencord/pull/2171, I deleted my first fork a while ago so i need to make a new PR- Hopefully the formatting is more consistent now, i also tested it with all the cases i could think of:
- DMs
- Standard Channels
- Forums
- Voice Chats
- Hidden Channels (Just does nothing)
- Threads
Are we any closer to figuring out the freezing of vencord?
?
after a while of not interacting with Vencord Vencord just freezes
becomes entirely uninteractable and you either have to wait and hope it resolves itself or hard kill vencord and restart it
I swear I saw others talk about it, it's not just me is it?
it'd prob hit clients soon tho right
like the latest master
There's straight up no reason for the check to fail it just felt like it i guess lmao
Unfortunately due to the limitations of await fetch I'm not fully sure if I'm able to add advanced error checking / filtering. On my other iteration of the plugin I was able to use REST commands, but since Vencord doesn't support REST I don't think I can.
(example of the past code I had used)
` const res = await REST.delete(webhookUrl);
console.log("[WebhookManager] Webhook deletion response: " + JSON.stringify(res));
if (res.ok == true) {
sen...
Thank you for making me aware of this, it's been implemented now ๐
What does thread_id/name do? I read the documentation and it still seems very vague.
causes errors because for some reason it doesn't think it's a string ๐
Modal as in the ones that show up when you submit information to an app/bot? Or a custom one like EmoteCloner's server selector
what?
discord blocks requests to webhooks from discord domains so that's likely why RestAPI is not working
but you can still check errors
Discord decided to ruin the "Favorites Server" experiment by removing your ability to favorite DMs & threads.
This is a very simple plugin that removes that check so you can favorite DMs and threads again.
what if discord gonna change this again in the future, wouldnt this plugin be useless in that case
after all the favourites thingy is an experiment
Comparison of with/without plugin:
i dont think discord changed anything, i think its because we removed isstaff
isStaff is enabled by default now iirc
i thought we killed it because it was breaking stuff
@austere talon please review, will take 5 seconds, worlds simplest plugin
yeah
nope
ah
isStaff has to be true in that context I guess because the patch works without me forcing isStaff to true
with it then I need to save data as object in store instead just using userId as key
what? look at how other plugins do it. You don't need to create a custom store
@austere talon whenever u do a commit soon can u slip in renaming me to lillith <3 instead of luna <3
oki
tysmm
<@&1237381028662874123>ending.machine what if we add extension.ts that gets added to extensions
doesnt ubo work for it
xd
so i decided to debug why this still happened
guild.joinedAt is undefined
that's whats leading to it
its smth to do with invites
oh literally when you view an invite
like
oh wait no
im dum
something with editedTimestamp
so ML afterall?
hmmm
something with edits for links
oh god โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
since when can whitenames post here???
idk but it needs to be made so they cant
@austere talon is this intentional
whitenames is not precise, (i do get the point)
the only whitenames that should be able to talk here are the ones with the โprogrammingโ role
That's exactly what I meant, as a whitename with the programming role
โ \ {programming, regulars, contributor (epic)} โโ
ยฏ_(ใ)_/ยฏ

its always ml
how to reproduce:
- send https://github.com/vendicated/vencord/pull/326
- edit to https://github.com/vendicated/vencord/pulls/326
it's important that there's no cache, so if it doesn't reproduce, add ?djwdjsaiopdsaijodsjiahdioashj to the link
I just switched to #๐ค-bot-commands, didn't even send anything and it's the same error ||okay Imma shut up now||
Content
how can i apply? i was banned for "spam", i just posted a server ad in #offtopic and i read the rules and there are none about server invites or something like that, now i don't know what to do
Request Agreement
- [X] I have read the requirements for opening an issue above
is it that minecraft server ad
it wasn't actually but ยฏ_(ใ)_/ยฏ too lazy to track it down
userplugin i made to debug it xd
it just monkey patches Date
to log the input whenever a date is invalid
globalThis.Date = new Proxy(Date, {
construct(...args) {
const res = Reflect.construct(...args);
if (isNaN(res.getTime()))
new Logger("Timestamp bug").error(new Error("Invalid Date"), args);
return res;
}
});
smart
feels bad for home
obviously it's possible to re-implement but holy shit that's a lot of work
and they probably removed all the ui for it
what? look at how other plugins do it. You don't need to create a custom store
I mean with the custom store I can update user note just by set(userId, userNotes, NotesStore) (just set single value for single key) instead each time set a whole usersNotes map into the default store (slower)
yep if you're storing many rows, maintaining your own store is better, it's like a sql database
hmm does this also happen with the virus detected edit? 
the food recipe one
since thats edited in the same way afaik
c54650b customRPC: fix typos in settings descriptions (... - NuclideK
40db2f5 AppleMusicRichPresence: add option to disable l... - lumap
1bc9a80 fix moreUserTags (#2563) - EdVraz
29c6594 MessageLogger: add context menu option to clear... - nmsturcke
5996e67 fix USRBG & ViewIcons in new profiles (#2557) - AutumnVN
26f5e82 o7 ResurrectHome - Home feature was removed fro... - Nuckyz
o7 (never used it)
I didn't use much either but I had it enabled
it was cool regardless
(I honestly forgot about it most of the time)
4ec01d0 disable UseEcoQoSForBackgroundProcess - Vendicated
6283046 fix showconnections in new profiles (#2567) - Masterjoona
50c4513 RoleColorEverywhere: show role colors in the re... - programminglaboratorys
4bf28f4 BadgeAPI: fix our badges not showing if there a... - Vendicated
aaba22f ShowConnections: improve look in simplified pro... - Vendicated
15394e1 chore: fix showConnections?? - lewisakura
fair enough :3
I don't even know what that thing was ngl
@austere talon i've very crudely done it for now
it parses the $t call expression and loads it from the correct bundle
xd
$t is such a weird name







