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

137
Views
Cooldown command for discord bot

I want to know how to make the bot wait for 86400 seconds to respond on one of my text.Right now i have this:

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!
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!