Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

98
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda