#š¾-core-development
1 messages Ā· Page 18 of 1
paradox crypto 
make it a drop down menu for like 20 wallets but donāt label them
Sure 
i'm actually making it

i will ship it as catgirl miner
Name the plug-in veryLegitNitroBypassFreeEmojisAndBannerPluginMod
no actually i won't release it dw
i just have nothing else to do
freeNitroGeneratorRobuxSkinOfficial.vba
None
None
Failed to load resource: the server responded with a status of 404 () ```
@austere talon WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 404 ()
discord
Failed to your mother 404 ()
real
certain network functionality, (such as fetching themes) does not work when the trusted CA cert is self signed (such as on company networks), there's an extension for VSC for instance, which just passes down the OS cert to vsc and thus making stuff like copilot functional, ideally vencord should do this or have a toggle to completely ignore TLS overall
Ignoring tls is a security risk
Ignoring TLS is a security risk, and since you mentioned company certs, I assume you are on a company computer? You wouldn't want to risk infecting company property.
I'm aware, hence the slash there, no TLS is more of an emergency solution, preferably what https://github.com/ukoloff/win-ca does should be done
this is heavily out of scope and a security hole I'm not willing to open. You can probably do this on an os level or might just be able to solve it via a vpn?
aight, guess this is another client mod that's unusable on a modified cert, not really much that can be done OS level as the cert is already installed as trusted cert, if you as I said added the ability to lazy load that cert as well that'd be solved
there doesn't even seem to be an api that can import certificates into electron that works on Mac/Windows. Have you tried following this article https://support.kaspersky.com/CyberTrace/1.0/en-US/174127.htm
actually scratch that, you can easily do it by passing a command line flag to discord
https://www.electronjs.org/docs/latest/api/command-line-switches#--ignore-certificate-errors
discord itself definitely ignores the self signed cert error, so hence why I was saying it'd probably something that can be done here to fix this besides it being incredibly niche
try passing that flag and it should work
played around a bit, it seems to either ignore the flag or not work regardless :(

Update the showHiddenChannels plugin to work with Forums.
This PR is based on #234 as it uses the Badge component.
Before

After

there doesn't even seem to be an api that can import certificates into electron that works on Mac/Windows. Have you tried following this article https://support.kaspersky.com/CyberTrace/1.0/en-US/174127.htm
https://github.com/ukoloff/electron-win-ca
For windows at least
It seems like Discord installs to C:\ProgramData\UserName\Discord if installing to localappdata fails. This leads to patching Discord having no effect because it launches the ProgramData one
Cause is unknown, possibly due to running the installer twice at once?
In any case, the best fix is probably to
- Detect if that folder exists
- If yes:
- Delete it
- Show a warning popup that Discord might not start properly and to reinstall Discord if that's the case
None
None
Failed to load resource: the server responded with a status of 404 () ```
refused connection to 127.0.0.1 
Did that fix it?
Yea, it did... just had to update the display adapter driver .... and thanks again
https://github.com/ukoloff/electron-win-ca
For windows at least
yeah this is used by the vsc extension I linked earlier (https://github.com/ukoloff/win-ca/blob/master/vscode/index.js), despite this issue being closed and marked as non planned, I feel like it'd still be good to have vencord be able to properly function with self signed CA certs, Discord itself does and every clientmod I've come across in the past didn't really care for this a all - which understandably is a very ...
feel free to open a pull request. If it's secure and doesn't add much bloat I wouldn't mind adding it
i wonder why vencord has more PRs than issues
gotcha, maybe consider to reopen as enhancement, to track?
This modifies the PluginModal component to pass down an optional tempSettings prop to settingsAboutComponent.
The prop works because each setting will create a new object onChange
Good idea, I didn't have in mind that the about component will have outdated settings
this could technically be typed strongly via generics based on the options object of your plugin, but that's probably out of scope of this pr
Yea that would be good if there was a settings rework for strong typings
i got curious on what that does lol
what what does
^
modifies the plugin modal component to ass down an optional temp settings prop to settings about component
but why a temp settings
.
wdym by outdated settings
when u open the plugin modal and change some settings
it stores them to a tempSettings state
when you save and close, it copies the temp settings to the actual settings object
if u want to make some visual preview of your plugin in the settings page, and that visual depends on the settings themself
u will want access to the temp settings
HUH
jk it was github server skill issue
i thought it worked
500
I did
mmm
skill issue
that symbol is a c++ function
to be precise it is ```cpp
node::per_process::linux_at_secure
undefined symbol means something tried calling that function but it doesn't exist in the binary
which likely means that you are using a native node addon that was built against a more recent version of nodejs on an older version that doesn't have that function
hm
None
None
Failed to load resource: the server responded with a status of 404 () ```
my font doesn't even support the top one lmao
the horny plugin is here.

Wrapping a code block with double pipes (||) with ShikiCodeblocks enabled always shows the code

mfw problem fixed before I get to benchmark my code
did u fix it too
I just learned that a nested for loop is faster than a set, and that lists are smaller than sets in python š
š¤
wha
and why would a nested for loop be faster than a set
unless you mean you're creating sets inside a loop

click goes through the nitro upsell
well, that's exactly what I'm doing
even if it's only 4 elements
don't click the nitro upsell :trollface: (this is not easily fixable without patching the nitro button which isn't really worth the effort imo cause this is basically a non-issue)
obviously creating a set will be slower than looping over the array cause you have allocation & gc overhead
Just as the title says. A plugin with what you can change all notification sounds in discord using .mp3 files. (discord://-/settings/notifications)
already requested in the discord, and I said that I am working on it
it was also already made in the past, but the implementation was lacking so it was closed
btw the title Plugin to replace all notification sounds with .mp3's doesn't say much
they are already mp3s to begin with...
can someone merge this so i can be horny ty
i actually want to access the snoop dogg server general is nsfw š
yeah that's the snippet version for the console
it'd be nicer to do it via regex patch
probably discord has code somewhere where they set it
would just need to find that and patch
o.nsfwAllowed=null!==(R=e.nsfw_allowed)```
that seems to be it
gotta change that to
o.nsfwAllowed=true```
022bf17 fix inconsistent margins & capitalisation (#281) - davidcralph
ee24439 feat(plugin): sort friend requests by date rece... - MeguminSama
22? Should probably be 24 to be a nice number and stay consistent with Discord
it would be good to add some alt text
whats the difference between find and match
looks good other than the above reviews, please fix conflict!
this should be inside the awaiter to avoid unnecessary work
this is map misuse since you're not using the result at all
@austere talon wdym by alt text
alt text
WHAT DO YOU MEAN
text describing what the image contains for when the image cannot be loaded or the user is blind or similar
just set it to User Badge or smth like that if you don't have anything better
but probably the best alt text would be [Badge Text] Badge
like Admin Badge
makes sense
[
{
find: '.nsfwAllowed=null',
replacement: {
match: /(\w+)\.nsfwAllowed=/,
replace: '$1.nsfwAllowed=true||'
}
},
],```
i got somewhere
this sets nsfwAllowed to undefined
idk why
@austere talon can you take it from here
this is the code im trying to replace https://commandtechno.com/i/7zc4znbe9v81.png
this is it minified https://commandtechno.com/i/7zc50iqhaxbw.png
try with this
[
{
find: '.nsfwAllowed=null',
replacement: {
match: /(\w+)\.nsfwAllowed=/,
replace: '$1.nsfwAllowed=true;'
}
},
],
by adding ; you make it so that the value is set to true
@shadow mango
(ignore my original message, I have edited it to remove my mistakes)

you can use that tool by passing --watch to the build command
console.log('test')
``````js
console.log('test')
yeah i was doing pnpm watch
a while
yeah I just noticed
PS: would be nice if watch also watched any new files, but I may be asking for too much
@shadow mango if youre wondering why urs didnt work its because you made it
user.nsfwAllowed = (true || data.nsfw_allowed !== undefined) ? data.nsfw_allowed : data.nsfwAllowed;
does watch use esbuilds watch
yes its just esbuilds watch
not exact but the grouping was that way
ya
i see
i just added the parens to make it more clear :P
so in other words
user.nsfwAllowed = data.nsfw_allowed
merge the horny
nvm test still running
it was mad last time because there was a space on the closing of the header comment
that description is very bad because it implies we're encouraging breaking the law
I will change it
user.nsfwAllowed = null != asdasd ? aa : bb;
vs
user.nsfwAllowed = true; /* null != asdasd ? aa : bb; */ // ignored code
do that
just replace everything??
disables nsfw restrictions
the true; is simpler
but why would you leave uneeded code there
cause it wont harm us
its kinda like another plugin changes it to
return null; return originalStuff
it's literally a .+?;
and?
why do the slower way for no reason?
they are both equally slow
cuz you are then removing uneeded expressions
not equally
it's like like you are returning earlier
one spends time on regex
one has a specific length
one spends time on a useless expression
whilst the other has variable length
which is executed a lot of times
doesnt mean that you should choose the slower way for no reason
since it is slower, doesnt matter how much slower it is
the fact that it is slower is what matters
why are u guys discussing a non issue
you are still choosing another slower version
yall are both arguing over preference
the least slower version
whatever
may be slow, be less slow than the other one
this piece of code will run once an hour or smth, it does not matter in the slightest
bruh yall can wait 4 nanoseconds to watch porn
It's really that I prefer having a slower patch than keeping uneeded code
then make it faster š
seems wacky
it dont matter
yeah, whatever
give a better regex or whatever ill put it in
really just preference
no need to apply ur preference to others if there is no material consequence
(applies to a lot of life)
idk whats wrong with this https://commandtechno.com/i/7zc6xaqugk6q.png
I'm not applying it
bruh we went from porn to philosophy
LOL
I already stopped arguing
lmao vap
huh
btw
FakeNitro (errored):
ID: 386691
Match: /canUseHighVideoUploadQuality:function\(.+?}/
Error: Unexpected token ')'
FakeNitro (errored):
ID: 386691
Match: /canStreamHighQuality:function\(.+?}/
Error: Unexpected token ')'
FakeNitro (errored):
ID: 386691
Match: /canStreamMidQuality:function\(.+?}/
Error: Unexpected token ')'
None
Failed to load resource: the server responded with a status of 404 () ```
yes
how did that work
how did what work
what is vencord reporter
i just realized i dont know what it is
i thought it was the github bot
it is a bot
it's a github workflow that launches Discord in puppeteer to test patches
oh thats sick
lmao wtf is this shit
it's really hacky and parses console output cause i couldnt be bothered to change the source code and make yet another build flavour
that plugin does not exist to me
FakeNitro (errored):
ID: 386691
Match: /canUseHighVideoUploadQuality:function\(.+?}/
Error: Unexpected token ')'
FakeNitro (errored):
ID: 386691
Match: /canStreamHighQuality:function\(.+?}/
Error: Unexpected token ')'
FakeNitro (errored):
ID: 386691
Match: /canStreamMidQuality:function\(.+?}/
Error: Unexpected token ')'
None
Failed to load resource: the server responded with a status of 404 () ```
@austere talon
pog thanks
mid
could be good to note that streaming high quality without nitro will get your account disabled

how tf
are you phone verified
many have been using it for while
it doesnt

been doing it for ages

i swear i thought it did
i thought it had been going around
thats what i saw on all of the things that enabled high quality streaming
maybe they did it a different way idk
there's a lot of people spreading false info about things apparently being bannable
BD has been claiming that MessageLogger and view hidden channels get you banned for ages
nah but this one was different
let me check
ig not now that im looking
it can if reported and they decide to care enough
but that's just them saying it to justify their rules regarding those plugins instead of just having the balls to admit that they don't like those plugins for ethical reasons or whatever
its a little further than just client mods
I sent Screenshots of message logger to discord support to report some guy once

they didn't care
the server is just devilgril propaganda
though they didn't accept it either cause only message links count
but yeah I personally and many people I know have been nitro streaming for ages and nothing ever happened

if they cared they'd just restrict it server side (but it's probably more costly for them to check that than to simply not care)
i think they probably know about it anyways
they'd have to get someone who knows webrtc on payroll again (0.01% of their team)
by the time this pr gets merged my email will no longer accept any new emails because i once commented something here and manti is still commiting some shit
Allows you to set a custom link for each discord sound that exists.
I'd love some help with making the settings prettier, but they are fine me thinks.
I should probably check if the given link is a valid link, but is it worth the effort? dunno
if its not a valid link it will just not play any sound
I don't think checking link validity is very important for this
checking validity wouldn't be too hard
function isValid(url: string) {
return new Promise(resolve => {
const a = new Audio(url)
a.addEventListener("error", () => resolve(false));
a.addEventListener("canplay", () => resolve(true))
setTimeout(() => resolve(false), 2000)
})
}```
untested but should work
@quaint sapphire
yeah I saw
this get will return undefined if there is no entry which will later on read to a read of undefined.foo which will lead to a promise rejection. Please handle this case
shouldn't this be LodashStatic?
this should be above the message retrieval and also have a check for whether you can access the channel to avoid sending 4xx api requests
is this needed? If so, it would probably make more sense to use setImmediate?
why so small? I would use something like 512
bro just finish urself god damn it's been 3 years


None
None
Failed to load resource: the server responded with a status of 404 () ```
huhhh
did u delete the branch it was coming from or force push or something
it looks like it just got erased entirely
uhhhh
make a new branch based on the old branch and pr that 
jithub insane
doesn't the way u do it not work for bios and similar?
I think if u monkeypatch window.open it might work
not sure
there's also discords masked link store which I think they use to open every link so could also patch that
but patching window.open would be easiest
if that even works

it's acceptable to patch window.open on the start() method
start() {
const oldOpen = window.open
window.open = function() {...}
}

April fools thing
yea its the powermode experiment from this years april fools
exemplary github pr
should rename it to Automod Bypass[er]
and also, how does this work? you replace every character with itself, can't see the bypass
EDIT: wow, github does not show zero width characters, lmao, I thought there was an update that highlighted them, did they undo it?
Same here
"$1\u200b\u200d\u200d\u2064"
You should use unicode escapes rather than putting zero-width characters inside code.
"$1\u200b\u200d\u200d\u2064"

oop
LMFAO
wrong remote
for a second i misread that as a non squashed merge
it also doesn't properly updated fetched messages, you have to switch channel and come back to render them

ECHO moment, producing troll PRs that won't get merged
I'd love some code reviews @Vendicated
I know that the settings UI sucks, I just can't see how to improve it, since I lack the talent.
Would be nice if I could highlight the text area in red to show that a link is invalid.
Maybe doing a HEAD request to the link to check if it fails or not?
(by invalid link I am not only referring to it being malformed, but also non-existent (or it 404ing), if I only wanted to check for it being valid per the URL spec, I could just construct a URL instance and try/catch it)
These are my personal thoughts on this
should prob just do
setSoundsChanged(newSounds);
for this one, cause save(...) would be pointless since it filters out any empty sounds, and it is bound to be empty at this point in time
I will push a commit for this btw, its just that I noticed it whilst making my review
reviewing my own PR, epic moment
when ven does not review and you just think "fine, I'll do it myself"
Looking to contribute to Vencord? Look no further than this very thread!!!
Feature Requests
These are features that have been requested by users in #epic-ideas in the Discord server or elsewhere, but aren't a priority / haven't been picked up yet. Have I missed any? Comment below or throw your idea in Discord! If you want to take up one of these, open up a PR and comment below so we can update this list!
- [ ] Custom loading quotes
- [ ] LaTeX -> Image support in chat (or may...
I should move the click listener to the element with the mouse pointer, so that no accidental deletions happen.
<td style={{ transform: "translateY(-40%)", width: "5%" }}>
<span
style={{ cursor: "pointer" }}
onClick={() => {
const newSounds = soundsChanged.filter...
Could prob improve this, maybe add the discord artwork for when smth is missing?
I could probably show a notification saying that the module was not found and to contact the dev[s]
Would this be better if I added a label to the left?
But I like how wide it is right now.
lmao self review epic
why not do the one i recommended?
just trying to load it into an Audio and see if it errors or not
did that not work
it feels like an overkill
it could potentially download the sound, although I don't think most browsers do that before you even press play
besides, a HEAD does the same and is guaranteed to only receive headers
Want to submit a feature request? Well look no further!
Follow the instructions below to create a new post with your idea. Users can upvote ideas so we can see which are most popular so that we can prioritise them!
Click "New Discussion" and then select the "Ideas" category!
Then write in detail about the following:
- What should the plugin/feature do?
- How does it work?
- Any images or mockups?
- Possible links to any existing plugins for other mods that could be used...
not really custom, the user cant change them
there are no settings
A plugin that allows users to paste custom loading quotes (from a file or newline-delimited textbox?) which will show on startup instead (or in addition to) the default ones!
audio.load()
yeah I've never used the audio API directly
Plugin that adds LaTeX support to chat!
This could either be in the form of a LaTeX -> Image converter, or a LaTeX renderer, or maybe both?
- [ ] Global Settings Sync (must be privacy-friendly. Password protected encryption perhaps?)
As for this one, do user notes sync?
Cause you can set a note for yourself, we could be storing the data to be synced there.
function isAudioValid(src) {
const a = new Audio(src);
return new Promise(resolve => {
a.addEventListener("error", () => resolve(false));
a.addEventListener("canplay", () => resolve(true));
setTimeout(() => resolve(false), 2000);
a.load();
});
}
can't you just .onerror = ...?
Could also use a WYSIWYG (eg: SwiftLaTeX) renderer integrated with Slate
Remote syncing of Vencord settings! This must be privacy respecting, so perhaps encrypting the settings with a custom-set password?
Other questions to ask are... how do accounts work? OAuth with Discord account? Is there a service that does this already? Can it be trusted? Maybe the cloud provider could be configured too?
it work
In the process of moving these to Discussions, please could you repost that here: https://github.com/Vendicated/Vencord/discussions/313 :) Thanks!
and also validates that it is indeed a playable audio
nice
Do user notes sync?
Cause you can set a note for yourself, we could be storing the data to be synced there.
(similarly to how MAL-Sync works, lol)
thats legacy
you should use event listeners now
how?
Additional functionality/QoL improvements for folders.
The specific features are up to debate (comment below!) but could involve having a separate sidebar, muting @ everyone pings, etc.
and it wont be removed
and it works great
since nobody else will use this audio
you may consider it bad bc others may overwrite your listener
I like the encryption idea, WebCrypto api supports PBKDF2 iirc. Maybe we could encrypt with user token as a password?
but that wont happen here
Affinity is what Discord uses in the quick-switcher to decide guild/channel/user priority based on how regularly you visit/speak.
We could sort the guild list by affinity so that the most commonly used servers appear at the top of the list, rather than having to manually sort!
This would need to take extra consideration into making sure we don't make unnecessary API calls. I believe this should be performed entirely client-side, and not affect other clients - though this could possibly ...
how would that work once ur token changes due to mfa or changing password? Actually prompting the user for password will also make the user feel safer
Support favouriting images/audio/video/etc. This would be an extra tab alongside emojis/gifs/stickers.
For syncing, this could pair well with https://github.com/Vendicated/Vencord/discussions/313
lmao what an oversight, yea
Load custom chrome extensions from file or by the chrome extension ID.
was going for something simple that didnt need to be user provided but was still secure
and cross device
L
custom extension loading (by id) is already implemented btw there's just no frontend for it
if we can use user notes, a simple base64 is enough
i dont think it will fit
Show favourite friends above others in the friends list. Similar to one of the features in https://github.com/powercord-community/betterfriends
there's a limit?
the max chars is like 256 still right
Use TTS to speak the user's name when they leave or join VC "User has joined the channel", "User has left the channel", much like TeamSpeak.
well, if we do use a web host, we could store the host data there at least
so you dont have to copy paste the host link (and login details?) to another pc
Guild Profiles, inspired or ported from https://github.com/NurMarvin/guild-profile

Just as the title says. A plugin with what you can change all notification sounds in discord using .mp3 files. (discord://-/settings/notifications)
btw the title Plugin to replace all notification sounds with .mp3's doesn't say much
they are already mp3s to begin with...
already requested in the discord, and I said that I am working on it
it was also already made in the past, but the implementation was lacking so it was closed
the ability to "name" saved media for the sake of hooking into the : search would be cool too
Thanks for the request! I'm going to merge this with https://github.com/Vendicated/Vencord/discussions/313
Could prob use the text from the better discord counterpart
{
notifs: {
mute: {
message: "Muted"
},
unmute: {
message: "Unmuted"
},
deafen: {
message: "Deafened"
},
undeafen: {
message: "Undeafened"
},
join: {
...
Problem: When new plugins are added it is difficult to find them in the plugins page to install.
Potential Solution a: Ability to sort plugins by recent instead of just alphabetical.
Potential Solution b: Bring new plugins temporarily to the top after an update.
Having a dedicated Themes tab where you can manage themes would be cool
General Idea:
- Import themes from file or url
- Theme are stored in DataStore
- Try to parse metadata from BD meta header comment, otherwise use filename as name
- Ability to toggle, delete and edit (with monaco) themes
Two essential functions would be really cool for the Vencord settings panel:
-
Can use these large (multi-line) input fields

-
A way for a user to add multiple things, e.g. for a tags plugin, multiple tags with a "+".

(made with paint:tm:)
My idea for this:
- Plugins are stored as single file in the Vencord config folder. No support for custom plugins on Discord Web because there's no good way to store plugins without having to read them async (IndexedDB)
- imports would simply refer to the window Vencord prop, for example
import blah from "Vencord/Api/bleh"would create a virtual module (with esbuild) that simply exports Vencord.Api.bleh. Might have to do some refactoring to make this possible - Plugins are loaded just l...
because there's no good way to store plugins without having to read them async (IndexedDB)
localStorage: am I a joke to you?
bru I think if it were that simple third party plugins would be implemented
localStorage has a very strict size limit. I think it's 5mb or might be even less. Discord also dumps a lot of their stores in there so we are working with (potentially way) less than 5mb. It might be possible but I'm not sure
migrating to discussions is so janky lmao
I've migrated all of the feature reqs now :)
turns out they're just old
nya
we already sorta have theme support btw

Would be nice if it also parsed the theme name from the better discord header in the css, if there is any
The current implementation is fairly rudimentary and I really want to improve it some point. Perhaps a folder where we can drop in .css files and you can enable/disable and sort theme priority by dragging them up and down the list!
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis rhoncus nisl. Pellentesque non lacinia mi. Nam augue massa, eleifend sit amet feugiat porta, vehicula.
I will review every PR and request changes but all the changes will just be ":trollface:"
I actually really prefer the current way of using links, maybe add a button to pick a local file and use the file:// protocol to read it?
Then just improving the UI would be the only thing left.
And maybe integrating a theme repo would also be nice.
I think it would be perfectly acceptable (and easy) to support both URLs and a folder!
Themes repo would also be very cool!
It's somewhat of a standard on Linux and macOS
maybe for the vencord config files, although there is another XDG var for that, and using the XDG HOME var would make other people (like you) angry
the Vencord config files already respect your xdg config. https://github.com/ProtonMail/go-appdir/blob/master/appdir_xdg.go#L15-L18
how does he follow nobody?
I thought my 165 followers was pretty impressive š¤
probably bots lol
yeah
or they did that thing where you follow 10k users
and a bunch follow you back
Im just gonna flex my visitors cause I dont have a lot of followers
xd
lmao
cant believe that you put those catgirls from rule34
I don't think they originate from there lol
https://gelbooru.com also has them
Millions of FREE hentai and anime videos, images, wallpapers, and more! No account needed, updated constantly!
hah
the likely cause is that you're running as root and not copying over the XDG_CONFIG_HOME variable, in which case you should make sudo copy it over
i think here https://danbooru.donmai.us/posts/105326
Lol, at least they ain't naked
Staff Tag https://betterdiscord.app/plugin/StaffTag
About the Platform Indicator plugin, would you also put it to appear in the chat too?

It doesn't properly load replied messages yet.
To recreate:
- paste
#š¤-bot-commands messageinto any server other than Vencord Server Server Server - ctrl+r to make sure your browser doesn't have the messages cached from before
- observe as it fails to get the message it replied to
#š¤-bot-commands message
Just referencing the screenshot in the README
<img width="593" alt="CleanShot 2022-12-10 at 22 36 36@2x" src="https://user-images.githubusercontent.com/15663890/206877918-e787e625-c5de-427d-986b-216a23a0f013.png">
yes this is to customise it further
as in, a location that isnt ur XDG_CONFIG_HOME
Confused. I have my XDG_CONFIG_HOME set to /Users/adam/.config and when I run the installer I see this:
<img width="1011" alt="CleanShot 2022-12-11 at 00 23 02@2x" src="https://user-images.githubusercontent.com/15663890/206880678-7c5ed701-4fec-4cd2-9084-417ccb6069b9.png">
This is on macOS so I'm running the installer with the right-click open method as my own user
Ah I see, the library you're using doesn't think people on macOS want to use XDG environment variables so it has other defaults
apple does not follow the XDG spec so it isn't supported on Mac
I mean, it's up to the developer what behaviour to implement. What I have generally seen is that if XDG_CONFIG_HOME is set on macOS, then it's respected as the user has gone to the effort of setting it, so it's probably their preference.
None
None
Failed to load resource: the server responded with a status of 404 () ```
this screen shall not be shown, instead it should always show the current stream window in small, instead of going to this message

instead of

people need to describe better what they want
at least i think it will be an easy plugin, tho i don't make vencord plugins and i hate regex
that should work but I'm pretty sure this kills embeds, try that on a message with other embeds
honestly idk how to do it properly
I guess it's not a big deal but would still be nice to do properly
what does "properly" mean here
funny fix
that works fine?
oh thats cool
looked through what MESSAGE_UPDATE does earlier and im fairly sure that's what it does
its like a PATCH ig
I wonder what's the minimal data you can feed it while still triggering the update
msg, chan, guild id, content?
nope
What did regex do to you for you to hate it?
Poor thing
it tecnically has no reason to not update when only passed channel and message id
i think minimum would be msg id, channel id and (non null) edited timestamp from looking at the code
testing time
if ur looking for a way to edit embeds without firing a rerender
this is what im doing
patchEmbeds: (embeds: unknown[]): typeof embeds => {
// TODO: ignore given spotify embeds, then ast parse for spotify links and create embeds
return embeds;
},
{
find: ".renderEmbeds=function(",
replacement: {
match: /\.renderEmbeds=function\((\w+)\)\{/,
replace: "$&$1={...$1,embeds:Vencord.Plugins.plugins.SpotiMbed.patchEmbeds($1.embeds)};",
}
},
but im not sure if that will work with 2 plugins at once
wait it actually will
but i should probably pass myself the whole message xd
well it triggered an update
love
nan
yeah you'd probably have to add a lot of [prop]: null noop's becuase it otherwise replaces everyting with undefined
trust this protocol moment
i will instantly use this with spotify:// now
what's that launcher
looks like a gtk launcher
Find and install hundreds of apps and games for Linux. Enjoy GIMP, GNU Octave, Spotify, Steam and many more!
just a theme
cool
what
š i think my origin is fucked lmaoo
checking out to remote refs moment ig
Linux:
- [x] inject with discord running
- [x] inject with discord not running
- [x] uninject with discord running
- [x] uninject with discord not running
Version info: Canary 163537 (7a43c6f) Host 0.0.145 Linux 64-Bit (6.0.12-Arch1-1)
System info: kernel 6.0.12-arch1-1, arch linux, gnome w/ mutter
Ok, added a toast for now, any better ideas?
im eepy
Hello eepy, I'm arjix
i currently run macOS 10.15 and am unable to update. is it possible to run it in 10.15?
Vencord is OS-agnostic and should run on anything that runs Discord. Your issue needs more information. Are you talking about the GUI installer? In which case this issue should be placed in the https://github.com/Vendicated/VencordInstaller repo instead.
If you're getting error logs, please post them along with any screenshots and other relevant information.
If discord runs, then vencord should also run.
What does not "run"?
We can't read your mind, and we also don't have access to your computer.
You have to give more info, does discord crash? Does vencord just not do anything? What exactly is the issue?
Since you mentioned the OS version, I assume this has to do with either the vencord installer, or an npm package that has a minimum required MacOS version.
We really can't help if you don't give info.
Do you have any error messages to show?
H...
I gave some example questions that you may want to answer.
None
None
Failed to load resource: the server responded with a status of 404 () ```
This PR adds some visual tweaks to some parts of Vencord, such as:
- Plugin Settings
- Adding a close button
- Removes the footer if the plugin does not have settings
- Puts the Authors on its separated section
- Fixes some styling to fit with discord's UI

- View Raw
- Fixes some styling issues
- Puts the copy JSON and copy message content buttons on...
i like the copy raw style change, did you add any bottom padding the inner container, it used to touch the edge
The program "Oneko" is a fork of "Xneko", that in itself it is a port of "Neko" (made originally for the NEC PC-9801) for the X windowing system. Since the plugin "Oneko" does not have any affiliation with program Oneko, but has with Neko, it is better to rename it. Information at Wikipedia
It is better to still name internally as "Oneko" internally since adryd has made that mistake and that it would r...
i like the copy raw style change, did you add any bottom padding the inner container, it used to touch the edge
yep i did
@solemn spoke u prob shouldnt leave comments in the code like this
if you wanna make a comment thats pr-related and not codebase related, u should push the commit and then comment inside the pr
true
had to put another !plugin.options because typescript went dumb and didn't noticed that hasSettings already covers plugin.options
it doesn't really matter, oneko is just the Linux port of the original program that people will be familiar with the most likely
why? what's the benefit of this?
why? a heading makes more sense here semantically
only to avoid vscode to not use the typescript version installed on vsc. if you want i could revert that commit
what do you mean by heading?
it matters, as people will eventually associate the plugin to "oneko", a program that it is a port of the original program. it makes more sense to associate the plugin with the original program than with the port
plus it is just a renaming to better match with history of the program, not that it wouldn't break vencord or anything
š¤
you changed it from a heading (h1) to a normal text which breaks semantics and makes no sense
Is there any issue with the vscode supplied one?
first of all, neko means cat, and it aint a unique program name...changing it to neko wouldn't make people think that it is related to another project named neko.
Besides, the plugin is using assets directly from the oneko repository, so its not as if the plugin is not related to oneko.
nope, but rarely the installed version on vscode can be different from the repo one, making vscode to think that features exists in where it doesn't. e.g. an project uses version 4.6 and vscode uses 4.9
you would assume that such errors are caught when building the project since the builder does not use vscode's typescript...
so does it really matter?
the Forms.FormTitle adds additional margin to the bottom, which makes ModalHeader to stretch


the change to Text with a heading-lg/medium is to fit better with discord's modals
 are caught when building the project since the builder does not use vscode's typescript...
i mean, it would be annoying to see an eternal red underlined text because of VSCode not having the correct TS version, or worse and more probably, TS saying that a feature does not exist while VSCode says it does
None
None
Failed to load resource: the server responded with a status of 404 () ```
š¤
yes
@austere talon won't you check my pr or smth?
@solemn spoke welcome to the party
needs some room to breathe
if (Objects.equals(intent.getAction(), Intent.ACTION_VIEW)) {
and pls gitignore the .idea folder
@austere talon :3
why
I'd use the Greek Īæ
I ate it all
@solemn spoke reviewed
no way, a commit
okay comitted
What exactly is the issue? Please provide more info within the next week or we'll have to close this issue
A simple plugin that allows you to send a https://googlethatforyou.com link whenever someone asks a stupid question.
add to more commands or smth
we have too many command pluginbs already so adding it to that would be best!
wahhh
h
i hate writing github workflows
the h
pog it worked
PronounDB (had no effect):
ID: 461460
Match: /\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^[}]*currentPronouns:[^}]*(\w)\.pronouns[^}]*\})\)/
None
Failed to load resource: the server responded with a status of 404 () ```
F
oh wait
thats not a problem
that's an all: patch
it just now happens to match a different module too
also googlethatforyou isnt actually google it's a weird bing mirror so i wouldn't exactly trust that lol
@austere talon lov
based on that and this plugin being poorly made (it doesn't even encode the query so if you search for something with funny characters it just shits itself), I won't be accepting this
real
I decided to come back to this, somehow I managed to fix it by simply running pnpm build prior to launching discord
isn't it not finished
So your issue was simply unrelated.
:trolleyzoom:
i would like to only use message logger for deleted messages and not edits, but there doesnt seem to be an option to make it deletes only (the BD version of it did have this option)
In each message next to the nickname of the message author, show the username if different from nickname.
Idea is from a goosemod plugin that did the same thing https://github.com/GooseMod/MS2Porter/tree/main/modules/usernameInAuthor
@oblique hound ?
i tried something with rad
this looks super strange, why not use proxyLazy or make a wrapper instead?
const useEffect= (...args: Parameters<typeof React.useEffect>) => React.useEffects(args)
what in the world does this span and the entire onclick do? You also should not be using a span, use a proper button or at least use the role attribute
whatd u do
tried a sync upstream action
@GitHub#0000 you will explode
just out of curiosity?
or did u want to actually have a mirror
rad want to have a mirror and had difficulty's setting it up
so i created a fork and tried it
@austere talon ven
Do you know why I changed .innerText to .innerHTML?
Cause if you did, you wouldn't revert it
Setting .innerText means that it escapes stuff and it adds html elements in the css
it doesnt make sense to do that
you should use textConent
innerHTML also inserts funny <br>s
Much better than innerText
...have you actually used the plugin?
It is the audio icon next to the sound name
You click it to preview the audio, you can click it again to stop.
The icon is only visible when you hover over the sound
Similar to discord's notification settings
I used a span cause by default it is only as big as the content within it. And it doesn't force other content to be below it.
I'll add the role tomo
Was it eslint or typescript?
Cause typescript tends to lie when its about the window/document
Stuff like "x is read-only"
When in reality you can write to x if you cast it to any
// @ts-ignore :>
Personally I don't like ts-ignore
(window.open as any) = ... should be illegal
And TS lying is annoying
it's because generally polluting globals is a bad idea
but for a toggleable plugin there's no issue so just ts-ignore it
Generally you pollute a global to monkey patch it
I'm just complaining about TS being too strict for no reason
PronounDB (had no effect):
ID: 461460
Match: /\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^[}]*currentPronouns:[^}]*(\w)\.pronouns[^}]*\})\)/
None
Failed to load resource: the server responded with a status of 404 () ```
Mentions automatically users specified on the plugin settings
Why did you reformat the entire file?
wrong formatter moment
you should use the vscode formatter
you should use the vscode formatter, not prettier
ayo what for some reason it applied things that shouldn't have been aplied
I think you accidently pushed green text? it doesn't look finished at least
look at text
green
I think you accidently pushed green text? it doesn't look finished at least
yep, it just got saved from another branch and git didn't remove it
about the vscode formatter, i can't use it since i'm using neovim
use vscode 

