#Hello, I was not developing my bot for a while now and I returned to this error? What is wrong?

3 messages · Page 1 of 1 (latest)

finite lava
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

copper fjord
#

discord.js 14.6.0
Full error:

TypeError: Cannot read properties of undefined (reading 'permissions')
    at slashCreate.run (D:\Bots\Discord Bots\ServerStats\src\events\custom\slashCreate.js:94:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[23:56:01]: ERROR Bot encountered an error: Cannot read properties of undefined (reading 'permissions'). 
finite lava
#

me moved to GuildMemberManager, access it as <Guild>.members.me