Cannot read property `detailsOfUser` of undefined
See original GitHub issueHi, as the title states, I am having an issue
I am using the following code
message.server.detailsOfUser(user.id)
I read that for message.server to work I require discord.js 8.0.0 or higher, but I have discord.js 8.1.0
does anyone have any ideas, I just spent a good 6hrs rewriting my bot and don’t really fancy reverting back and wasting all that time
Thanks, MrV
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Cannot read property 'error' of undefined - Stack Overflow
I've tried so many times changing the variable name even copied from original source code but still, I don't understand why error property...
Read more >Cannot read property 'user' of undefined · Issue #36 - GitHub
After sitting on the profile page for 2 seconds, the error occurs. I do not know if it is a settings issue but...
Read more >How to Avoid Getting 'Cannot read property of undefined' in ...
Learn how you can avoid getting the famous 'Cannot read property of undefined' error in JavaScript with the logical OR operator.
Read more >vRO Powershell Host Plugin Error - vRealize Orchestrator
Hi,. I'd like to enable VBS (Virtualization Based Security) on a VM, but the latest API doesn't yet support this yet (I am...
Read more >Uncaught TypeError: Cannot read property 'find' of undefined
I am getting a TypeError, while it should not be as I believe I have the variables properly defined im creating a new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
okay so I got it working, reduced the amount of arguments the function requires, but had to add some code to get the Server object, but it all works again now
Thanks for your help, turns out there is nothing wrong with Discord.js, just me being an idiot haha
Glad that it’s fixed!