Schuyler Cebulskie
be02875f05
I don't even
2017-11-24 23:16:21 -05:00
Schuyler Cebulskie
7cd0a9525d
Fix ClientUser not extending custom User
2017-11-24 23:05:00 -05:00
bdistin
dcf48e2225
Fix inconsistency with Channel Creation: CustomStructures ( #2121 )
...
* Fix inconsistancy with Channel Creation
* Because static get is a function, it thinks we are create a new instance based on that function, rather than the returned class...
2017-11-24 22:42:02 -05:00
Schuyler Cebulskie
950e65c7f1
Merge branch 'shard-overhaul'
2017-11-24 22:36:34 -05:00
Schuyler Cebulskie
0d188c0fba
Rename ShardingManager#launch event to shardCreate
2017-11-24 22:33:29 -05:00
Schuyler Cebulskie
c6244ee6e1
Fix shards not respawning on exit
2017-11-20 22:37:35 -05:00
Schuyler Cebulskie
527c729aca
Possibly fix weird behaviour
2017-11-20 22:29:46 -05:00
Schuyler Cebulskie
c447abad60
Clear evals and fetches on process death
2017-11-20 22:26:14 -05:00
Schuyler Cebulskie
b5459a96fa
Move ShardingManager#message event to Shard#message
2017-11-20 22:20:32 -05:00
Gus Caplan
aaa92c0b05
fix things ( #2116 )
2017-11-20 12:57:45 +01:00
Schuyler Cebulskie
f3817e328b
JK, back to Structures.extend
2017-11-20 01:37:19 -05:00
Schuyler Cebulskie
cf07b7e342
Re-add docs
2017-11-20 01:13:36 -05:00
Schuyler Cebulskie
1e0ee2f8fa
Replace Structures.extend with set
2017-11-20 01:11:19 -05:00
Schuyler Cebulskie
a2a4c3c196
Fix Presence structure
2017-11-20 00:26:57 -05:00
Schuyler Cebulskie
3728c71867
Fix missing space
2017-11-20 00:24:43 -05:00
Schuyler Cebulskie
63b0c8d5cc
Fix circular dependency
2017-11-20 00:23:41 -05:00
Schuyler Cebulskie
f004e6ccca
Reimplement Structures.get
2017-11-19 23:00:56 -05:00
Schuyler Cebulskie
6d53d893a8
Make Structures.extend static and tweak error messages
2017-11-19 22:46:38 -05:00
Schuyler Cebulskie
47dc8fd046
Overhaul the way structures are extended
2017-11-19 22:41:45 -05:00
Schuyler Cebulskie
dc379519d3
Fix reaction structure name
2017-11-19 22:30:37 -05:00
Schuyler Cebulskie
0291fe41d8
Fix structure paths
2017-11-19 22:09:43 -05:00
Schuyler Cebulskie
c29804e3f8
i aint do nuffin
2017-11-19 21:19:46 -05:00
Schuyler Cebulskie
cfa512c447
Make structures for data stores extensible
2017-11-19 21:16:14 -05:00
Schuyler Cebulskie
26b28813a8
Use a custom promisified setTimeout
2017-11-19 13:47:04 -05:00
Schuyler Cebulskie
acf82f32c3
Mark Shard#_exitListener as private
2017-11-19 02:31:06 -05:00
Schuyler Cebulskie
1338e9bd8e
Update sharding docs some more
2017-11-19 02:30:20 -05:00
Schuyler Cebulskie
975da5f1a5
Rewrite sharding class descriptions and link Client
2017-11-19 02:21:29 -05:00
Schuyler Cebulskie
9cd097492c
Update doc for ShardingManager#createShard id parameter
2017-11-19 02:06:38 -05:00
Schuyler Cebulskie
f777c19fbf
Fix naming conflict with ShardingManager#respawn
2017-11-19 02:03:44 -05:00
Schuyler Cebulskie
637ea09532
Fix lint error
2017-11-19 01:56:51 -05:00
Schuyler Cebulskie
2a332d8d15
Add ShardClientUtil#respawnAll
2017-11-19 01:54:10 -05:00
Schuyler Cebulskie
a414e4884f
Overhaul sharding
2017-11-19 01:28:46 -05:00
Schuyler Cebulskie
f4ac06024e
Improve ColorResolvable docs
2017-11-18 23:34:34 -05:00
Schuyler Cebulskie
b859501b6f
Document and clean up some garbage
2017-11-18 20:30:13 -05:00
Schuyler Cebulskie
b7c4df5dc1
Fix trailing space
2017-11-18 17:19:34 -05:00
Drahcirius
8237bc054c
So long, long ( #1994 )
...
* refactor: remove long dep
* fix linter issue
* remove file extensions
* optimize methods
2017-11-17 14:37:07 +01:00
Frangu Vlad
0cd4a92fb8
docs: Fixed some missing docstrings or incorrect return types ( #2093 )
...
* Fix some missing doc strings
Mainly just readonly tags
* Return an error when guild#allowDMs is ran from a bot account, and fix some return types
* WebhookClient implements Webhook, doesn't extend it
* Fix Client#rateLimit docs not showing what it returns
Cause I wanted to handle this event only to see no return props 🤔
* Actually make Client#rateLimit show the right info
Its an object with all the info
2017-11-17 14:20:57 +01:00
SpaceEEC
6fa4fc532c
fix(Shard): extend EventEmitter to be able to emit events ( #2112 )
2017-11-17 02:49:57 -05:00
Schuyler Cebulskie
196cf7652e
Add Shard#ready property and related events
2017-11-16 22:49:38 -05:00
Will Nelson
09315ae9db
emit ReactionCollector#remove on all unreactions ( #2096 )
...
* emit ReactionCollector#remove on all unreactions
this will emit an event when a user removes a collected reaction. this
is in addition to Collector#dispose, which will only fire when all users
have unreacted to the same emoji.
* emit only collected removals
2017-11-16 15:24:53 +01:00
Isabella
2d8e26c24c
docs: add Guild#features type ( #2105 )
...
* docs: add Guild#features type
* fixed spacing
* make it a list, and add MORE_EMOJI
2017-11-16 15:24:27 +01:00
Isabella
5cd42695ae
refactor(MessageReaction): ReactionUserStore ( #2078 )
...
* refactor(MessageReactions): fetchUsers() is now users.fetch()
made a lovely class for it and all
happify linter
stuff
i know how to code i swear
i lied
* bdistin suggestions
* space suggestions, rename store
* fix count
* documentation update
2017-11-14 08:11:44 +00:00
Yukine
62544905a0
enhanced setUserLimit to reset when passing null to stay consistent with other methods ( #2083 )
...
* added a new check to setUserLimit so it won't silently fail anymore if you put a wrong type in
* adapt spaces idea of converting null to 0
* this way it looks cleaner
* and i need to remove this
* need to do it that way because like Gus said null will not change anyhting
* space prooved me wrong and idk why ist working now
2017-11-10 01:30:13 +01:00
SpaceEEC
05a41b5ca4
fix(Split/Webhook): readd message chunk sending and fix webhook avatar/username ( #2085 )
2017-11-06 02:42:24 +01:00
SpaceEEC
21d09f338e
fix(Guild): correctly resolve user in Guild#addMember ( #2090 )
2017-11-05 18:52:33 +01:00
Amish Shah
2531065bbd
Fix loop and only emit error, not warn
2017-11-04 15:02:58 +00:00
Amish Shah
6a523ba96a
Reimplement StreamDispatcher error and start event in docs, emit error instead of debug if there are listeners for errors
2017-11-03 20:01:51 +00:00
Amish Shah
8efafb6a43
StreamDispatcher documented as extending WritableStream, not stream.Writable
2017-10-31 19:50:02 +00:00
Amish Shah
995cd181c9
Fix setFEC bug and use bitrateEditable in setBitrate
2017-10-31 19:47:58 +00:00
Amish Shah
121a40bb4a
Use passes and increase highWaterMark to 12
2017-10-31 19:43:58 +00:00