#Excuse me, sometimes my bot says "apllication did not respond" how to fix that?
1 messages · Page 1 of 1 (latest)
you are responding multiple times using a loop?
Is your db self or cloud hosted? Usually the error your getting means your bot did not respond in the allowed time.
You are better to defer the response then and use a followup response once you have the data
why dont you construct an embed instead
Or you respond "Fetching data..." Immediately then edit the response once you have the data. That way you always respond in the allowed time.
Ok guys thanks for the suggest 👍
ok its working after i try to add defer.
Yeah the cloud hosted db is just taking too long to respond.
should i add followup response in the end of code? what happen if i dont add the command?
are you still using ctx.respond to send the data, once you have it?
Yes sir
Then you are good
So, the followup response is optional right?
You are already responded no follow-up is required
Ooo i see, oke thanks for helping sir
.tag close
Done with your help thread?
Please close your own help thread by using </close:1009144375709814897> with @urban vault.