mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Add missing init() to marketplace scripts
This commit is contained in:
1 parent
a0c007606b
commit
71f9e4ddaf
3 files changed
+6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user