mirror of
https://github.com/onyx-and-iris/meld-cli.git
synced 2026-04-09 02:43:35 +00:00
lint fixes
This commit is contained in:
@@ -18,13 +18,9 @@ const clipHelp = meowHelp({
|
||||
defaults: false
|
||||
})
|
||||
|
||||
async function saveClip(channel) {
|
||||
try {
|
||||
await channel.objects.meld.sendCommand('meld.recordClip');
|
||||
return 'Clip command sent successfully.';
|
||||
} catch (err) {
|
||||
throw err;
|
||||
}
|
||||
async function saveClip (channel) {
|
||||
await channel.objects.meld.sendCommand('meld.recordClip')
|
||||
return 'Clip command sent successfully.'
|
||||
}
|
||||
|
||||
export { clipHelp, saveClip }
|
||||
|
||||
@@ -18,13 +18,9 @@ const screenshotHelp = meowHelp({
|
||||
defaults: false
|
||||
})
|
||||
|
||||
async function takeScreenshot(channel) {
|
||||
try {
|
||||
await channel.objects.meld.sendCommand('meld.screenshot');
|
||||
return 'Screenshot command sent successfully.';
|
||||
} catch (err) {
|
||||
throw err;
|
||||
}
|
||||
async function takeScreenshot (channel) {
|
||||
await channel.objects.meld.sendCommand('meld.screenshot')
|
||||
return 'Screenshot command sent successfully.'
|
||||
}
|
||||
|
||||
export { screenshotHelp, takeScreenshot }
|
||||
export { screenshotHelp, takeScreenshot }
|
||||
|
||||
Reference in New Issue
Block a user