add quit command
This commit is contained in:
parent
87d1582e01
commit
2aa7f651cb
1 changed files with 4 additions and 0 deletions
4
index.js
4
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];
|
||||
|
|
Loading…
Reference in a new issue