mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Фиксы
This commit is contained in:
parent
6f6f6a78b3
commit
f012f316c3
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ class Clip extends Command {
|
||||||
|
|
||||||
player.play(resource);
|
player.play(resource);
|
||||||
connection.subscribe(player);
|
connection.subscribe(player);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
connection.destroy();
|
||||||
|
}, 60 * 1000);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue