Commit Graph

2838 Commits

Author SHA1 Message Date
Crawl
59122a6ba4 Update typings 2017-08-01 04:39:44 +02:00
iCrawl
8a9b6cbdb5 Stop doubling the message key 2017-07-31 01:32:44 +02:00
iCrawl
bdc61a4068 Wrong operator in flattenErrors 2017-07-31 01:29:46 +02:00
SpaceEEC
a56a24d042 Fixed DiscordAPIError#message sometimes being undefined 2017-07-31 01:26:42 +02:00
bdistin
e7ebb23f14 Fix guildMembersChunk documents for v11.1-dev (#1734) 2017-07-30 15:00:01 +02:00
Crawl
46a50cb57c Fix "shitty" shortcut 2017-07-28 05:20:28 +02:00
Crawl
b27198ebe5 Update nsfw prop 2017-07-28 04:53:36 +02:00
Crawl
e91a2c6b2b Update typings 2017-07-21 15:34:30 +02:00
Crawl
26e5ef3205 Update deps and fix webpack 2017-07-16 14:34:23 +02:00
Gus Caplan
ed84d76a42 move nsfw to the new prop (#1687) 2017-07-16 14:06:51 +02:00
aemino
b9434ed112 Expose DiscordAPIError and API error constants (#1641)
* Expose DiscordAPIError

* Expose API error constants

* Add typedef for APIError

* Integligently forgot to save file
2017-07-16 14:06:26 +02:00
Gus Caplan
85615aa3a1 update tern file to actually work (#1630) 2017-06-29 19:53:37 +01:00
Gus Caplan
822c1f533c Fix toLowerCase errors in GuildAuditLogs (#1627) 2017-06-29 19:53:25 +01:00
Drahcirius
4ce4dc019e setTimeout should use args (#1623) 2017-06-29 19:53:11 +01:00
Will Nelson
f1a74f214e make token not enumerable (#1620) 2017-06-29 19:52:58 +01:00
Gus Caplan
85ec7c64bc update docs for discord api error (#1575)
* aaaaa

* Update DiscordAPIError.js
2017-06-29 19:52:44 +01:00
aemino
b5de89a973 Fix VoiceConnection#authenticateFailed race condition (#1601) 2017-06-29 19:52:22 +01:00
Mythic
ddfa57e96d Improve Message's ID attribute documentation (#1450)
Remove the implication that a Message object's ID is unique only to the channel it was sent on
Message ID's are snowflakes, and as stated in Discord's API documentation, globally unique throughout Discord
2017-06-29 19:51:37 +01:00
SpaceEEC
e3232bdb2b added Guild#setExplicitContentFilter (#1583) 2017-06-29 19:51:11 +01:00
SpaceEEC
86ec60bc00 fix merge conflict 2017-06-29 19:48:34 +01:00
Drahcirius
830d8fb3b5 Remove global flag from ffmpeg tutorial doc (#1582) 2017-06-10 23:55:10 +01:00
Crawl
510ddab0f5 Fix createMessageCollector example 2017-06-08 14:50:34 +02:00
Schuyler Cebulskie
95a531ee7d Switch to User#tag in web builds example 2017-06-08 09:35:38 +02:00
Crawl
3f7049e1a0 CRLF to LF 2017-06-06 08:45:51 +02:00
aemino
1ed6bbc4b4 Remove unused VoiceBroadcast#guaranteeOpusEngine (fixes #1556) (#1563) 2017-06-05 06:54:56 +02:00
aemino
2116fba4c2 Opus engine fetching: don't ignore non-missing errors (#1555)
* Opus engine fetching: don't ignore non-missing errors

* typo fix
2017-06-01 10:32:12 +02:00
Amish Shah
b49266baa5 fml 2017-05-30 12:33:58 +01:00
Amish Shah
46b8a7d411 Correct documentation for VoiceConnection (see #1536) 2017-05-30 12:33:50 +01:00
Snazzah
2f1eb71a3f Add MEMBER_ROLE_UPDATE to returning 'UPDATE' array (#1538) (#1542) 2017-05-29 23:55:42 +02:00
Gus Caplan
3ec08d5976 add nsfw options to 11.1 search (#1540)
* Update RESTMethods.js

* Update TextBasedChannel.js
2017-05-29 23:53:49 +02:00
Amish Shah
19d4d3bf2c Fix #1528 2017-05-27 19:21:03 +01:00
Crawl
eb4d3627bd Update typings 2017-05-23 11:13:59 +02:00
Gus Caplan
bb2a35a849 they can be more than just string/num/bool (#1448) 2017-05-21 21:25:06 +02:00
vzwGrey
8e80b6660c Fix reaction collector example (#1513) 2017-05-21 21:15:23 +02:00
Crawl
c62e8bb1f0 Update typings 2017-05-21 06:40:52 +02:00
Gus Caplan
433c5e5702 you can't mutate a socket event in some browsers (webpack fix) (#1512) 2017-05-21 05:20:51 +02:00
Crawl
a8d34e340b Relink permission#FLAGS on docs 2017-05-20 21:05:45 +02:00
bdistin
c903929b6b guild setPosition missing docs (#1498)
* missing docs

* update return docs
2017-05-16 16:12:43 +02:00
Gus Caplan
28a29d5d9f Update Invite.js (#1496) 2017-05-16 15:26:32 +02:00
Gus Caplan
6eced4d465 fix infinte loop issue (#1488) 2017-05-14 19:34:51 +02:00
Crawl
f25ced2969 Add test.sh and modified deploy.sh 2017-05-13 19:19:25 +02:00
Crawl
b9172ffe22 Add travis staging 2017-05-13 19:16:32 +02:00
Crawl
8a7a805d92 Fix webpack uglify 2017-05-13 18:18:15 +02:00
SpaceEEC
45bc653988 Failing to resolve a role should reject and not throw an error (#1483) 2017-05-12 15:31:04 +02:00
aemino
e3c3a4fd60 GuildMember#setVoiceChannel fix (#1482)
Looks like someone forgot to remove the full channel object from the PATCH payload.
2017-05-12 06:42:18 +02:00
Drahcirius
798018713b invalid token errors not rejected properly (#1478)
* ready event will now throw errors properly

* ws login rejection fix
2017-05-11 00:40:47 +02:00
meew0
ea1b5beea6 Fix the mention example in the USERS_PATTERN doc comment
Previously it was a channel mention. Thanks @Hackzzila.
2017-05-11 00:40:39 +02:00
SpaceEEC
bb0ee59718 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:46 +02:00
1Computer1
294f5ea5c8 Deprecate aliases (#1469) 2017-05-06 01:24:53 +02:00
Crawl
fd7cb41ee6 Using a traditional for loop rather than a for in loop for options.files (#1461) 2017-05-06 01:14:27 +02:00