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

255
Views
DiscordAPIError: 404: No encontrado, roles de reacción

v13, estoy intentando hacer roles de Reacción, pero me da este error:

lanzar nuevo DiscordAPIError (datos, res.status, solicitud);

DiscordAPIError: 404: no encontrado en RequestHandler.execute (C:\Users\DELL\OneDrive\Desktop\Discord Bot\node_modules\discord.js\src\rest\RequestHandler.js:298:13) en processTicksAndRejections (nodo:interno/ process/task_queues:96:5) en async RequestHandler.push (C:\Users\DELL\OneDrive\Desktop\Discord Bot\node_modules\discord.js\src\rest\RequestHandler.js:50:14) en async ChannelManager. buscar (C:\Users\DELL\OneDrive\Desktop\Discord

Bot\node_modules\discord.js\src\managers\ChannelManager.js:114:18) en async module.exports (C:\Users\DELL\OneDrive\Desktop\Discord Bot\utils\EditMessage.js:10:21) {

Código del archivo EditMessage.js:

 const addReactions = (message, reactions) => { message.react(reactions[0]) reactions.shift() if(reactions.length > 0) { setTimeout(() => addReactions(message, reactions), 500) } } module.exports = async (client, id, text, reactions = []) => { const channel = await client.channels.fetch(id) // Send Message In Channel ID Provided channel.messages.fetch().then((messages) => { if(messages.size === 0) { // Send Message In Channel ID Provided // Send Text message.channel.send(text).then((message) => { // Add Reaction addReactions(message, reactions) }) } else { // Edit Message After Sent for(const message of messages) { //Edit Text message[1].edit(text) // Edit Reaction addReactions(message[1], reactions) } } }) }

código del archivo setup.js:

 const { MessageEmbed } = require('discord.js') const EditMessage = require('../../utils/EditMessage') module.exports = (client) => { EditMessage(client, '798996288258703382', new MessageEmbed() .setTitle('Role Menu: Editing Program') .setColor('#000000') .setDescription(`React to give yourself a role. 1️⃣ After Effects 2️⃣ Video Star 3️⃣ Alight Motion 4️⃣ Sony Vegas `) .setFooter('Reaction Roles') , ['1️⃣', '2️⃣', '3️⃣', '4️⃣'] ) }
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!