Quiero saber cómo hacer que el bot espere 86400 segundos para responder a uno de mis mensajes de texto. Ahora mismo tengo esto:
let cooldown = 86400; let messageContent = [ `Your daily is ready <@!${context.params.event.author.id}>`, if (context.params.event.content.match(/\bHGOdaily\b/i)) { await lib.discord.channels['@0.0.6'].messages.create({ channel_id: context.params.event.channel_id, message_reference: { message_id: context.params.event.id } }); }``` If you see an error pls help me out. I started coding around 6 days ago so pls help!