Update docs for ezmode node-opus Windows building

This commit is contained in:
Schuyler Cebulskie
2016-11-01 01:39:53 -04:00
parent 6dc95cd084
commit 2a50dad852
3 changed files with 5 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ Update to Node.js 6.0.0 or newer.
## How do I get voice working?
- Install FFMPEG.
- Install either the `node-opus` package or the `opusscript` package.
node-opus is greatly preferred, but is tougher to get working on Windows.
node-opus is greatly preferred, due to it having significantly better performance.
## How do I install FFMPEG?
- **Ubuntu 16.04:** `sudo apt install ffpmeg`
@@ -18,4 +18,5 @@ Update to Node.js 6.0.0 or newer.
## How do I set up node-opus?
- **Ubuntu:** Simply run `npm install node-opus`, and it's done. Congrats!
- **Windows:** See [AoDude's guide](https://github.com/bdistin/OhGodMusicBot/blob/master/README.md). Good luck.
- **Windows:** Run `npm install --global --production windows-build-tools` in an admin command prompt or PowerShell.
Then, running `npm install node-opus` in your bot's directory should successfully build it. Woo!