Discord SoundBoard Launcher
A player capable of playing soundboards uploaded to a discord server.
![MIT License](https://camo.githubusercontent.com/b59ba4ef5c86bc79e9e3e9039f1b96a4db59e7f96a7ba04abfc6548ae88c461b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)
Caution: The client must be connected to the voice channel and not muted
const SoundBoardLauncher = require("./bot-soundboard-launcher")
const soundboard = new SoundBoardLauncher(client)
soundboard.fetchSoundBoards(null, true)
setTimeout(function() {
soundboard.playSoundBoard("992791685266419844", "747412099361407077", "3")
}, 10000)
Get all soundboards for guild
fetchSoundBoards(guildId, default)
Parameter |
Type |
Description |
guildId |
string |
Required. ID of the guild |
default |
boolean |
Fetch discord default soundboard |
Play soundboard to a voice channel
playSoundBoard(channelId, guildId, soundboardId)
Parameter |
Type |
Description |
channelId |
string |
Required. ID of the voice channel |
guildId |
string |
Required. ID of the guild |
soundboardId |
string |
Required. ID of the soundboard |