https://github.com/cakephp/slack-discord-bridge-golang
https://github.com/cakephp/slack-discord-bridge-golang
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cakephp/slack-discord-bridge-golang
- Owner: cakephp
- License: mit
- Created: 2025-04-14T18:32:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-14T18:51:08.000Z (about 1 year ago)
- Last Synced: 2025-06-24T18:11:59.510Z (12 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slack Discord Bridge for CakePHP Community
## Configuration
The `main.go` contains all the necessary configuration options. You can set the following environment variables:
- `SLACK_BOT_TOKEN`: Slack API token for the bot.
- `DISCORD_BOT_TOKEN`: Discord API token for the bot.
## How to build
Make sure to have Go version 1.24.2 or later installed.
```bash
go mod download
go build -o slack-discord-bridge
```
## How to run
Copy `.env.example` to `.env` file, adjust accordingly and execute `source .env` to load the environment
or
make sure your environment variables are set correctly in the first place
```bash
./slack-discord-bridge
```