Automatically deleting and recreating channels every 5 seconds
I'm having trouble getting this to work for some reason:
6 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!
- ✅
Marked as resolved by OPHere's the error:
It's supposed to delete and then remake the channels with the same permissions
Doing this every 5 seconds is ridiculous API spam and would end up with other issues
No it's just for debugging
It's supposed to be 1 hour
In this case the problem seems to be that the channel you got is not a category channel
Actually no sorry - its category.children, not channels
Yep that was it, thank you!!