commands: Add LIST command

Signed-off-by: Cara Salter <cara@devcara.com>
This commit is contained in:
Cara Salter 2021-11-18 10:19:20 -05:00 committed by Simon Ser
parent c4c0a77162
commit 723951a07b

View file

@ -411,4 +411,12 @@ export default {
markServerBufferUnread(app); markServerBufferUnread(app);
}, },
}, },
"list": {
usage: "[filter]",
description: "Retrieve a list of channels from a network",
execute: (app, args) => {
getActiveClient(app).send({ command: "LIST", params: args });
markServerBufferUnread(app);
},
},
}; };