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
d.js toolkit
d.js toolkit7mo 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!
d.js docs
d.js docs7mo ago
To share long code snippets, use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks or files.
Kiɾʌ Kenjiɾø
Kiɾʌ KenjiɾøOP7mo ago
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
Kiɾʌ Kenjiɾø
Kiɾʌ KenjiɾøOP7mo ago
cough :KABOOM: I'll up it to a git now
No description
Kiɾʌ Kenjiɾø
Kiɾʌ KenjiɾøOP7mo ago
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?
Kiɾʌ Kenjiɾø
Kiɾʌ KenjiɾøOP7mo ago
GitHub
GitHub - KiraKenjiro/TestBotDebug
Contribute to KiraKenjiro/TestBotDebug development by creating an account on GitHub.
Kiɾʌ Kenjiɾø
Kiɾʌ KenjiɾøOP7mo ago
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 💜
Want results from more Discord servers?
Add your server