Skip to content
Make your own Discord audio-playing bot with ease!
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts bash script for cloning/pulling repo Dec 31, 2017
.gitattributes no more c# Dec 31, 2017
.gitignore ignore error output Jan 6, 2018
LICENSE Create LICENSE Jan 17, 2018
README.md Update dependencies Feb 7, 2018
SAMPLE-config.json volume in config Jan 6, 2018
_start.bat some batch scripts Dec 31, 2017
_start.sh simple bash script Dec 31, 2017
botmaker.js remove deprecated method Apr 20, 2018
package.json update node-opus version Sep 7, 2018

README.md

BotMaker for Discord

node.js dependencies

Make your own Discord audio-playing bot with ease!

Make an audio-playing bot for Discord (like Airhorn Solutions) without messing with any source code! All you have to do is put all your audio files into a single folder, write up a config.json, and run the bot. There's really nothing to it.

This is what your config.json might look like:

{
  "prefix":"bot ",
  "game":"\"bot help\" for help",
  "description":"This is a bot using the example config file. In other words, it probably doesn't do much.",
  "stopcmd":"stop",
  "invitecmd":"invite",
  "directory":"C:\\botaudio\\",
  "volume":0.5,
  "token":"k5NzE2NDg1MTIwMjc0ODQ0Nj.DSnXwg.ttNotArealToken5p3WfDoUxhiH",
  "commands":{
    "cmd-with-arg":{
      "audios":["file1.mp3","file2.mp3"],
      "description":"This command accepts an argument.",
      "args":{
        "arg":{
          "audios":["file3.mp3","file4.mp3"],
          "description":"an argument that can be passed."
        },
        "arg2":{
          "audios":["file5.mp3"],
          "description":"this argument only plays one audio file."
        }
      }
    },
    "cmd-without-arg":{
      "audios":["file6.mp3","file7.mp3"],
      "description":"This command takes no arguments."
    }
  }
}

If you don't have a token yet, you will need to create a bot account here. After you've done that, you can invite your bot to a server by going to https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bot&permissions=0, where CLIENTID is your bot application's client ID (NOT THE TOKEN).

Once you have your config.json, you can start BotMaker using npm start

When you are ready to try it out, clone this repository, do an npm install, write your config.json, and finally npm start. If you are feeling extra lazy, you can grab some setup scripts from the releases page. Note that these scripts require you to already have git and node ready to go.

make and g++ is necessary for installing BotMaker's dependencies.

Having Issues?

Just let me know here on GitHub. I'll take care of it as soon as I have a chance.

You can’t perform that action at this time.