What is the correct way to allow my bot to join a voice channel?
im getting this error: TS error: TypeError: message.member.voice.channel.join is not a function
at Client.<anonymous> (C:\Users\pbnjr\OneDrive\Documents\Development\Discord Bots\bot.js:76:67) {stack: 'TypeError: message.member.voice.channel.join …uments\Development\Discord Bots\bot.js:76:67)', message: 'message.member.voice.channel.join is not a function'}, would anyone be able to tell me the correct way to write this?
at Client.<anonymous> (C:\Users\pbnjr\OneDrive\Documents\Development\Discord Bots\bot.js:76:67) {stack: 'TypeError: message.member.voice.channel.join …uments\Development\Discord Bots\bot.js:76:67)', message: 'message.member.voice.channel.join is not a function'}, would anyone be able to tell me the correct way to write this?