#discord.errors.NotFound 404 Not Found (error code 10062) Unknown interaction
1 messages · Page 1 of 1 (latest)
its in a cog...
ctx.defer?
Send full function code
lmao no
How come?
Yeah add that to the top of ur function and see if that works
like
right after async def?
Yep
Await it
ok done
Is the error still there
lemme try
bro it will take some time @vague pewter
my cogs aren't loading
they were loading yesterday but now suddenly don't lmao
py-cord isn't giving errors
and lala said it was a user problem
great
No clue
It might be
I've only faced it once so far
i fixed it somehow
but now it stopped
The error discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction is being thrown when I run a simple msg = await ctx.respond(f"Your dish is being prepared! Come back in {value[5]/60:.1f} minute(s).").
Why so?
Also, the parameter ctx in my function is as follows:
async def cook(self,
ctx: discord.ApplicationContext,
dish: Option(str, required=True),
amount: Option(int, required=False)=1):
try to remove "self" parameter