Replies: 1 comment 1 reply
-
The response needs to be deferred or responded to within 3 seconds of the interaction being created or else it becomes expired. If you get this error, it most likely means you have blocking background processes that are preventing the command from running within 3 seconds or a really slow connection. If you have synchronous code that takes a long time to run, you should try converting these to be asynchronous functions so it won't prevent other blocks of code from running. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
For 3 months, I occasionally got an error in my Discord bot. This is the error message:
I tried to fix this bug, but nothing helped. It usually occurs once a week. I have heard other devs had this problem.
Here's the script of the apod command:
I tried to switch the await interaction.followup.send to await interaction.send but no changes...
If you know what the problem could be, please help me.
Beta Was this translation helpful? Give feedback.
All reactions