update Queue#paused (#106)

This commit is contained in:
Snowflake 2020-11-01 19:23:57 +05:45 committed by GitHub
parent e715e4fbe1
commit e90ccec8fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ class Queue extends EventEmitter {
* Whether the stream is currently paused. * Whether the stream is currently paused.
* @type {boolean} * @type {boolean}
*/ */
this.paused = true this.paused = this.voiceConnection && this.voiceConnection.dispatcher && this.voiceConnection.dispatcher.paused;
/** /**
* Whether the repeat mode is enabled. * Whether the repeat mode is enabled.
* @type {boolean} * @type {boolean}