bdiscord

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 9 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 added in v1.9.0

type Bdiscord struct {
	Channels     []*discordgo.Channel
	Nick         string
	UseChannelID bool

	sync.RWMutex
	*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)

Jump to

Keyboard shortcuts

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