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

204
Views
cómo recopilar mensajes de usuario en DM en Discord.js

Estoy tratando de recopilar la respuesta de un usuario al mensaje de mi bot, pero todo sucede en mensajes directos. ¿Cómo puedo completar esta tarea con Discord.js (13.x)?

 const Discord = require('discord.js'); const intents = new Discord.Intents(32767); const client = new Discord.Client({ intents }); const config = require('./config.json'); const privateMessage = require('./private-message'); client.on('ready', () => { console.log('Ready!'); privateMessage(client, '!match', 'hello please enter your birthday as this following format day/month ') }) client.login(config.token)
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Querrías usar un colector para eso. Hay una guía fácil en el sitio web discord.js.

https://discordjs.guide/popular-topics/collectors.html

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!