#Application did not respond?
1 messages · Page 1 of 1 (latest)
yes, code is needed
well that was fast lol
hold on its 100+ lines in a single command
there
and i fixed all the indent
I see you're using time.sleep (which you shouldn't do as it blocks the bot process, use asyncio.sleep) but chances are you aren't getting a response in the 3 second time window
you can fix this by putting await ctx.defer() at the top of the function, deferring the reply and preventing the interaction from expiring
i also tried asyncio but i forgot what error it gave, it should said Invalid/Used but itjust says Fetching blah blah
Alr
you probably forgot to await it
await asyncio.sleep()
is the proper syntax
it onyl send invalid if i send a shorter text lol
alr
now im getting this.. i think removing the await (ctx, shash) fix it right?
nvm that didnt fix it i returned that
Application Command raised an exception: TypeError: object ApplicationContext can't be used in 'await' expression
:/
what are you doing
like await ctx
?
I told you in your last thread you can't await anything other than an async function call
Oh i must have missed your text
cannot import name 'SlashCommandOptionType' from 'discord.enums' (/home/container/.local/lib/python3.10/site-packages/discord/enums.py)Btw im getting this error? Im hosting my bot on a host.
ctx.respond and not ctx.send or ctx.reply
ohh ok
Do you know why i get this?
do you have something else installed?
they're probably using the dpy egg
as base
we should make one officially for pycord maybe
Moin Lala ^^
sup
no
but on the other hand, dunno if anyone of us wants to maintain it
what is dpy egg?
what do you mean you cant?
that's the problem with pterodactyl and why we don't support it in many projects
We need more system info to help this one out.
Which pterodactyl version is running
Which egg is used for the server
How is it configured to run the bot
No need to