The reason returned by the audit log is null

hello, I made a code which allows you to load the GuildBanAdd type audit logs, everything works, the only problem is that any object returned by discord, the reason is null, whereas when banning one reason was specified, I gave the bot permissions and set the GuildModeration intents, but it still shows me null
1 Reply
d.js toolkit
d.js toolkit11mo ago
- 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 OP
Want results from more Discord servers?
Add your server