#This error sometimes pops up and I'm unsure where exactly it's coming from.

1 messages · Page 1 of 1 (latest)

slim slate
#

can we see the entire code?

#

that doesn't really show anything, that could cause that error.

#

wait, do you use a command handler @low kraken ?

low kraken
slim slate
#

okay, only thing I could think that is causing this, is your other things, are taking more than 3 seconds to respond. I suggest you defer the message for this.

low kraken
slim slate
#

yes, because discord basically deletes the interaction after 3 seconds, if it hasn't been defered. Defering gives you 15 minutes to respond to an action.

low kraken
#

I gotcha, thanks a lot.

lusty condor
#

or use

#

ctx.defer()

#

it's for deferring a response incase you dont wanna send it

#

even if its a component