HarleyErza
HarleyErza
DIAdiscord.js - Imagine an app
Created by HarleyErza on 2/7/2024 in #djs-questions
Cannot read properties of undefined (reading `fetch`)
Yep, that seems to have worked. I am missing an intent apparently, as the API throws a "Missing Access" error. But that's a separate issue.
14 replies
DIAdiscord.js - Imagine an app
Created by HarleyErza on 2/7/2024 in #djs-questions
Cannot read properties of undefined (reading `fetch`)
Regardless, thank you for the help!
14 replies
DIAdiscord.js - Imagine an app
Created by HarleyErza on 2/7/2024 in #djs-questions
Cannot read properties of undefined (reading `fetch`)
Huh. That's a fair bit easier than expected. I'll give that a shot, and mark the post as resolved if that fixes it.
14 replies
DIAdiscord.js - Imagine an app
Created by HarleyErza on 2/7/2024 in #djs-questions
Cannot read properties of undefined (reading `fetch`)
I was attempting to get a list of roles from the guild, and sort through them by using the numerical ID. (I'm porting the bot from JavaCord, which is the way it used to work). Also, the fetch(roles); is most definetly a typo, as that should be role, refering to the numerical ID.
14 replies