Add slack to #emacs

This commit is contained in:
Colin Powell
2020-03-30 12:12:55 -04:00
parent c30da00325
commit dc6bf20866
3 changed files with 353 additions and 6 deletions

View File

@ -404,12 +404,24 @@ There's gotta be a way to get the token out of password-store for this.
#+END_SRC
* Slack
#+BEGIN_SRC emacs-lisp
(slack-register-team
:name "15five"
:token (auth-source-pick-first-password
:host "15five.slack.com"
:user "colin.powell@15five.com")
:subscribed-channels '((squad-admin water-cooler)))
(use-package slack
:commands (slack-start)
:init
(setq slack-buffer-emojify t) ;; if you want to enable emoji, default nil
(setq slack-prefer-current-team t)
:config
(slack-register-team
:name "15five"
:token (auth-source-pick-first-password
:host "15five.slack.com"
:user "colin.powell@15five.com")
:subscribed-channels '((squad-admin water-cooler)))
(slack-register-team
:name "RAB"
:token (auth-source-pick-first-password
:host "randomaccessbrewery.slack.com"
:user "colin@onec.me")
:subscribed-channels '((the_taps random))))
#+END_SRC
* Beancount
Use Emacs and plain text files for your accounting!