Open Voleno1 opened 1 year ago
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"
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.
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.
Aghh, spoke too soon. Looks like the server side blocks it anyway.
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.
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
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.