Closed hangardonelli closed 2 weeks ago
What's the point of sleep when you could just use setTimeout? Also, wouldn't sleep not work in the production version - utils aren't built.
Thanks for the PR, it would be better to generate a joke ID and then send it through send_joke, also instead of using async/setTimeout you can use Phaser timers:
scene.time.delayedCall(delay, callback, args, scope)
Jokes support is added with crumb files.
The media also needs to be modified. in crumbs.json, add jokes with this format: