Add missing init() to marketplace scripts

This commit is contained in:
2026-01-15 17:28:46 +01:00
parent a0c007606b
commit 71f9e4ddaf
3 changed files with 6 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ function resolveAttachmentId(assets, state) {
return match.id;
}
function init() { }
function tick(context, state) {
const { chatMessages, assets, now, playAudio } = context;
if (!Array.isArray(chatMessages) || chatMessages.length === 0) {