bdiscord

package
v0.0.0-...-de2bad9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 14 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) 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