diff --git a/README.md b/README.md index a0909b7d6..ef776560c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save` The preferred audio engine is node-opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose node-opus. -Using opusscript is only recommended for development on Windows, since getting node-opus to build there can be a bit of a challenge. +Using opusscript is only recommended for development environments where node-opus is tough to get working. For production bots, using node-opus should be considered a necessity, especially if they're going to be running on multiple servers. ## Example Usage diff --git a/docs/custom/documents/faq.md b/docs/custom/documents/faq.md index 82a94f656..6993620a7 100644 --- a/docs/custom/documents/faq.md +++ b/docs/custom/documents/faq.md @@ -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! diff --git a/docs/custom/documents/welcome.md b/docs/custom/documents/welcome.md index b5215178e..b8f7b3c5e 100644 --- a/docs/custom/documents/welcome.md +++ b/docs/custom/documents/welcome.md @@ -31,7 +31,7 @@ With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save` The preferred audio engine is node-opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose node-opus. -Using opusscript is only recommended for development on Windows, since getting node-opus to build there can be a bit of a challenge. +Using opusscript is only recommended for development environments where node-opus is tough to get working. For production bots, using node-opus should be considered a necessity, especially if they're going to be running on multiple servers. ## Guides