Commit Graph

2375 Commits

Author SHA1 Message Date
Schuyler Cebulskie
af6c8fa4a4 Make Travis builds skip revert branches 2017-01-13 20:39:03 -05:00
Schuyler Cebulskie
fa85da19a8 Fix Travis builds continuing after failed lint 2017-01-13 20:23:49 -05:00
Amish Shah
7357fc2163 Update typings and increase performance when not listening for presence updates 2017-01-13 19:15:21 +00:00
Gus Caplan
5ac410f352 Cleanup webhooks (#1094)
* clean up webhooks and fix sending messages with webhooks

* whoops

* fix up options

* Update Webhook.js

* Update Webhook.js

* Update Webhook.js

* fix docstring
2017-01-13 18:48:12 +00:00
Schuyler Cebulskie
74fd0421ba Add missing descriptions 2017-01-13 00:18:00 -05:00
Gus Caplan
0d4eab8d24 add color resolvable, and color constants from the client (#1080)
* add color resolvable, and color constants from the client

* fix up docs

* Update ClientDataResolver.js

* add easter eggs

* Update ClientDataResolver.js

* Update RESTMethods.js
2017-01-12 18:43:22 +00:00
Gus Caplan
a3091f5262 Handle 4011 ws event code (#1083)
* 4011

* Update WebSocketManager.js

* smh gawdl3y
2017-01-11 22:59:09 +00:00
Schuyler Cebulskie
b2822c584a Minor doc updates 2017-01-10 19:43:25 -05:00
Schuyler Cebulskie
5caa7df1d8 Add centralised reply option to message options 2017-01-10 19:25:05 -05:00
Schuyler Cebulskie
8b0e5aad38 Fix sendEmbed with array content 2017-01-10 19:22:03 -05:00
Gus Caplan
c37cd3fd91 clean up webhooks and fix sending messages with webhooks (#1078)
* clean up webhooks and fix sending messages with webhooks

* whoops

* fix up options

* Update Webhook.js

* Update Webhook.js

* Update Webhook.js
2017-01-10 16:52:12 -05:00
Enchanted13
47707d245d Changed return type of Guild.defaultChannel (#1079)
The default channel for a Guild is always the first TextChannel in the Guild, it can't be a VoiceChannel.
2017-01-09 15:35:11 +00:00
Gus Caplan
5e7ae847de switch to proper querystring parser because why not (#1077) 2017-01-08 14:49:56 -05:00
ooookai
4a7284b86e move function getRoute(url) into class APIRequest (#1065)
this.route = getRoute(this.url);
  >>>
this.route = this.getRoute(this.url);
2017-01-08 19:34:06 +00:00
Zack Campbell
b68283e57a Make _array & _keyArray non-enumerable (#1075)
Because Map has no enumerable properties
2017-01-08 11:59:45 +00:00
Amish Shah
fde3a976aa Revert "This expands the consistency of .find and .exists to include the id property" (#1074) 2017-01-08 10:17:10 +00:00
Jacob
2a668ac997 This expands the consistency of .find and .exists to include the id property (#1072)
* provide a more consistent api for .find

* remove random warning

* make code more concise
2017-01-08 09:02:44 +00:00
Zack Campbell
4717c34ff6 Update typings submodule (#1069)
Added search stuff
2017-01-07 20:00:36 -05:00
Amish Shah
9d36be58ef Fix typo in readme (#1070) 2017-01-07 21:19:37 +00:00
Gus Caplan
42527ea969 fix message#isMemberMentioned (#1061)
* fix this

* e

* Update Message.js
2017-01-07 03:38:23 -05:00
Schuyler Cebulskie
e5e36d9111 Rename snowflake class to prevent naming conflicts 2017-01-07 03:37:16 -05:00
Zack Campbell
f76b47184a Fix typo in MessageSearchOptions typedef (#1068) 2017-01-07 03:31:15 -05:00
Schuyler Cebulskie
add3c1a8ee Clean up docs slightly 2017-01-07 03:29:52 -05:00
Schuyler Cebulskie
8cff77726a Detardify snowflake docs/organisation 2017-01-07 03:22:55 -05:00
Gus Caplan
a66b2b7ec5 add more things to clientuser (#1066)
* add more things to clientuser

* add desc
2017-01-05 16:38:48 +00:00
HyperCoder
fdc8050188 Fix <Guild>.large (#1062)
* Fix <Guild>.large

Would either be true or undefined.

* Update Guild.js

* To make hydrabolt happy

* Update Guild.js
2017-01-05 15:43:57 +00:00
Gus Caplan
495264761c Add snowflake utils (#1064)
* snowflakes

* use proper binary for snowflake example

* fix jsdoc errors

* remove dupe
2017-01-05 15:41:42 +00:00
Gus Caplan
d47f9d202b update search to have more useful returns (#1060) 2017-01-03 23:49:19 +00:00
Gus Caplan
7cbe81e71a fix editing with an array (#1059)
* fix editing with an array

* fix build

* put this back because reasons

* i'm having one of those nights
2017-01-03 06:59:34 +00:00
Schuyler Cebulskie
2c26d79f50 Replace custom ArrayBuffer converter with Buffer.from 2017-01-02 01:51:26 -05:00
Schuyler Cebulskie
f485ec22b2 Rename deploy key 2017-01-02 01:49:06 -05:00
Michael Huang
3b9b06227e Fix _removeReaction's reaction lookup (#1045)
* Fix _removeReaction's `this.reactions` lookup

* Use emoji.identifier for reaction collection keys
2016-12-30 21:06:05 -05:00
Schuyler Cebulskie
054d4655c1 Rearrange identifier 2016-12-30 21:05:37 -05:00
Gus Caplan
2b25641270 add option for guilds per shard, and fix type (#1053) 2016-12-30 21:03:23 -05:00
Schuyler Cebulskie
2156ce1e15 Remove unnecessary branch specification 2016-12-30 18:06:08 -05:00
Schuyler Cebulskie
8406e97e13 Add a little more info 2016-12-30 16:42:51 -05:00
Schuyler Cebulskie
90f8cbd09a Add a header 2016-12-30 16:40:24 -05:00
Schuyler Cebulskie
f72817fff5 Rewrote v11 upgrade guide 2016-12-30 16:39:37 -05:00
Schuyler Cebulskie
4447e367f6 Fix other BufferResolvables with base64 2016-12-30 16:22:29 -05:00
Schuyler Cebulskie
2ea744c9d1 Reestablish the natural order and heirarchy of all things 2016-12-30 16:19:15 -05:00
Schuyler Cebulskie
eaf2091c2f Rearrange some methods and improve search description 2016-12-30 16:17:31 -05:00
Schuyler Cebulskie
43283eeaec Clean up search examples slightly 2016-12-30 16:15:51 -05:00
Amish Shah
023ac0a7fe Add search() stubs for docs 2016-12-30 18:59:34 +00:00
Amish Shah
4c8e4fde6f Fix remove reaction endpoint 2016-12-30 18:31:48 +00:00
Amish Shah
50dc9addf1 Fix ESlint error, remove 'long' module import 2016-12-30 17:28:23 +00:00
Gus Caplan
bde6749d65 clean up search (#1049)
* add more search stuff

* clean up the options

* fix link hostname

* use some resolvers

* fix type

* move the trasform to a seperate file

* pass this param

* move typedef
2016-12-30 17:21:03 +00:00
Gus Caplan
da32c2ec3d add more search stuff (#1046)
* add more search stuff

* clean up the options

* fix link hostname

* use some resolvers

* fix type
2016-12-30 17:14:31 +00:00
Gus Caplan
258e4b9085 fix setting avatar to buffer (#1048) 2016-12-30 17:00:16 +00:00
Gus Caplan
beffb390e6 Add search (#1043)
* add search

* Update ClientDataResolver.js
2016-12-30 02:44:19 -05:00
Schuyler Cebulskie
f0adf8f122 Fix User#defaultAvatarURL in Node 6 2016-12-30 01:46:56 -05:00