Inspiration

I wanted something for our friends to mess around with while talking on our Discord server.

What it does

On command it plays a list of mp3 files that could be added to

How I built it

I first identified whether I should use Node.js or python and I wanted to learn a little more about Node.js so I worked on in Node.js. Then I got the API keys for Discord.js which is a library that is supplied by the voice server hosts. Then used a command that worked with ffmpeg and supplied it a list of mp3s to use.

Challenges I ran into

It didn't work at first so I needed to fiddle around until it did. Also I accidentally posted the API key used to work with the bot and it deleted everything on our server. I won't make that mistake again!

Accomplishments that I'm proud of

Learning how to use ffmpeg was new to me. I hadn't quite did anything that required it.

What I learned

Not to publish the API key to Github where there are people at the ready to steal it as soon as you publish it and reap a bunch of havoc.

What's next for discord-soundboard

If I were to make this any better I would add things like uploading files or working directly with youtube using youtube-dl in order to make it so my friends could add a bunch of sounds to the bot.

Built With

Share this project:

Updates