bdiscord

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 14 Imported by: 3

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 added in v1.9.0

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

func (*Bdiscord) Connect added in v1.9.0

func (b *Bdiscord) Connect() error

func (*Bdiscord) Disconnect added in v1.9.0

func (b *Bdiscord) Disconnect() error

func (*Bdiscord) JoinChannel added in v1.9.0

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

func (*Bdiscord) Send added in v1.9.0

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