Add /whowas command
This commit is contained in:
1 parent
00eebc9859
commit
7b11b10955
1 file changed
+11
+11
@@ -395,4 +395,15 @@ export default {
|
||||
markServerBufferUnread(app);
|
||||
},
|
||||
},
|
||||
"whowas": {
|
||||
usage: "<nick> [count]",
|
||||
description: "Retrieve information about an offline user",
|
||||
execute: (app, args) => {
|
||||
if (args.length < 1) {
|
||||
throw new Error("Missing nick");
|
||||
}
|
||||
getActiveClient(app).send({ command: "WHOWAS", params: args });
|
||||
markServerBufferUnread(app);
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user