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
+2-64Lines changed: 2 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,7 @@ User-Id: The user id of the bot you are playing music with
21
21
```
22
22
23
23
### Outgoing messages
24
-
Make the server queue a voice connection
25
-
```json
26
-
{
27
-
"op": "connect",
28
-
"guildId": "...",
29
-
"channelId": "..."
30
-
}
31
-
```
32
-
33
-
Provide an intercepted voice server update
24
+
Provide an intercepted voice server update. This causes the server to connect to the voice channel
34
25
```json
35
26
{
36
27
"op": "voiceUpdate",
@@ -40,33 +31,6 @@ Provide an intercepted voice server update
40
31
}
41
32
```
42
33
43
-
Close a voice connection
44
-
```json
45
-
{
46
-
"op": "disconnect",
47
-
"guildId": "123"
48
-
}
49
-
```
50
-
51
-
Response to `validationReq`. `channelId` is omitted if the request does not display the channel id.
52
-
```json
53
-
{
54
-
"op": "validationRes",
55
-
"guildId": "...",
56
-
"channelId": "...",
57
-
"valid": true
58
-
}
59
-
```
60
-
61
-
Response to `isConnectedRes`.
62
-
```json
63
-
{
64
-
"op": "isConnectedRes",
65
-
"shardId": 1337,
66
-
"connected": true
67
-
}
68
-
```
69
-
70
34
Cause the player to play a track.
71
35
`startTime` is an optional setting that determines the number of milliseconds to offset the track by. Defaults to 0.
72
36
`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.
@@ -117,35 +81,9 @@ Set player volume. Volume may range from 0 to 150. 100 is default.
Request to check if the VC or Guild exists, and that we have access to the VC. Note that the channelId may be omitted, in which case you should only check if we are in the guild.
133
-
```json
134
-
{
135
-
"op": "validationReq",
136
-
"guildId": "...",
137
-
"channelId": "..."
138
-
}
139
-
```
140
-
141
-
Request to check if a shard's mainWS is connected
142
-
```json
143
-
{
144
-
"op": "isConnectedReq",
145
-
"shardId": 1337
146
-
}
147
-
```
148
-
149
87
Position information about a player. Includes unix timestamp.
0 commit comments