diff options
author | EmacsConf <emacsconf-org@gnu.org> | 2022-11-06 12:12:04 -0800 |
---|---|---|
committer | EmacsConf <emacsconf-org@gnu.org> | 2022-11-06 12:12:04 -0800 |
commit | 1d117af1a18a5aeeb8d6f4e4daf7ed5def0c6385 (patch) | |
tree | ea1bbc22c5fc65452d9068a339be51c3e3ba52d8 /emacsconf-erc.el | |
parent | 0c56ca0b7e7ebe1d63251d887aa947925fc018fc (diff) | |
parent | 0ffe08c3ac5c40ad7dd9e3f7534b3bc3d6a358be (diff) | |
download | emacsconf-el-1d117af1a18a5aeeb8d6f4e4daf7ed5def0c6385.tar.xz emacsconf-el-1d117af1a18a5aeeb8d6f4e4daf7ed5def0c6385.zip |
Merge branch 'main' of git.emacsconf.org:pub/emacsconf-el
Diffstat (limited to '')
-rw-r--r-- | emacsconf-erc.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emacsconf-erc.el b/emacsconf-erc.el index 6069335..6c9a742 100644 --- a/emacsconf-erc.el +++ b/emacsconf-erc.el @@ -165,7 +165,8 @@ If MESSAGE is not specified, reset the topic to the template." ((string-match "live" (or (plist-get talk :q-and-a) "")) (erc-send-message (concat "Live Q&A: " (plist-get talk :bbb-redirect)))) ((plist-get talk :irc) - (erc-send-message "or discuss the talk on IRC (nick: %s)"))))) + (erc-send-message (format "or discuss the talk on IRC (nick: %s)" + (plist-get talk :irc))))))) ;; Short announcement in #emacsconf (emacsconf-erc-with-channels (list emacsconf-erc-hallway emacsconf-erc-org) (erc-send-message (format "-- %s track: %s: %s (watch: %s, pad: %s, channel: #%s)" @@ -306,6 +307,12 @@ If MESSAGE is not specified, reset the topic to the template." (erc-cmd-OP nick) (erc-cmd-OPME)))) +(defun erc-cmd-DEOPALL (&optional nick) + (emacsconf-erc-with-channels (mapcar 'car emacsconf-topic-templates) + (if nick + (erc-cmd-DEOP nick) + (erc-cmd-DEOPME)))) + (defun erc-cmd-BROADCAST (&rest message) "Say MESSAGE in all the emacsconference channels." (emacsconf-erc-with-channels (mapcar 'car emacsconf-topic-templates) |