• We would like to invite you to check out the latest 1.0 alpha versions. You can read more about what's new here. Please note, that this is still an early release and will contain new bugs ¯\_(ツ)_/¯
  • If you need help or want to discuss things, you now can also join us on our Discord Server!

EN Functions timeouts

Mmoi

Member
Contributor
Hi,

Just a little question, is it possible to change the timeout of a command?
The thing is: I have a function that migrates data from different storage provider but it require some time (IO). That is, the command is sent via chat and timeout on bots with a lot af data to migrate.

Is there something to do (a trick, maybe)?

Mmoi
 

Mmoi

Member
Contributor
I figured this out, just modified the function to be resumable and then called a setTimeout when reaching the function 5 second timeout.
 

Similar threads

Top