Commit Graph

2050 Commits

Author SHA1 Message Date
Schuyler Cebulskie 1841122a8f Cherry pick commits from indev 2016-10-27 19:48:34 -04:00
Gus Caplan 96e46cbf37 Update README.md (#846) 2016-10-27 14:51:01 +01:00
Gus Caplan 2fa1e12fd5 Update welcome.md (#847) 2016-10-27 14:50:47 +01:00
Schuyler Cebulskie b8c11f0bed Update docs URLs to new domain 2016-10-27 04:27:28 -04:00
Schuyler Cebulskie b54adf3869 Remove docs.jsos (whoops) 2016-10-26 23:45:20 -04:00
Schuyler Cebulskie 0863be8520 Tweak another output 2016-10-26 23:42:35 -04:00
Schuyler Cebulskie 93cc1fcb24 Tweak single output 2016-10-26 23:42:03 -04:00
Schuyler Cebulskie 4b60a6f47d Remove unused file 2016-10-26 23:33:29 -04:00
Schuyler Cebulskie b8946d5904 Give the docgen a facelift 2016-10-26 23:30:37 -04:00
Schuyler Cebulskie 4543422e37 Remove a lot of irrelevant stuff in .gitignore 2016-10-26 23:30:08 -04:00
Schuyler Cebulskie 4e693e2e39 Fix a small VoiceReceiver doc issue 2016-10-26 21:43:28 -04:00
Schuyler Cebulskie ab6750d06d Make docs catches use console.error 2016-10-26 21:37:19 -04:00
Schuyler Cebulskie d6f4a4e1a0 Merge remote-tracking branch 'refs/remotes/origin/indev' 2016-10-26 21:14:21 -04:00
Schuyler Cebulskie 3727f3520e Merge remote-tracking branch 'refs/remotes/origin/master' into indev 2016-10-26 21:13:19 -04:00
Schuyler Cebulskie 4d1eb34dd6 Remove extra <br /> 2016-10-26 21:12:41 -04:00
Schuyler Cebulskie fc20008d6d Merge remote-tracking branch 'refs/remotes/origin/indev' 2016-10-26 21:10:59 -04:00
Schuyler Cebulskie 99cea11e6d Change a word 2016-10-26 21:04:41 -04:00
Schuyler Cebulskie e8eac4990e Add more general info about discord.js 2016-10-26 21:03:44 -04:00
Schuyler Cebulskie c4ee802c3b Fix formatting for GitHub 2016-10-26 20:51:34 -04:00
Schuyler Cebulskie 6dfb904e6b Center the shields and NPM banner 2016-10-26 20:45:48 -04:00
Schuyler Cebulskie 801588b2d4 Add v10 details to docs 2016-10-26 20:39:11 -04:00
Amish Shah 4929aecb32 Fix logo 2016-10-26 23:01:45 +01:00
Amish Shah 1fc9676ba5 Fix presences, damn it hydra 2016-10-26 22:09:11 +01:00
Amish Shah 62cfa10ac5 v10 prep 10.0.0 2016-10-26 20:58:34 +01:00
Schuyler Cebulskie ecee07655f Simplify Shard.env 2016-10-26 15:31:05 -04:00
Amish Shah 1a3ea65abd fix some shard stuff on linux 2016-10-26 20:15:56 +01:00
Amish Shah 00fe45f6b3 simplify client destruction 2016-10-26 19:52:41 +01:00
Amish Shah 5e2ee2398e Fix some destroy stuff (#828) 2016-10-26 19:42:21 +01:00
Amish Shah a2f125e416 case sensitive 2016-10-26 19:27:52 +01:00
Amish Shah ad90705c93 fix bug 2016-10-26 19:21:45 +01:00
Amish Shah 4e37e47e64 Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-10-26 19:18:19 +01:00
Amish Shah 996c9b45e2 Update README for new logo 2016-10-26 19:18:16 +01:00
Amish Shah 7d04863b66 Revert "fix Client.destroy bugs" (#839) 2016-10-26 17:30:18 +01:00
Amish Shah 18e9850e1e Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-10-26 17:29:26 +01:00
Amish Shah 4a5cef0ccf Rename getRecommendedShards to fetchRecommendedShards 2016-10-26 17:29:23 +01:00
Gus Caplan c6bcf69dc3 added User#fetchProfile (#835)
* add User#fetchProfile

* fix merge conflicts?
2016-10-26 16:23:39 +01:00
Amish Shah d231adc489 add notice to docs folder 2016-10-26 16:14:37 +01:00
Amish Shah e12c7bf2d4 Whoops remove something 2016-10-26 16:10:02 +01:00
Amish Shah 597c3ebcbe Remove unnecessary docs.json file 2016-10-26 16:09:17 +01:00
Amish Shah 50f73bf430 Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-10-26 16:06:58 +01:00
Amish Shah 0f1e121b81 hide some voice stuff in docs 2016-10-26 16:06:56 +01:00
meew0 e85fd4482f Fix the secret Travis details
Apparently the environment variables weren't correctly stored last
time, so they had to be regenerated.
2016-10-26 17:02:01 +02:00
Gus Caplan 60a911e4a0 add clientUser#createGuild (#832)
* add clientUser#createGuild merge docs

* almost caused a memory leak!

* muh triggers
2016-10-26 15:59:15 +01:00
Amish Shah cf45d1905e Reduce doc log size 2016-10-26 15:57:45 +01:00
meew0 0296a71793 Improve the docs building process (#834)
* Add a script to automatically build and push docs

This script will checkout the repo in the `docs` branch, then build the
docs locally, copy it to that repo, commit and push. It is designed to
be used in conjunction with Travis.

* Add unencrypted deploy keys to the gitignore

* Make Travis automatically execute the deploy script

* Add the encrypted deploy key

* Update the .travis.yml with the necessary information
2016-10-26 15:54:53 +01:00
Amish Shah 35ac80024a Rename some events (mainly guild events) 2016-10-26 15:52:40 +01:00
Amish Shah 45632b2eae fix joining voice channels without perms 2016-10-26 15:23:54 +01:00
Amish Shah 650e21e907 Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-10-26 15:14:30 +01:00
Amish Shah e7e8a802b8 Fix docs 2016-10-26 15:14:28 +01:00
isonmad e9fa8a438c fix Client.destroy bugs (#828)
* add test for Client.destroy()

* propagate errors in ClientManager.destroy

If the promise returned by logout() rejects, previously
it would be completely uncaught, and just return an
eternally pending promise that never resolved.

* fix RESTMethods.logout

Without a data argument, the POST that superagent sends causes
the discord server to reply with a HTTP 400 error:

text: '{"Content-Type": "Expected Content-Type to be one of set([\'application/json\'])."}',

* fix Client.destroy

_timeouts and _intervals were changed to Set objects in
commit 6ede7a32fd a month ago.

Changing them to arrays causes failures if you try to reuse
the client object again.

* always close websocket in ClientManager.destroy

Invoking logout does not implicitly cause the server to close
the websocket for you, so cleanup everything.

Otherwise the websocket being open keeps node alive and hanging
mysteriously until the connection hits a timeout.

* fix indentation for eslint
2016-10-26 14:49:45 +01:00