Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
Is there a better way to cache a message indefinitely?

I have a message that people can add/remove reactions to. Once the user adds a reaction, it updates an embed in a separate channel. My bot will detect these reactions for the first ~30 min or so after the message is sent before completely ignoring all further reactions to that message. To solve that, I created a function that runs every 15 mins to cache the message using channel.messages.fetch(). I’m dying to know if there is a better way to achieve an indefinitely cached message, preferably without the use of a setInterval() function. Thanks!

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda