Gus Caplan
d766e727a1
add GuildChannel#clone ( #973 )
...
* add GuildChannel#clone
* e
2016-12-11 09:07:52 +00:00
bdistin
710d3db94f
RichEmbed Tweaks/Improvements ( #964 )
...
* RichEmbed Tweaks/Improvements
Changed .addTimestamp() to .setTimestamp() to bring it inline with all other single value settings.
Changed Field value to StringResolveable from String to bring it inline with typical sendMessage functionality.
* Lint Fix
* Remove Default, Add check for undefined
2016-12-09 22:10:50 -05:00
Slamakans
b79a91b3a9
new errors for richembed yay ( #966 )
...
* Update faq.md (#949 )
* fix docs
* Revert "fixed typo in documentation" (#950 )
* new errors for richembed yay
Simplified the parsing for color arrays.
Throwing some errors on values that would result in Bad Requests.
Changed setAuthor and setFooter's icon parameter to icon_url to match
the embed object's property name.
Changed the docs for setFooter to reflect that icon_url is optional.
* changed docs instead of arg names
* capitalization
2016-12-09 22:09:55 -05:00
Gus Caplan
c5f93eb44e
Add more MessageEmbed stuff ( #970 )
...
* this is why wrapping data 1:1 is a bad idea
* ffs
* whoever wrote role.hexColor is a bad, bad person
* Update MessageEmbed.js
* Update MessageEmbed.js
2016-12-09 22:07:34 -05:00
Gus Caplan
e51fed968d
hydarplz ( #962 )
2016-12-09 20:47:56 +00:00
Amish Shah
a54a62787d
simplify README
2016-12-09 17:37:48 +00:00
Will Nelson
275d9d3ce0
fix remove reactions return ( #961 )
2016-12-07 10:12:00 -05:00
Schuyler Cebulskie
a0de75f290
Improve ShardClientUtil warnings/errors
2016-12-07 00:30:36 -05:00
Gus Caplan
b177aefdd6
add user/member lastMessageID ( #959 )
...
* add user.lastMessageID
* stupid
* add member.lastMessageID
2016-12-06 23:46:32 -05:00
Gus Caplan
050d3f9303
fix serialize for webpack ( #960 )
...
* fix serialize for webpack
* Update WebSocketManager.js
* Update WebSocketManager.js
2016-12-06 23:45:31 -05:00
Évelyne Lachance
f9bf0ed5e6
Quick fix for error in guildMemberRole
...
Because Gus is a massive derp.
2016-12-06 18:35:33 -05:00
Gus Caplan
d67ecdd2af
fix authenticating role updates ( #956 )
...
* Update RESTMethods.js
* Update RESTMethods.js
2016-12-06 17:23:40 +00:00
Zack Campbell
37bfdd154c
Fix embed footer text length error ( #955 )
2016-12-05 20:50:25 -05:00
Zack Campbell
daa79b7f97
Add more errors for RichEmbed builder char limits ( #954 )
...
* Add more errors for RichEmbed builder char limits
Might as well if we're erroring on number of fields when that's the one limit that doesn't actually throw a bad request.
* Fix name.length check in previous commit
* Update RichEmbed.js
* Update number of fields error message
2016-12-05 20:33:58 -05:00
bdistin
8eff36b744
Fix reconnect when using WS ( #952 )
...
* Fix reconnect when using WS
* Add disconnect status (fix reconnect with WS)
2016-12-05 21:06:49 +00:00
Schuyler Cebulskie
977e29ceba
👏 @Programmix
2016-12-04 20:25:24 -05:00
Amish Shah
8f8e0b1e52
fix that
2016-12-04 13:08:50 +00:00
Amish Shah
d6218050ba
export constants
2016-12-04 13:08:22 +00:00
Schuyler Cebulskie
bd00bc404c
Make Collection#set/delete return the result of the super call, and clean up equals docs
2016-12-03 21:38:27 -05:00
Slamakans
a0b245bfe1
equals function added ( #948 )
...
Adds an equals function that checks for differing size and differing
key-value pairs, and takes into account the edge case for when there's
an entry for the key, but the value is undefined.
2016-12-03 21:34:26 -05:00
Amish Shah
a53dcd52e7
link discord-rpc
2016-12-03 23:23:36 +00:00
Schuyler Cebulskie
d3687cb20d
Fix typo
2016-12-03 01:11:37 -05:00
Gus Caplan
638e51a18c
support new guild member role endpoints for cleaner role updates ( #901 )
...
* support new roles endpoints
* use promise chaining
* properties man
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
2016-12-02 23:46:55 -05:00
Programmix
8b7ef0c850
Add Message.fetchWebhook ( #947 )
...
* Add Message.fetchWebhook
* Update Message.js
2016-12-02 22:59:44 -05:00
Schuyler Cebulskie
c0aa6bd30f
Work around Node's module loading
2016-12-02 22:55:37 -05:00
Schuyler Cebulskie
6adc8a9d0d
Move a getter around
2016-12-02 22:47:12 -05:00
Programmix
676a895da7
Add Message - webhookID, isMemberMentioned ( #946 )
...
* Add Message - webhookID, isMemberMentioned
* Update Message.js
* Update Message.js
* Update Message.js
* Update Message.js
2016-12-02 22:35:01 -05:00
Gus Caplan
6cfbf76406
add more embed stuff ( #939 )
...
* add fun embed stuff
* add more docstrings
* fix gawdl3y
* Update RichEmbed.js
2016-12-02 21:59:38 -05:00
Schuyler Cebulskie
e141deb7ef
Update installation info
2016-12-02 21:42:49 -05:00
Gus Caplan
1e5afc1608
Add etf encoding support with erlpack ( #943 )
...
* the performance from this is astounding
* help uws
* save 15 bytes in webpacks
* update readme
* why is markdown like this
* optimizations
* Update WebSocketManager.js
2016-12-02 21:35:59 -05:00
Schuyler Cebulskie
58c7c2e7b8
Add client ping stuff
2016-12-02 20:58:19 -05:00
Schuyler Cebulskie
2488e1a00f
Improved the definition of structures' client properties
2016-12-02 19:52:27 -05:00
Gus Caplan
edfb27f428
switch to cdn endpoints, add guild splash url ( #932 )
2016-12-01 19:33:15 -05:00
Amish Shah
6043a1f83a
Fix #937 (guild member presence before READY)
2016-11-30 20:31:07 +00:00
Schuyler Cebulskie
ac68e9f077
Switch Travis to Ubuntu 14.04
2016-11-28 23:35:25 -05:00
Amish Shah
1933451d2f
fix reconnecting
2016-11-28 16:14:34 +00:00
Amish Shah
b335824570
potentially fix #910 , guild sync no longer assumes unknown users are new to the guild
2016-11-28 15:41:57 +00:00
Schuyler Cebulskie
57af84bc95
Clean up Guild#setRolePosition slightly
2016-11-27 20:09:41 -05:00
Schuyler Cebulskie
6dc93a0184
Simplify Role#setPosition
2016-11-27 20:03:44 -05:00
Schuyler Cebulskie
769ea5b50f
Add more detail to error message
2016-11-27 19:39:10 -05:00
Schuyler Cebulskie
8e7cb7fc4e
Revert "Escape the backslash ( #931 )"
...
This reverts commit 5fb4e257c8 .
2016-11-27 18:31:27 -05:00
Vap0r1ze
5fb4e257c8
Escape the backslash ( #931 )
2016-11-27 22:38:42 +00:00
Hackzzila
d9400ba289
fix readme spacing bug ( #930 )
2016-11-27 22:10:57 +00:00
Schuyler Cebulskie
cc9e484276
Fix a thing Gus noticed
2016-11-27 16:23:17 -05:00
Hackzzila
1aed3de647
Add note about uws in readme ( #929 )
2016-11-27 20:22:09 +00:00
Hackzzila
6afd80cf53
Make uws a peer dep, and readd ws ( #928 )
...
* Make uws a peer dep, and readd ws
* if -> else if
2016-11-27 19:59:50 +00:00
acdenisSK
b85a589a01
Add typings ( #925 )
2016-11-27 15:28:46 +00:00
Amish Shah
9323882a8d
fix disabledEvents
2016-11-27 12:01:51 +00:00
Schuyler Cebulskie
dc6c1140bc
Improve some JSDocs
2016-11-27 01:08:08 -05:00
Amish Shah
0d574a0678
Address #919 , add WSEventType typedef
2016-11-26 23:01:47 +00:00