forked from CringeStudios/gamja
Add /whowas command
This commit is contained in:
parent
00eebc9859
commit
7b11b10955
11
commands.js
11
commands.js
@ -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);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user