what she chewing
just fixed it
she's nodding
it looks like nomming
uh what's the default ids
just used it for an example
just say like comma separated
but honestly we should make a user picker component
that is more user friendly
i see
YOP
i used string.include since there's no array option
or use ids where it's where obvious they're fake like 1234567890123445
otherwise it's confusing

that's another thing we should add
better support for array settings
nothing anymore
That .eslintrc.json on the root seems to get me errors in both neovim and vscode on that header for some reason

oh i see
cause trailing spaces
The last */ in the header shouldn't have a space in front of it - maybe it'll stop erroring if you remove it?
Also the header is above the next-line comment so that shouldn't be doing anything? Unless I'm misunderstanding something.
lint fix should also fix that
i see
otherwise looks good to me
:p blehh


šæš·
šæš·
š·š
š·š
hfdaljsk i had this channel open in the background and got jumpscared by the šæ plugin
šæ
fwiw you can set it so that it doesn't šæ when you're tabbed out of discord

this shouldn't be an option
either enjoy or enjoy
fastest PR in the west
wah
test 1
test
test2
test3
the code looked fine but i just wanted to make sure anyways 
test :3

beautiful
discordrn rn
I mean the code looked basically how I would've done it anyways
you know what's even bigger brain than testing in prod (what discord is doing)
pushing code to prod and waiting to see if users complain

yop
also i like how they don't even use ptb anymore
it's almost always the same build as canary
discord loves
lmfao
PronounDB (had no effect):
ID: 461460
Match: /\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^[}]*currentPronouns:[^}]*(\w)\.pronouns[^}]*\})\)/
MessageLogger (found no module):
ID: -
Match: ["className","attachment","inlineMedia"]
None
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ```
guh
love
not for me!
(cause I haven't restarted discord yet)






