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
Amish Shah
5cb757add6
Add highWaterMark
2017-10-29 13:48:07 +00:00
Amish Shah
5879cd7c8e
Merge branch 'voice-rewrite' of https://github.com/hydrabolt/discord.js into voice-rewrite
2017-10-29 13:19:41 +00:00
Amish Shah
d4a9e5ec9c
Fix ESLint and handle stream errors
2017-10-29 13:19:38 +00:00
Sanctuary
1a8e8c7a67
docs: Add/normalize .toString() docs on all classes ( #2042 )
...
* docs: Add/normalize .toString() examples on all classes
* docs: Remove exclamation point on ClientApplication#toString example
* docs: Normalize .toString() descriptions on all classes
* Use "returns" instead of "concatenates"
2017-10-28 19:06:26 +02:00
SpaceEEC
0101392334
Documentation improvements ( #2069 )
...
* docs: fix documentation in various places
All stores: resolveID returns a nullable Snowflake
GuildAuditLogs: ActionType also can be ALL
MessageEmbed: make files property show up in the docs
ClientApplication: resetSecret and resetToken return a promise
ClientManager: status is readonly
Guild: features is an array of strings and ban no longer accepts a number or string
Guild: ban method no longer accepts a string or number
GuildMember: ^
RichPresenceAssets: small and large Image are Snowflakes, also fixed parameter documentation for small and large image url method
WebhookMessageOptions: file property is no longer a thing
* docs: improve GuildAuditLogs documentation
Prefix types with AuditLog to avoid confusion
Document GuildAuditLogs' static Targets and Actions properties and add necessary typedefs
Use typdefs over primitives where possible.
* fix documentation for Guild#defaultRole
2017-10-28 19:04:03 +02:00
SpaceEEC
a62d1e954d
fix(Presence): pass client and default to offline ( #2071 )
2017-10-28 19:03:27 +02:00
Gus Caplan
50ad66f513
clean up readme a bit ( #2054 )
...
* clean up readme a bit
* Update README.md
2017-10-28 19:02:12 +02:00
William Tran
88719f0f42
Typos in docs ( #2055 )
...
* Typo in Guild.createRole docs
Added missing semicolon in example code.
* consistent periods in docs
2017-10-28 19:01:17 +02:00
Gus Caplan
c495ea025a
fix raw event ( #2074 )
2017-10-28 18:58:46 +02:00
bdistin
b255af0825
Fix user.bot ( #2073 )
...
* fix user.bot
* user.avatar is nullable (docs)
2017-10-28 18:58:27 +02:00
bdistin
cda408534a
user.patch shouldn't try to touch the token ( #2072 )
2017-10-28 18:57:50 +02:00
SpaceEEC
cd3d3344e8
fix(GuildMember#hasPermission): pass correct parameters to Permissions#has ( #2070 )
...
Also removed deprecated parameter of the method itself.
2017-10-28 18:57:16 +02:00
SpaceEEC
0a05761b49
Add new exports and remove a deprecated one ( #2068 )
...
* add new exports and remove a deprecated one
* fix incorrect require path
2017-10-28 18:55:59 +02:00
Johnson Chen
291af7e845
Change recent to timestamp because DiscordAPIError ( #2065 )
...
are lovely arn't they?
2017-10-28 11:35:38 +02:00
Will Nelson
dbf4ef9a7c
handle string ffmpeg input ( #2064 )
...
* handle string ffmpeg input
* rename stuff for new purpose
* file prefix isn't needed
* pass tests
* remove dumb spaces in dispatcher docs
2017-10-27 22:42:21 +01:00
Schuyler Cebulskie
0fc9459450
Add TextChannel#setNSFW method ( #2050 )
...
* Add TextChannel#setNSFW method
* Doesn't look like anything to me
* butts
2017-10-27 10:34:18 -04:00
Gus Caplan
cd54e9317f
Time Difference in REST ( #2057 )
2017-10-27 14:36:53 +01: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
Gus Caplan
bc30fdd867
Fix Avatar URL generation bug ( #2063 )
2017-10-26 20:07:27 +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