scratch-for-discord / Discodes

1 stars 5 forks source link

Mutator enhancement: mutator input placeholder support #47

Open mrredo opened 2 months ago

mrredo commented 2 months ago

Make init function a seperate function in block.ts and if mutators have placeholders or thing like that pass the thing to mutators and mutators init function will make the block. function init() {} Block[block] = mutator? ()=>{} : init