erc-slack-log
is an ERC plugin that allows Slack users to retrieve the history of the channels they subscribe to and give them context.
It connects via the Slack API and retrieves the last 100 lines written in that slack channel.
Add erc-slack-log.el
to your load path and enable it.
(require 'erc-slack-log)
(erc-slack-log-enable)
That's it!
In order to use this you will need to specify the correct Slack organization and provide a web token.
You can get a web token by going to Slack Web and issuing a token for that organization. You will need a different token for each organization.
Currently the only way to configure this is by adding your token directly to the erc-slack-log-server-list
. It is a simple plist structure. For example:
(setq erc-slack-log-server-list
'("org-subdomain1" (token "org-subdomain1-token")
"org-subdomain2" (token "org-subdomain2-token")))
NOTE: This will be able to be setup using authsource soon.