}
} PlayerError: [PlayerError] Cannot play a resource that has already ended.
at new PlayerError (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/PlayerError.js:28:15)
at StreamDispatcher. (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:178:48)
at Generator.next ()
at /home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:117:75
at new Promise ()
at __awaiter (/home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:113:16)
at StreamDispatcher.playStream (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:174:38)
at Timeout._onTimeout (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/Queue.js:714:33)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
at new PlayerError (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/PlayerError.js:28:15)
at StreamDispatcher. (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:178:48)
at Generator.next ()
at /home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:117:75
at new Promise ()
at __awaiter (/home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:113:16)
at StreamDispatcher.playStream (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:174:38)
at Timeout._onTimeout (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/Queue.js:714:33)
at listOnTimeout (node:internal/timers:557:17) {
createdAt: 2022-09-01T20:05:32.487Z,
statusCode: 'PlayerError'
}
(node:466) Warning: [DiscordPlayerWarning] Unhandled "connectionError" event! Events "error", "connectionError" must have event listeners!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<ref 1> Queue { tracks: [], previousTracks: [ Track { id: '1014989395356418069', title: 'MARO - Saudade Saudade - Portugal 🇵🇹 - Official Music Video - Eurovision 2022', author: 'Eurovision Song Contest', url: 'https://www.youtube.com/watch?v=eQul-rkcGPQ', thumbnail: 'https://i3.ytimg.com/vi/eQul-rkcGPQ/maxresdefault.jpg', duration: '3:15', views: 2541629, requestedBy: [User], playlist: undefined } ], playing: false, metadata: undefined, repeatMode: 0, id: '1014989388184158228', _streamTime: 0, _cooldownsTimeout: Collection(0) [Map] {}, _activeFilters: [], _filtersUpdate: undefined, onBeforeCreateStream: null, player: <ref 2> Player { _events: [Object: null prototype] { trackEnd: [AsyncFunction (anonymous)] }, _eventsCount: 1, _maxListeners: undefined, options: { autoRegisterExtractor: true, ytdlOptions: [Object], connectionTimeout: 20000 }, queues: Collection(1) [Map] { '927294563603841024' => [Circular 1] }, voiceUtils: VoiceUtils { cache: [Collection [Map]] }, extractors: Collection(0) [Map] {}, requiredEvents: [ 'error', 'connectionError' ], client: Client { _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, options: [Object], rest: [RESTManager], _cleanups: [Set], _finalizers: FinalizationRegistry {}, ws: [WebSocketManager], actions: [ActionsManager], voice: [ClientVoiceManager], shard: null, users: UserManager {}, guilds: GuildManager {}, channels: ChannelManager {}, sweepers: [Sweepers], presence: [ClientPresence], user: [ClientUser], application: [ClientApplication], readyAt: 2022-09-01T19:57:55.091Z, player: [Circular 2], slashcommands: [Collection [Map]],
}, guild: <ref 3> Guild { id: '927294563603841024', name: "Yuidakitty's server", icon: null, features: [], commands: GuildApplicationCommandManager { permissions: [ApplicationCommandPermissionsManager], guild: [Circular 3] }, members: GuildMemberManager { guild: [Circular 3] }, channels: GuildChannelManager { guild: [Circular 3] }, bans: GuildBanManager { guild: [Circular 3] }, roles: RoleManager { guild: [Circular 3] }, presences: PresenceManager {}, voiceStates: VoiceStateManager { guild: [Circular 3] }, stageInstances: StageInstanceManager { guild: [Circular 3] }, invites: GuildInviteManager { guild: [Circular 3] }, scheduledEvents: GuildScheduledEventManager { guild: [Circular 3] }, available: true, shardId: 0, splash: null, banner: null, description: null, verificationLevel: 'NONE', vanityURLCode: null, nsfwLevel: 'DEFAULT', discoverySplash: null, memberCount: 4, large: false, premiumProgressBarEnabled: false, applicationId: null, afkTimeout: 300, afkChannelId: null, systemChannelId: '927294563603841027', premiumTier: 'NONE', premiumSubscriptionCount: 0, explicitContentFilter: 'DISABLED', mfaLevel: 'NONE', joinedTimestamp: 1660911348649, defaultMessageNotifications: 'ALL_MESSAGES', systemChannelFlags: SystemChannelFlags { bitfield: 0 }, maximumMembers: 500000, maximumPresences: null, approximateMemberCount: null, approximatePresenceCount: null, vanityURLUses: null, rulesChannelId: null, publicUpdatesChannelId: null, preferredLocale: 'en-US', ownerId: '925105646318256139', emojis: GuildEmojiManager { guild: [Circular 3] }, stickers: GuildStickerManager { guild: [Circular 3] } }, options: { leaveOnEnd: true, leaveOnStop: true, leaveOnEmpty: true, leaveOnEmptyCooldown: 1000, autoSelfDeaf: true, ytdlOptions: { quality: 'highestaudio', highWaterMark: 33554432 }, initialVolume: 100, bufferingTimeout: 3000, spotifyBridge: true, disableVolume: false, volumeSmoothness: 0.08 }, connection: StreamDispatcher { _events: [Object: null prototype] { error: [Function (anonymous)], debug: [Function (anonymous)], start: [Function (anonymous)], finish: [Function (anonymous)] }, _eventsCount: 4, _maxListeners: undefined, connectionTimeout: 20000, readyLock: false, voiceConnection: G { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, rejoinAttempts: 0, _state: [Object], joinConfig: [Object], packets: [Object], receiver: [j], debug: null, onNetworkingClose: [Function: bound onNetworkingClose], onNetworkingStateChange: [Function: bound onNetworkingStateChange], onNetworkingError: [Function: bound onNetworkingError], onNetworkingDebug: [Function: bound onNetworkingDebug],
} } evalmachine.:13
-1929233002,b,/,][};Xka(ncode);
^
SyntaxError: Invalid regular expression: missing / at new Script (node:vm:100:7) at Object.exports.decipherFormats (/home/runner/Universal-Music-Bot/node_modules/ytdl-core/lib/sig.js:116:51) at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
(node:466) Warning: [DiscordPlayerWarning] Unhandled "error" event! Events "error", "connectionError" must have event listeners!
<ref 1> Queue {
tracks: [],
previousTracks: [
Track {
id: '1014989395356418069',
title: 'MARO - Saudade Saudade - Portugal 🇵🇹 - Official Music Video - Eurovision 2022',
author: 'Eurovision Song Contest',
url: 'https://www.youtube.com/watch?v=eQul-rkcGPQ',
thumbnail: 'https://i3.ytimg.com/vi/eQul-rkcGPQ/maxresdefault.jpg',
duration: '3:15',
views: 2541629,
requestedBy: [User],
playlist: undefined
}
],
playing: false,
metadata: undefined,
repeatMode: 0,
id: '1014989388184158228',
_streamTime: 0,
_cooldownsTimeout: Collection(0) [Map] {},
_activeFilters: [],
_filtersUpdate: undefined,
onBeforeCreateStream: null,
player: <ref 2> Player {
_events: [Object: null prototype] { trackEnd: [AsyncFunction (anonymous)] },
_eventsCount: 1,
_maxListeners: undefined,
options: {
autoRegisterExtractor: true,
ytdlOptions: [Object],
connectionTimeout: 20000
},
queues: Collection(1) [Map] { '927294563603841024' => [Circular 1] },
voiceUtils: VoiceUtils { cache: [Collection [Map]] },
extractors: Collection(0) [Map] {},
requiredEvents: [ 'error', 'connectionError' ],
client: Client {
_events: [Object: null prototype],
_eventsCount: 5,
_maxListeners: undefined,
options: [Object],
rest: [RESTManager],
_cleanups: [Set],
_finalizers: FinalizationRegistry {},
ws: [WebSocketManager],
actions: [ActionsManager],
voice: [ClientVoiceManager],
shard: null,
users: UserManager {},
guilds: GuildManager {},
channels: ChannelManager {},
sweepers: [Sweepers],
presence: [ClientPresence],
user: [ClientUser],
application: [ClientApplication],
readyAt: 2022-09-01T19:57:55.091Z,
player: [Circular 2],
slashcommands: [Collection [Map]],
}, guild: <ref 3> Guild { id: '927294563603841024', name: "Yuidakitty's server", icon: null, features: [], commands: GuildApplicationCommandManager { permissions: [ApplicationCommandPermissionsManager], guild: [Circular 3] }, members: GuildMemberManager { guild: [Circular 3] }, channels: GuildChannelManager { guild: [Circular 3] }, bans: GuildBanManager { guild: [Circular 3] }, roles: RoleManager { guild: [Circular 3] }, presences: PresenceManager {}, voiceStates: VoiceStateManager { guild: [Circular 3] }, stageInstances: StageInstanceManager { guild: [Circular 3] }, invites: GuildInviteManager { guild: [Circular 3] }, scheduledEvents: GuildScheduledEventManager { guild: [Circular 3] }, available: true, shardId: 0, splash: null, banner: null, description: null, verificationLevel: 'NONE', vanityURLCode: null, nsfwLevel: 'DEFAULT', discoverySplash: null, memberCount: 4, large: false, premiumProgressBarEnabled: false, applicationId: null, afkTimeout: 300, afkChannelId: null, systemChannelId: '927294563603841027', premiumTier: 'NONE', premiumSubscriptionCount: 0, explicitContentFilter: 'DISABLED', mfaLevel: 'NONE', joinedTimestamp: 1660911348649, defaultMessageNotifications: 'ALL_MESSAGES', systemChannelFlags: SystemChannelFlags { bitfield: 0 }, maximumMembers: 500000, maximumPresences: null, approximateMemberCount: null, approximatePresenceCount: null, vanityURLUses: null, rulesChannelId: null, publicUpdatesChannelId: null, preferredLocale: 'en-US', ownerId: '925105646318256139', emojis: GuildEmojiManager { guild: [Circular 3] }, stickers: GuildStickerManager { guild: [Circular 3] } }, options: { leaveOnEnd: true, leaveOnStop: true, leaveOnEmpty: true, leaveOnEmptyCooldown: 1000, autoSelfDeaf: true, ytdlOptions: { quality: 'highestaudio', highWaterMark: 33554432 }, initialVolume: 100, bufferingTimeout: 3000, spotifyBridge: true, disableVolume: false, volumeSmoothness: 0.08 }, connection: StreamDispatcher { _events: [Object: null prototype] { error: [Function (anonymous)], debug: [Function (anonymous)], start: [Function (anonymous)], finish: [Function (anonymous)] }, _eventsCount: 4, _maxListeners: undefined, connectionTimeout: 20000, readyLock: false, voiceConnection: G { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, rejoinAttempts: 0, _state: [Object], joinConfig: [Object], packets: [Object], receiver: [j], debug: null, onNetworkingClose: [Function: bound onNetworkingClose], onNetworkingStateChange: [Function: bound onNetworkingStateChange], onNetworkingError: [Function: bound onNetworkingError], onNetworkingDebug: [Function: bound onNetworkingDebug],
} } PlayerError: [PlayerError] Cannot play a resource that has already ended. at new PlayerError (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/PlayerError.js:28:15) at StreamDispatcher. (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:178:48)
at Generator.next ()
at /home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:117:75
at new Promise ()
at __awaiter (/home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:113:16)
at StreamDispatcher.playStream (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:174:38)
at Timeout._onTimeout (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/Queue.js:714:33)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
at new PlayerError (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/PlayerError.js:28:15)
at StreamDispatcher. (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:178:48)
at Generator.next ()
at /home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:117:75
at new Promise ()
at __awaiter (/home/runner/Universal-Music-Bot/node_modules/tslib/tslib.js:113:16)
at StreamDispatcher.playStream (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:174:38)
at Timeout._onTimeout (/home/runner/Universal-Music-Bot/node_modules/discord-player/dist/Structures/Queue.js:714:33)
at listOnTimeout (node:internal/timers:557:17) {
createdAt: 2022-09-01T20:05:32.487Z,
statusCode: 'PlayerError'
}
(node:466) Warning: [DiscordPlayerWarning] Unhandled "connectionError" event! Events "error", "connectionError" must have event listeners!