My kick slash command not function
Please i try to make a kick command but no work
28 Replies
• 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.the user is null that means it's not specified
wait what version is this?
try and use
.fetch()
instead of .get()
v13
What's weird that's the user is null but it must be required
¯\_(ツ)_/¯
only if he's not registering options
it’s nothing to do with getUser, it’s when he is trying to get the member
I think I'm not registering options, what can I do?
register them
how?
show your registering code
that's hardcoded put the options there
not in the cmd export bc there's no point
ok line?
on every command
?
right?
yes
but the errore in console is same
then run your register cmd
ah ok
.
oh nice!
dude isn't that your handler why should I figure how to fix it lmao