#Slash Command Response Timeout
1 messages · Page 1 of 1 (latest)
use await ctx.defer() at the start of your command (or right before your long operation)
if a command takes more than 3 seconds to respond then deferring is required
1 messages · Page 1 of 1 (latest)
Hello! I’m having an issue where if i have a command that takes a while to finish (like /purge in a channel with a lot of messages) the command will work but it can’t respond after it finishes and the message says that the application didn’t respond.
use await ctx.defer() at the start of your command (or right before your long operation)
if a command takes more than 3 seconds to respond then deferring is required