9 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!here is my code
is there a reason you're having the executor be an option in the slash command and not just
interaction.member
, the one who used the command :Thonk:
you don't even have an executor
option in your slash command data
you should really double check your code for things that do or don't existi want to get the executor username
so i can tag him in the mbed
msg
ok and? that addresses nothing of what i said
hold on
ohhhh
i get it
a) you have no option named
executor
b) why would you even have an option for that
c) why not just use interaction.member
or interaction.user
, the member (user) object that invoked the command to ban?yeah i get it i am stupid
i just want to tag him i dont want him to be an option i get it
you got it, just needs a little tweaking! 👍