From 082b63610c9890b8e97297567dd4f941e09a3f19 Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Mon, 2 Apr 2018 07:53:51 +0200 Subject: [PATCH] Add: app/irc: pretty up a few more kinds of messages --- modules/app/irc/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/app/irc/config.el b/modules/app/irc/config.el index 0b98053cc..e1da7c1ab 100644 --- a/modules/app/irc/config.el +++ b/modules/app/irc/config.el @@ -56,6 +56,10 @@ playback.") circe-format-self-say circe-format-say circe-format-action (format "{nick:+%ss} * {body}" +irc-left-padding) circe-format-self-action circe-format-action + circe-format-server-notice + (let ((left "-Server-")) (concat (make-string (- +irc-left-padding (length left)) ? ) + (concat left " _ {body}"))) + circe-format-notice (format "{nick:%ss} _ {body}" +irc-left-padding) circe-format-server-topic (+irc--pad "Topic" "{userhost}: {topic-diff}") circe-format-server-join-in-channel @@ -70,6 +74,8 @@ playback.") (+irc--pad "Quit" "{nick} ({userhost}) left {channel}: {reason}]") circe-format-server-rejoin (+irc--pad "Re-join" "{nick} ({userhost}), left {departuredelta} ago") + circe-format-server-netmerge + (+irc--pad "Netmerge" "{split}, split {ago} ago (Use /WL to see who's still missing)") circe-format-server-nick-change (+irc--pad "Nick" "{old-nick} ({userhost}) is now known as {new-nick}") circe-format-server-nick-change-self