Need help with logging system

So I'm working on a bot called "Neonova" that I have made with a logging system built in and I want to log channel permission updates but I'm having trouble doing so. The following attachment is my code. Is there something I'm doing wrong?
12 Replies
d.js toolkit
d.js toolkit•2mo ago
- 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!
Edwards 270P
Edwards 270POP•2mo ago
I also want to add that my discord.js package version is 13.6.0 and my node version is 20.18.3
treble/luna
treble/luna•2mo ago
13.6.0 is outdated. By a lot v13 is not even supported anymore
Edwards 270P
Edwards 270POP•2mo ago
I have some packages using the latest version (Although secretly my bot is running on [email protected])
treble/luna
treble/luna•2mo ago
still, v13 is unsupported If you want support you will need to upgrade to v14
Edwards 270P
Edwards 270POP•2mo ago
oh and yes, some packages are using v14 💀 oh and also I can't even upgrade to v14 cause of how my code structure is
d.js docs
d.js docs•2mo ago
:guide: Additional Information: Updating from v13 to v14 - Before you start read more
NyR
NyR•2mo ago
You can start from here
Edwards 270P
Edwards 270POP•2mo ago
i think i should upgrade now tbh except that might be quite hard cause of my code structure 😭
NyR
NyR•2mo ago
You can continue to use v13, but know that no help will be provided in that regard. So you are on your own there. It is also never a bad idea to upgrade to the latest version.
trustfunds
trustfunds•2mo ago
how is your code structure a problem? most of the changes is just switching to enums
Edwards 270P
Edwards 270POP•2mo ago
dw mate i figured it out

Did you find this page helpful?