Skip to content

Commit

Permalink
Document destroy op. Fixes #71
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Feb 17, 2018
1 parent e5a6316 commit 08a34c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions IMPLEMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ Set player volume. Volume may range from 0 to 150. 100 is default.
}
```

Tell the server to potentially disconnect from the voice server and potentially remove the player with all its data.
This is useful if you want to move to a new node for a voice connection. Calling this op does not affect voice state,
and you can send the same VOICE_SERVER_UPDATE to a new node.
```json
{
"op": "destroy",
"guildId": "..."
}
```

### Incoming messages
See
[LavalinkSocket.java](https://github.com/Frederikam/Lavalink/blob/dev/LavalinkClient/src/main/java/lavalink/client/io/LavalinkSocket.java)
Expand Down

0 comments on commit 08a34c9

Please sign in to comment.