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

90
Views
How Can I Make My Discord Bot to Handle a LOT OF MESSAGES/COMMANDS In the Same Time?

Long story short, I developed a simple discord bot using discod.js. At the beginning I run it on a my private server for testing purposes and debugging. It went fine because I'm the only one on the server. But! when I test on my friends server, it was crashing a lot. For example, when we want to play music, if I type "!play" and in the same time my friend gives another command, the bot will crash... How can I make my bot executing one command at a time and handle a lot of commands together? Help will be appreciated. Thanks! EDIT: There is a way of not using cooldown? I'm thinking about a way of taking the commands and put them in a queue and then execute each one from the queue.

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!