I just finished making my slack bot trivia game. Getting the commands to work with the chat answers took way too long, but I finally got it to run a game without something going wrong.
The main thing that went wrong was the The Annoying 3-Second Timeout Whenever I typed /cosmic-trivia, Slack would instantly stop and say the app didn’t respond. This happened because Slack has a 3-second limit, and my bot was taking too long to send back the text.
What I fixed: I changed the code so the message sends exactly at the same time the bot connects to slack and the time you send the command.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.