Gus Caplan
48be401330
add clientuser acceptinvite ( #1081 )
...
* add clientuser acceptinvite
* Update RESTMethods.js
* Update ClientUser.js
* Update ClientUser.js
* Update RESTMethods.js
2017-01-14 21:25:12 +00:00
Gus Caplan
7f4846c826
Add option to filter old messages in TextBasedChannel#bulkDelete ( #1090 )
...
* add filtering for messages older than two weeks
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update TextBasedChannel.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update TextBasedChannel.js
2017-01-14 16:21:23 -05:00
Gus Caplan
78bf402e8e
allow users and members to not be cached ( #1097 )
2017-01-14 21:20:09 +00:00
Gus Caplan
e216fc7a81
stop spamming api, and kill typing when a guild isn't there anymore ( #1096 )
2017-01-14 17:31:52 +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
42527ea969
fix message#isMemberMentioned ( #1061 )
...
* fix this
* e
* Update Message.js
2017-01-07 03:38:23 -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
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
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
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
bdistin
9e70d6279f
Fix erroneous docs examples ( #1042 )
2016-12-29 22:01:18 -05:00
Gus Caplan
22b1c425ac
add ClientUser.settings ( #1041 )
...
* add user settings
* Update Ready.js
2016-12-29 18:58:39 +00:00
Schuyler Cebulskie
6e51a44f92
Small doc updates
2016-12-29 11:19:30 -05:00
Zack Campbell
665ef21c85
Update DMChannel, GroupDMChannel for docs ( #1038 )
2016-12-29 11:04:41 -05:00
Schuyler Cebulskie
3e3de51545
Update message sending docs
2016-12-29 11:01:27 -05:00
Schuyler Cebulskie
ba77e69edf
Document boolean for code option
2016-12-29 10:51:05 -05:00
Amish Shah
6d7293e3c5
Fix sending an array of messages
2016-12-29 14:00:54 +00:00
Schuyler Cebulskie
95790dcf08
Update User#equals doc
2016-12-29 03:21:22 -05:00
Schuyler Cebulskie
1b76333b8b
Add missing @typedef line
2016-12-29 03:04:11 -05:00
Schuyler Cebulskie
fe7ed523b3
Improve ClientUser presence method docs
2016-12-29 03:01:34 -05:00
Gus Caplan
ed8fcf651a
Centralise message sending logic in one method, remove sendTTSMessage, add client shortcut in RESTMethods ( #1031 )
...
* start wip rewrite of sending/editing messages
* pass the build, modify the edit method to fit the new system
* simplify the applyToClass method
* change handling of file options
* add back message splitting
* i couldn't help myself
* add some smart message options
* clean up, add sexy options
* fix indentation
* fix up splitting
* add \b
* add back old methods for hydar happiness
* clean up more
* move code handling to the rest method
* clean up this.rest.client
* Update TextBasedChannel.js
* add docs back for the bad methods
* fix reply in group dms
* srsly gawdl3y
* make code better
* fix changes for gawdl3y
* fix checking
* remove getter
* make code handling more robust
* k
* fix up sendEmbed docs
* stupid
* fix up more docs because aaaaa
* no more pls
2016-12-28 23:58:30 -05:00
Gus Caplan
3451367591
fix the everyone role mentioning ( #1032 )
2016-12-28 19:04:54 +00:00
Zack Campbell
265021bfa5
Add sendEmbed to GuildMember for docs ( #1028 )
...
* Add sendEmbed to GuildMember for docs
* Update GuildMember.js
2016-12-27 22:35:11 -05: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
cd657be8be
Add functionality for GuildEmoji events
2016-12-26 19:21:00 +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
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