Installing¶
Requirements¶
Windows¶
- NodeJS - Requires v5.0.0 or above due to ES6 code.
- Python 2.7 - Requires v2.7.x, not v3.x.x.
- Visual Studio - Select Custom Installation and make sure Visual C++ under Programming Languages is selected.
- Your Visual Studio installation ideally has to be recent.
- Can be Express, Community or Enterprise Edition, but NOT
VS Code.
- FFmpeg - Add bin folder to PATH Environment Variable.
Mac¶
- NodeJS - Requires v5.0.0 or above due to ES6 code.
- Python 2.7 - Requires v2.7.x, not v3.x.x. Should be already installed by default.
- Xcode Command Line Tools
$ xcode-select --install
- FFmpeg
$ brew install ffmpeg
Linux (Debian-based)¶
- NodeJS Linux - Requires v5.0.0 or above due to ES6 code.
- Python 2.7 - Requires v2.7.x, not v3.x.x. Should be already installed by default.
- Build Essential
$ sudo apt-get install build-essential
- FFmpeg
$ sudo apt-get install ffmpeg
If on Ubuntu 14.04, use this instead:
$ sudo add-apt-repository ppa:mc3man/trusty-media && sudo apt-get update && sudo apt-get install ffmpeg
Installation¶
- Download the repository. (You can use git clone or the Download ZIP button Github provides.)
- Open the config.json file and edit it.
- Open a Command Prompt/Terminal at the directory of the downloaded repository.
- Run
npm installto install the dependencies. - Run
npm startto start up the bot. - Start using the bot!