! skyxjs
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by ! skyxjs on 3/9/2025 in #djs-questions
I want to get the status of a member not the actual presence what am i doing wrong?
Error:
Uncaught Exception:
Error:
TypeError: Cannot read properties of null (reading 'presence')
Stack Trace
TypeError: Cannot read properties of null (reading 'presence')
at module.exports (/home/container/src/events/presenceUpdate/vanity.js:11:35)
at CommandHandler.<anonymous> (/home/container/node_modules/djs-commander/dist/index.js:314:38)
at Generator.next (<anonymous>)
at /home/container/node_modules/djs-commander/dist/index.js:68:61
at new Promise (<anonymous>)
at __async (/home/container/node_modules/djs-commander/dist/index.js:52:10)
at Client.<anonymous> (/home/container/node_modules/djs-commander/dist/index.js:311:46)
at Client.emit (node:events:519:28)
at PresenceUpdateAction.handle (/home/container/node_modules/discord.js/src/client/actions/PresenceUpdate.js:40:19)
at module.exports [as PRESENCE_UPDATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/PRESENCE_UPDATE.js:4:33)
4 replies
DIAdiscord.js - Imagine an app
•Created by ! skyxjs on 8/1/2023 in #djs-questions
Is it possible to get the last message of a guild member?
This is what I found but it doesnt seem to work: I think its an outdated way but I dont know the latest way.
3 replies