bot

package
v0.0.0-...-8093e22 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Name string
	// contains filtered or unexported fields
}

func NewBot

func NewBot(name, token string, storageHost, bucket, bucketHost string, conf *config.Config) (*Bot, error)

func (*Bot) LoadPlugin

func (b *Bot) LoadPlugin(name string)

func (*Bot) Run

func (b *Bot) Run() error

func (*Bot) Shutdown

func (b *Bot) Shutdown() error

func (*Bot) Wait

func (b *Bot) Wait()

Jump to

Keyboard shortcuts

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