Channel Update Event
Is there any way, to find out which user moved a channel from one category to another?
5 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.you can try checking <channel>.parentId and see if it changed, at least that's how i'd do it, i dont know whether moving the channel fires a channelupdate event
It does, just doesn't (seem) to send any data about who moved it
Audit logs don't log anything when the channel is moved. It says when the channel "settings" are updated the ChannelUpdate audit log event will fire
I've seen other bots (verified) that are able to detect that though (unless i am misremembering)
Okay 🤔
Ohhhhh, I found it. This is the sapphire bot which can detect this. It says at the bottom
executortag
suggesting it can find the user who moved the channelOr i'm just going insane