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

222
Views
[Símbolo (código)]: Error 'CLIENT_MISSING_INTENTS'

Hola, estoy tratando de ejecutar un bot de Minecraft con Mineflayer y quiero que se conecte a mi discordia para poder recibir y enviar mensajes cuando ejecuto el código, me envía un error que dice: "[Símbolo (código)]: 'CLIENT_MISSING_INTENTS'" ¿Alguien puede ayudarme a resolverlo? Gracias

 const mineflayer = require("mineflayer"); const client = new Discord.Client(); let prefix = "." let bot = mineflayer.createBot({ version: "1.8.9", host: "best.jartex.fun", auth: "microsoft", port: 25565, //Account Icly username: "############@gmail.com", password: "########" }) client.on("ready", async => { console.log("Bot started") }) bot.on("login", async => { console.log("Icly is joining Skyblock [Loading]") bot.chat("/play skyblock") }) bot.on("message", message => { let.channel = client.channels.cache.get("##################") if (!channel) return; channel.send('${message}') }) client.login("####################.#######.###########################")```
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

En discord.js v13, se introdujeron Intents que ayudaron a los desarrolladores a elegir qué tipo de datos necesitaba recibir su bot. Para detener el error, todo lo que tiene que hacer es cambiar su línea de código donde crea su cliente a:

 const { Client, Intents } = require('discord.js') const client = new Client({ intents: [ Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES ] })

Puede obtener más información sobre las intenciones aquí Intents | discordia.js

about 4 years ago · Juan Pablo Isaza Report
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!