Gus Caplan
7cb2e8eef7
add disconnect event, document warn and debug events ( #702 )
...
* add documentation for events, and add a disconnect event, because i know people use that
* generate docs, and fix a hastily copied docstring
* fix permissions freak out
2016-09-14 00:12:10 -04:00
Amish Shah
b0adc881f3
Maybe fix #694 ?
2016-09-13 20:30:44 +01:00
Amish Shah
02b257e1fc
Fix audio playing stupidly fast - fixes #689
2016-09-12 18:23:38 +01:00
Schuyler Cebulskie
961346dcaa
Inline a line
2016-09-12 13:04:09 -04:00
Schuyler Cebulskie
8984bf332c
Capitalised some letters
2016-09-12 13:02:56 -04:00
Amish Shah
ea55b0efbd
Fix receiver.recreate()
2016-09-12 17:43:45 +01:00
Amish Shah
95369b0a89
Add VoiceReceiver.destroy()/recreate(), addresses #693
2016-09-12 17:01:15 +01:00
Amish Shah
b39d959cdf
Maybe fix voice and #650 ?
2016-09-12 16:39:18 +01:00
Gus Caplan
032d6613f7
add a message, because WHY THE HELL DID NO ONE EVER DO THIS ( #690 )
...
* add a message, because WHY THE HELL DID NO ONE EVER DO THIS
!!!
* make message better
* make linter happy
* disable max-len rule for line 37
* make gawdl3y be happy
* gawdl3y triggers me
* Update FfmpegConverterEngine.js
2016-09-11 21:28:17 -04:00
Amish Shah
9059eb13a2
Add passes to streaming voice
2016-09-11 18:49:18 +01:00
Amish Shah
8f1216d9a5
Add StreamDispatcher#start event
2016-09-11 17:39:07 +01:00
Amish Shah
77e83fb85a
Fix voice 😄
2016-09-11 16:41:05 +01:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Schuyler Cebulskie
0833500d60
Made most object typedefs specify their properties
2016-09-11 01:21:49 -04:00
Amish Shah
8c0685fa9a
Add StreamDispatcher.time and totalStreamTime, addresses #674
2016-09-10 14:44:52 +01:00
Amish Shah
0d417b6432
Fix voice speed issues, fixes #672
2016-09-10 14:22:14 +01:00
Amish Shah
4278a37e3c
maybe fix voice idk
2016-09-09 18:45:33 +01:00
Amish Shah
b7204f33b9
some voice fixes
2016-09-09 18:35:27 +01:00
Amish Shah
f192d16b5b
Fix delays inbetween audio streams ( #632 )
2016-09-09 18:28:21 +01:00
Schuyler Cebulskie
8f9923976f
Fix stuff
2016-09-09 11:35:59 -04:00
Schuyler Cebulskie
9682adb9fe
Clean up PR a bit
2016-09-08 22:59:10 -04:00
Perry Berman
f7a542f12b
Add optional streamOptions to playStream() functions ( #663 )
...
* Adding playStream options
Added optional volume and seek properties
* fixed code formatting
Edited my code styling to match with the rest of d.js
* Added Default Variable
* Added Documentation
Added documentation for the streamOptions parameter
Added a default value for seek in FFmpegConverterEngine
Removed redundantcy
* Fixed docs for voiceConnection
* Change _updateMember's notSame check from && to || (#665 )
* Fixed git merge fail
* Built Docs. Again.........
* Hopefully finally fixed
2016-09-08 22:49:52 -04:00
Brian Tanner
47a164bd36
fix epipe when skipping songs, probably fixes econnreset ( #662 )
2016-09-08 21:53:49 -04:00
Schuyler Cebulskie
0b908f5bce
Cleanup Part 2: Electric Boogaloo (Reloaded) ( #594 )
...
* Cleanup Part 2: Electric Boogaloo (Reloaded)
* Moar cleanup
* Tweak NOT_A_PERMISSION error
2016-09-04 10:08:09 +01:00
Amish Shah
a3b9b0f1b4
Fix VC docs
2016-09-03 23:11:55 +01:00
Amish Shah
efd1d0c738
rewrite some docs and refactor some names
2016-09-03 23:06:58 +01:00
Amish Shah
432c5ccc82
Add volume modification to dispatcher
2016-09-03 22:27:43 +01:00
Schuyler Cebulskie
64d89b3748
Replace a few rejections with throw ( #590 )
2016-09-03 21:36:54 +01:00
Amish Shah
44b34154e8
guarantee promise resolution for voice connections
2016-09-03 21:32:11 +01:00
Schuyler Cebulskie
68acf37fd4
Add stricter/better ESLint config ( #589 )
...
* Add stricter/better ESLint config
* Remove more unnecessary @returns
2016-09-03 20:45:23 +01:00
Schuyler Cebulskie
27652b94af
Make JSDocs follow general conventions ( #582 )
...
* Make JSDocs follow usual conventions
* Fix StringResolvable name
* Make function lowercase
2016-09-03 09:57:25 +01:00
Amish Shah
d249aa10cc
Add client.destroy();
2016-08-30 13:05:57 +01:00
Amish Shah
df934eccaf
Fix voice losing count
2016-08-29 16:41:33 +01:00
abal
ac7e1a052c
Add opusscript as a possible opus encoder ( #558 )
...
* Add opusscript as a possible opus encoder
* Make weird eslint rule happy
2016-08-28 17:35:59 +01:00
Amish Shah
a959cd339c
Fix inaccuracy in VoiceReceiver docs
2016-08-27 23:15:21 +01:00
Amish Shah
f2708dd26f
Add playPCMStream
2016-08-27 15:48:10 +01:00
Amish Shah
19d976748c
VoiceReadable stream now ends when a member leaves a VoiceChannel
2016-08-27 15:35:55 +01:00
Amish Shah
ee6ccc5e17
Fix fs-extra dependencies
2016-08-26 18:05:36 +01:00
Amish Shah
6ddc7a813c
Add VoiceReceiver streams
2016-08-26 17:34:28 +01:00
Amish Shah
48762c642c
Make voice receiving better
2016-08-25 23:12:03 +01:00
Amish Shah
2d6068010b
Create basic voice receiving
2016-08-25 22:40:22 +01:00
Amish Shah
7ba37a3511
fix eslint for opus
2016-08-25 22:02:41 +01:00
Amish Shah
fe3fdb7d6a
document voice
2016-08-25 19:12:23 +01:00
Amish Shah
6d7e649bb1
fix some voice stuff
2016-08-25 14:49:18 +01:00
Amish Shah
7b2d76429f
remove console.log
2016-08-25 14:28:27 +01:00
Amish Shah
d6f5df39fc
voice stuff
2016-08-25 14:24:19 +01:00
Amish Shah
253789f398
PLS WORK
2016-08-24 22:26:32 +01:00
Amish Shah
8683f45816
errory voice
2016-08-24 21:38:52 +01:00
Amish Shah
328f3c4ae8
Add VoiceConnection.disconnect([reason]);
2016-08-23 21:47:41 +01:00
Amish Shah
f9a553a7f0
Documentation
2016-08-23 21:16:52 +01:00