Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

200
Views
¿Por qué "estado" en "presencia" dejó de funcionar para mí?

TypeError: no se pueden leer las propiedades de nulo (leyendo 'estado')

 /** @format */ const Command = require("../Structures/Command.js"); const { MessageEmbed } = require('discord.js'); module.exports = new Command({ name: "hello", description: "Hello!", async run(message, args, client) { message.reply("Hello!"); console.log(message.guild.members) const exampleEmbed = new MessageEmbed() .setThumbnail(message.guild.iconURL({dynamic:`gif`})) .setTitle('**Информация о сервере:**') .setColor(0x202020) .addField(`${message.guild.name}:`, `Владелец: <@${message.guild.ownerId}>`, false) .addField(`Регион сервера:`, `Дата создания сервера: ${message.guild.createdAt.toLocaleString()}`, true) .addField(`Количество участников: ${message.guild.memberCount}`, `В сети: ${message.guild.members.cache.filter(member => member.presence.status !== "offline").size}\nНе в сети: ${message.guild.members.cache.filter(member => member.presence.status == "offline").size}`, false) .addField("⠀", `*Связь с создателем — [telegram](https://t.me/FlipSize)*`) message.channel.send({ embeds: [exampleEmbed] }); } });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!