mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
Removed production flag from installs
This commit is contained in:
@@ -16,9 +16,9 @@ discord.js is a powerful node.js module that allows you to interact with the [Di
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
**Node.js 6.0.0 or newer is required.**
|
**Node.js 6.0.0 or newer is required.**
|
||||||
Without voice support: `npm install discord.js --save --production`
|
Without voice support: `npm install discord.js --save`
|
||||||
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save --production`
|
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save`
|
||||||
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save --production`
|
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save`
|
||||||
If both audio packages are installed, discord.js will automatically choose node-opus.
|
If both audio packages are installed, discord.js will automatically choose node-opus.
|
||||||
|
|
||||||
The preferred audio engine is node-opus, as it performs significantly better than opusscript.
|
The preferred audio engine is node-opus, as it performs significantly better than opusscript.
|
||||||
@@ -56,7 +56,7 @@ A bot template using discord.js can be generated using [generator-discordbot](ht
|
|||||||
* [NPM](https://www.npmjs.com/package/discord.js)
|
* [NPM](https://www.npmjs.com/package/discord.js)
|
||||||
* [Related libraries](https://discordapi.com/unofficial/libs.html)
|
* [Related libraries](https://discordapi.com/unofficial/libs.html)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
||||||
[documentation](http://hydrabolt.github.io/discord.js/#!/docs/tag/master).
|
[documentation](http://hydrabolt.github.io/discord.js/#!/docs/tag/master).
|
||||||
See [the contributing guide](CONTRIBUTING.md) if you'd like to submit a PR.
|
See [the contributing guide](CONTRIBUTING.md) if you'd like to submit a PR.
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ stable and performant than previous versions.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
**Node.js 6.0.0 or newer is required.**
|
**Node.js 6.0.0 or newer is required.**
|
||||||
Without voice support: `npm install discord.js --save --production`
|
Without voice support: `npm install discord.js --save`
|
||||||
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save --production`
|
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save`
|
||||||
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save --production`
|
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save`
|
||||||
If both audio packages are installed, discord.js will automatically prefer node-opus.
|
If both audio packages are installed, discord.js will automatically prefer node-opus.
|
||||||
|
|
||||||
The preferred audio engine is node-opus, as it performs significantly better than opusscript.
|
The preferred audio engine is node-opus, as it performs significantly better than opusscript.
|
||||||
|
|||||||
Reference in New Issue
Block a user