mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Fix MessageCollector#cleanup
This commit is contained in:
parent
88444cdd26
commit
20a267c12f
1 changed files with 0 additions and 1 deletions
|
|
@ -67,7 +67,6 @@ class MessageCollector extends Collector {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
cleanup() {
|
cleanup() {
|
||||||
this.removeListener('collect', this._reEmitter);
|
|
||||||
this.client.removeListener('message', this.listener);
|
this.client.removeListener('message', this.listener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue