Discord bot music
#15189
Replies: 1 comment
-
Hey! Could you provide a bit more detail about what specific to Next.js you have a question about? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this happens to me
TypeError: Cannot read property 'join' of undefined
at Client. (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\index.js:78:89)
at Client.emit (events.js:314:20)
at MessageCreateAction.handle (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:386:31)
at WebSocketShard.onPacket (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:436:22)
at WebSocketShard.onMessage (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:293:10)
at WebSocket.onMessage (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\ws\lib\event-target.js:125:16)
at WebSocket.emit (events.js:314:20)
at Receiver.receiverOnMessage (C:\Users\ernes\OneDrive\Desktop\discord bot\node_modules\ws\lib\websocket.js:797:20)
at the line
if(!message.guild.voiceConnection) message.member.voiceConnection.join().then(function(connection){
play(connection, message);
})
Beta Was this translation helpful? Give feedback.
All reactions