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

212
Views
¿Cómo puedo agregar una imagen de portada a un evento programado de Discord?

Creé un evento a través de Discord JS Library y me gustaría agregar una opción de usuario para agregar una imagen de portada.

El siguiente código funciona bien, pero la imagen no se agrega al evento. Cualquier ayuda sería genial, gracias.

 const event = await interaction.guild.scheduledEvents.create({ name: name, description: description, image: 'https://i.imgur.com/2nvP4Lm.jpeg', scheduledStartTime: new Date(`${eventDate} ${startTime}`), scheduledEndTime: new Date(`${eventDate} ${endTime}`), privacyLevel: 2, entityType: 'EXTERNAL', entityMetadata: { location: location } });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Entonces, lo primero que querrá hacer es actualizar su discordia a v13.7.0, que salió ayer.

 npm i discord.js@latest

Entonces su código funcionará como está. Por github : Corrección de errores

GuildScheduledEvent: manejar la imagen faltante para v13 (#7627) (dfea9c2)

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!