(use-package erc :defer t :hook (erc-mode . emojify-mode) :custom (erc-track-shorten-start 8) (erc-kill-buffer-on-part t) (erc-auto-query 'bury) (erc-hide-list '("JOIN" "PART" "QUIT")) (erc-network-hide-list '(("irc.libera.chat" "JOIN" "PART" "QUIT"))) (erc-channel-hide-list '(("#emacs" "JOIN" "PART" "QUIT"))) (erc-rename-buffers t) (erc-image-inline-rescale 300) (erc-autojoin-channels-alist '(("libera.chat" "#emacs") ("libera.chat" "#org-mode") ("libera.chat" "#lispcafe"))) (erc-interpret-mirc-color t) (erc-modules '(autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands readonly ring stamp track image truncate))) (defun start-irc (nick) (interactive "sTell me your nick please: ") (erc-tls :server "irc.libera.chat" :port 6697 :nick nick :full-name "emacs-user"))