docs(api): clarify setter behavior
This commit is contained in:
@@ -139,8 +139,8 @@ type AudioManagerOptions = {
|
|||||||
|
|
||||||
| Method | Description |
|
| Method | Description |
|
||||||
| ------------------------ | ---------------------------------------------------------------------------------- |
|
| ------------------------ | ---------------------------------------------------------------------------------- |
|
||||||
| `setConnection(options)` | Replaces the voice connection target. |
|
| `setConnection(options)` | Sets the target for the next `connect()` or `start()` call. |
|
||||||
| `setSource(source)` | Replaces the audio source. |
|
| `setSource(source)` | Sets the source for the next `play()` or `start()` call. |
|
||||||
| `connect()` | Joins the configured Discord voice channel. |
|
| `connect()` | Joins the configured Discord voice channel. |
|
||||||
| `play(source?)` | Starts playback on an existing connection. |
|
| `play(source?)` | Starts playback on an existing connection. |
|
||||||
| `start()` | Connects and starts playback. |
|
| `start()` | Connects and starts playback. |
|
||||||
|
|||||||
Reference in New Issue
Block a user