#How can I know if a member manages another member?
8 messages · Page 1 of 1 (latest)
• 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.
this is a really vague question, and I'm not sure why this is in #998942774994927646
but likely you'd want to wait for the new GUILD_AUDIT_LOG_ENTRY_CREATE event to be implemented in the next release
Oh I meant if a members top role is higher or whatever discord uses to decide who can ban who
GuildMember#manageable
Whether the client user is above this user in the hierarchy, according to role position and guild ownership. This is a prerequisite for many moderative actions.
@sacred wyvern Sorry for pinging you again but I was looking for a function that checks if member A can ban/kick/mute member B