Skip to content
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

[Feature request] Soundboard? #101

Open
Voleno1 opened this issue May 10, 2023 · 7 comments
Open

[Feature request] Soundboard? #101

Voleno1 opened this issue May 10, 2023 · 7 comments
Labels
enhancement Request for a new feature or improvement

Comments

@Voleno1
Copy link

Voleno1 commented May 10, 2023

No idea if this is possible but it would be cool if you could play sounds with soundboard from all servers like nitro users can.

@ForBai
Copy link

ForBai commented May 11, 2023

for the dev programming this:
i found out by inspect the soundboard element you can get the sound id which you can then put in following url
"https://cdn.discordapp.com/soundboard-sounds/here-should-be-the-id"

@riolubruh
Copy link
Owner

riolubruh commented May 15, 2023

Not sure. It definitely is not possible to upload soundboard sounds to the server, but maybe you could play local sound files..? It really depends on how the soundboard actually works, which I have no idea about since I've never even looked at it.

@riolubruh riolubruh added the discussion This issue contains an active discussion of an issue or a (possible) feature label May 15, 2023
@riolubruh riolubruh added the enhancement Request for a new feature or improvement label May 24, 2023
@riolubruh
Copy link
Owner

riolubruh commented May 25, 2023

Update: I have looked at the soundboard functions, and holy hell I actually did it. I basically tricked Discord into thinking that every soundboard sound is a default sound.

@riolubruh
Copy link
Owner

riolubruh commented May 25, 2023

image

image

@riolubruh riolubruh removed the discussion This issue contains an active discussion of an issue or a (possible) feature label May 25, 2023
@riolubruh
Copy link
Owner

riolubruh commented May 26, 2023

Aghh, spoke too soon. Looks like the server side blocks it anyway.
image
It appears that the way that the sound playing works is by sending the server a POST request that says what the sound's guildId and soundId are and then the sound is played on each connected clients' end rather than sending the soundboard sound as microphone data. Damn.
If I (theoretically speaking) had a way to play MP3 files through the microphone, then it would be actually quite easy to get around. However, at the current time I can't really think of a way to do so within the confines of a plugin.

I will continue searching for another way to play sounds in the meantime.

@riolubruh riolubruh added the discussion This issue contains an active discussion of an issue or a (possible) feature label May 26, 2023
@ForBai
Copy link

ForBai commented May 26, 2023

I do not suggest selfbotting but maybe this can help with your research:
https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Document/VoiceCall.md

@Cocoloco2005Dev
Copy link

Discord API actually blocks soundboard requests. The best way you have to play sounds through the microphone is to buy (or "buy") Soundpad, it's on steam or you have a separate version that doesn't use steam.
Please do not selfbot your account, this can really get you banned.

@riolubruh riolubruh removed the discussion This issue contains an active discussion of an issue or a (possible) feature label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for a new feature or improvement
Projects
None yet
Development

No branches or pull requests

4 participants