summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.org b/init.org
index c573705..1a9cfb6 100644
--- a/init.org
+++ b/init.org
@@ -2732,6 +2732,12 @@
(circe-command-MSG "nickserv" (format "RELEASE %s" u))
(circe-command-NICK u)))
+ (defun circe-command-NNICKS (&rest _)
+ "Echo number of nicks"
+ (message "%d nicks in this channel" (length (circe-channel-nicks))))
+
+ (advice-add 'circe-command-NAMES :after #'circe-command-NNICKS)
+
(setq circe-network-options
(let ((up (jao--get-user/password "libera"))
(oup (jao--get-user/password "oftc"))