#I get this error every few hours

1 messages · Page 1 of 1 (latest)

silent mist
#

if a respond takes more than 3 seconds you get the error

#

you have to defer it

subtle ingot
#

im new with discord bot development

#

sorry

silent mist
#

you have to add defer to the slash commands so you have 15 minutes to respond

#

instead of the 3 seconds

timber valeBOT
subtle ingot
#

alright thanks

subtle ingot
#

@silent mist

#

i did it but it seems to still give the error every few

#

discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: NotFound: 404 Not Found (error code: 10062): Unknown interaction

silent mist
#

At the same command?

subtle ingot
#

not 1

#

like

#

any

#

i use a command

#

it doesnt respond

silent mist
#

1 Message pls....

subtle ingot
#

ops

#

sorry

silent mist
#

not every word

subtle ingot
#

xd

#

yeah mb

#

its like when i use a command then it doesnt respond and every other command follows along until it raises the exception and reconnects

silent mist
#

Can I see one of the commands?

subtle ingot
#

yeah sure

#

its quite lines tho is it alr if post it on a bin and send it

subtle ingot
timber valeBOT
subtle ingot
#

this is one of those that likely take too long

silent mist
#

yea no wonder why

#

you have to use ctx: discord.ApplicatioonContextfor slash commands

#

not interaction

subtle ingot
#

ah

#

🙏

#

its my first time using pycord im used to discord.py using interaction

#

it would still be ctx.respond tho right?

silent mist
#

dpy is also using async at the setup...

subtle ingot
#

alr also

#

so