todo
This commit is contained in:
parent
a502a2f17d
commit
653ed064da
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ export class Player extends EventEmitter {
|
||||||
if (!oldState.channelID || newState.channelID) {
|
if (!oldState.channelID || newState.channelID) {
|
||||||
const emptyTimeout = this._cooldownsTimeout.get(`empty_${oldState.guild.id}`);
|
const emptyTimeout = this._cooldownsTimeout.get(`empty_${oldState.guild.id}`);
|
||||||
|
|
||||||
// @todo: stage channels
|
// @todo: make stage channels stable
|
||||||
const channelEmpty = Util.isVoiceEmpty(queue.voiceConnection.channel as VoiceChannel);
|
const channelEmpty = Util.isVoiceEmpty(queue.voiceConnection.channel as VoiceChannel);
|
||||||
if (!channelEmpty && emptyTimeout) {
|
if (!channelEmpty && emptyTimeout) {
|
||||||
clearTimeout(emptyTimeout);
|
clearTimeout(emptyTimeout);
|
||||||
|
|
Loading…
Reference in a new issue