Closed artifexdevstuff closed 4 years ago
🤔 what are your ClientOptions? sounds like you might be using API v8 instead of v6/7 (which discord.js does not support)
"Latest master branch" does not tell anything at all, since master branch has code changes very often, and still is "lastest master" That's especially the case since yesterday. Additionally, looking on error stack and source code, you do not have "latest" master.
EDIT: found that this is on commit 3df9993
or older
what are your ClientOptions? sounds like you might be using API v8 instead of v6/7 (which discord.js does not support)
How do I know which API version I'm using?
unless you explicitly set it in your clientoptions then it should default to v7
try updating to the latest commit; if that doesn't work when try to find reproducible code that leads to this, or anything weird you're doing with permissions that might cause issues.
unless you explicitly set it in your clientoptions then it should default to v7
try updating to the latest commit; if that doesn't work when try to find reproducible code that leads to this, or anything weird you're doing with permissions that might cause issues.
I used npm install discord.js
to install it. How can I update that?
the error seems to indicate you are calling GuildMember.hasPermission in your code, but the example you provided does not, are you sure you aren't calling GuildMember.hasPermission somewhere else?
the error seems to indicate you are calling GuildMember.hasPermission in your code, but the example you provided does not, are you sure you aren't calling GuildMember.hasPermission somewhere else?
Yes i am sure.
EDIT: It was my installation of the library. I reinstalled it and everything is working now.
No It happend again @Heroikk Im craftit7 ur collab
Im trying to run a simple "ping" command which reutrns ''pong'' with the latency. Here is the block im using:
Here is the error im getting:
Further details: