From c0c2fd1493fe9d2062c7fd708fec4e92e50c0456 Mon Sep 17 00:00:00 2001 From: Crawl Date: Sun, 23 Apr 2017 05:53:33 +0200 Subject: [PATCH] Remove yeoman generator link --- README.md | 2 -- docs/general/welcome.md | 6 +++--- docs/topics/voice.md | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e09b2f039..187d58cdf 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,6 @@ client.on('message', message => { client.login('your token'); ``` -A bot template using discord.js can be generated using [generator-discordbot](https://www.npmjs.com/package/generator-discordbot). - ## Links * [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site)) * [Documentation](https://discord.js.org/#/docs) diff --git a/docs/general/welcome.md b/docs/general/welcome.md index 7acc38121..26dd10fb4 100644 --- a/docs/general/welcome.md +++ b/docs/general/welcome.md @@ -45,7 +45,9 @@ For production bots, using node-opus should be considered a necessity, especiall ### Optional packages - [bufferutil](https://www.npmjs.com/package/bufferutil) to greatly speed up the WebSocket when *not* using uws (`npm install bufferutil --save`) - [erlpack](https://github.com/hammerandchisel/erlpack) for significantly faster WebSocket data (de)serialisation (`npm install hammerandchisel/erlpack --save`) -- [sodium](https://www.npmjs.com/package/sodium) for faster voice packet encryption/decryption (`npm install sodium --save`) +- for faster voice packet encryption/decryption you can install one of the following: + - [sodium](https://www.npmjs.com/package/sodium) (`npm install sodium --save`) + - [libsodium.js](https://www.npmjs.com/package/libsodium-wrappers) (`npm install libsodium-wrappers --save`) - [uws](https://www.npmjs.com/package/uws) for a much faster WebSocket connection (`npm install uws --save`) **Note:** This package does not handle disconnects entirely correctly, which causes automatic reconnection to Discord to not function. If you use this package, it may be wise to destroy + recreate the client entirely or restart the process upon disconnect. @@ -68,8 +70,6 @@ client.on('message', message => { client.login('your token'); ``` -A bot template using discord.js can be generated using [generator-discordbot](https://www.npmjs.com/package/generator-discordbot). - ## Links * [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site)) * [Documentation](https://discord.js.org/#/docs) diff --git a/docs/topics/voice.md b/docs/topics/voice.md index 24fa405b0..73950af7a 100644 --- a/docs/topics/voice.md +++ b/docs/topics/voice.md @@ -106,4 +106,4 @@ connection.playArbitraryInput('http://mysite.com/sound.mp3'); Again, playing a file from a URL like this is more performant than creating a ReadableStream to the file. ## Advanced Topics -soon:tm: \ No newline at end of file +soon:tm: