Member Server Kick reason is not defined
Hey, I have a /server kick command but the reason somehow doesn't come through in Discord. Here's my code:
In the logs, it says "Kein Grund angegeben" and in the audit logs, there's no reason given for the kick. But in the Command Respond Embed the Reason is given...
3 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!Documentation suggestion for @Marc Anthony:
:method: GuildMemberManager#kick()
Kicks a user from the guild. (more...)
kick takes two arguments, the target and the reason (string)
you're providing the target but the reason as an object