You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: IMPLEMENTATION.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,6 @@ The Java client has support for JDA, but can also be adapted to work with other
5
5
## Requirements
6
6
* You must be able to send messages via a shard's mainWS connection.
7
7
* You must be able to intercept voice server updates from mainWS on your shard connection.
8
-
* One of the following WS drafts (all but RFC 6455 is deprecated but should work):
9
-
* RFC 6455
10
-
* Hybi 17
11
-
* Hybi 10
12
-
* Hixie 76
13
-
* Hixie 75
14
8
15
9
## Significant changes v2.0 -> v3.0
16
10
* The response of `/loadtracks` has been completely changed (again since the initial v3.0 pre-release).
@@ -63,9 +57,13 @@ Provide an intercepted voice server update. This causes the server to connect to
63
57
```
64
58
65
59
Cause the player to play a track.
60
+
66
61
`startTime` is an optional setting that determines the number of milliseconds to offset the track by. Defaults to 0.
62
+
67
63
`endTime` is an optional setting that determines at the number of milliseconds at which point the track should stop playing. Helpful if you only want to play a snippet of a bigger track. By default the track plays until it's end as per the encoded data.
68
-
`noReplace` if set to true, this operation will be ignored if a track is already playing or paused.
64
+
65
+
If `noReplace` is set to true, this operation will be ignored if a track is already playing or paused.
0 commit comments