Skip to content
Advertisement

Discord bot failing to start – ClientDataManager.js cannot read property ‘id’ of undefined, Replit problem [closed]

My code was all fine before this happened, but for some reason, it stopped working. And when I try to run the bot it sends an error.

Error:

JavaScript

Index.js:

JavaScript

Note: I use https://replit.com hacker plan

You can talk to me at discord too Hamoodiyt#4822

If you need any more info ask me for it.

https://i.stack.imgur.com/1o9fW.png

Advertisement

Answer

As far as I could see, It seems that you’re trying to access an attribute of an object that doesn’t exist.

I think the property/attribute message.author is null.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement