An open API service indexing awesome lists of open source software.

https://github.com/cakephp/slack-discord-bridge-golang


https://github.com/cakephp/slack-discord-bridge-golang

Last synced: 12 months ago
JSON representation

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
```