bridge-discord-bot

command module
v0.0.0-...-0ff4648 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 15 Imported by: 0

README

bridge-discord-bot

configure a bridge between your discord channels

Installation

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

Configuration

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 by virtual_channel_key parameter or creates a new one. You can provide an optional note to simplify management of many virtual channels.
  • /unlink - unlinks current channel from virtual channel specified by virtual_channel_key.
  • /unlink_all - unlinks all virtual channels from current channel.

All commands above require manage channels permission.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL