Amish Shah
b16e6f8262
Fix VoiceBroadcast#play documentation
2018-01-20 16:57:27 +00:00
Amish Shah
f588b3fd20
Merge branch 'master' into voice-rewrite
2018-01-20 13:50:34 +00:00
Amish Shah
c63bdb5fb1
Remove redundant doc tag descriptions
2018-01-20 13:47:35 +00:00
Amish Shah
ca96e1478a
Make docs technically correct
2018-01-20 13:45:22 +00:00
Amish Shah
791740220e
Improve docs, allow for webm/opus demuxing and playing broadcasts without specifying a type
2018-01-20 13:01:48 +00:00
Amish Shah
f14193b93a
Document examples
2018-01-20 12:48:28 +00:00
Pascal
a22b856494
fix(WebSocketConnection): make errors in event handlers throw again
...
The error from something like client.on('ready', () => undefined.f);
would just be emitted as debug event instead of being thrown.
Simply moving the emitting part out of the try catch again solves this.
2018-01-20 09:05:07 +01:00
Amish Shah
ef02bd2935
Add stubs for docs
2018-01-20 00:05:37 +00:00
Amish Shah
2b5fc77a67
Rudimentary support for unified audio playing! 🎉
2018-01-19 23:55:59 +00:00
Amish Shah
8e5e1ad8fe
Document Receiver
2018-01-19 23:03:01 +00:00
Amish Shah
c57c2889b7
Fix import errors for networking classes
2018-01-19 22:54:54 +00:00
Amish Shah
066fbfe330
Move voice UDP client and Websocket client to networking folder
2018-01-19 22:53:55 +00:00
Amish Shah
60c5c1486b
Remove dead files
2018-01-19 22:51:53 +00:00
Amish Shah
c6c9c0918a
Fix PacketHandler runtime error (EventEmitter not imported)
2018-01-19 22:51:26 +00:00
Amish Shah
cb161a8a40
Implement Receiver debug events
2018-01-19 22:47:01 +00:00
Amish Shah
83140f11b7
Fix ESLint and inline the voice readable stream
2018-01-19 22:41:31 +00:00
Amish Shah
dd618584d0
Simplify VolumeInterface constructor
2018-01-19 22:38:39 +00:00
Amish Shah
4a1b55d145
Receiver#createStream should take options
2018-01-19 22:38:10 +00:00
Amish Shah
2c1a302eea
Redesign voice receiving, still needs cleaning up
2018-01-19 21:14:03 +00:00
Amish Shah
6058ea4888
Start voice receive rewrite
2018-01-19 17:45:37 +00:00
Amish Shah
580bda46ea
Fix documentation for VoiceBroadcast (play methods return BroadcastDispatcher not StreamDispatcher)
2018-01-19 14:40:58 +00:00
Amish Shah
3b1c5d3494
Expose VoiceBroadcast#dispatcher so that the broadcast can be controlled
2018-01-19 14:39:51 +00:00
Amish Shah
e7375aa0fd
Reimplement broadcast (un)subscribe events
2018-01-19 14:32:51 +00:00
Schuyler Cebulskie
f649610c26
Merge branch 'master' into voice-rewrite
2018-01-18 19:49:23 -05:00
SpaceEEC
aa3407f705
Base Emoji class for ReactionEmoji and renamed GuildEmoji classes ( #2230 )
...
* feat: create base Emoji class for ReactionEmoji and new GuildEmoji
* rename EmojiStore to GuildEmojiStore to account for the new class' name
2018-01-18 02:38:45 -06:00
Artful
1db0906483
Client method examples. ( #2264 )
...
* Client method examples.
* Consistency
* As per hydras request 🙇
* Thanks kya
2018-01-18 07:47:05 +01:00
Amish Shah
b94d60d2ab
Merge branch 'master' into voice-rewrite
2018-01-16 17:24:07 +00:00
bdistin
3d32dea5e1
remove pointless function from GuildEmojisUpdate ( #2256 )
2018-01-16 01:20:51 +01:00
Amish Shah
83640a2640
refactor: tidier overflow checking in StreamDispatcher
2018-01-13 20:50:24 +00:00
Amish Shah
d541cac9b3
Merge branch 'master' into voice-rewrite
2018-01-13 12:47:56 +00:00
Amish Shah
8cab673fea
fix: stream dispatcher throwing key error due to missing secretKey
2018-01-13 12:47:19 +00:00
Isabella
9eac19d9d8
refactor: more oop with stores ( #2216 )
...
* refactor: more oop with stores
* forgot bulk delete
* Revert "forgot bulk delete"
This reverts commit 1b4fb999ee07b358ee6e1af9efb8981b84f83af1.
* appease linter
* missed some
shh
* fail
2018-01-11 16:33:30 +00:00
Schuyler Cebulskie
da32dae8f5
Merge branch 'master' into voice-rewrite
2018-01-10 00:14:29 -05:00
Schuyler Cebulskie
e792757e32
Only create ShardClientUtil when spawned by ShardingManager
2018-01-08 22:13:46 -05:00
Amish Shah
eb40a663dd
god damn it i forgot to save the file the first time
2018-01-05 21:23:21 +00:00
Amish Shah
eeded90782
Fix: "value" argument is out of bounds when writing timestamp header to packet
2018-01-05 21:22:11 +00:00
Schuyler Cebulskie
96971c432d
Merge master into voice-rewrite
2017-12-02 19:48:43 -05:00
Schuyler Cebulskie
77fc046550
Merge branch 'custom-structures'
2017-11-29 23:27:43 -05:00
Schuyler Cebulskie
7cd0a9525d
Fix ClientUser not extending custom User
2017-11-24 23:05:00 -05:00
Schuyler Cebulskie
637ea09532
Fix lint error
2017-11-19 01:56:51 -05:00
Frangu Vlad
0cd4a92fb8
docs: Fixed some missing docstrings or incorrect return types ( #2093 )
...
* Fix some missing doc strings
Mainly just readonly tags
* Return an error when guild#allowDMs is ran from a bot account, and fix some return types
* WebhookClient implements Webhook, doesn't extend it
* Fix Client#rateLimit docs not showing what it returns
Cause I wanted to handle this event only to see no return props 🤔
* Actually make Client#rateLimit show the right info
Its an object with all the info
2017-11-17 14:20:57 +01:00
Amish Shah
2531065bbd
Fix loop and only emit error, not warn
2017-11-04 15:02:58 +00:00
Amish Shah
6a523ba96a
Reimplement StreamDispatcher error and start event in docs, emit error instead of debug if there are listeners for errors
2017-11-03 20:01:51 +00:00
Amish Shah
8efafb6a43
StreamDispatcher documented as extending WritableStream, not stream.Writable
2017-10-31 19:50:02 +00:00
Amish Shah
995cd181c9
Fix setFEC bug and use bitrateEditable in setBitrate
2017-10-31 19:47:58 +00:00
Amish Shah
121a40bb4a
Use passes and increase highWaterMark to 12
2017-10-31 19:43:58 +00:00
Amish Shah
fa7f391b3a
Fix ECONNRESET (again)
2017-10-31 18:12:49 +00:00
Amish Shah
2e1a28a6ee
Use destroy and end in apt places
2017-10-29 18:04:36 +00:00
Amish Shah
cf30b1ef08
Add @extends to some classes
2017-10-29 17:43:22 +00:00
Amish Shah
1697b13f15
Update to master
2017-10-29 13:50:49 +00:00