alen.persic
DIAdiscord.js - Imagine an app
•Created by alen.persic on 2/26/2024 in #djs-questions
Interaction reply time limit
Hi all, I'm currently writing a discord bot command that needs to ping the API which ping the DB as well as a Redis cache and send the reply. My issue is that I seem to have run into the 3s interaction reply limit. I've tried responding with something like
And then editing the reply after all the data fetching is done, but this also seems to not work sometimes and the reply gets stuck showing only the
Loading...
message.
My question is, is there a way that I can raise the time limit specifically for this command or the bot in general? I haven't really found a way to do that.
Thanks in advance! 😄7 replies