Simple script to backup Slack channels using API.
This script requires slack-api gem, install it with command:
gem install slack-api
Change MY-API-TOKEN in the script to your token, then launch the script. Text files with histories of all channels will be created in the current folder.