what is entitlementCreate event & how to add the reason field for audit logs in audit logs.
- First question is self explanatory & second one relates to how add the little thing "with reason" to audit logs as this has been a thing for a while but still didn't figure out how to do this.
4 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!
- ✅
Marked as resolved by OPIf the endpoint supports a reason for audit logs (bans, etc) then the d.js method will have an optional parameter for you to include when using it, and it will set the audit log reason to that value
Okay thanks