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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址