no-optional command in README and OAuth invite accepting warning

This commit is contained in:
abalabahaha
2016-04-16 10:56:33 -07:00
parent 9083893d79
commit a3cd539eac
3 changed files with 9 additions and 5 deletions

View File

@@ -17,6 +17,10 @@ discord.js is a node module used as a way of interfacing with [Discord](https://
`npm install --save discord.js`
If you don't need voice support:
`npm install --save --no-optional discord.js`
---
### Example: ping-pong
@@ -36,7 +40,7 @@ mybot.login("email", "password");
### 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`

View File

@@ -47,7 +47,7 @@ master_doc = 'index'
# General information about the project.
project = u'discord.js'
copyright = u'2015, hydrabolt'
copyright = u'2015-2016, hydrabolt'
author = u'hydrabolt'
# The version info for the project you're documenting, acts as replacement for
@@ -55,9 +55,9 @@ author = u'hydrabolt'
# built documents.
#
# The short X.Y version.
version = '6.0.0'
version = '7.0.1'
# 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
# for a list of supported languages.

View File

@@ -271,7 +271,7 @@ Gets a list of banned users in a server.
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`_
- **callback** - `function` taking the following: