Audit Logs : VoiceStatUpdates
Hey !
How to separate the logs of a member who is disconnected and a member who leaves himself ?
9 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!Bad type 🙂
AuditLogEvent.MemberDisconnect
@Aiwoz
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Thank you but how can you tell if he leaves the voice or if he gets disconnected?
MemberDisconnected = MemberLeave the AudioLogEntry
so check if executor or not
With
if(action)
?yes
Thank you. ^^