17 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!and where are you calling that execute function
that code should error
because you didnt define message
I gotta call it?
yes
It won't magically call itself
oh
also, interaction.Reply doesnt exist
js is case sensitive
where do I need to call it?
in your command handler
Or wherever you receive your interactionCreate event
I'm new to js I was looking for a mention method
I looked up it just showed message.author
I would recommend learning the basics first then
because you cant define things by pulling them out of thin air
Thats not how it works
#resources
I'm intermediate in py so ik ctx.author.mention, not for this...
then learn js first, #rules 3 #resources
I see
Interactions arent messages
what's the main problem here?
I need to call exec func?
yes, and yhe other things i mentioned
But if you dotn have any js experience this isnt gonna work
I just usually do hit and trial. not very good learning method but
helps
ty for helping