configure a bridge between your discord channels
Download and install Go from go.dev, then enter the following command in your terminal:
go install github.com/mandriota/bridge-discord-bot@latest
You may also need to add go/bin
directory to PATH
environment variable.
Enter the following command in your terminal to find go/bin
directory:
echo `go env GOPATH`/bin
Bot token is read from BRIDGE_BOT_TOKEN
environment variable.
There are 4 slash commands for bot configuration, available in Discord channels:
/list
- lists linked virtual channels associated with current channel./link
- links current channel to existing virtual channel specified byvirtual_channel_key
parameter or creates a new one. You can provide an optionalnote
to simplify management of many virtual channels./unlink
- unlinks current channel from virtual channel specified byvirtual_channel_key
./unlink_all
- unlinks all virtual channels from current channel.
All commands above require manage channels permission.