summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-11-09 02:15:21 +0000
committerjao <jao@gnu.org>2021-11-09 02:15:21 +0000
commit45ce4d2325f682beb264553c275a9b18698a76ad (patch)
treece3c58a2894ceab71ad2987ea394d852741455b7 /init.org
parentd36150314e4af49b09febe7773aef5475851834d (diff)
downloadelibs-45ce4d2325f682beb264553c275a9b18698a76ad.tar.gz
elibs-45ce4d2325f682beb264553c275a9b18698a76ad.tar.bz2
circe nnicks
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"))