SpaceEEC
618fa2b104
functions for setTimeout should get the context bound and not applied ( #1673 )
2017-08-20 22:26:04 +02:00
Crawl
2478092d44
More docs cleanup
2017-08-20 22:15:51 +02:00
Crawl
c7d1507e19
Docs cleanup
2017-08-20 22:08:37 +02:00
iCrawl
5dc83a1b03
Git pls
2017-08-12 11:28:47 +02:00
Crawl
cba4cc2400
Audio bitrate support ( #1439 )
...
* Audio bitrate support
Note: not implemented for VoiceBroadcasts
* Fix default args, auto bitrate
* Late night typos are the best
* Changes bitrate to kbps for VoiceChannel stuff
* Add methods to manipulate bitrate while encoding
2017-08-12 11:23:47 +02:00
aemino
7aa791eaaa
Ignore setSpeaking requests when VC isn't connected ( #1638 )
2017-08-12 11:16:11 +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
26e5ef3205
Update deps and fix webpack
2017-07-16 14:34:23 +02: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
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
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
Gus Caplan
433c5e5702
you can't mutate a socket event in some browsers (webpack fix) ( #1512 )
2017-05-21 05:20:51 +02:00
Gus Caplan
6eced4d465
fix infinte loop issue ( #1488 )
2017-05-14 19:34:51 +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
SpaceEEC
1e115efa56
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:05 +02:00
SpaceEEC
6cd55ed5c9
readded docs for Client#error and Client#ready ( #1466 )
2017-05-05 20:14:56 +02:00
Anxeal
e96daba7c0
Fix typo in RESTMethods.js ( #1455 )
...
Mentions should be written with a capital M
2017-05-03 20:36:22 +01:00
Anxeal
3a73628567
Fix typo in RESTMethods.js ( #1454 )
...
fetchMeMentions -> fetchMentions 🤔
2017-05-03 20:36:17 +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
aemino
2bf8a36077
Allow await endpoint stage to not error ( #1444 )
2017-05-01 18:01:28 +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
51a2e465bd
Let client know who closed the WebSocket
2017-05-01 15:24:02 +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
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
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
Crawl
3cb4aac65a
Remove unused util
2017-04-30 13:03:51 +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
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Amish Shah
ee37d859a4
dumb ass bug fix
2017-04-29 22:47:06 +01:00