This bot allows you to post Discord join/leave notifications to Slack. It's easy to set up - just provide your Discord bot token and Slack webhook URL.
- Log in to the Discord Developer Portal: https://discord.com/developers/applications
- Create a new application.
- Go to the "Bot" section and click "Add Bot".
- Copy the "Token".
- Log in to your Slack workspace: https://my.slack.com/apps/manage/custom-integrations
- Click "Incoming Webhooks".
- Click "Add New Webhook to Workspace".
- Select a channel and click "Add Incoming WebHooks integration".
- Copy the "Webhook URL".
git clone https://github.com/yellston-com/discord-to-slack-bot.git
cd discord-to-slack-bot
Create a .env file to set environment variables.
DISCORD_TOKEN=Your Discord bot token
SLACK_WEBHOOK_URL=Your Slack webhook URL
docker compose up
Now the bot will run and Discord join/leave notifications will be posted to Slack.