Commit Graph

2777 Commits

Author SHA1 Message Date
Amish Shah
cdc355811e New is also optional 2017-05-01 22:10:45 +01:00
Amish Shah
ce8dc85f78 watch me, gus 2017-05-01 22:09:14 +01:00
Amish Shah
2d416cca79 Improve GuildAuditLogs documentation by creating an AuditLogChange typedef 2017-05-01 21:07:46 +01:00
Cody A. Taylor
61a081faa5 Document flattenErrors keys param (#1447)
* Document flattenErrors keys param.

* Remove parens.

* Capitalise a letter
2017-05-01 20:47:45 +01:00
Gus Caplan
3bab4ec9fd Add time methods to Audit Log entries (#1443)
* aaaaa

* Update GuildAuditLogs.js
11.1.0
2017-05-01 18:05:15 +01:00
aemino
2bf8a36077 Allow await endpoint stage to not error (#1444) 2017-05-01 18:01:28 +01:00
Amish Shah
fccd0bd183 docs 2017-05-01 16:39:43 +01:00
Amish Shah
c48f042785 silly hydar 2017-05-01 15:42:47 +01:00
Amish Shah
b8018d4b6d Reconnect on 1000 if client didn't close 2017-05-01 15:32:40 +01:00
Amish Shah
6e4b744d03 Export ClientOAuth2Application 2017-05-01 15:27:44 +01:00
Amish Shah
135d9e3ea0 Expose GuildAuditLogs 2017-05-01 15:25:21 +01:00
Amish Shah
51a2e465bd Let client know who closed the WebSocket 2017-05-01 15:24:02 +01:00
Amish Shah
2ace21c412 backwards compat docs 2017-05-01 15:10:11 +01:00
Amish Shah
140839128a Fix ban delete days 2017-05-01 15:07:02 +01:00
Amish Shah
47fbd18eda docs 2017-05-01 15:06:26 +01:00
Amish Shah
0f4983852e Fix ban message delete days 2017-05-01 14:57:27 +01:00
Amish Shah
db45d99d0c More deprecated stuff 2017-05-01 11:28:48 +01:00
Amish Shah
8bab9fb122 Add VIEW_AUDIT_LOG to Permissions docs 2017-05-01 11:15:09 +01:00
Isabella
a02e10926d Stop using deprecated methods within discord.js (#1441)
* fix deprecation stuff

* fixed a check
2017-05-01 10:14:26 +01:00
Drahcirius
166161d6d3 ready event will now throw errors properly (#1440) 2017-05-01 08:43:35 +01:00
Amish Shah
892ba67d71 Emit packet handling errors to the error event and not the debug event 2017-05-01 07:56:13 +01:00
Crawl
c3be798663 Update GuildAuditLogs.js 2017-05-01 01:03:12 +02:00
Gus Caplan
7779069e32 add audit logs "extras" (#1435)
* add audit logs "extras"

* whoops

* Update GuildAuditLogs.js
2017-04-30 23:57:42 +01:00
Gus Caplan
1ddae43fed Add class doc blocks to Audit Logs (#1438) 2017-04-30 23:57:06 +01:00
SpaceEEC
c5efa985fc Readding Client#disconnect and docs for Client#reconnecting (#1437)
* readded docs for client#reconnecting and client#disconnect

* moved disconnect event emitting and clarified emitting reason
2017-05-01 00:16:02 +02:00
Amish Shah
0754ddbc34 Reset sequence when sessions are invalidated 2017-04-30 22:26:44 +01:00
Gus Caplan
37b1f38ebe Make audit log entries a collection (#1436) 2017-04-30 21:25:22 +01:00
Amish Shah
c2566d230c Wait undo that 2017-04-30 21:04:39 +01:00
Amish Shah
474a954938 Force deaf/mute properties to be booleans even when null data is received 2017-04-30 21:04:11 +01:00
Amish Shah
e460e5e853 Fix some stuff 2017-04-30 21:01:04 +01:00
Crawl
457b9600f2 Docs consistency plz 2017-04-30 13:16:19 +02:00
Amish Shah
9841615775 Merge branch 'master' of https://github.com/hydrabolt/discord.js 2017-04-30 12:10:27 +01:00
Amish Shah
c880f10714 Update bufferutil peerdep requirement from ^2.0.0 to ^3.0.0 2017-04-30 12:10:22 +01:00
Crawl
3cb4aac65a Remove unused util 2017-04-30 13:03:51 +02:00
Crawl
653aa6c1d7 Add back uws to the docs frontpage 2017-04-30 13:02:44 +02:00
Crawl
62ac246162 Add uws back to the readme 2017-04-30 13:01:46 +02:00
Crawl
bd6317cf99 Add uws back to package.json 2017-04-30 12:59:11 +02:00
Amish Shah
edf1a3e7b4 Undeprecate uws and fix support for it 2017-04-30 11:56:24 +01:00
Amish Shah
f20f49388d Simplify data unpack logic 2017-04-30 11:40:16 +01:00
Amish Shah
007b1226c9 Rudimentary support for uws while it is deprecated 2017-04-30 11:36:20 +01:00
Amish Shah
8e5c600227 Make OAuth2Application backwards compatible again 2017-04-30 11:21:48 +01:00
Amish Shah
dd110f4824 Add example for creating VoiceBroadcasts 2017-04-30 11:04:41 +01:00
Amish Shah
81b176cfea BaseOpusEngine should be private 2017-04-30 11:01:26 +01:00
aemino
5cad25ea69 Add Guild#me (#1384)
* Add Guild#me

(also did minor docs cleanup)

* Don't use Guild#member as there's nothing to resolve

* Update ClientDataResolver.js

* Update Guild.js

* Update Guild.js

* Update Guild.js
2017-04-30 04:30:59 -04:00
Pg Biel
9a5de25d79 Emoji convenience methods (#1378)
* make branch

* stuff

* Consistency & remove role(s)

* kill me

* Doc changes

Requested by Crawl

* forgot 1
2017-04-30 04:51:15 +02:00
Crawl
ac92d2cecc Improve docs a bit 2017-04-30 04:30:44 +02:00
Schuyler Cebulskie
3f8c0a4d11 Move things 2017-04-29 20:56:40 -04:00
Schuyler Cebulskie
e2c8ba5be0 Allow MessageMentions#channels to function in DMs 2017-04-29 20:18:23 -04:00
Schuyler Cebulskie
aa35e21b84 Revert "Make MessageMentions#channels return an empty collection in DMs (#1430)"
This reverts commit 88aa947376.
2017-04-29 20:00:36 -04:00
Schuyler Cebulskie
4bca4a5181 Update typings 2017-04-29 19:59:22 -04:00