From a3cd539eac6bb8bb82639a4314d2f9c7fc041663 Mon Sep 17 00:00:00 2001 From: abalabahaha Date: Sat, 16 Apr 2016 10:56:33 -0700 Subject: [PATCH] no-optional command in README and OAuth invite accepting warning --- README.md | 6 +++++- docs/conf.py | 6 +++--- docs/docs_client.rst | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 14d496f4c..9ba11c549 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/docs/conf.py b/docs/conf.py index 4e17370e0..2041ce63b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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. diff --git a/docs/docs_client.rst b/docs/docs_client.rst index dddbcc859..b0e95d700 100644 --- a/docs/docs_client.rst +++ b/docs/docs_client.rst @@ -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: