import Modal from'./src/api/packets/Modal.js'constmodal=newModal().setId(69).setTitle('Player Modification').setContent('Enable fly command?').setButton1('Yes') // if player click this button, it will `true`.setButton2('No')// if player click this button, it will `false`modal.onResponse= (player, accepted) => {if(accepted)player.send('Modal: You accepted')elseplayer.send('Modal: You declined')}modal.execute(player)