A bridge we made for Slack to Discord. Bare in mind this is still work in progress.
- Python3
- Discord.py
- slack client
pip install requirements.txt
python3 -m pip install -U discord.py
// Just in Case.
- Get a Bot token from Slack and Discord
- For Slack you can get it by following this instructions:
- Create a Slack App at: https://api.slack.com/apps?new_app=1
- Add Bot as a Feature / Functionality
- Give it a display name, username
- Head over at Permissions under Scope and select
- Add a bot user with the username
- Send messages as bot username
- Install it to your workspace
- Head over at OAuth and Permission
- Bot User OAuth Access Token will be the SlackApiKey in the config.py file!
- For Discord get it from: https://discordapp.com/developers/applications/me
- Bundle a bot user
- Invite it to your server using https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID_GOES_HERE>&scope=bot&permissions=0
- For Slack you can get it by following this instructions:
- Fill out the config in the src folder.
- Run the Script either by running the scripts individually, using supervisor or using the bash script.
- For Slack Channel ID's can be found in the url:
https://rteendeveloper.slack.com/messages/C3LURBNGZ/
In this caseC3LURBNGZ
is the Channel ID - For Discord Channel ID's can be found by right click -> Copy ID. It should look something like this
391099113778970627
Remember! The bot has to be in each of the channels so it can receive and send messages.
For any Help feel free to open a issue our ask on our Slack :) Link: http://rteendeveloperslack.herokuapp.com/