Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. /home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:846
  2. 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');
  3. ^
  4.  
  5. TypeError: musicbot.queues.get(...).songs.map is not a function
  6. at Music.musicbot.queueFunction (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:846:66)
  7. at Client.<anonymous> (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js-musicbot-addon/index.js:446:38)
  8. at Client.emit (events.js:224:7)
  9. at MessageCreateHandler.handle (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
  10. at WebSocketPacketManager.handle (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
  11. at WebSocketConnection.onPacket (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
  12. at WebSocketConnection.onMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
  13. at WebSocket.onMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/ws/lib/event-target.js:120:16)
  14. at WebSocket.emit (events.js:219:5)
  15. at Receiver.receiverOnMessage (/home/bbworld/git/contrib-personal/Mr.-Murphy/node_modules/ws/lib/websocket.js:789:20)
  16. npm ERR! code ELIFECYCLE
  17. npm ERR! errno 1
  18. npm ERR! murphybot@1.0.0 start: `node main.js`
  19. npm ERR! Exit status 1
  20. npm ERR!
  21. npm ERR! Failed at the murphybot@1.0.0 start script.
  22. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  23.  
  24. npm ERR! A complete log of this run can be found in:
  25. npm ERR! /home/bbworld/.npm/_logs/2019-12-12T05_54_18_047Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement