stupidbot

package
v0.0.0-...-73daa5e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StupidBot

type StupidBot struct {
	// contains filtered or unexported fields
}

func NewStupidBot

func NewStupidBot(path string, ia stupidias.StupidIA) (*StupidBot, error)

func (*StupidBot) Name

func (b *StupidBot) Name() string

func (*StupidBot) Path

func (b *StupidBot) Path() string

func (*StupidBot) SendMessage

func (b *StupidBot) SendMessage(msg bots.QuestionMessage) (*bots.ReplyMessage, error)

func (*StupidBot) SetName

func (b *StupidBot) SetName(name string)

func (*StupidBot) Start

func (b *StupidBot) Start() error

Jump to

Keyboard shortcuts

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