bdiscord

package
Version: v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL