Commit Graph

2811 Commits

Author SHA1 Message Date
Crawl
20a267c12f Fix MessageCollector#cleanup 2017-05-15 01:33:10 +02:00
Daniel Odendahl
88444cdd26 Fix awaitMessages (#1493) 2017-05-15 01:04:57 +02:00
Crawl
a579967eb9 Fix MessageCollectors 2017-05-15 00:48:35 +02:00
SpaceEEC
37a3a6baf9 removing more deprecation leftovers (#1492) 2017-05-14 23:44:39 +02:00
bdistin
25096047f1 Fix Permissions now that member is deprecated (#1491) 2017-05-14 22:40:06 +02:00
Crawl
ca926ee404 Remove all deprecated methods / props 2017-05-14 20:15:55 +02:00
Gus Caplan
4422f2aa8a fix infinte loop issue (#1488) 2017-05-14 19:33:04 +02:00
Crawl
342c644043 Improve avatar example 2017-05-14 19:30:23 +02:00
Crawl
5db3ab742b Update travis build stages 2017-05-13 19:09:26 +02:00
Crawl
833bfa1cba Move node versions 2017-05-13 19:04:30 +02:00
Crawl
b4645685aa Improve test and build scripts 2017-05-13 18:58:56 +02:00
Crawl
eab5c9e7f1 Add tarvis staging 2017-05-13 18:42:15 +02:00
Crawl
b0d4b53d6b Fix webpack uglify 2017-05-13 18:17:25 +02:00
Gus Caplan
6ac2252794 make default avatar resolving better (#1484)
* Update Constants.js

* Update User.js

* Update Constants.js

* Update Constants.js
2017-05-13 17:41:32 +02:00
SpaceEEC
ff3e602134 Failing to resolve a role should reject and not throw an error (#1483) 2017-05-12 15:30:46 +02:00
aemino
ff82297073 GuildMember#setVoiceChannel fix (#1482)
Looks like someone forgot to remove the full channel object from the PATCH payload.
2017-05-12 06:41:40 +02:00
Drahcirius
d11a658f40 invalid token errors not rejected properly (#1478)
* ready event will now throw errors properly

* ws login rejection fix
2017-05-10 11:14:39 -04:00
meew0
83f2c62c3f Fix the mention example in the USERS_PATTERN doc comment
Previously it was a channel mention. Thanks @Hackzzila.
2017-05-10 13:11:21 +02:00
SpaceEEC
f95f18b586 Handing promise rejections from GuildAuditLogs#build to the user (#1474)
* handing guildauditlog's promise rejections to the user

* Returning a new Promise to resolve a Promise.all is unnecessary.
Also for the docs, it returns a Promise<GuildauditLogs>, not GuildAuditLogs directly.

* totally did not removed that line
2017-05-09 00:19:24 +02:00
1Computer1
6566c0d3c5 Deprecate aliases (#1469) 2017-05-06 01:22:15 +02:00
SpaceEEC
5bfc688bb0 Using a traditional for loop rather than a for in loop for options.files (#1461) 2017-05-06 01:09:01 +02:00
SpaceEEC
e66fa145d2 fix fetchMentions' auth header, options and data mapping (#1457)
* fix fetchMentions' auth header, options and data mapping

* vscode strikes again

* switched to Util.mergeDefault

* vscode

* removed duplicated optionals and switched to instanceof
2017-05-06 01:04:12 +02:00
SpaceEEC
d9e5bdea19 added Invite#presenceCount and Invite#memberCount (#1460)
* added Invite#online and Invite#memberCount

* requested change
2017-05-05 23:24:02 +02:00
SpaceEEC
a685d24504 using correct properties for invites (#1467) 2017-05-05 23:19:07 +02:00
SpaceEEC
a4e5713790 readded docs for Client#error and Client#ready (#1466) 2017-05-05 20:15:06 +02:00
SpaceEEC
128b4ee3e8 update GuildAuditLogs for MESSAGE_DELETE and fixed extras (#1464)
* update GuildAuditLogs for MESSAGE_DELETE and fixed extras

* correct oder of targets
2017-05-05 19:44:54 +02:00
Crawl
2a23941020 Update version 2017-05-05 17:08:41 +02:00
SpaceEEC
e6437388cf Endpoints.Guild(...).Emoji(...) should not use CDN (#1462) 2017-05-05 02:22:55 +02:00
Crawl
8c6167d35a Update welcome docs page 2017-05-05 01:56:00 +02:00
Gus Caplan
caf96339e0 Update GuildAuditLogs.js (#1456) 2017-05-04 00:50:08 +02:00
Anxeal
ac5d4d1050 Fix typo in RESTMethods.js (#1455)
Mentions should be written with a capital M
2017-05-03 20:35:24 +01:00
Anxeal
3d92c6d316 Fix typo in RESTMethods.js (#1454)
fetchMeMentions -> fetchMentions 🤔
2017-05-03 19:45:51 +01:00
SpaceEEC
07623d49e2 Fix for sending files with Webhook class (#1449) 2017-05-02 06:58:42 +01:00
Amish Shah
a7c902c6cf New is also optional 2017-05-01 22:11:04 +01:00
Amish Shah
b7a81ed7e1 watch me, gus 2017-05-01 22:07:20 +01:00
Amish Shah
7da53af0c3 Improve GuildAuditLogs documentation by creating an AuditLogChange typedef 2017-05-01 21:08:15 +01:00
Cody A. Taylor
e124ada962 Document flattenErrors keys param (#1447)
* Document flattenErrors keys param.

* Remove parens.

* Capitalise a letter
2017-05-01 20:49:45 +01:00
Gus Caplan
35ef9cd33d Add Guild#nameAcronym and make avatar/iconURLs into functions (#1144)
* Guild#iconURL(format, size);
* OAuth2Application#iconURL(format, size);
* User#iconURL(format, size);
2017-05-01 20:37:00 +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