Commit Graph

2687 Commits

Author SHA1 Message Date
Schuyler Cebulskie c26fc49caf Fix property fetching 2016-09-26 23:34:47 -04:00
Schuyler Cebulskie 4fe30aa4d3 Rip out client sharding logic into its own class 2016-09-26 23:23:56 -04:00
Schuyler Cebulskie d240fe4182 Improve prepend/append descriptions 2016-09-26 23:21:44 -04:00
Schuyler Cebulskie 36f4df2931 Capitalise two letters 2016-09-26 23:18:39 -04:00
Schuyler Cebulskie ecbc591c95 Update setStatus docs for DND, other docs - setStatus code needs updating 2016-09-26 23:16:29 -04:00
Schuyler Cebulskie 9ebe5e64b7 Fix Hydra's disregard of the alphabet 2016-09-26 22:58:23 -04:00
Schuyler Cebulskie ef63f0ee8b Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-09-26 22:56:11 -04:00
Schuyler Cebulskie e5f4823bd4 Document do not disturb 2016-09-26 22:56:07 -04:00
Schuyler Cebulskie 0c0c1da0d5 Fix Presence/Game.equals with null/undefined 2016-09-26 22:53:35 -04:00
Schuyler Cebulskie 909af2084f Clean up Presence 2016-09-26 22:53:08 -04:00
Schuyler Cebulskie f2cd48d94b Reorganise Presence 2016-09-26 22:50:26 -04:00
Gus Caplan 3e9253827f add manage emojis constant (#744)
* add manage emojis constant

* this is why you don't commit on github i guess
2016-09-26 21:07:16 -04:00
Gus Caplan c8761d72de add guild emoji methods (#742)
* add guild emoji methods

* run docs

* crawl pointed out some things about the docs, so i fixed

* actually run the docs on the changes 🤦
2016-09-26 21:39:07 +01:00
Gus Caplan b4f3575335 i am facepalming so hard right now (#740) 2016-09-26 03:55:54 -07:00
Amish Shah f1cb39a319 Expose Presence and Game structures 2016-09-25 20:17:35 +01:00
Amish Shah 534d7af8c3 Fix resuming sessions (fixes #699) 2016-09-25 15:03:54 +01:00
Amish Shah 761b8cfb8d fix docs 2016-09-25 14:28:51 +01:00
Amish Shah 03651fd6e3 Change how presences are handled 2016-09-25 14:16:03 +01:00
Amish Shah 0e8f1bef97 Stop comparing for equality on update events and just emit for performance 2016-09-25 11:24:02 +01:00
Gus Caplan c8636fd277 fix heartbeat (#737) 2016-09-24 23:56:18 -07:00
Amish Shah 124965425a Version bump to 9.3.0 \o/ 9.3.0 2016-09-24 19:54:29 +01:00
Amish Shah 656bb52d15 Merge branch 'hkwu-bugfix/docs' into indev 2016-09-24 19:53:34 +01:00
Amish Shah 725da8d8a5 Merge branch 'bugfix/docs' of https://github.com/hkwu/discord.js into hkwu-bugfix/docs 2016-09-24 19:53:23 +01:00
Amish Shah 14b8360453 fix doc issue with role 2016-09-24 19:47:50 +01:00
Kelvin Wu a38f34899d Merge remote-tracking branch 'upstream/indev' into bugfix/docs 2016-09-24 14:10:04 -04:00
Amish Shah aef0b83c34 comply to the latest rate limit stuff (hammerandchisel/discord-api-docs#108) 2016-09-24 18:19:18 +01:00
Gus Caplan bd1449bc5a make login sane (#735) 2016-09-24 17:55:31 +01:00
Kelvin Wu bd465108a7 Fix return type in docs. 2016-09-24 11:58:51 -04:00
Schuyler Cebulskie 116e6bb4c8 Clean up totalShards default 2016-09-24 02:46:55 -04:00
Schuyler Cebulskie d9bc5cea1e Small cleanups 2016-09-24 02:43:27 -04:00
Schuyler Cebulskie 13e2b923e8 Return existing promise instead of failing, mark 2 2016-09-24 02:29:15 -04:00
Schuyler Cebulskie f1bfd55233 Fix Guild.createChannel example 2016-09-24 02:21:06 -04:00
Schuyler Cebulskie d62551bea2 Remove old code 2016-09-24 02:20:48 -04:00
Schuyler Cebulskie 1008f601f4 Add shard client prop fetching, remove guild count fetching, improve eval 2016-09-24 02:12:45 -04:00
Schuyler Cebulskie e4f416ae6c Add shard eval, broadcastEval, and fix fetchGuildCount response 2016-09-24 01:21:41 -04:00
Schuyler Cebulskie 65b93532ce Add additional shard count checks 2016-09-24 00:51:31 -04:00
Schuyler Cebulskie 5ea62e63ab Improve sharding some more 2016-09-24 00:44:47 -04:00
Kelvin Wu fa18b0c6c9 Handle DM messages in cleanContent getter. (#726)
* Handle DM messages in cleanContent getter. Closes #725.

* Fix build error, improve handling for user IDs.

* Update docblock to be more specific about behaviour.

* Handle group DMs in cleanContent.

* Regen docs.
2016-09-24 00:23:12 -04:00
Gus Caplan 063be5cee2 smarter sharding™ (#732) 2016-09-23 21:43:16 +01:00
Gus Caplan fc9d049cc1 make shardmanager better (#731)
* add respawn thing for shards, and make it easier to recieve messages from shards

* run docs
2016-09-23 18:36:14 +01:00
Schuyler Cebulskie 4bf6ad30f3 Remove a line 2016-09-22 23:10:00 -04:00
Schuyler Cebulskie 90f05a34cb Return the existing promise instead of erroring 2016-09-22 23:01:37 -04:00
Schuyler Cebulskie 7f652f7df8 Add delay param to ShardingManager.spawn 2016-09-22 22:51:58 -04:00
Schuyler Cebulskie 3fa4ff13e3 Add ShardingManager.fetchGuildCount 2016-09-22 22:48:21 -04:00
Schuyler Cebulskie 9d94fbfbcb Document and change launch event params 2016-09-22 22:06:56 -04:00
Schuyler Cebulskie b795ed8109 Overhaul sharding broadcast/send 2016-09-22 22:03:10 -04:00
Schuyler Cebulskie 737ad8e92b Slightly improve some Collection docs 2016-09-22 21:36:06 -04:00
Gus Caplan edd174a5eb Add ShardingManager#send and ShardingManager#broadcast (#730)
* add ShardingManager#send and ShardingManager#broadcast

* make gawdl3y happy

* Fix a thing
2016-09-22 21:35:08 -04:00
Gus Caplan e86b93b34f fix docs because gawdl3y forgot >:( (#724) 2016-09-22 02:25:08 -07:00
Schuyler Cebulskie 8af96810dd Rename Guild.prune to pruneMembers 2016-09-21 16:05:33 -04:00