Odd issue with client not being detected.
So I'm running into an issue with a function I made to check the permission of a user in a guild. It says the client is undefined in the permissionHandler.js
I'm really not sure why it's happening as it's just been working in other files. (P.s. Github is down for me to idk why I can't up it to a repo)
7 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!Well theres not much of a way I'm getting 30 files into one sourcebin but I'll see if I can get github working
cough :KABOOM: I'll up it to a git now
No but it's helpful to have to relate to other files
As I may use code in other places that does work
Not arguing just answering the question ^^
not all files are relevant, are they?
GitHub
GitHub - KiraKenjiro/TestBotDebug
Contribute to KiraKenjiro/TestBotDebug development by creating an account on GitHub.
If anyone can spare their eye on this I'd adore that
Ah! Alright, I wasn’t sure the optimal way of doing this but I'll do some reworking thanks QJ 💜