AuditLogEntry.executor is null
Why AuditLogEntry.executor is null when my bot delete a webhook?
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.if you're using
<Webhook>.delete()
, this method is implemented using the "Delete Webhook with Token" endpoint, which uses the webhook's token as authentication rather than your bot's token
this results in it effectively being that the webhook deleted itself rather than your bot deleting the webhookThanks <:wumpus_love:815963419559329874>