mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
no-optional command in README and OAuth invite accepting warning
This commit is contained in:
@@ -17,6 +17,10 @@ discord.js is a node module used as a way of interfacing with [Discord](https://
|
|||||||
|
|
||||||
`npm install --save discord.js`
|
`npm install --save discord.js`
|
||||||
|
|
||||||
|
If you don't need voice support:
|
||||||
|
|
||||||
|
`npm install --save --no-optional discord.js`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Example: ping-pong
|
### Example: ping-pong
|
||||||
@@ -36,7 +40,7 @@ mybot.login("email", "password");
|
|||||||
|
|
||||||
### Contributing
|
### Contributing
|
||||||
|
|
||||||
Feel free to contribute! Just clone the repo and edit the files in the **src folder, not the lib folder.**
|
Feel free to contribute! Just clone the repo and edit the files in the **src folder, not the lib folder.**
|
||||||
|
|
||||||
Whenever you come to making a pull request, make sure it's to the *indev* branch and that you have built the lib files by running `grunt --dev`
|
Whenever you come to making a pull request, make sure it's to the *indev* branch and that you have built the lib files by running `grunt --dev`
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'discord.js'
|
project = u'discord.js'
|
||||||
copyright = u'2015, hydrabolt'
|
copyright = u'2015-2016, hydrabolt'
|
||||||
author = u'hydrabolt'
|
author = u'hydrabolt'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
@@ -55,9 +55,9 @@ author = u'hydrabolt'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '6.0.0'
|
version = '7.0.1'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '6.0.0a'
|
release = '7.0.1'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ Gets a list of banned users in a server.
|
|||||||
joinServer(invite, `callback`)
|
joinServer(invite, `callback`)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Joins a server from the given invite
|
Joins a server from the given invite. This will not work for OAuth bot accounts.
|
||||||
|
|
||||||
- **invite** - an `Invite Resolvable`_
|
- **invite** - an `Invite Resolvable`_
|
||||||
- **callback** - `function` taking the following:
|
- **callback** - `function` taking the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user