docs: update migrating guide
This commit is contained in:
parent
665a9ba1b8
commit
8a20dafae5
1 changed files with 6 additions and 1 deletions
|
@ -51,4 +51,9 @@ You have to use `<Queue>.destroy()` to destroy the queue. It will also stop the
|
|||
```js
|
||||
const queue = player.getQueue(message.guild.id);
|
||||
if (queue) queue.destroy();
|
||||
```
|
||||
```
|
||||
|
||||
## Updating filters
|
||||
|
||||
Discord Player v5.x has new option `bufferingTimeout` in queue init options which allows you to set stream buffering timeout before playing.
|
||||
This might be useful if you want to have smooth filters update. By default, it is set to 3 seconds.
|
||||
|
|
Loading…
Reference in a new issue