bdiscord

package
v0.0.0-...-0a2c703 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageLength = 1950
)

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

Types

type Bdiscord

type Bdiscord struct {
	*bridge.Config
	// contains filtered or unexported fields
}

func (*Bdiscord) Connect

func (b *Bdiscord) Connect() error

func (*Bdiscord) Disconnect

func (b *Bdiscord) Disconnect() error

func (*Bdiscord) GetChannelIDSlack

func (b *Bdiscord) GetChannelIDSlack(name string) string

func (*Bdiscord) JoinChannel

func (b *Bdiscord) JoinChannel(channel config.ChannelInfo) error

func (*Bdiscord) Send

func (b *Bdiscord) Send(msg config.Message) (string, error)

Directories

Path Synopsis
Package transmitter provides functionality for transmitting arbitrary webhook messages to Discord.
Package transmitter provides functionality for transmitting arbitrary webhook messages to Discord.

Jump to

Keyboard shortcuts

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