Commit Graph

24 Commits

Author SHA1 Message Date
tjpc3 4f5d1bffaf fix node.js crash due to error messages being called with invalid error keys (#1728)
* Comments

* More Comments

* Added new error message

* Fixed error message

* Removing temporary comments

* Fixed error messages

* Added more new error messages

* Removed trailing space

* Removed other trailing space

* Changed error key

* Changed error key used
2017-08-01 04:01:45 +02:00
Gavin Wainwright 7b44262346 Destructure certain imports (#1634) 2017-06-29 00:43:26 +01:00
Gus Caplan 63e54982f4 Errors Standardization (#1246)
* errors and stuff

* more errors

* all the errors

* fix build
2017-06-25 18:48:05 +01:00
Crawl ac92d2cecc Improve docs a bit 2017-04-30 04:30:44 +02:00
Crawl 53eda09f72 Improve docs 2017-04-24 16:29:29 +02:00
Programmix 7fd94c29d8 VoiceConnection rework (#1183)
* VoiceConnection rework

- improves codebase
- removes concept of pending connections
- attempts to fix memory leaks by removing EventEmitter listeners
- makes voice connections keep track of its own channel when it is moved by another user
- allows voice connections to reconnect when Discord falls back to another voice server or a region change occurs
- adds events for some of the aforementioned events

* Removed unused code

* More clean up / bugfixes

* Added typedefs to Status and VoiceStatus constants
2017-02-22 20:13:52 +00:00
Amish Shah de0ba9fb7c change error to debug 2017-01-07 21:48:30 +00:00
Hackzzila 6afd80cf53 Make uws a peer dep, and readd ws (#928)
* Make uws a peer dep, and readd ws

* if -> else if
2016-11-27 19:59:50 +00:00
Schuyler Cebulskie c683790de7 Remove old uws-specific code (0.11.1 has the good stuff) 2016-11-25 19:40:53 -05:00
Gus Caplan 945a2e370a fix voice ws (#922) 2016-11-24 02:39:01 -05:00
Gus Caplan c91ee7a3e7 Replace ws with uws (#918)
* change to uws (waiting for the next release tho)

* clean up, fix reconnections (maybe)

* change voice to use uws

* so messy
2016-11-23 19:30:00 -05:00
Hackzzila 30105536a6 ESLint warnings (#852) 2016-10-27 22:19:20 +01:00
Schuyler Cebulskie b2a4545c16 Clean up more voice stuff 2016-10-25 20:34:57 -04:00
Schuyler Cebulskie d1e9d15a1c Clean up a bunch of new voice stuff 2016-10-25 20:26:57 -04:00
Amish Shah 5844bbb54c Fix travis builds 2016-10-25 14:38:56 +01:00
Amish Shah 91ba59c43d Added voice disconnect 2016-10-25 14:18:20 +01:00
Amish Shah 1a5ce878a1 fix some stuff 2016-10-24 20:13:44 +01:00
Amish Shah e13e2447d4 get voice sort of working 2016-10-24 14:26:24 +01:00
Amish Shah b2eb796cfc remove console.log and fix endless loop connecting 2016-10-23 19:59:19 +01:00
Amish Shah 38ff53c3a1 woah is hydra actually working on voice?! 2016-10-23 19:51:44 +01:00
Amish Shah c75782781b finish up voice websocket for now 2016-10-02 16:51:40 +01:00
Amish Shah 2bb6ecdc28 documentation 2016-10-02 15:16:54 +01:00
Amish Shah ed8b79aa46 Add session description and speaking listeners 2016-10-02 15:12:43 +01:00
Amish Shah e201e9080f start rewriting voice websocket 2016-10-02 14:59:05 +01:00