Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
/ Slackord1 Public archive

A Discord bot that moves Slack-exported JSON chat history to Discord channels.

Notifications You must be signed in to change notification settings

thomasloupe/Slackord1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 

Repository files navigation

Please note: This repository is no longer maintained, but you can find the new Slackord here.

Important Note:

Slackord1 has reached end of life and is longer being maintained.
However, richfromm and I have mutually agreed that he will carry on the spirit of Slackord1, now called Slack2Discord, at https://github.com/richfromm/slack2discord.

Slackord 1 by Thomas Loupe

A Discord bot that imports Slack-exported JSON chat history to a Discord channel. Download the latest executable here: https://github.com/thomasloupe/Slackord/releases/.

Alternatively, you can download the slackord.py script here and run it directly in Python: https://github.com/thomasloupe/Slackord/blob/master/slackord.py.

Instructions:

  1. Export your Slack data as JSON. Note that only public channels are included if you have the Free or Pro version. You need a Business+ or Enterprise Grid plan to export private channels and direct messages (DMs). https://slack.com/help/articles/201658943-Export-your-workspace-data

  2. Set up Discord bot and create a token here https://discordapp.com/developers/applications/.

  3. Clone this repo or download the python file. git clone

  4. Make sure you've installed Python3+ from https://www.python.org/downloads/. Tkinter comes bundled with Mac/Windows Python releases.

  5. Install the Discord python wrapper/tk:

    Ubuntu:

    sudo apt-get install -y python3 python3-pip python-tk; python3 -m pip install discord.py
    

    RHEL/Centos:

    sudo yum install -y python3 tkinter python3-pip; python3 -m pip install discord.py
    

    Mac:

    sudo curl https://bootstrap.pypa.io/get-pip.py | python3; pip3 install discord.py
    

    or if using Homebrew:

    brew install python-tk.
    

    Windows:

    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    python get-pip.py
    pip install discord.py
    
  6. Run the Slackord executable file, or run Python script by with python3 slackord.py, or py slackord.py.

  7. Click "Import JSON File", browse and select the Slack chat file you wish to import to Discord.

  8. Click "Enter Bot Token" and paste your bot's token into the field and press enter.

  9. Enter any Discord channel and type !slackord. Messages will now post to that channel.

About

A Discord bot that moves Slack-exported JSON chat history to Discord channels.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages