diff --git a/index.js b/index.js index f8a7535..88d3adf 100644 --- a/index.js +++ b/index.js @@ -175,6 +175,10 @@ pnslWebSocket.on('message', async (data) => { return say(channel || channelName, `${clients.filter((i) => i.ready).length} Clients from total of ${clients.length} are operational`); } + if (command === 'quit') { + process.exit(0); + } + if (command === 'runlist') { const listID = args[0]; const channel = args[1];