slack-pensieve

This is a hastily thrown together program to pull down all DMs that you don’t get from Slack’s official export tool.

To use it

  1. Create a slack app
  2. Grant the following user oAuth scopes
  • channels:history
  • channels:read
  • groups:history
  • groups:read
  • im:history
  • im:read
  • mpim:history
  • mpim:read
  • users:read
  1. Populate .env with values for the two variables defined in .env.sample

GitHub

View Github