#Try to do a verification

13 messages · Page 1 of 1 (latest)

ionic pike
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

toxic meadow
#

here what i do: ```js

const channel = interaction.guild.member.voice.channel;
if (!channel) return interaction.reply('You are not connected to a voice channel!'); // make sure we have a voice channel

DJS  V14
lethal oak
#

thats pretty much correct

#

make sure you have the GuildVoiceStates intent enabled

toxic meadow
#

yes but it dont work

#

hum

lethal oak
#

and also GuildMembers too

toxic meadow
#

here the error;

#

Its ,not from the intents

lethal oak
#

are you running this command inside a guild?

toxic meadow
#

yes

lethal oak
#

ah sorry, its interaction.member, not interaction.guild.member

toxic meadow
#

oh ok i try this now