-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomSounds #1765
base: dev
Are you sure you want to change the base?
CustomSounds #1765
Conversation
08ae9bf
to
9efd0f0
Compare
@TheKodeToad couple questions about direction:
I made it just do the classic "upload and convert/save to data URI" which I think is probably the best option, lemme know if anyone thinks of anything better.
I don't really see this as a problem, only issue being that the "Save" part of the "Save & close" button is technically a bit misleading. I feel like it would take more effort to write the settings queuing than to just leave it as-is, are you opposed at all to just leaving it?
Curious what you mean and whether these can just be saved as something to do after the initial plugin is done. From what I've observed, the majority of users just want to change basic sounds like the ringing and notification noise, and it'd be nice to just get it out there first and expand later!
Honestly didn't even know this was a thing and I can't find anything about it. Is it a Nitro thing or am I blind, and is there a known problem with it/way to test? Also planning on adding a button to upload "sound packs" (simple JSON files describe sounds overrides) for people to share... well... sound packs. Let me know if that idea sucks 😛 |
Enable the April Fools' 2023 experiment to see them in settings. |
There's a reason I wasn't sure on the best way to store the data. I think IndexedDB would be better... maybe I could just move all settings there like TextReplace but I thought having the URLs was okay in the settings JSON |
but thanks lol |
I can see about moving the settings to IndexedDB tmr if I find time/don't forget. As for the other sounds (eg. detune sounds), I can probably just load them on-the-fly like how I did in my PR, that way it always works between additions/removals of sounds. That means they won't show up in the settings menu unless the plugin is enabled though, which admittedly is a little strange. Or that stuff, too, could just be left until after the initial plugin is finished, but that's not up to me 😄 . |
I might be able to figure it out, but my idea was to - if a sound is enabled - use the default sound instead of the soundpacks' |
is there anything stopping this getting merged? just curious |
Yeah, probably one of the most anticipating plugins for Vencord yet. I also want it because I don't like Discord's own notification sounds at all, and I prefer a thousand times their timed past christmas holiday noises. |
I think Discord might be adding this as a Nitro feature 😔 |
You mean this? The only positive I can perceive off is sounds set per server/direct messages, but that could be also accomplished on your plugin or another PR you might make in the future. |
yeah the built in one discord is doing is not really stopping this plugin being a thing, discords own implementation isnt that good and only lets u modify pretty much a single sound by picking a different one from a preset. so no modifying other sounds in the client like the voice chat sounds, etc, and even if discord added custom sounds for different things in the client they still wouldnt allow ACTUAL custom sounds loaded from a file |
} | ||
|
||
export const soundTypes: readonly SoundType[] = [ | ||
{ name: "Message", id: "message1" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be possible for u to also add the "same channel message" sound here. the id for it is "message3" so all u really need to do is put { name: "Same Channel Message", id: "message3" },
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any idea what message2 is for 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no sorry have no clue
Reviewed with care, now crystal clear! 💻🛠️ 👀 Eyes have scanned, each detail checked, The tests all pass, the checks are green, ✅🟢 Merge button glows with a golden hue, 🎉🎊 Celebrate, the job well done, |
I like to think you wrote that yourself, but I have a feeling that was mostly the work of ChatGPT 😂 |
@CodiumAI-Agent /review |
PR Review 🔍
Code feedback:
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨
|
Sorry to bother, I'm not familiarized with Git at all and I'm not sure where I should post this I'd really really like to install this plugin, but I'm not sure how...I tried following a yt tutorial but after doing the pnpm build I get: 1 error |
3a25da5
to
05a4044
Compare
88319e8
to
aaba22f
Compare
Checked back the hyperlink here and looks like Discord's own custom sounds offering is no more as of days ago, so yeah, that's one more negative to write on the list. |
2a4cdf0
to
a43d5d5
Compare
c14afb0
to
7dc1d4c
Compare
Open
Roadmap
what does Roadmap mean? I'm sure it's not important
To-do / Issues
Upload local file (how should I store the data)fixedSettings are applied directly instead of being queuedwon't fixSetting initialisation is lazy which is weirdfixedMore sound customisationwon't fix in this PRAdditional sounds for specific conditions or events not normally coveredwon't fix in this PRGet it to play nicely with Discord's built in sound themes optionfixed