error fetchWebhooks
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 OPI can't find the problem, can you help me?
At what point did I make a mistake? tell me the positions
It gives me problems on line 381 column 11
how can I solve it? Because I can't solve it
if I change ChannelId and put ChID is it ok or is it always wrong?
I apologize, I found the problem, I couldn't understand, now I'll try and let you know
@Qjuh now it gives me an error on line 210 column 48
what is the value of the Channel variable in that scenario?
the function fetchWebhooks() on the variable youβre referencing is undefined, meaning your variable is not what you think it is
maybe try to console.log the Channel variable - tell us what it says so we know what the value is
I didn't understand, here is all the code: https://sourceb.in/ZcQbxPxfzf
Can anyone help me solve this problem?
it still gives me this problem
with console.log it tells me this
I have to put try {} catch (e) {console.log(e)}
in line 206 to 211
I'm having trouble writing it
Like this?
Yes, I wrote the code