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

139
Views
'MODULE_NOT_FOUND' en discord.js v13 bot de audio/música

Tengo este Music Bot simple para mí y mis amigos, pero después de actualizar a la v13 de discord.js, algunas cosas simplemente ya no funcionan... Ya cambié algunas cosas tal como la guía de discord.js te dice que hagas. Alguien tiene una idea de lo que está mal aquí??

 const ytdl = require('ytdl-core'); const Music = require('discordjs/voice'); console.log("is this working"); // PLAYER client.on("messageCreate", async message => { if(message.content == 'goplay') { const url = args[0]; if(!url) return message.channel.send('no url'); const stream = ytdl(url, { filter: 'audioonly'}); const channel = message.member.voice.channel; const player = Music.createAudioPlayer(); const ressource = Music.createAudioResource(stream); const connection = Music.joinVoiceChannel({ channelId: message.member.voice.channel.id, guildId: message.channel.guild, adapterCreator: message.guild.voiceAdapterCreator, }); player.play(ressource) connection.subscribe(player); } });

Aquí está el mensaje de error

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Parece un error de package.json . Asegúrese de tener un paquete.json creado.

Use el comando npm init y complete la información necesaria para que cree todo automáticamente use npm init -y (y luego asegúrese de instalar todos sus paquetes npm)

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!