toString tag

This commit is contained in:
Snowflake107 2021-04-21 16:34:16 +05:45
parent 97c6d9d995
commit 4f5d49d677

View file

@ -1207,6 +1207,10 @@ export class Player extends EventEmitter {
}, 1000);
});
}
toString() {
return `<Player ${this.queues.size}>`
}
}
export default Player;