#πΎ-core-development
1 messages Β· Page 197 of 1
it's equivalent to LazyComponent(() => findByProps("banana").banana)
rendering () => null just does nothing
trying to render undefined makes it error
which is another reason the wrapper component is better
You will go and read in #π³-plugin-requests and your eyes will gravitate to someone saying "was i not meant to click the retard option?" and realise they will blindly do it without understanding what it means

oh yeah i got a dm about my channeltabs fork being busted again
is burnout from making client mods normal @austere talon@limber skiff
yes it is
df32e8d fix missing space in MoreKaomoji (#2625) - Jacob1Tm
d61a930 Developer Documentation has moved to https://do... - Vendicated
32c2128 ReplaceGoogleSearch: improve search engine sele... - OtterCodes101
3688c7e ShowMeYourName: compare username & nick case in... - Bloofield
cd205b1 ReviewDB: add to context menu in new profile ui... - programminglaboratorys
born to add a message into a first time run modal telling people to fuck off stop complaining forced to write a polite message instead
i love and hate this
do you have any better idea how to do it π
i wanted to follow the spirit of the new profiles
keep it minimal
putting that entire permissions block into the main profile would have ruined it
yep that's what we should keep doing
the love is smart place to put it
the hate is how much stuff there is combined with how it's just flexy
yes
I need better ideas to rename findByProps
if nothing good comes out it's staying as is
100%
Put a tab in the full UI as well
also
Does it really need to be there at all? Does the full profile not show all roles?
It does
I think these should all be grouped together
like how the permissions are grouped in the official UIs
I tried my best, I dont know how to make this more clear without emitting information
we only have like 6 top level destructuring
maybe I can do some magic to still allow mapMangledModule for it
eh nah
Would having the full user profile panel come out with the various permissions below be too much? 
As if you simply fully opened someone's profile
But instead of details such as bio and connected accounts, woah, perms

I should allow it for mapMangledModule but I need to change the approach I took so will do it another time
@austere talon now that i have actually tried this, would it be possible to make the background for this the same as the profile itself?
erm not really what I meant but ok
unsure
if it isnt possible, can the background be given more contrast
blends in with the regular discord background behind it
UserVoiceShow (had no effect):
ID: 192133
Match: ```
/applicationId:\i.id}),(?=.{0,50}setNote:\i)/
findComponentByCode("isTryItOutFlow:", "pendingThemeColors:", "avatarDecorationOverride:", ".CUSTOM_STATUS")
None
None
UserVoiceShow (had no effect):
ID: 192133
Match: ```
/applicationId:\i.id}),(?=.{0,50}setNote:\i)/
findComponentByCode("isTryItOutFlow:", "pendingThemeColors:", "avatarDecorationOverride:", ".CUSTOM_STATUS")
None
None
I dont know what the old find is supposed to be :)
Dont worry about it
Just nuke the code from existence
I mean the webpack find
df32e8d fix missing space in MoreKaomoji (#2625) - Jacob1Tm
d61a930 Developer Documentation has moved to https://do... - Vendicated
32c2128 ReplaceGoogleSearch: improve search engine sele... - OtterCodes101
3688c7e ShowMeYourName: compare username & nick case in... - Bloofield
cd205b1 ReviewDB: add to context menu in new profile ui... - programminglaboratorys
image keeps breaking :(
this is more smart lol
df32e8d fix missing space in MoreKaomoji (#2625) - Jacob1Tm
d61a930 Developer Documentation has moved to https://do... - Vendicated
32c2128 ReplaceGoogleSearch: improve search engine sele... - OtterCodes101
3688c7e ShowMeYourName: compare username & nick case in... - Bloofield
cd205b1 ReviewDB: add to context menu in new profile ui... - programminglaboratorys
df32e8d fix missing space in MoreKaomoji (#2625) - Jacob1Tm
d61a930 Developer Documentation has moved to https://do... - Vendicated
32c2128 ReplaceGoogleSearch: improve search engine sele... - OtterCodes101
3688c7e ShowMeYourName: compare username & nick case in... - Bloofield
cd205b1 ReviewDB: add to context menu in new profile ui... - programminglaboratorys
None
None
None
None
None
None
None
None
obligatory supporting of the pr π thank you!! love to see this get merged
did you do some arcane magic where it thinks it is a bot profile?
it was a 4 byte patch
not at my computer rn
There seems to be a bug where when a user's name has capital letters, this plugin always acts as if the username and nickname are different. This is my attempt to fix it.
am i stupid or arent usernames always lowercase
uwu
π
isnt ?? a null/undefined check?


dont know how long this has been broken but needs to be revived π
great plugin ngl
After a few days of fighting with my stupidity, I finally found a way to deal with it without "dynamic react"
Now all colored text parses as discords markdown rule, which is definitely a much better way of doing it. And it's a lot more readable now

nuckyz casually breaking enabled by default feature π
how did we not notice this before lmao
well it only broke when you added that IS_REPORTER which was fairly recent
3 weeks ago
I want no blocked users to get merged already /silly π
the https://docs.vencord.dev/installing/custom-plugins/ in question
No I know, just, excited for the pr
the server where you cant see the users with access to the ticket- what is the ticket bot they use?
@hard rune
the server where you cant see the users with access to the ticket- what is the ticket bot they use?
Ticket Tool#4843
the server where you cant see the users with access to the ticket- what is the ticket bot they use?
Ticket Tool#4843
right there I uploaded a new screenshot.
and youre sure the users the tickets are with, are still in the server?
and youre sure the users the tickets are with, are still in the server?
mhm im 100% sure lol
the screenshot you provided shows that its working completely fine.
the screenshot you provided shows that its working completely fine.  but what's the policy about what is accepted into #1032200195582197831 and how can I submit a third party plugin? I don't see any info on how to get a plugin in there
(or if this is somehow not sufficiently API abuse, maybe it can get merged into main vencord lol, but I doubt it)
Looks like selfbot behaviour tbh
And I think there was a plugin request for it that got closed for that reason

it 100% is a selfbot
not getting in #1032200195582197831 either then?
just unfriend people who add u π
and don't add people you don't know well
^
that's another option lol
was a fun exercise anyway even if it's not useful
there's one guy who somehow adds me to group chats despite having him blocked but whatever lol idc much
that is literally not possible.
that's what I thought too, idk what's going on
maybe I developed schizophrenia a year ago
that's besides the point though
the lines i commented on
lol
oh?
well it works but
it's weird
a bit misleading
just do /\[\{name:\i\.\i\.Messages\.BAN_REASON_OPTION_SPAM_ACCOUNT.+?\}\]/
sometimes it randomly disappears from the settings lmao
then it would show up
how would I go about doing the second regex?
not lik that
ur match needs to be specific enough so if they add smth similar it wont match that
useState(0) is WAAAAAYYY too generic
as is matching any array
ok, but like it's in (at least to me) a really bad place to get a good match
I could maybe try to patch the switches instead?
for example /useState\(0\)(?=.{0,100}targetUserId:)/
ok, so just make sure we're between some points?
^
How does /(?!.{0,100}canBulkBan:)useState\(0\)(?=.{0,100}targetUserId:)/ look?
works
that negative lookahead at the start makes little sense
just use this
who isnt lol
(shut up nerds)
no one isnt
regex is the type of tool u never learn, u just search it up when u need π
even if u learn, youll forget it after a few weeks of not using it. unless ofc if u use it on daily basis
the replace was wrong π (fixed now)
sounds like a skill issue

ok π€
idk, i try to memorize regex
its fun :D
π€ π¨
π
u got too much time on your hand mate
@Bloofield This broke due to the previous PR https://github.com/Vendicated/Vencord/pull/2630
So I've decided to nuke a color picker for a greater good. Mostly colors are taken from some sort of color theme or taken from a picker from a different program, which makes usage of the built-in one really rare.
Also, less things in a plugin makes it easier to concentrate on fixing it if doomsday comes again
cooked
None
None
None
None
None
None
None
None
oops broke it
962eaa9 this was too hacky and causing issues already - Nuckyz
one day nuckyz will delete main branch
why
why
why ββββββββββββββββββββββββββββββββββββββββββββββββββββ
why
why
settings.store.reasons = [...reasons, ""];
const reasons = settings.store.reasons.length
? settings.store.reasons
: [
i18n.Messages.BAN_REASON_OPTION_SPAM_ACCOUNT,
i18n.Messages.BAN_REASON_OPTION_HACKED_ACCOUNT,
i18n.Messages.BAN_REASON_OPTION_BREAKING_RULES
];
return reasons.map(s => ({ name: s, value: s });
None
None
None
None
None
None
None
None
@Bloofield This broke due to your previous PR #2630
Interesting. I assumed usernames would always be lowercase which is why I didn't add the lowercase conversion for usernames
me when i intentionally bring bugs into vendor
So will this be merged or the other PR reverted?
@Jono997 This one should be merged. There needs to be a lowercase conversion to prevent duplicate usernames from showing up.
The thought behind the original PR was to prevent nicknames with capitalisation in them from being shown.
why would the comparison be case insentitive
cause if your username is dolfies and your display name is Dolfies, it's pointless to show both
im still wondering why a lowercase conversion needs to be done for usernames
arent all usernames lowercase?
non pomelo
look at what "username" is defined as jesus
yea no one has, for some reason
wym
Shouldn't message requests be included in Vencord.Webpack.Common.RelationshipStore.getPendingCount();
None
None
None
None
@austere talon WREQ.O IS GONE
they are chunking css hardly now
and the webpack entry point file is fucking huge
the sentry webpack has a billion pre populated modules too
oh i can't embed that message at all
sob
okay let me see what I need to do
wtf is this regex
fucking sentry webpack doesnt have .m
None
None
None
None
ShowHiddenThings (had no effect):
ID: 231338
Match: ```
/?["pepe",.+?]/
**__NoTrack (found no module):__**
ID: `-`
Match: ```
window.DiscordSentry=
None
None
None
wait i thought discord already disabled sentry if it detected a client mod?
probably because we already disable sentry so they didnt add us to ignore list
will there ever be a single day where dev didn't get force-pushed
I had to.
xd
I couldnt push to main cuz a test never ended
okay now I can work with calm
im kidding btw π i didnt mean to judge you for it or anything
no need to rush anything anymore
it's okay haha
i just guessed they didnβt put Vencord on ignored list because of the countless vencord forks and a small bit because yβall do it for them
okay so this is very interesting
I'm guessing sentry is now a complete separate thing which includes a copy of everything it needs to function
it has absolutely no logic for webpack chunk loading
and everything it probably needs is already placed inside it's webpack instance
that's just a guess though
which raises the question, do we need webpack patching on those
yep
I am checking the modules that only exist in the sentry webpack, and they are all sentry related
the rest are just copies which are only used internally by it
Incomplete URL substring sanitization
'discord.com' can be anywhere in the URL, and arbitrary hosts may come before or after it.
Incomplete URL substring sanitization
'discordapp.com' can be anywhere in the URL, and arbitrary hosts may come before or after it.
hey nookie, did you know that you have incomplete url substring sanitization? 
discordapp.com can be anywhere in the url, and arbitrary hosts can come before or after it
maybee
okay everything is fixed now
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Up on this. Just waiting for this to get merged so I can make a few changes too
@austere talon do you know if this is enough to stop the sentry?
or we need to fully avoid calling the init function of it
if this is the case it got more difficult
nvm it is not
I'm still debating how to handle this, if you have any idea vee lmk
wreq.O is gone, initial scripts needed are all together inside the pre populated modules now
sentry is complicated independent and has a copy of every modules it needs, along with it's own scripts
but by being independent it's webpack instance no longer exports wreq.m
cute
and the initialization of it is placed inside of the webpack script instead of being inside a module
https://marketplace.visualstudio.com/items?itemName=Vendicated.vencord-companion is still using the old one. Is that intentional because you haven't made a release yet?
which means we can no longer patch and remove that easily
everything is working fine already
the only issue is the sentry
is the anti sentry working?
I have notice some pr plugins, patch the markdown rules or react components to add their own markdown, with this API there won't be need to do so and won't create conflicts between plugins. easily have the ability to add and modify discord markdown rules.
this adds a new dependency simple-markdown for typing purposes as this is the same library discord uses for their markdown
@limber skiff is there still any changes needed or is this fine for now
@sterile oak stupid question but considering you are doing stuff related to markdown rendering, how do I render markdown explicitly including header tags in the format the whats new modal uses (paragraphs, 2nd arg is false in the render function)\
also at the same time, how do I hack single new lines into the paragraph rendering mode
quite confuse of what's you looking for
Parser.parse is FUCKING USELESS for anything useful
statements from utterly deranged vencord devs
I only made the discord markdown rules accessible and experiment it by creating this [MinecraftFormatCodes](#1032200195582197831 message)
tl;dr: how do I use the built-in markdown parser to render headers and links
use the built-in markdown to render links and headers in a custom component or something of that kind?
that what I understood
lemme see how Parser.parse works, does it uses the discord markdown rules or is everything hardcoded?
just some flags
uses the markdown rules
well
like is this allowed to render links and blah
id draft this and go through and replace the plugins that use md to use this API instead.
if you grab a list of them, i could make a pr to the feature branch and youd just have ta merge it.
google will love immediate next update
why so soon? did i miss something major?
ahhh
if its a fix for canary and ptb, do you really need to push it to the web version?
yes???? because it will eventually be pushed to stable
eventually
so do it then?
idk, your project, up ta you. im just pointing it out
this looks like your answer, you use Parser.parse as its probably what the message component uses. the problem is it would uses all the message rules and can't be limited for two rules, so you should find a way to create your own set of rules.
what you can do is emulate the markdown parser
while (index < message.length) {
const char = message[index];
if (parser.requiredFirstCharacters.includes(char)) {
const l = message.slice(index);
const matched = parser.match(l);
if (matched) {
console.log(matched[0]);
index = index + (matched[0].length);
}
}
index++;
}
how the rule parse works idk, but what I saw that its mapping all the possible rules by checking char by char, than use the match method to see which rule matchs and based on order but that would be the worst option to create the parser from scratch
for (var i = new Map, a = [], o = 0; o < r.length; o++) {
var s = r[o]
, u = e[s].requiredFirstCharacters;
null == u ? a.push(s) : u.map(e=>{
let t = e.charCodeAt(0);
!i.has(t) && i.set(t, []),
i.get(t).push(s)
}
)
}
or the solution I found now (gimme a sec)
???
google takes days to approve the update
and we should fix things ahead of time to minimise people affected
this is scary
those functions are responsible to create ast parser and react parser, what you looking for is probably the react perser. it takes one argument which is the rules, you can look for examples from the prs that patchs the rules (or the Minecraft format codes plugin), or from the library discord uses simple-markdown
@rugged spire
here a guess of how its being used
const COOKIE_RULES = {
Cookie: {
order: 25,
requiredFirstCharacters: ["C"],
match(source, state, prev) {
return /^COOKIE/i.exec(source);
},
parse(capture, nastedParse, state) {
return {
content: capture[0]
};
},
react(node: { content: string; }, recurseOutput, state) {
return <div className="vc-cookie-rule">{node.content}</div>;
}
}
};
const parsers = findByProps("reactParserFor");
const myReactParser = parsers.reactParserFor(COOKIE_RULES);
function CookieRule({ content }: { content: string; }) {
return <div className="vc-cookie-rule">{myReactParser(content)}</div>;
}
we should probably move this somewhere else.. this is feels too much to document in #πΎ-core-development
so that how you would make your own rules or limit your component to use a set of rules
anti sentry is partially working
the rest is okay so a release shouldn't hurt
match by non-special character will often result in weird behavior when it doesn't matches at all if chunk doesn't start with this character. Which is caused of text rule, so it requires some changes as well to work properly. Cookies are tasty will work, but are cookies tasty? will not by default.... at least it was for my case
Also requiredFirstCharacters seems to be able to handle multiple characters, so it's possible to just make requiredFirstCharacters: ["cookie"] if you require specific case
can we come back to this later in #π§©-plugin-development?
yeah
my brain is a bit
right now
i'm busy building something else anyways (fun game, guess what I'm building based on the screenshot)
I don't think requiredFirstCharacters handle multiple characters at least according to the snippet I posted above, no matter what it will pick the first character from the strings in requiredFirstCharacters
as you see here
markdown rules for notes? based on your question above
Nope
The markdown stuff is for something else (more specifically, a way to inform people my code exploded)
Hint: this component is what I'm looking at
I am squeezing my brain hard
ohh, yeah better than opening a popup
@uneven needle btw, thanks for fixing ShowConnections so I can easily hook in there β€οΈ
id draft this and go through and replace the plugins that use md to use this API instead.
if you grab a list of them, i could make a pr to the feature branch and youd just have ta merge it.
I am unsure of this idea, I see that the API should be added first than the authors could integrate to use the API; I could assist them
/v/ reference
horror
pretty shit
can you fuck off honestly
don't be a creep.
why don't you allow this plugin?
don't be a creep.
why don't you allow this plugin?
Because its creepy?
How do people not see that it's creepy
IDK people who want stuff like this the same people who think stereo microphone plug-in is a good idea, and they have to have stuff like this because they think everyoneβs talking about them all the time
So once a PR closed, it should be locked so you donβt have people like this reviving them
no
closed PRs having comments could be useful
unlike plugin requests
I meant only on creepy ones like this
this is dumb imo
if you think it's creepy get discord to fix it (they won't)
how is this different from being invisible
if you don't see what's creepy about snooping on people who think you can't hear them, i can't help you
I used to think server deafening a bot would work 
yeah lol there are a bunch of music bots that deafen themselves "for privacy"

/were
well i dont have a use for it
but it's a client-side indicator so no not really
any normal discord user thinks if you're deafened you can't hear them
that's how it should work
if discord wasn't insane
Adds notes back to simplified profile popouts
It also includes an option to only show the note section when a note is set. The "add note" button has been reprogrammed to show and focus the note textarea
Also works in the DM sidebar
:
ID: 103113
Match: ```
/(?<=.BITE_SIZE,children:[)(0,\i.jsx)(\i.\i,{user:(\i),/
None
None
None
ReviewDB (had no effect):
ID: 103113
Match: ```
/(?<=.BITE_SIZE,children:[)(0,\i.jsx)(\i.\i,{user:(\i),/
None
None
None
here we go again
None
None
None
None
None
None
None
None
Pretty sure the badges got borked after doomsday, will fix it soon
None
None
None
None
None
None
None
None
look mom, im on tv!
DefaultStatusForever
Makes the custom status screen default to "Don't Clear" as the duration
funny how this screen still doesn't show the display name
and instead your raw username in block capitals lol
btw @nimble plaza thanks, this is the plugin I always knew I needed but the muscle memory made me always forget that I needed it
ofc :D
this is completely unreadable and i'm sure there is a better way to do this.
what is this function even trying to do anyway?
What the fuck did I read
Content
I tried to use Dearrow plugin but bro it straight up broke my Discord. Literally
Request Agreement
- [X] I have read the requirements for opening an issue above
use our support channel for support.
LITERALLY
None
None
None
None
None
None
None
None
but bro it straight up broke my Discord. Literally
return Object.assign(
slate,
Object.values(Rules).reduce((acc, rule) => {
Object.keys(rule).forEach((subRuleKey) => {
const subRule = rule[subRuleKey];
acc[subRuleKey] = subRule.Slate ?? slate[subRuleKey] ?? { type: "skip" };
});
return acc;
}, {})
);
That's better but you should definitely add a comment that says what this does.
Also you're two different variables named Rules and rules are not good, there is no way to differ between them. Choose a different name for one of them
Oh my god what the fuck
What's the polar opposite of eyegasm
Eyeneurysm
agree with MrDiamondDog. u can just rename
interface MarkDownRules > interface MarkDownRulesType
const Rules: MarkDownRules = {} as MarkDownRules > const MarkDownRules = {} as MarkDownRuleTypes (u no need to put :MarkDownRules here cos u already declared type of object)
Yup that works
react devtools:
c, d, m, n, o, p, r, s (entry point), t
shiki:
c, d, m, n, o, p, r, s (entry point), t
discord workers:
d, e, f, g, m, n, o, p, u, x (entry point), O (onChunksLoaded)
entry point not exported, includes chunk loading functionality
sentry:
d, g, hmd, n, nmd, o, r
entry point not exported, no chunk loading functionality
discord main:
a, b, c, d, e, f, g, hmd, j, k, l, m, n, nmd, o, p, r, t, u, v
entry point not exported, includes chunk loading functionality
(ignore this)
Incomplete URL substring sanitization
'discordapp.com' can be anywhere in the URL, and arbitrary hosts may come before or after it.
Incomplete URL substring sanitization
'discord.com' can be anywhere in the URL, and arbitrary hosts may come before or after it.
did I ask
@Vendicated can you please merge this and fix the broken plugin since https://github.com/Vendicated/Vencord/pull/2630 you merged the other day
Lobotomy arc
nuckyz you should sleep
amen
None
None
None
None
but also thank you for your hard work nuckyz
None
None
None
None
I'm finished 
yall wanna see a funny
sentry disabled in the discord developer docs
it requires a different patch but it works
nuckyz stop introducing unsafe code in vencord π
its sooo temptinggg
π
average BD experience
yeaa
I'm so happy that saw vencord in some video
can get crash only while creating plugins

@austere talon I think we need to change the min chrome version in the manifest
idk what that does but it should be useful
lmao
thank you
god so many people using stuff too old for this new api
maybe we should use the other hack I found?
millions must upgrade
not even discord supports it lol
shoot I use ReactOS for my server unit and i donβt even think Win7 is a good thing to use
idk if i like that sentry commit
sync xhr
well it gets from cache
but also that error is ugly π
so bad
π₯
I don't like simple girls
I would also suggest here to make the default state an option like I did in https://github.com/D3SOX/Vencord/commit/34fa4aa32e8f7ee0ef51649b97ff0a6be098d7b8
i have notice a problem on my naming convention, keenelge suggested to name Rules to MarkDownRules and MarkDownRules to MarkDownRulesType. is there any third opinions before I apply?
SHOWCONNECTIONS HORROR
only when creating plugins and when discord changes their bundler 
086c31c new plugin ShowAllRoles: show all roles in simp... - Luna-devv
why did you remove these classes?
Explained in the above comment, as far as I'm aware they never did anything as the css file wasn't even included.
try to use .+? sparingly
it could happen that this string appears way earlier in the file and you end up matching way too much or the wrong thing
either remove .+? or replace it with a fixed length match, eg .{0,200}? to match up to 200 chars
this module uses DiscordNative copy which makes copying not work
find: /"Ctrl\+C",action:.{0,50}\.focus/,
{
find: '("interactionUsernameProfile',
replacement: {
match: /\i\.isPlatformEmbedded(?=.{0,50}\.tagName)/,
Fixed to use fixed length matches
ah, so these were actually meant to match variable names. you can achieve that using our special \i escape
{
find: ".PANEL}),nicknameIcons",
replacement: {
match: /USER_PROFILE_MEMBER_SINCE,.{0,100}userId:(\i\.id)}\)}\)/,
replace: "$&,$self.friendsSinceNew({userId:$1,isSidebar:true})"
}
},
// User Profile Modal - new layout
{
find: "action:\"PRESS_APP_CONN...
maybe it would look better in one line? wastes a lot of space being separate
or even like this
Well, I agree. But the point of this PR is to just make it work like it used to. That can be looked into later.
is .Messages.COPY,hint: fine`?
oops how did i not realise such an obvious thing
yeah
why the lookahead? Future-proofing?
to make the match more generic to ensure you won't match unrelated stuff that might be added in the future or that could false positive your find
joever
2d570a5 friendsSince: add support for new profiles (#2623) - Chicken
8a7c0d7 WebContextMenus: implement context menu for tex... - Masterjoona
it's the best way trust me
and the sync is too make 100% we dont target the wrong thing
lol
Discord Account
No response
What happens when the bug or crash occurs?
Whenever I enable ShowHiddenChannels plugin, I can't move categories above other categories in my server and I also can't move categories blow or above certain channels or move those channels below or above the category. There's always conflicts.
What is the expected behaviour?
The expected behavior is that I can freely move channels and categories in my own server.
How do you recreate this bug or c...
@keen inlet https://github.com/Vendicated/Vencord/pull/2610
could u bring this back as a proper pr?
finally fixed these being misaligned / uneven height
error in console is so ugly tho
None
None
None
None
it's way easier than monkey patching every part of the sentry manually
None
None
None
None
and more reliable
2fa56b8 Harder conditions for Sentry patching - Nuckyz
bda0e18 browser: increase minimum browser versions - Vendicated
169edcb improve support helper - Vendicated
086c31c new plugin ShowAllRoles: show all roles in simp... - Luna-devv
2d570a5 friendsSince: add support for new profiles (#2623) - Chicken
@austere talon https://github.com/Vendicated/Vencord/pull/2170
bda0e18 browser: increase minimum browser versions - Vendicated
169edcb improve support helper - Vendicated
086c31c new plugin ShowAllRoles: show all roles in simp... - Luna-devv
2d570a5 friendsSince: add support for new profiles (#2623) - Chicken
8a7c0d7 WebContextMenus: implement context menu for tex... - Masterjoona
bda0e18 browser: increase minimum browser versions - Vendicated
169edcb improve support helper - Vendicated
086c31c new plugin ShowAllRoles: show all roles in simp... - Luna-devv
2d570a5 friendsSince: add support for new profiles (#2623) - Chicken
8a7c0d7 WebContextMenus: implement context menu for tex... - Masterjoona
bda0e18 browser: increase minimum browser versions - Vendicated
169edcb improve support helper - Vendicated
086c31c new plugin ShowAllRoles: show all roles in simp... - Luna-devv
2d570a5 friendsSince: add support for new profiles (#2623) - Chicken
8a7c0d7 WebContextMenus: implement context menu for tex... - Masterjoona
I will fix my recent stuff soon I know it SUCKS
How do I patch a lazy loaded module?
it doesnt matter
tryna add another component to the custom status editor
patches have no idea whether a module is lazy loaded or not
they get applied whenever the module is loaded
whether that's instantly or lazily
ok
bc patch helper says it should work
but it isn't
{
find: ".CUSTOM_STATUS_MODAL_BODY",
replacement: {
match: /(?<=\.renderStatusInput().{0,100})]/,
replace: ",$self.renderCustomStatusPicker()]",
},
}```
well check errors
none, that's the thing
not possible
there are three cases:
- it applies successfully
- it fails to apply
- it doesn't find module
did you enable ur plugin..
realized i didn't do this when i made my first PR so i'm doing it now
you need to make non-minor changes to be added as proper contributor

horror
@limber skiff can this be its own toggleable option
maybe yeah
i have found Routing/Utils stuff useful in the past
usually
yeah
uuuuuaaaaaaahhh we hit a 404 π₯Ί
and this fucking shit from react devtools
863
i think third party cookies might be blocked. not sure though
I disabled this one
I think its not actually from react devtools
it just messes up the log location
insane
horror
π
alright. I think this should be more properly documented though.

None
None
None
None
None
None
None
None
if only the patch could simply be not added if it's false
we need to make settings available sync

wdym
you cant access them at top level
we need to make that possible it opens more possibilities
OH
how are you thinking of solving this
explicitly define the plugin name in the definePluginSettings call?
We need to undefined
they are kinda
but no defaults
not possible
why?
circular dependency
always that shit
anyway you should be able to call the predicate inside the function that initialises patches
aka pushes them to array
it should be ready there
hmm I should be able to do something then
Settings api requires your plugin to be initialised to be able to read its options/settings property to resolve default values
if you use a setting inside your plugin file it has not been initialised yet
it's impossible to solve
unless we require plugins to export their settings from src/plugin/name/settings.ts
To resolve default values? are you forgetting about values at all?
How are you expecting to get the saved settings if you don't know what plugin they're for

you're making no sense
i do make sense I am just wording it badly
Huge mood
ahahahhaa
meanwhile vencord
bd hotpatching 
why dont we combine all this stuff into 1 plugin?
what do you mean?
theres some other things people have written to improve the simplified profiles, i feel like they should all be in one plugin, and have settings to toggle them on/off
at this point I have no idea. I saw @sunnniee made a BetterBios plugin for simplified profiles, then I see @Vendicated posting about @Luna-devv's ShowAllRoles plugin (which does something similar to @sunnniee's BetterBios plugin)
trol
None
None
None
None
None
None
None
None
the issue from my feture couldnt git pull lolwill reopen
Add in ability to add ignored words (accidentally closed my pr when fixing the merge conflict)
This plugin adds an open profile button for connections that don't have it in the native Discord client.
I also edited the ShowConnections plugin so it is supported with my plugin.
I think you should patch where these connections are fetched from, if possible
Never use var in modern JS projects; use let instead, as it is block scoped instead of function scoped, which generally makes more sense to read, even though they effectively do the same thing here
very wordy description half of that u can put in about component or something
lol???
I think this is ready, open to feedback.
why tho
0% of end users will read the readme
If you have any ideas on how to improve Vencord itself, or want to propose a new plugin API, feel free to open a feature request so we can discuss.
I already created two APIs, should I open a feature request?
this is less user friendly IMO. I didn't even know about this until just now
this is very useful
instead I used a patch only approach in my plugin instead of editing others now.
very spammy too
on KDE Plasma, when I click "Open Settings Directory", it highlights the folder on Dolphin instead of opening directly inside it
I think "Restart" is more natural.
Also see See https://github.com/Vencord/Vesktop/pull/701.
I personally see no point in a BetterBios plugin as that's solvable with css
Why not 127.0 for gecko to allow the currently-stable Firefox to install the extension?
because the minimum version required is 128...?
To rephrase what I meant, is there a technical reason for this (Some new API) or just A Decision?
obviously. do you think I would arbitrarily increase the minimum version? what would be the point of that
Github is currently throwing 422s at me when trying to reply, so I will just send my final response here:
From past experience, some projects just occasionally raise minimum versions to stay mostly up-to-date, i was just curious if that was the case here, because it currently prevents me from using this on stable Firefox. Thanks for the answer, I will find a workaround for this for the time being.
Why not implement PSN in this PR?
Why do you need information on unsupported platforms in the description?
@ vee @ vee please release vesktop build 
i be needing that new screenshare improvements
and more
please a tasty rpm build
true, this could maybe be replaced by a settingsAboutComponent where you list supported/planned/unsupported, and add "Check plugin settings to view supported platforms"
waiter!! waiter!! one vesktop please
I think the name could be improved on. not sure how, but "OpenMoreConnections" doesnt easily imply what it does.
I think the name could be improved on. not sure how, but "OpenMoreConnections" doesnt easily imply what it does.
what about something like ExtraConnectLinks
openModal(modalProps => (
<PasswordModal
modalProps={modalProps}
channelId={channelId}
type={ModalType.Access}
callback={async password => {
if (password) {
cb(await checkPassword(password, channelId));
} else {
cb(false);
}
}}
/>;
));
ven, is it possible to turn this mode on for all vesktop installs on linux in electron?
{!isProtected
? <>
<Menu.MenuItem
id="vc-password-protect-lock"
label="Lock"
color="brand"
action={() => openLockModal(channelId)}
/>
</>
: <>
<Menu.MenuItem
id="vc-password-protect-unlock"
label="Unlock"
...
const channelId = SelectedChannelStore.getChannelId();
very simple suggestion for Vencord: when there are new plugins (or updates to existing ones), show "NEW" in RED in the user settings next to "Plugins" in the same way Discord does for new settings
Technically yes. The flatpak does it for you however https://github.com/flathub/dev.vencord.Vesktop/blob/master/startvesktop
Also note that #π₯-vesktop-development exists
startvesktop:
#!/usr/bin/env bash
export TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-dev.vencord.Vesktop}"
declare -a FLAGS=(--ozone-platform-hint=auto)
if [[ $XDG_SESSION_TYPE == "wayland" ]] && [[ -c /dev/nvidia0 ]]
then
echo "Using NVIDIA on Wayland, disabling gpu sandbox"
FLAGS+=(--disable-gpu-sandbox)
fi
echo "Passing the following arguments to Electron:" "${FLAGS[@]}"
zypak-wrapper /app/bin/vesktop/vesktop.bin "${FLAGS[@]}" "$@"
for shits and giggles. A "perhaps?" if you will
for shits and giggles. A "perhaps?" if you will
make sure you remove any unnecessary logs
my guy I didnt even press send
That was you ?
What did you mean by unnecessary logs
anyways this isn't getting merged anyway
for shits and giggles. A "perhaps?" if you will
exactly
Im aware its some crap in the CONTRIBUTING about "no raw DOM"
that too
HTTPSearcher
This plugin use slash commands to give user by command /httpsearcher code: 404 (example) a image url from https://http.cat/
insane plugin
textreplace my beloved
this would maybe be better as a userplugin, having this in main mod would be deranged
this would maybe be better as a userplugin, having this in main mod would be deranged
children will enable and then support will be filled of "why the vendor showing brainrot???"
gotta love error code 999
this would maybe be better as a userplugin, having this in main mod would be deranged
children will enable and then support will be filled of "why the vendor showing brainrot???"
True. I dont think this would even be merged though. Keeping it open though.
Discord Account
wgrav @wgrav
What happens when the bug or crash occurs?
When decrypting a message, the modal to enter the password works but just shows the "Made with β€οΈ by c0dine and Sammy!" embed without the decrypted message.
What is the expected behaviour?
InvisibleChat shows the decrypted message alongside the embed.
How do you recreate this bug or crash?
- Enable InvisibleChat (In this scenario I used Vesktop but my friend confirmed it wasn't working on the Windo...
When installing Vencord a pop up shows saying it was successfully patched.
However it says in first line "If discord is still open, fully close it first" and this is a bit confusing and I actually thought the pop up was error.
While you could say this is my fault, my friend who installed before me and did not tell me anything about this pop up told me the same thing happened to him after I installed
I think it's important to have a good UX.
This PR will add option for color in ...
removeSupport
This plugin remove a support button from header of discord. I think no one use this button
Screenshots
lgtm
Could that not be done in CSS
it can
and its way easier
.container_e44302 [href="https://support.discord.com"] {display: none;}
I think the name could be improved on. not sure how, but "OpenMoreConnections" doesnt easily imply what it does.
i agree i just couldn't come up with something else
I think the name could be improved on. not sure how, but "OpenMoreConnections" doesnt easily imply what it does.
what about something like ExtraConnectionLinks.
sure that is a good one
I was thinking that not a lot of people see the readme, since that's only on the website, but yea sure I can do that.
I was really tired but, I am going to make it open a data uri because the service for PSN profiles I will be using is a third party service called psnprofiles.com. But the website will show a not found error for accounts that have not been looked at yet. So I am going to create a data uri that requests psnprofiles.com to load the profile automatically and waits for psnprofiles.com to be done loading the profile.
ermmmm what the vendor
#banbyonwhen
post this in #π-textreplace-rules
lmao dom manip
navigator.platform should almost always be avoided in favor of feature detection. But there is one case where, among the options you could use, navigator.platform may be the least-bad option: When you need to show users advice about whether the modifier key for keyboard shortcuts is the β command key (found on Apple systems) rather than the β control key (on non-Apple systems):
This plugin is broken recently because Discord sneakily changed something. Here is a fix.
It seems that Discord changed the logic for message submission back to what it was before last major update.
This plugin allows you to add custom profile effects on your Discord profile
You just simply create an effect, submit it and wait for approval
Everything about CustomEffects including the guidelines are on the organization https://github.com/CustomEffects
And no we do not allow Discord's profile effects
Originally the project was in CSS but plugin is also useful and it made it look better and fixed some issues (not showing on big profile view and looking off from the profile)
htt...
why is the second one just the game windowkill







