Tomato6966 / Musicium

An advanced Discord Music Bot with a Dashboard, using distube.js.org having an interactive button & menu system and many features! Supported Features: Spotify • YouTube • SoundCloud • Live Stream • Audio Filtering • DJ Roles • Autoplay • Autoresume • Dashboard + Live Queue • ...
https://musicium.eu
GNU General Public License v2.0
298 stars 310 forks source link

<rejected> ReferenceError: getTracks is not defined | Spotify Album, Tracks problem #17

Closed SametKecici closed 3 years ago

SametKecici commented 3 years ago

Spotify Album, Tracks problem

=== UNHANDLED REJECTION === Promise: Promise {

ReferenceError: getTracks is not defined at Object.run (/app/commands/MUSIC COMMANDS/play.js:79:19) at Client. (/app/index.js:163:21) at Client.emit (events.js:327:22) at MessageCreateAction.handle (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31) at WebSocketShard.onPacket (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22) at WebSocketShard.onMessage (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10) at WebSocket.onMessage (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/node_modules/ws/lib/event-target.js:132:16) at WebSocket.emit (events.js:315:20) } Reason: ReferenceError: getTracks is not defined at Object.run (/app/commands/MUSIC COMMANDS/play.js:79:19) at Client. (/app/index.js:163:21) at Client.emit (events.js:327:22) at MessageCreateAction.handle (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31) at WebSocketShard.onPacket (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22) at WebSocketShard.onMessage (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10) at WebSocket.onMessage (/rbd/pnpm-volume/83956b93-5712-4e49-85b1-487f9ef6b96a/node_modules/discord.js/node_modules/ws/lib/event-target.js:132:16) at WebSocket.emit (events.js:315:20) === UNHANDLED REJECTION ===
Tomato6966 commented 3 years ago

I havent fixed spotify yet, thats because of the pkg i use u can read the docs by yourself if needed