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.
|
||||||
|
|||||||
@@ -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