From 45ce4d2325f682beb264553c275a9b18698a76ad Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 9 Nov 2021 02:15:21 +0000 Subject: circe nnicks --- init.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'init.org') 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")) -- cgit v1.2.3