Creating an Update Handler
Would it be plausable to create a handler thats job would be to catch any updates such as updating/deleting messages or channels to enable a more consistent logging system for a bot, if so any pointers to files that may help me would be very much appreciated!
9 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.first of all iirc 14.9 has a zombie ws issue so i recommend updating and do know that for events like delete the messages need to be cached to have any functional logs, which means if your bot restarts, your cache is gone
is there any way to store the cache short term so that if the bot does restart it can retrieve a backup?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Not a bad idea, I'll have to take a look at that
Speaking of issues, ran an update, got this, did npm audit fix, didnt change anything
not djs related
okay, thank you