Closed Lucasgood5 closed 4 years ago
That's a misconception on your end. The "user" query in audit logs is the executing user, so of course if you query for yourself (the person being muted) you will receive a log for when you muted someone. (If you are confused by this look at what the user interface allows you to search for. You can not query for targets, this uses the exact same endpoint)
As another side note: Audit logs are not guaranteed to have arrived when the websocket event (and by extension the discord.js client event) emits.
Nop this is not that, if anyone mute anyone else , executor is still the target i tested it with 3 friend. executor still is same as target.
PS : and on discord app, server logs show good, someone muted someone else.
Okay nevermind, i gatcha my error.
Hi, i'm having trouble when trying to find who just muted or deaf me (or anyone). Using the auditLogs : executor is wrong, when someone else mute/deaf me, the executor is still me(=target)
discord.js version: 12.2.0
Node.js version: 6.14.4
Operating system: Win 10 (x64)
Priority this issue should have – please be realistic and elaborate if possible: Low (but shouldn't be hard to fix)
[ ] I have also tested the issue on latest master, commit hash: