Skip to content
A simple discord bot who can be called with a command to join the current vocal channel and play a sound
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sounds
.gitignore
LICENSE
Procfile
README.md
commands.js
index.js
package.json
sendMessage.js
sounds.js

README.md

memes-bot

A simple discord bot who can be called with a command to join the current vocal channel and play a sound

There is only French 🇫🇷 samples yet.

Click on the link to directly add the bot on your server : https://discordapp.com/oauth2/authorize?client_id=321579569654005761&scope=bot&permissions=36711424

Type this commande in your Discord channel, to see which sounds are available $mb help

How to use locally

Step 1, install dependencies

I assume you have already node and npm installed

To stream a sound on a discord channel, you need ffmpeg installed.

You can follow this link : https://www.ffmpeg.org/download.html

For Mac users, you can simply use Homebrew 🍺

$ brew install ffmpeg

Then you can install npm dependencies

$ npm install

Step2, create a Discord bot

Create a Discord app here : https://discordapp.com/developers/applications/me

Fill the input with your bot informations you want, then you can click on the Create app button.

We are almost done ! To enable the bot to write and join vocal channel, you need to click on the Create a bot user button.

Get your Client Secret, and paste it in the index.js file

12. bot.login('YOUR_CLIENT_SECRET')

To setup Bot permissions, follow this link : https://discordapi.com/permissions.html

Check what you need, fill you Client Token then click on the generated link to add your bot on your Discord Server.

Step 3, launch the bot

Open your terminal, go in your Bot folder then simply type

node index.js
You can’t perform that action at this time.