#Error handling

1 messages · Page 1 of 1 (latest)

mossy tartan
#

boom

zinc oracle
#

thread, crazy thing.

mossy tartan
#

It says interaction failed because since there was no reply to the button click, the interaction failed

#

but if we catch that error and we actually reply

#

boom, not failed

zinc oracle
#

Ok I see

#

but still, I'm wondering if that will cause the command to stop the work

mossy tartan
#

which work

#

what

#

the command will fail anyways

zinc oracle
#

and for slots, we'll have to gave one attempt back

mossy tartan
#

it's just that we can handle the error and tell the user to send the command again

zinc oracle
#

as I said, sometimes it's written interaction failed but still work

mossy tartan
#

That's not supposed to happen so we'll have to deal with it if it happens

zinc oracle
#

yup

#

hmmmm if the button just waiting for a reply, can't we just defer ?

#

(in those case)

mossy tartan
#

No, I reply

solemn charm
#

thanks it works now hug

solemn charm
#

it's happening again

solemn charm
#

why is the bot down?

zinc oracle
#

he need to sleep sometimes :p just wait for Lily restarting it

solemn charm
#

sorry to bother you again but the bot keeps crashing after one /slots command

#

is it just me or

#

like it seems like it crashes as soon as I use the button

mossy tartan
#

Huh

#

I'll try restarting it again and we'll see if it crashes again

#

I did something :p

#

But uh

#

You don't have to apologize, that bot is supposed to work, it's good that you let us know when it doesn't! If anything, we're sorry for the inconvenience 😅

solemn charm
#

helper_heart merci

solemn charm
#

again PE_PensiveBread

#

I'm so confused, am I causing the crashes?

mossy tartan
#

Nah dw

#

I'll investigate as soon as I can

solemn charm
#

it seems to work for everyone else, but as soon as I press the button it breaks it

mossy tartan
#

Well that sure is an interesting detail tbh. I'm starting to think that it might be related to you now that I know that but still I don't see what could be the cause of it or why it would even be related to a certain member

#

Nothing in the code or in the error seems to indicate that