Schuyler Cebulskie
b926cd0dcd
Remove redundant Markdown
2017-03-06 12:22:53 -05:00
Schuyler Cebulskie
6211119928
Fix Permissions.ALL on Node 6
2017-03-06 12:21:42 -05:00
Schuyler Cebulskie
4f7e0c41ee
Doc fixes
2017-03-06 02:34:39 -05:00
Schuyler Cebulskie
30dd9be900
Pass the member into new Permissions instances
2017-03-06 02:29:35 -05:00
Schuyler Cebulskie
16fe48d405
Overhaul Permissions utilities (EvaluatedPermissions no more)
2017-03-06 02:22:42 -05:00
Schuyler Cebulskie
a5740e83f4
Change burst mode warning
2017-03-01 04:51:46 -05:00
bdistin
25bb602d5a
Add Collection.clone() ( #1238 )
...
* Add Collection.clone()
* More efficient cloning, and concat update
* Update Collection.js
* Update Collection.js
2017-03-01 04:41:36 -05:00
Amish Shah
70b35c85d6
Merge branch 'indev-prism'
2017-02-23 20:19:26 +00:00
Amish Shah
8a2ec437e5
Merge branch 'master' into indev-prism
2017-02-22 20:37:59 +00:00
Gus Caplan
4c9d8d6cd7
add lots of group dm features ( #1208 )
...
* group dm stuff
* minor doc changes
2017-02-22 20:33:20 +00:00
Programmix
7fd94c29d8
VoiceConnection rework ( #1183 )
...
* VoiceConnection rework
- improves codebase
- removes concept of pending connections
- attempts to fix memory leaks by removing EventEmitter listeners
- makes voice connections keep track of its own channel when it is moved by another user
- allows voice connections to reconnect when Discord falls back to another voice server or a region change occurs
- adds events for some of the aforementioned events
* Removed unused code
* More clean up / bugfixes
* Added typedefs to Status and VoiceStatus constants
2017-02-22 20:13:52 +00:00
Gus Caplan
61e12c637b
Add support for more OAuth features ( #1203 )
2017-02-22 20:09:40 +00:00
Programmix
d09dfa4c37
Capitalize channel type constants ( #1209 )
2017-02-22 20:08:47 +00:00
Schuyler Cebulskie
7232531eb1
Move all util methods into class
...
Remove TransformMessageOptions altogether
2017-02-15 22:25:18 -05:00
Gus Caplan
ec1ed15c88
Fix request handling ( #1180 )
...
* clean up ratelimiters, and disable burst until some big questions are handled
* burst mode is a work
* fix burst again
2017-02-11 12:04:24 +00:00
Schuyler Cebulskie
b859ba7639
Increase some documentation detail
2017-02-05 23:00:36 -05:00
Gus Caplan
1e94a9e2a4
serious role position stuff ( #1159 )
...
* serious role position stuff
* kill meh
* Update Role.js
* Update Guild.js
* Update Role.js
2017-02-01 22:02:16 +00:00
Alex
18729b25c7
Add support to edit emojis ( #1142 )
...
* Add support to edit emojis
* Fixes for coding style.
* Add and use guildEmoji constants for updateEmoji
* Just use the Constant
* Fix typo in edit documentation
* Specify property types
* Fix ridiculous typo.
* Update Emoji.js
2017-01-30 22:47:05 -05:00
Gus Caplan
87b600f78f
switch to os shim for safety ( #1136 )
...
* switch to os shim for safety
* Update Client.js
2017-01-26 21:21:43 +00:00
Gus Caplan
1e6abe587b
no more ( #1117 )
2017-01-19 17:10:54 +00:00
Gus Caplan
3f4cbd07dd
add voice region getting ( #1108 )
...
* add voice region getting
* clean up this mess
* add docstrings
* Update VoiceRegion.js
* Update RESTMethods.js
2017-01-18 19:14:44 -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
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
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
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
Schuyler Cebulskie
2c26d79f50
Replace custom ArrayBuffer converter with Buffer.from
2017-01-02 01:51:26 -05:00
Gus Caplan
2b25641270
add option for guilds per shard, and fix type ( #1053 )
2016-12-30 21:03:23 -05: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
beffb390e6
Add search ( #1043 )
...
* add search
* Update ClientDataResolver.js
2016-12-30 02:44:19 -05:00
Amish Shah
b0c2f818a8
Remove cached events
2016-12-26 21:56:04 +00:00
Amish Shah
bf7767fe2c
Rename emoji events
2016-12-26 21:30:27 +00:00
Amish Shah
cd657be8be
Add functionality for GuildEmoji events
2016-12-26 19:21:00 +00: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
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
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
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
Gus Caplan
c483dd8239
add some useful events ( #1004 )
2016-12-20 23:37:06 +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
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
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
Cole
586d652c16
Quality of life changes ( #968 )
...
* + Added function to get a user's default avatar
+ Added HOST constant to Constants
+ Added assets endpoint
+ Added quality of life function to get a user's avatar or default avatar
+ Added quality of life function to get member's nickname or username
* * Fixed invocation of a getter.
* Fixed lint issue
* Made the API constant use the HOST constant for DRY-ness
Changed DOC comment to be more descriptive
* Update GuildMember.js
2016-12-12 22:34:19 -05:00
Gus Caplan
e51fed968d
hydarplz ( #962 )
2016-12-09 20:47:56 +00:00