diff options
| author | Alee14 <alee14498@gmail.com> | 2017-03-26 15:18:10 -0400 |
|---|---|---|
| committer | Alee14 <alee14498@gmail.com> | 2017-03-26 15:18:10 -0400 |
| commit | 29433e2f7dbd0e4a73d3c78ffe1005b922fb5982 (patch) | |
| tree | aa0ad3fe59468cbe452ee597e914839b68c01436 /node_modules/discord.js/docs/general/faq.md | |
| parent | 878fefb4c4e1f12b804ae5c0def433fa873f4c8b (diff) | |
| download | AleeBot-29433e2f7dbd0e4a73d3c78ffe1005b922fb5982.tar.gz AleeBot-29433e2f7dbd0e4a73d3c78ffe1005b922fb5982.tar.bz2 AleeBot-29433e2f7dbd0e4a73d3c78ffe1005b922fb5982.zip | |
Don't mind me i'm adding the discord.js files
Diffstat (limited to 'node_modules/discord.js/docs/general/faq.md')
| -rw-r--r-- | node_modules/discord.js/docs/general/faq.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/node_modules/discord.js/docs/general/faq.md b/node_modules/discord.js/docs/general/faq.md new file mode 100644 index 0000000..d7e4188 --- /dev/null +++ b/node_modules/discord.js/docs/general/faq.md @@ -0,0 +1,23 @@ +# Frequently Asked Questions +These are just questions that get asked frequently, that usually have a common resolution. +If you have issues not listed here, please ask in the [official Discord server](https://discord.gg/bRCvFy9). +Always make sure to read the documentation. + +## No matter what, I get `SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode`‽ +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, due to it having significantly better performance. + +## How do I install FFMPEG? +- **npm:** `npm install --save ffmpeg-binaries` +- **Ubuntu 16.04:** `sudo apt install ffmpeg` +- **Ubuntu 14.04:** `sudo apt-get install libav-tools` +- **Windows:** See the [FFMPEG section of AoDude's guide](https://github.com/bdistin/OhGodMusicBot/blob/master/README.md#download-ffmpeg). + +## How do I set up node-opus? +- **Ubuntu:** Simply run `npm install node-opus`, and it's done. Congrats! +- **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! |
