Commit Graph

3154 Commits

Author SHA1 Message Date
Amish Shah
d4a9e5ec9c Fix ESLint and handle stream errors 2017-10-29 13:19:38 +00:00
Amish Shah
8a87cbf404 Better broadcast stuff 2017-10-27 14:32:02 +01:00
Amish Shah
a8511ebfaf Fix player 2017-10-26 21:50:52 +01:00
Amish Shah
393130dedb things 2017-10-26 21:26:00 +01:00
Amish Shah
bdf8955098 "yeah we need voice broadcasts cause we make big big music bots" no stop 2017-10-26 21:00:53 +01:00
Amish Shah
3696b4a810 Add ability to disable volume transform 2017-10-26 18:56:02 +01:00
Amish Shah
6490d1b911 FEC and PLP exposed 2017-10-26 18:36:04 +01:00
Amish Shah
cc4aa75a71 Fix closing bug 2017-10-26 18:22:43 +01:00
Amish Shah
387d96bd6b Add setPLP and setFEC 2017-10-26 18:22:18 +01:00
Amish Shah
45ef80b92f Fix docs 2017-10-26 18:05:45 +01:00
Amish Shah
eeed5f23e3 Move streams to StreamDispatcher
breaking: removed AudioPlayer#setBitrate
2017-10-26 17:53:10 +01:00
Amish Shah
a79c9ac11a add: StreamDispatcher#pausedTime 2017-10-26 17:11:03 +01:00
Amish Shah
116b4c3788 Rename unpause to resume 2017-10-26 16:47:59 +01:00
Amish Shah
c8a75e4c29 More volume docs 2017-10-26 16:44:21 +01:00
Amish Shah
b83e12634c Docs 2017-10-26 16:35:20 +01:00
Amish Shah
780e67d19f Volume!! 2017-10-26 16:30:55 +01:00
Amish Shah
863e38676f Add back setBitrate 2017-10-26 14:39:58 +01:00
Amish Shah
f6959a848f Start some docs crap 2017-10-26 14:17:56 +01:00
Amish Shah
ac0cc9a009 Remove useless SecretKey class 2017-10-26 14:02:44 +01:00
Amish Shah
3e3e6f9af7 Actually fix ESlint this time 2017-10-26 13:45:36 +01:00
Amish Shah
8913096f73 Fix Travis by removing stuff for fun 👌👌 2017-10-26 13:42:21 +01:00
Amish Shah
53ca34cbde Don't need to continue count and pausedTime amongst dispatchers 2017-10-26 13:33:14 +01:00
Amish Shah
f5d10a5f76 Pause/Unpause 2017-10-26 13:32:38 +01:00
Amish Shah
79c10f7084 Fix resetting timestamps 2017-10-26 12:01:04 +01:00
Amish Shah
ca93c05eee Merge branch 'master' into voice-rewrite 2017-10-26 11:59:28 +01:00
SpaceEEC
cd08a3b5a4 refactor(Actions): remove obsolete user and guild member get actions (#2061)
The UserGetAction was never used.
The GuildMemberGetAction was only once used.
Easily replaced with a shorter and more comprehensible line. (Also consistent with the rest of the library)
2017-10-26 08:52:03 +01:00
Amish Shah
a76e4c064d Fix sequence and timestamp growing too large 2017-10-26 00:32:14 +01:00
Amish Shah
7f90d4ebc5 Better ending 2017-10-25 23:46:05 +01:00
Amish Shah
48452173ca probably would cause an error somewhere 2017-10-25 23:21:02 +01:00
Amish Shah
65673197d4 Start rewrite with new prism 2017-10-25 23:14:41 +01:00
Gus Caplan
0589b7d7f1 zlib stream compression (#2028) 2017-10-25 17:30:03 +01:00
Isabella
0277d1de78 fix(Client): login wasnt using env.token (#2060) 2017-10-25 17:29:36 +01:00
Gus Caplan
ee1d4c53f2 Add rateLimit event (#2019)
* add ratelimited event

* add some useful props

* death

* more death

* Update tester1000.js

* Update RequestHandler.js
2017-10-24 21:07:21 +01:00
Amish Shah
80595d9bec Stop ESLint whining 2017-10-22 22:04:29 +01:00
Amish Shah
3e460162ca Update prism-media dependency to 0.0.2 2017-10-22 22:00:14 +01:00
Amish Shah
07bacf2a7d Update opusscript dependency to 0.0.4 2017-10-22 22:00:04 +01:00
Amish Shah
96ce1b0945 Update libsodium-wrappers peer dep and fix support for the newest version 2017-10-22 21:59:30 +01:00
Amish Shah
0004e19eca Fix ESLint issue 2017-10-22 16:03:35 +01:00
Amish Shah
29d743a521 Fix #2018 (rapid joining/leaving of voice channel causes a crash) 2017-10-22 14:29:49 +01:00
SpaceEEC
356778b9d5 fix(MessageBulkDeleteAction): remove deleted messages from cache (#2046)
Fixes #2036
2017-10-22 14:51:44 +02:00
Gus Caplan
339bcfd325 clean up webpack/deploy stuff (#2044)
* fix stuff i think

* Update deploy.sh

* Update deploy.sh
2017-10-22 14:45:32 +02:00
Gus Caplan
296046dbc6 remove ua manager (#2015) 2017-10-19 07:11:07 +02:00
Frangu Vlad
37f5256a04 fix(GuildChannel|Role.edit) Editing with a position not being right (#2010)
* Fix GuildChannel.edit and Role.edit for positions

* Re-use Util.setPosition
And also make it even more compact! And it works! \o/
2017-10-19 07:10:39 +02:00
Évelyne Lachance
8d7e745ee8 Patch timestamp of 0 on guild join date (#2041)
The Discord API seems to send a timestamp of 0 for the joined_at on presence updates. This patch resolves this by ignoring timestamps of 0.
2017-10-19 07:07:18 +02:00
kitsuyui
6b249ba454 Fixes #2034 (#2035)
Cancelling: https://github.com/hydrabolt/discord.js/pull/1745/files#diff-31d1bb7c08f2176ba026497c2e8d9b3fR81
2017-10-19 07:06:12 +02:00
SpaceEEC
fa3eee8fd9 fix(GuildDelete): disconnect voice and cleanup GuildChannels (#2026) 2017-10-19 07:03:02 +02:00
Gus Caplan
69d84081d3 Update Guild.js (#2027) 2017-10-19 07:02:32 +02:00
SpaceEEC
d8850dbdd8 feature(Webhook): allow to edit the channel of webhooks (#2039) 2017-10-19 07:01:20 +02:00
SpaceEEC
68a30584db refactor: remove redundant Client#rest and obsolete RESTManager#destroy (#2022) 2017-10-11 02:29:50 +02:00
Gus Caplan
d8f6198a12 fix websocket ratelimits (#2014) 2017-10-09 02:40:54 +02:00