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 toolkit9mo 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
souji9mo 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
xayibogantr9mo ago
how should i change the directory now? like what? I already set the log channel in settings
xayibogantr
xayibogantr9mo ago
No description
souji
souji9mo ago
log the value of channel at that position
xayibogantr
xayibogantr9mo ago
when I click on the buttons, I get an interaction error and the error I showed you appears on my console.
souji
souji9mo ago
@mark0514
xayibogantr
xayibogantr9mo ago
No description
xayibogantr
xayibogantr9mo ago
here already the value of the channel is correct
souji
souji9mo 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
xayibogantr9mo ago
i did Do I need to set it to ("channelid") or directly to console.log(channel)?
souji
souji9mo ago
not sure what the question is? i did tell you exactly what the next debug step is
xayibogantr
xayibogantr9mo ago
No description
souji
souji9mo ago
before that happens no idea why you named it e now.. your error changed
xayibogantr
xayibogantr9mo ago
No description
souji
souji9mo ago
we went from line 111 to line 59 => you did something
xayibogantr
xayibogantr9mo ago
yes but i did ur told so
souji
souji9mo ago
same issue as before, e has no permissionOverwrites, log e
xayibogantr
xayibogantr9mo 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
souji9mo 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
xayibogantr9mo 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
More Posts