Gus Caplan
bac4ccead7
"knock, knock. who's there. discord, lol" ( #1021 )
2016-12-27 12:13:57 +00:00
Gus Caplan
b79533e373
correctly handle invalid session ( #1020 )
...
* correctly handle invalid session
* give discord some time, use it wisely
2016-12-27 00:04:09 +00:00
Amish Shah
b0c2f818a8
Remove cached events
2016-12-26 21:56:04 +00:00
Amish Shah
f510dc5a10
Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev
2016-12-26 21:30:30 +00:00
Amish Shah
bf7767fe2c
Rename emoji events
2016-12-26 21:30:27 +00:00
Schuyler Cebulskie
758c801dd5
Change to function declaration
2016-12-26 15:40:34 -05:00
Alexander
b1473b1e4c
Change RichEmbed to take StringResolvables ( #1010 )
...
Changed RichEmbed to take StringResolvables for all title, name, value and
description arguments.
Also changed a few lines in setColor to make sure that the value
assigned to this.color is always a number.
2016-12-26 15:39:07 -05:00
Amish Shah
72c667b307
Fix potential ReferenceError with GuildMembersChunk
2016-12-26 20:20:58 +00:00
Amish Shah
cd657be8be
Add functionality for GuildEmoji events
2016-12-26 19:21:00 +00:00
Gus Caplan
2410fdf8d2
fix heartbeats once and for all ( #1016 )
2016-12-25 16:28:36 +00:00
Schuyler Cebulskie
fb6a8d1637
Update webpack and clean up deps
2016-12-24 20:25:29 -05:00
Schuyler Cebulskie
218920e4f1
Fix logo on GitHub
2016-12-24 20:02:36 -05:00
Schuyler Cebulskie
74c3bae506
Teensy weensy cleanup
2016-12-24 19:54:37 -05:00
Schuyler Cebulskie
ab30715028
Fix Hydar's lint errors
2016-12-24 19:49:24 -05:00
Amish Shah
544e456302
Add ClientOptions.restTimeOffset for better performance for bots with a good network connection
2016-12-24 12:13:42 +00:00
Gus Caplan
3eca3ba95e
add handler in case heartbeat is not acked ( #1013 )
...
* add handler in case heartbeat is not acked
* ffs
2016-12-24 11:04:27 +00:00
Gus Caplan
7c12fdcb56
add payload_json instead of the current iterator ( #1015 )
2016-12-24 02:04:18 -05:00
Schuyler Cebulskie
28ca83011c
Implement missing Collection#reduce functionality
2016-12-24 01:59:14 -05:00
Gus Caplan
265ac90234
Update Constants.js ( #1014 )
2016-12-23 18:41:04 +00:00
Amish Shah
2ab5bae69a
change let to const
2016-12-23 18:38:48 +00:00
Amish Shah
e63432c18e
Fix editing role positions ( fixes #864 )
2016-12-23 16:45:47 +00:00
Gus Caplan
e6a041241b
cleanup ws ratelimiting, and apirequest ( #957 )
...
* cleanup ws ratelimiting, and apirequest
* cleanup timestamps
* clean up timestamps
2016-12-23 14:37:43 +00:00
Amish Shah
74ef0b2e14
minor fixes
2016-12-23 14:37:35 +00:00
Amish Shah
b518437f52
Emit the close event on disconnect
2016-12-23 13:59:06 +00:00
Gus Caplan
2390e525ef
Fix User#avatarURL for Nitro animated avatars ( #1012 )
...
* fix avatar url
* switch to cdn
2016-12-23 00:57:49 -05:00
bdistin
f726db2152
Revert error emit on Slow Stream Gen ( #1011 )
2016-12-22 22:24:31 -05:00
Gus Caplan
cecb0aee02
Update User#setEmail/setPassword/setUsername ( #991 )
...
* fix some things with user updates and tokens and such
* fix stupid
* Update ClientUser.js
* Update ClientUser.js
2016-12-22 15:12:29 -05:00
Hackzzila
84954c8860
Add notice about disabling events ( #1008 )
...
* Add notice about disabling events
* fix english
* Update Constants.js
* Update Constants.js
* Update Constants.js
* Update Constants.js
2016-12-22 15:01:04 -05:00
Zack Campbell
4580f62a1f
Add RichEmbed to typings ( #1009 )
2016-12-22 14:50:28 -05:00
Gus Caplan
fa7d63a10a
add an invite generator ( #993 )
...
* add an invite generator
* `number |= null` is safe, so we can simplify this
* Update Client.js
* aaaaaa
2016-12-20 23:37:36 +00:00
Gus Caplan
9486609ef9
Create .tern-project ( #1003 )
2016-12-20 23:37:19 +00:00
Gus Caplan
c483dd8239
add some useful events ( #1004 )
2016-12-20 23:37:06 +00:00
Gus Caplan
84503c8877
add User#dmChannel ( #1005 )
...
* add User#DMChannel
* Update User.js
* Update User.js
2016-12-20 23:36:43 +00:00
Gus Caplan
e392107369
add ClientUser#fetchMentions ( #999 )
...
* add ClientUser#fetchMentions
Signed-off-by: Gus Caplan <gus@localhost.localdomain >
* ugh
* Update ClientUser.js
* Update ClientUser.js
* Update ClientUser.js
2016-12-19 02:16:27 -05:00
Gus Caplan
a0a3989e59
fix issue with uncached channels and adding members ( #1001 )
...
* fix this thing
* fix a silly
* Update Guild.js
2016-12-19 02:11:55 -05:00
Gus Caplan
b74c1b70b6
fix 992 ( #994 )
2016-12-18 16:06:42 -05:00
Will Nelson
736fa7c611
friendlier notification of an invalid token ( #997 )
...
* friendlier notification of an invalid token
* fixed
* even fixeder
* no token -> invalid token
* eslint
* Update RESTMethods.js
2016-12-17 13:22:39 -05:00
Gus Caplan
6c38b83923
fix runkit/tonicdev example ( #998 )
2016-12-17 17:44:25 +00:00
Schuyler Cebulskie
361547a588
Fix a bunch of capitalisation issues
2016-12-15 20:10:38 -05:00
bdistin
fbe1929bde
Pass Reason to the streamDispatcher end event ( #985 )
...
* Pass Reason to the streamDispatcher end event
* Update <dispatcher>.end() to bring inline with <collector>.stop()
Also changed "Stream is not generating quickly enough." from an end to an error, per Crawl...
* Fix docs Copy/Paste fail from collection end event
2016-12-15 16:32:37 +00:00
Gus Caplan
a20bac7258
update per issue 69 on the h&c github ( #963 )
...
* update per issue 69 on the h&c github
* clean up things that don't exist anymore
2016-12-15 16:32:19 +00:00
Gus Caplan
9c59b649ad
get rid of user agent errors ( #990 )
2016-12-15 16:32:06 +00:00
Schuyler Cebulskie
36be4c47f6
Change welcome logo to reference static one on site
2016-12-14 21:05:48 -05:00
Schuyler Cebulskie
33a4388121
Switch to SVG logo
2016-12-14 20:42:51 -05:00
Gus Caplan
2e7472bb1a
just webpack things ( #988 )
2016-12-14 19:40:47 -05:00
Alexander
264ee8e7f1
Equals updates ( #987 )
...
* Docs update
Changed the param names and param descriptions to be consistent.
* Added === comparison
Changed Presence.equals and Game.equals to first compare using ===
* Collection.equals fix
Now returns false when collection is undefined, instead of crashing
💯
2016-12-14 17:10:34 -05:00
Alexander
906bb3c5f3
Utilise Collection#equals for structures' equals ( #986 )
...
Utilizing Collection.equals in GuildChannel.equals
Utilizing Collection.equals in GroupDMChannel.equals
2016-12-14 15:35:40 -05:00
Schuyler Cebulskie
bef0523ebf
Capitalise ID in Guild#applicationId
2016-12-14 13:04:40 -05:00
Schuyler Cebulskie
f1c4ef659e
Fix a Hydar thing
2016-12-14 12:40:02 -05:00
Schuyler Cebulskie
4e76251aa2
Fix some Gus stuff
2016-12-14 12:37:23 -05:00