mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Bump to node 8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6
|
||||
"ecmaVersion": 2017
|
||||
},
|
||||
"env": {
|
||||
"es6": true,
|
||||
|
||||
@@ -2,6 +2,7 @@ language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
@@ -26,7 +26,7 @@ discord.js is a powerful [node.js](https://nodejs.org) module that allows you to
|
||||
- 100% coverage of the Discord API
|
||||
|
||||
## Installation
|
||||
**Node.js 6.0.0 or newer is required.**
|
||||
**Node.js 8.0.0 or newer is required.**
|
||||
Ignore any warnings about unmet peer dependencies, as they're all optional.
|
||||
|
||||
Without voice support: `npm install discord.js --save`
|
||||
|
||||
@@ -4,7 +4,7 @@ If you have issues not listed here, please ask in the [official Discord server](
|
||||
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.
|
||||
Update to Node.js 8.0.0 or newer.
|
||||
|
||||
## How do I get voice working?
|
||||
- Install FFMPEG.
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
</div>
|
||||
|
||||
# Welcome!
|
||||
Welcome to the discord.js v11.1.0 documentation.
|
||||
v11.1.0 features improved voice and gateway stability, as well as support for new features such as audit logs and searching for messages.
|
||||
Welcome to the discord.js v12.0.0 documentation.
|
||||
|
||||
## About
|
||||
discord.js is a powerful [node.js](https://nodejs.org) module that allows you to interact with the
|
||||
@@ -30,7 +29,7 @@ discord.js is a powerful [node.js](https://nodejs.org) module that allows you to
|
||||
- 100% coverage of the Discord API
|
||||
|
||||
## Installation
|
||||
**Node.js 6.0.0 or newer is required.**
|
||||
**Node.js 8.0.0 or newer is required.**
|
||||
Ignore any warnings about unmet peer dependencies, as they're all optional.
|
||||
|
||||
Without voice support: `npm install discord.js --save`
|
||||
|
||||
Reference in New Issue
Block a user