[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-slack

From: Emanuel Berg
Subject: Re: emacs-slack
Date: Fri, 08 Oct 2021 00:10:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Samuel Banya wrote:

> Did you place the token in quotes within your Emacs config?

It looks like this! The token is extracted from ~/.authinfo

(setq local-slack-token
       :host ""
       :user "") )

and it looks like this:

  "x...3" (109 chars)

Compiles fine with no warnings.

;;; -*- lexical-binding: t -*-
;;; this file:

(require 'slack)

(defvar local-slack-token)
(load "../passwords.el")

(defun slack-init ()
   :name "uppsalamakerspace"
   :token local-slack-token
   :subscribed-channels '((general lokalen random)) ))
;; (slack-init) ; Failed to request slack-authorize: invalid_auth

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]