mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
Remove yeoman generator link
This commit is contained in:
@@ -66,8 +66,6 @@ client.on('message', message => {
|
|||||||
client.login('your token');
|
client.login('your token');
|
||||||
```
|
```
|
||||||
|
|
||||||
A bot template using discord.js can be generated using [generator-discordbot](https://www.npmjs.com/package/generator-discordbot).
|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
* [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site))
|
* [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site))
|
||||||
* [Documentation](https://discord.js.org/#/docs)
|
* [Documentation](https://discord.js.org/#/docs)
|
||||||
|
|||||||
@@ -45,7 +45,9 @@ For production bots, using node-opus should be considered a necessity, especiall
|
|||||||
### Optional packages
|
### Optional packages
|
||||||
- [bufferutil](https://www.npmjs.com/package/bufferutil) to greatly speed up the WebSocket when *not* using uws (`npm install bufferutil --save`)
|
- [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`)
|
- [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`)
|
- [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.
|
**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.
|
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');
|
client.login('your token');
|
||||||
```
|
```
|
||||||
|
|
||||||
A bot template using discord.js can be generated using [generator-discordbot](https://www.npmjs.com/package/generator-discordbot).
|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
* [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site))
|
* [Website](https://discord.js.org/) ([source](https://github.com/hydrabolt/discord.js-site))
|
||||||
* [Documentation](https://discord.js.org/#/docs)
|
* [Documentation](https://discord.js.org/#/docs)
|
||||||
|
|||||||
@@ -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.
|
Again, playing a file from a URL like this is more performant than creating a ReadableStream to the file.
|
||||||
|
|
||||||
## Advanced Topics
|
## Advanced Topics
|
||||||
soon:tm:
|
soon:tm:
|
||||||
|
|||||||
Reference in New Issue
Block a user