From 5d5123b8852b6894b7be787539d544abe9f65e78 Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Fri, 6 Oct 2023 23:43:08 +0200 Subject: [PATCH] #187 - Add new stop-action --- actions.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/actions.js b/actions.js index 48e5daa..d730f55 100644 --- a/actions.js +++ b/actions.js @@ -56,7 +56,13 @@ module.exports = function (self) { 'action': event.options.type }); }, + }, + stop_action: { + name: 'Stop All', + options: [], + callback: async (event) => { + self.sendToWebSocket('stop-action', {}); + }, } - }) } -- GitLab