How can I reduce the response time of Discord API?

My discord bot is working fine. But there is just one issue. How do i reduce the discord API’s respond time.
"Im thinking about preloading the code but i think its nonsense "

I think that this is a replit problem, but there is a possibility that this is a problem with your code structure. Would you mind sending a repl link?

1 Like

I can’t send my repl, i just need any ideas that reduces the discord API’s respond ms. I’ve checked again and again and asked my teachers too and everybody said your code is ok just u have to find some improvements “like using any libaries or any tools”.

I assume that you are using autoscale deployments. Try seitching to reserved vms. It might not work, but without access to uour code, this is all i can think of for now.