forked from CringeStudios/gamja
commands: Add LIST command
Signed-off-by: Cara Salter <cara@devcara.com>
This commit is contained in:
parent
c4c0a77162
commit
723951a07b
@ -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);
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user