#that aside you have the proper intents

1 messages · Page 1 of 1 (latest)

faint cipher
#

I added it for later

#

I'll put some console logs and see where it stops

#

ok I found an error

#

messages are deteced now i dunno why it didn't work before

#

I probably forgot to save

fresh hearth
#

it's true, that's not a function

patent oysterBOT
fresh hearth
#

(or in general, feel free to read from the beginning of the @discordjs/voice guide)

faint cipher
#

okay

#

thanks

#

So I used

const { joinVoiceChannel } = require('@discordjs/voice');
const channel = message.member.voice.channel;

const connection = joinVoiceChannel({
  channelId: channel.id,
  guildId: channel.guild.id,
  adapterCreator: channel.guild.voiceAdapterCreator,
});

and got an error code: 'MODULE_NOT_FOUND',

faint cipher
fresh hearth
#

please read from the beginning of the @discordjs/voice guide

faint cipher
#

okay..

#

oh I just have to install