~emersion/public-inbox

gamja: Add /lusers command v1 SUPERSEDED

Drew DeVault: 1
 Add /lusers command

 1 files changed, 7 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/23053/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH gamja] Add /lusers command Export this patch

---
 commands.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/commands.js b/commands.js
index f8df0a1..94aa3dd 100644
--- a/commands.js
+++ b/commands.js
@@ -162,6 +162,13 @@ export default {
			ban.execute(app, args);
		},
	},
	"lusers": {
		usage: "[<mask> [<target>]]",
		description: "Reqeusts user statistics about the network",
		execute: (app, args) => {
			getActiveClient(app).send({ command: "LUSERS", params: args });
		},
	},
	"me": {
		usage: "<action>",
		description: "Send an action message to the current buffer",
-- 
2.31.1