Fhyrox
DIAdiscord.js - Imagine an app
•Created by Fhyrox on 5/1/2024 in #djs-questions
status
client.user.setStatus(PresenceUpdateStatus.Invisible);
^
TypeError: Cannot read properties of null (reading 'setStatus')
at Object.<anonymous> (C:\Users\kycok\Desktop\V14 deneme\index.js:48:13)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Node.js v18.17.1
2 replies
DIAdiscord.js - Imagine an app
•Created by Fhyrox on 9/16/2023 in #djs-questions
mongodb error
events/messageCreate.js
const { EmbedBuilder } = require("discord.js");
const model = require("../schema/profileschema");
const profileData = require('../eventler/messageCreate')
param.js
3 replies