added: Vote-to-skip

This commit is contained in:
NoLogicAlan committed 2026-09-13 01:21:36 +03:00
1 parent e315cfbc1d
commit cc0b438ef6
13 files changed
+206 -40

No files matched your search

+3
View File
@@ -54,6 +54,9 @@ class Player extends EventEmitter {
/** @private @type {string|null} The home channel of a 24/7 spawn. */
_home247Channel = null;
/** @private @type {Set<string>} User IDs who have voted to skip the current track. Reset whenever a new track starts. */
_skipVotes = new Set();
/** @type {Queue} */
queue = null;
client = null;