mirror of
https://github.com/onyx-and-iris/meld-cli.git
synced 2025-07-12 02:11:46 +00:00
12 lines
272 B
JavaScript
12 lines
272 B
JavaScript
function recordClip(channel) {
|
|
return new Promise((resolve, reject) => {
|
|
channel.objects.meld.sendCommand('meld.recordClip').then(() => {
|
|
resolve('Clip command sent successfully.')
|
|
}).catch((err) => {
|
|
reject(err)
|
|
})
|
|
})
|
|
}
|
|
|
|
export { recordClip }
|