Another soundboard bot for Discord. But this one is the funniest.
There are 4 available commands:
!soundname
to play a sound (example:!philippe
).!aide
: display the help menu with all available commands.!sons
: display the list of the available sounds of the app.!nouveau
: display how to add a new sound.
Install ffmpeg:
brew install ffmpeg
Install dependencies:
npm install
Create a .env
file at the root of your app with your Discord bot token:
DISCORD_TOKEN=YOUR_TOKEN_NUMBER
Run local server:
npm run start
Launch Discord and login into a voice channel of your server. You can then play with the different commands.
As the bot is deployed on Heroku, you must login to Heroku:
heroku login
Add ffmpeg to Heroku:
heroku buildpacks:add https://github.com/kitcast/buildpack-ffmpeg.git
Push a new version:
git push heroku master
To add new sounds, just drop the .mp3
files into the /sounds
directory. The command name will be the same as the filename (toto.mp3
would be played with !toto
).