I found some workarounds to the laggy HTTP requests that the Discord API makes. The timeout kept getting delayed by 10-20 seconds at certain sequences due to failed requests, which made the bot hard to use. I decided to implement a single global timer that persists across all game objects in order to manage the timeout, preventing users from getting more time than they should to answer a round.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.