Open liplum opened 2 months ago
Thanks for raising an issue, for now it's not supported but must be a great addition to the plugin!
IMHO, giving every passed pattern an ID would do the trick. for example:
await Gaimon.cachePattern(id, json);
await Gaimon.patternById(id);
Since the pattern might be frequently played, for example, in a game, I'm concerned about the performance impact of always transfering and transforming a large json string.