Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:846
- var newSongs = musicbot.queues.get(msg.guild.id).songs.map((video, index) => (`**${video.position + 1}:** __${video.title.replace(/\\/g, '\\\\').replace(/\`/g, '\\`').replace(/\*/g, '\\*').replace(/_/g, '\\_').replace(/~/g, '\\~').replace(/`/g, '\\`')}__`)).join('\n\n');
- ^
- TypeError: musicbot.queues.get(...).songs.map is not a function
- at Music.musicbot.queueFunction (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:846:66)
- at Client.<anonymous> (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:446:38)
- at Client.emit (events.js:224:7)
- at MessageCreateHandler.handle (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
- at WebSocket.onMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/ws/lib/event-target.js:120:16)
- at WebSocket.emit (events.js:219:5)
- at Receiver.receiverOnMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/ws/lib/websocket.js:789:20)
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! murphybot@1.0.0 start: `node main.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the murphybot@1.0.0 start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/bbworld/.npm/_logs/2019-12-12T05_54_18_047Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement