2021-05-08 15:08:38 +05:00
|
|
|
# Pause and Resume is not working properly
|
2021-05-08 15:31:00 +05:00
|
|
|
|
2021-05-08 15:08:38 +05:00
|
|
|
This is a bug in **[discord.js#5300](https://github.com/discordjs/discord.js/issues/5300)**.
|
|
|
|
|
|
|
|
# Fix
|
2021-05-08 15:31:00 +05:00
|
|
|
|
2021-05-08 15:08:38 +05:00
|
|
|
You have to update your command something like this:
|
|
|
|
|
|
|
|
```diff
|
|
|
|
- client.player.resume(message);
|
|
|
|
|
|
|
|
+ client.player.resume(message);
|
|
|
|
+ client.player.pause(message);
|
|
|
|
+ client.player.resume(message);
|
|
|
|
```
|