docs: update migrating guide

This commit is contained in:
DevAndromeda 2021-08-07 23:19:51 +05:45
parent 665a9ba1b8
commit 8a20dafae5
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6

View file

@ -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.