v13.6.0 djs - getting cache error

I couldn't find it when I looked in the library. what should i change here?
No description
No description
21 Replies
d.js toolkit
d.js toolkit15mo 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!
souji
souji15mo ago
that error implies that channel.permissionOverwrites is undefined log channel and show the result you should also consider updating to v13.16 instead of using .6 (everything under 13.x is non-breaking changes and bug fixes)
xayibogantr
xayibogantrOP15mo ago
how should i change the directory now? like what? I already set the log channel in settings
xayibogantr
xayibogantrOP15mo ago
No description
souji
souji15mo ago
log the value of channel at that position
xayibogantr
xayibogantrOP15mo ago
when I click on the buttons, I get an interaction error and the error I showed you appears on my console.
souji
souji15mo ago
@mark0514
xayibogantr
xayibogantrOP15mo ago
No description
xayibogantr
xayibogantrOP15mo ago
here already the value of the channel is correct
souji
souji15mo ago
i don't want to know the id of the channel i want you to insert a console.log(channel) above the line that errors and show the output
xayibogantr
xayibogantrOP15mo ago
i did Do I need to set it to ("channelid") or directly to console.log(channel)?
souji
souji15mo ago
not sure what the question is? i did tell you exactly what the next debug step is
xayibogantr
xayibogantrOP15mo ago
No description
souji
souji15mo ago
before that happens no idea why you named it e now.. your error changed
xayibogantr
xayibogantrOP15mo ago
No description
souji
souji15mo ago
we went from line 111 to line 59 => you did something
xayibogantr
xayibogantrOP15mo ago
yes but i did ur told so
souji
souji15mo ago
same issue as before, e has no permissionOverwrites, log e
xayibogantr
xayibogantrOP15mo ago
I added a console.log(error) and the index error changed I'm too confused LOL I don't think there is a problem with the log cuz I already did the log channel in settings The problem here is that when I use the /backup command and press the buttons it does not react at all.
souji
souji15mo ago
whatever you have in your channel caches has no permissionOverwrites cannot help you if you can't show what that value is, sorry
xayibogantr
xayibogantrOP15mo ago
I think the values ​​are linked because I have already set a log but the buttons are not working
Want results from more Discord servers?
Add your server